How to install Vesta control panel in RHEL 7 or Centos 7


This article will help you to install and configure Vestacp hosting control panel in your server or vps.
You may need an operating system RHEL 7 or Centos 7 in your dedicated or vps server. Please make sure to set a hostname for your server and its dns is pointing to the IP address of the server . I also here use a test email address( and password ( password ). My setting for the server as follows,

Hostname :

email :

password : password


Step 1 – First, login to your server’s shell via SSH as root, as always, for this task I use putty.
Step 2 – Next, download VestaCP installation script using curl command:
# cd /usr/local/src/
# wget -c

Step 3 – issue this magic command with following parameter to start installing VestaCP:

bash --nginx yes --apache yes --phpfpm no --vsftpd no --proftpd yes --exim yes --dovecot yes --spamassassin yes --clamav yes --named yes --iptables yes --fail2ban yes --mysql yes --postgresql no --remi yes --quota yes --hostname --email --password password

Step 4 – The installer asks to confirm disabling SELinux and start the install process. Type Y and hit Enter.

Step 5 – Once you hit Enter on your keyboard, the installer starts. Sit tight and wait for the installer to process and finish its job.
Step 6 – As long as you found no fatal error, the installer should finish quicker and you will see something like this on your screen:
Step 7 – Now open up your favorite browser and login to VestaCP web-based UI using your VPS IP at port 2083.
Login as admin and use given password, As you may also aware that the link is https:// which means via secure connection (SSL) so you may have to add / confirm exception on your browser.
Voila! You should now see the main UI of Vesta hosting control panel.

Add a domain in vestacp

From the admin panel go to WEB -> Domains and click the “plus” button. It will show a screen sort as follows.


You may give the domain name and select the suitable options and press the add button. You can see the domain has been created successfully with showing it in the list.

Create an email account in vestacp

You can create and email account in vestacp from Admin -> Mail , then select the domain and click the “ADD ACCOUNT”. This will ask for the email account and password.

Uninstall Vestacp

It is easy to remove vestacp control panel. Please execute the following commands.

# systemctl stop vesta
# yum remove vesta*
# rm -rf /usr/local/vesta


Please make sure to delete the data and admin details too. It will be good to simply reload the OS , if you are going to install another control panel.


Please enter your comment!
Please enter your name here