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

0
1197

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(admin@example.com) and password ( password ). My setting for the server as follows,

Hostname : vps.cloudcampusbd.com

email : admin@example.com

password : password

HOW TO INSTALL VESTA CP

Step 1 – First, login to your server’s shell via SSH as root, as always, for this task I use putty.
2013-12-23_154432
Step 2 – Next, download VestaCP installation script using curl command:
# cd /usr/local/src/
# wget -c  http://vestacp.com/pub/vst-install.sh

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

bash vst-install.sh --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 zmail.uniglory-bd.com --email admin@example.com --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:
vestacp-done
Step 7 – Now open up your favorite browser and login to VestaCP web-based UI using your VPS IP at port 2083.
https://xxx.xxx.xxx.xxx: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.
vestacp-login
Voila! You should now see the main UI of Vesta hosting control panel.
Vestacp_backend

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.

vestacp_add-domain

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.

LEAVE A REPLY

Please enter your comment!
Please enter your name here