<\/span><\/h2>\nIt is recommended to have a minimal install base OS packages, so stop and uninstall Apache, MySQL etc. and delete their configuration files e.g.:<\/p>\n
systemctl stop apache2\r\nsystemctl stop mysql\r\napt-get purge apache2* libapache2* mysql-client* mysql-common* mysql-server*\r\napt autoremove<\/pre>\nInstall the curl package:<\/p>\n
apt-get install curl<\/pre>\nInstallation of VestaCP is quite simple:
\nLog in to your server via SSH as root user, download the installation script and run it:<\/p>\n
curl -O http:\/\/vestacp.com\/pub\/vst-install.sh\r\nbash vst-install.sh<\/pre>\nAlso, you can customize the installation using the advanced install settings at https:\/\/vestacp.com\/install\/ and generate install command to install nginx, php-fpm, proftpd, exim, dovecot, spamassassin, named, iptables, MySQL and use file system quota:<\/p>\n
bash vst-install.sh --nginx yes --phpfpm yes --apache no --named yes --remi no --vsftpd no --proftpd yes --iptables yes --fail2ban no --quota yes --exim yes --dovecot yes --spamassassin yes --clamav no --mysql yes --postgresql no --hostname your-domain.com --email admin@your-domain.com --password Y0ur_Pa55w0rD<\/pre>\nDo not forget to change ‘your-domain.com’ with your actual domain name and use a strong password for your VestaCP Admin user.<\/p>\n
If everything is OK, you should receive an output like this:<\/p>\n
Vesta Control Panel\r\n\r\nFollowing software will be installed on your system:\r\n - Nginx Web Server\r\n - PHP-FPM Application Server\r\n - Bind DNS Server\r\n - Exim mail server + Antispam\r\n - Dovecot POP3\/IMAP Server\r\n - MySQL Database Server\r\n - ProFTPD FTP Server\r\n - Iptables Firewall\r\n\r\nWould you like to continue [y\/n]:<\/pre>\nEnter ‘y’ and wait a couple of minutes for the installation to complete.
\nOnce the VestaCP installation is complete, you should receive an email with the VestaCP URL, username and password:<\/p>\n
Congratulations, you have just successfully installed Vesta Control Panel\r\n\r\n https:\/\/your_server_IP:8083\r\n username: admin\r\n password: Y0ur_Pa55w0rD<\/pre>\nOpen https:\/\/your_server_IP:8083 , enter the username and password and click ‘Log in’. From this page you can add domains, create email accounts, databases, FTP accounts, add\/modify DNS records etc.<\/p>\n