Skip to main content

How to Install High Performance VestaCP Hosting Panel with NGINX+php-fpm?

Vesta Control Panel (VestaCP) is an open source hosting control panel that can manage multiple websites, create and manage email accounts, create and manage FTP accounts. Also, manage MySQL database and DNS records.

The Vesta Control panel can be installed on a RHEL, CentOS, Debian and Ubuntu server. For a smooth installation you will need clean system "minimal install base". If installation fails you can force it using --force option. If you want to get full list of available options run installer with --help argument.

Installer categorizes servers into 4 groups.
Micro - less than 1Gb of RAM.       - Do not support phpfcgi template
Small - less than 3Gb of RAM.        - Do not support phpfcgi template
Medium - less than 7Gb of RAM.   - Support  Antispam and Antivirus packages
Large - more than 7Gb of RAM.     - Support  Antispam and Antivirus packages

Antispam and Antivirus packages are only installed on a medium and large servers. Micro server also do not support phpfcgi template. However, you can install missing software manually. See corresponding articles for details.

In this tutorial we will guide you to install high performance VestaCP on CentOS 7×64. 

How to install VestaCP? 
If you are a Linux user, open your terminal, and if you are a Windows user then open PuTTY from your pc.

I am going to install Large Group because I have a VPS with 8 GB RAM. 

Storage: 200GB HDD 

Visit http://vestacp.com/install/ and generate your high performance hosting panel installation code as shown in the image.
The hostname you entered while generating Vesta code will be used for the URL of the Vesta control panel. For example, if you enter host.datahead.biz, https://host.datahead.biz:8083 will be used to access Vesta.  Use panel.yourdomain.com and then setup the yourdomain.com website domain using the Vesta control panel.

**replace your.hostname.com, your@email.com and yourpassword with your own.
***Don't use File System Quota otherwise it will make your system 'read only'
***I'm using NGINX+php-fpm
** I you want to use Softaculous with licence the select yes otherwise free version is not helpful  

Generated Code:
My High Performance Code is below
Connect to your server as root via SSH 
# ssh root@SERVER_IP

Download installation script 
# curl -O http://vestacp.com/pub/vst-install.sh

Run it 
# bash vst-install.sh --nginx yes --phpfpm yes --apache no --named yes --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin yes --clamav yes --softaculous no --mysql yes --postgresql no --hostname host.datahead.biz --email rubeldonarman@gmail.com --password rubel321

If this command does not work for any reason, then use the following command with --force option.
Run it forcefully 
# bash vst-install.sh --nginx yes --phpfpm yes --apache no --named yes --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin yes --clamav yes --softaculous no --mysql yes --postgresql no --hostname host.datahead.biz --email rubeldonarman@gmail.com --password rubel321 --force

The installation process will start, it takes around 15 minutes for the installation to complete. This installation script will install the control panel and all its dependencies to your server.
After installation is completed you have vestaCP login information displayed on your screen, please save them.
Congratulations, you have just successfully installed Vesta Control Panel
https://host.datahead.biz:8083
username: admin
password: rubel321

Here are your login details, follow the instructions from here and log in to your VestaCP.
When you go to login VestaCP for the first time, the website will look insecure, you will have to go ahead by clicking Proceed to unsafe.
Now you will get your login screen and Use your username and password
After log in properly with your login information, you will see VestaCP dashboard like as the image below

Comments