How to change IP address of VestaCP Server

VestaCP Free Hosting Control Panel

Recently I upgraded a VestaCP server running on an Amazon Lightsail server. Upgrade resulted in a change of the internal IP address of the server, this made site hosted on the server stop working. To fix the problem, I run the command /usr/local/vesta/bin/v-update-sys-ip NEW_IP_HERE NEW_IP_HERE – replace with actual IP. If your server is behind … Read more

VestaCP disable Backups

VestaCP disable backup

In VestaCP, each packages have option to specify how many backups it can take. First you need to click on packages, then change number of backups allowed for each package. If backups allowed is more than 0, set it to 0. Users are created with these Packages. For all existing users, you need to manually … Read more

Install PHP 7 on CentOS VestaCP

To install PHP 7. you need to first enable epel and remi repo. yum install -y epel-release rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm Remove existing PHP yum -y remove php Install PHP 7.3 yum –enablerepo=remi-php73 install php73-php php73-php-mbstring php73-php-mysqlnd php73-php-gd php73-php-fpm php73-php-intl php73-php-cli php73-php-xml php73-php-opcache php73-php-pdo php73-php-gmp php73-php-process php73-php-pecl-imagick php73-php-devel start php-fpm service php-fpm stop service php73-php-fpm start … Read more

VestaCP Update

To update VestaCP server, run v-list-sys-vesta-updates v-update-sys-vesta-all Example [root@backendz ~]# v-list-sys-vesta-updates PKG VER REL ARCH UPDT DATE — — — —- —- —- vesta 0.9.8 26 x86_64 yes 2019-09-30 vesta-php 0.9.8 26 x86_64 yes 2019-09-30 vesta-nginx 0.9.8 26 x86_64 yes 2019-09-30 [root@backendz ~]# v-update-sys-vesta-all [root@backendz ~]#

CentOS 7 VestaCP Upgrade PHP to 7.x

On CentOS 7 VestaCP install PHP 5.6 by default. This is very old version of PHP. To upgrade PHP to latest version 7.x, you can install remi repo. Install EPEL repo yum install -y epel-release Install yum-utils yum install -y yum-utils Install remi repo rpm -ivh http://rpms.remirepo.net/enterprise/remi-release-7.rpm Select PHP version you need yum-config-manager –enable remi-php73 … Read more

VestaCP SSL for mail server

VestaCP Free Hosting Control Panel

VestaCP install self signed SSL for mail server by default. To install valid SSL, login to VestCP, go to sites. You will see a site with your sites hostname. If you don’t see it, create a site with your server hostname. Make sure DNS edited so hostname resolve to server IP. Now you should be … Read more

VestaCP Installer Compromised

VestaCP Free Hosting Control Panel

VestaCP Free Hosting control panel compromised again. Hackers where able to get access to VestaCP infrastcuture server, allowing them to modify installation script, so it sent root password of servers to hacker. Here is post from VestaCP on their forum I’m sorry about inactivity in this post from our side. It was a complex issue … Read more

VestaCP Zero-day exploit

VestaCP Free Hosting Control Panel

On 07 April 2018, many servers using VestaCP got hacked. Hacker was able to get root acceess on these servers. Hacker installed some trojan software known as Chinese Chicken that is used to DDoS other servers. To see if your server is hacked, check if file /etc/cron.hourly/gcc.sh is present in your server. ls -l /etc/cron.hourly/gcc.sh … Read more