In this article, we will have explained the necessary steps to install and configure VestaCP on Ubuntu 18.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.
VestaCP is a free and open-source web hosting control panel, with a set of features that includes integration with Softaculous, managing domains, databases, mail, DNS, cron jobs, backups, and many more. It is an alternative to commercial hosting control panels such as CPanel and Plesk.
Install VestaCP on Ubuntu
Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.
sudo apt update sudo apt upgrade sudo apt install curl
Step 2. Configure Your Server’s FQDN.
Before installing Vesta, you will want to setup Ubuntu local domain on the server:
sudo nano /etc/hosts
It probably looks something like this:
127.0.0.1 localhost 127.0.1.1 ubuntu # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
And now we’ll add the following line at the end of the file:
Save the file and exit. Now run the following command to restart the network manager for the changes to be applied:
sudo systemctl retart NetworkManager.service
Step 3. Install VestaCP on Ubuntu 18.04.
First, Download Vesta installer using curl:
curl -O http://vestacp.com/pub/vst-install.sh sudo chmod u+x vst-install.sh
Below is a list of default packages installed:
_| _| _|_|_|_| _|_|_| _|_|_|_|_| _|_| _| _| _| _| _| _| _| _| _| _|_|_| _|_| _| _|_|_|_| _| _| _| _| _| _| _| _| _|_|_|_| _|_|_| _| _| _| Vesta Control Panel The following software will be installed on your system: - Nginx Web Server - Apache Web Server (as backend) - Bind DNS Server - Exim Mail Server + ClamAVSpamAssassin - Dovecot POP3/IMAP Server - MySQL Database Server - Vsftpd FTP Server - Softaculous Plugin - Iptables Firewall + Fail2Ban Would you like to continue [y/n]: y
Step 4. Accessing VestaCP.
Now open a browser window and go to the Vesta control panel login screen on port 8083. You will see you have a valid security certificate and https is enabled.
That’s all you need to do to install Vesta Control Panel on Ubuntu 18.04 Bionic Beaver. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.