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

Most Popular

CWP DNS Part 1 : How to Configure DNS properly for CentOS WebPanel on CentOS 7.6

After hosting my parent domain on CWP7.admin, I am getting dns error and i'm not able access my server using my server FQDN but i can access using my server IP.
So what can i do for that problem ?

Yes, you have to fix the error .

Environment Details:
Distro Name: CentOS Linux release 7.6.1810 (Core)
CentOS-Web Panel version: CWP7.admin
CWP version: 0.9.8.757
WebServer: Apache Only
FQDN: host.datahead.biz
IP: 192.120.10.3

1.Change Hostname Permanently:
# hostnamectl set-hostname host.datahead.biz# hostnamectl Static hostname: host.datahead.biz Icon name: computer-vm Chassis: vm Machine ID: 7400071490ea4f7d931374824ad4b52c Boot ID: 6e1f2d76495d4b318c25c4a1195aa130 Virtualization: vmware Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux 3.10.0-862.14.4.el7.x86_64 Architecture: x86-64 It also writes this information to the /etc/hostname file as well.
# cat /etc/hostname host.d…

CWP DNS Part 2 : How to Configure DNS properly for CentOS WebPanel on CentOS 7.6

7.Open Main Configuration file
# vi /etc/named.conf 12 options { 13 listen-on port 53 { any; }; 14 listen-on-v6 port 53 { ::1; }; 15 directory "/var/named"; 16 dump-file "/var/named/data/cache_dump.db"; 17 statistics-file "/var/named/data/named_stats.txt"; 18 memstatistics-file "/var/named/data/named_mem_stats.txt"; 19 recursing-file "/var/named/data/named.recursing"; 20 secroots-file "/var/named/data/named.secroots"; 21 allow-query { any; }; 33 recursion no; 34 35 dnssec-enable yes; 36 dnssec-validation yes; 54 zone "." IN { 55 type hint; 56 file "named.ca"; 57 }; 58 59 include "/etc/named.rfc1912.zones"; 60 include "/etc/named.root.key"; 61 …