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(email@example.com) and password ( password ). My setting for the server as follows,
Hostname : vps.cloudcampusbd.com
email : firstname.lastname@example.org
password : password
HOW TO INSTALL VESTA CP
# 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 email@example.com --password password
Step 4 – The installer asks to confirm disabling SELinux and start the install process. Type Y and hit Enter.
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.
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.