Collection of some common help tips for vestacp panel

888u

Last update at :2024-05-05,Edit by888u

vestacp is a very mature and powerful host panel. Although there are many panels that you can choose from, there are still a large number of vestacp fans who stick to it. I personally like this panel very much, so I have collected some little knowledge on the Internet. for reference. Thanks to "Xiqin Gongzi", "teddysun" and others for their help!

Install EPEL

The remi library used for VestaCP installation requires EPEL support, so the installation process is truncated. If you install EPEL manually, you can skip the EPEL installation. Use the following command to install EPEL

rpm -ivh http://mirrors.sohu.com/fedora-epel/epel-release-latest-6.noarch.rpm

Install Zend Opcache

(centos) Execute the command to install the extension yum install –enablerepo=remi php-opcache

Restart Apache service httpd restart

Bind domain name email

Create a new virtual host in vestaCP, the domain name is the email login domain name

Modify the configuration file of the virtual host vi /home/username/conf/web/httpd.conf

Find your mailbox virtual host configuration section and change DocumentRoot to /usr/share/roundcubemail/. The specific modifications are as follows

Uninstall VestaCP

  • service vesta stop
  • apt-get remove vesta*
  • rm -f /etc/apt/sources.list.d/vesta.list
  • rm -rf /usr/local/vesta
  • Install APC

  • apt-get install php-apc
  • service apache2 restart
  • Install Memcache

  • apt-get install php5-memcache memcached
  • service apache2 restart
  • Install Xcache

  • yum install –enablerepo=remi php-xcache
  • service httpd restart
  • Install redis (started by default after installation)

    apt-get install redis-server(installation)

    /etc/init.d/redis-server restart

    Add FTP backup

    # info: add backup ftp host # options: HOST USERNAME PAVPSWORD [PATH] [PORT] # The function adds ftp host for system backups

    # info: Add FTP backup host # options: host address username password [path] [port] # This file can add an FTP host for system backup

    Usage: v-add-backup-ftp-host ftp.examle.com backup 123456

    [Add an FTP backup host, the address is ftp.example.com, the FTP username is backup, the password is 123456, the port is the default port 21, and the path is the default path]

    Add SFTP backup

    # info: add backup sftp host # options: HOST USERNAME [PAVPSWORD] [PATH] [PORT] # # The function adds sftp host for system backups

    # info: Add SFTP backup host # options: host address username [password] [path] [port] # # This file can add an SFTP host for backup

    Usage: v-add-backup-sftp-host example.com backup

    Add an SFTP backup host, where the host address is example.com and the user name is backup Because the host address is not specified, you need to manually enter the password for authentication

    Add scheduled task

    # info: add cron job # options: USER MIN HOUR DAY MONTH WDAY COMMAND [JOB] [RESTART] # # The function adds a job to cron . When executing commands, any output # is mailed to user’s email if parameter REPORTS is set to ‘yes’.

    # info: Add scheduled task # options: USER MIN HOUR DAY MONTH WDAY COMMAND [JOB] [RESTART] # # This file can add scheduled tasks to the Cron daemon. When you set REPORTS to yes, any input when executing the command will be sent to you via email

    Usage: v-add-cron-job admin 3 4 * * * curl example.com

    Execute the command curl example.com at 4:30 every day

    Add restart plan

    # info: add cron reports # options: NONE # # The script for enabling restart cron tasks

    # info: Add task plan # options: NONE # # This file can enable automatic restart task schedule

    Usage: v-add-cron-restart-job

    Recommended site searches: US virtual host purchase, domain name information, free domain name space application, free foreign space, Hong Kong high-defense server rental server hosting, IP address query, vps host, domain name query network, my ip,

    Collection of some common help tips for vestacp panel

    All copyrights belong to 888u unless special state
    取消
    微信二维码
    微信二维码
    支付宝二维码