VestaCP (Vesta Control Panel) is a free, open-source internet hosting control panel that allows you to manage numerous websites, email, DNS, and database features. VestaCP provides your users with an interactive and user-friendly web-based interface. By default, the Vesta control panel uses the 8083 port and has a bilingual interface. We’ll look at how to install VestaCP on Ubuntu in this guide.
Requirements
• A server with the Ubuntu operating system installed.
• A sudo user having root rights.
Install VestaCP
Follow the steps below to install VestaCP on your Ubuntu server:
1) SYSTEM PACKAGES MUST BE UPDATED
- To begin, perform the following commands to update and upgrade your OS package lists.
$ sudo apt-get update $ sudo apt-get upgrade
2) SET UP THE CURL PACKAGE
VestaCP requires a new VPS server since it instals the inherent services by default. If the OS is already installed, you may either stop and remove MySQL, Apache, and other components to make it a basic install base OS package, or you can re-install a new OS. Run the following commands as root to stop and remove Apache, MySQL, and other services on your server.
# systemctl stop apache2
# systemctl stop mysql
# apt-get purge apache* libapache2* mysql-common* mysql-server* mysql-client*
# apt autoremove
- The server now has only the most basic OS packages installed. Install the ‘curl’ package next.
# apt-get install curl
3) SET UP VESTACP
- Follow the instructions below to install the Vesta control panel on your Ubuntu server.
- Use SSH to connect to the server as a root user.
- Run the following command to obtain the installation script.
# curl -O http://vestacp.com/pub/vst-install.sh
- Use the following command to run the downloaded script.
# bash vst-install.sh
- To edit and produce the installation script, go to ‘https://vestacp.com/install’ and utilise the advanced settings. Install php-fpm, exim, nginx, proftpd, spamassassin, dovecot, iptables, MySQl, and utilise the file system quote by running the following installation script.
# bash vst-install.sh --phpfpm yes --nginx 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 <[email protected]> --password <admin_password>
- To edit and produce the installation script, go to ‘https://vestacp.com/install’ and utilise the advanced settings. Install php-fpm, exim, nginx, proftpd, spamassassin, dovecot, iptables, MySQl, and utilise the file system quote by running the following installation script.
- If everything seems good, click ‘Y’ to proceed with the installation. After the VestaCP installation is complete, you should get an email similar to the one below with the Vesta control panel URL, login, and password to the email address specified.
- To access the Vesta control panel, go to the following URL in any browser. To access the VestaCP panel, enter the username and password. Dont forget to save this admin account login informations.
Thats it! Now you should be able to login into vesta over https://YOURIP:8083 (8083 is the standart port) and start with your webhosting.
For custom VestaCP (nginx) installation read this article.
great it helps me a lott