How to install Vesta Control Panel on Ubuntu 18.04

Vesta Control Panel is a simple and clever web hosting control panel. It has the fine touch of Softaculus auto installer that is able to install more than 439 apps with one click. It also supports a great ton of features such as a built-in command-line interface, and Softaculus which you can focus on using the apps rather than installing. Has support for commercial plugins such as SFTP Chroot.

In this tutorial, I will take you through the installation and configuration of the Vesta control panel step by step.

Why Vesta Control Panel

Maybe you are wondering why Vesta control panel and not others. Vesta offers the following advantages.

  • Vesta web interface is extremely first couple with its first keyboard shortcuts.
  • Sites powered by vesta are fast because vesta delivers optimized configurations for low, medium, and high RAM server types.
  • Vesta requires low resources and still runs fast. 512 Mb RAM, 20Gb hard disk, and 1Ghz CPU are enough to power Vesta resources.
  • It has a built-in firewall that resolves all common issues.
  • It has supported internationalization. It supports more than 25 languages and regions around the globe.
  • It provides monitoring and logging of server requests.
  • It has an out-of-the-box backup system implemented by daily cron jobs.

Install Vesta Control Panel on Ubuntu 18.04

1. Connect to your server

First, we need to connect to our Ubuntu server via ssh console like this

ssh root@<Ip-Address>

2. Update system repositories.

Secondly, we need to update our system repositories in order to make them up to date. This will ensure that we don’t run into errors later during our installation.

sudo apt update && apt upgrade -y

3. Download Vesta Control Panel

We are going to use the vesta installation script to run our installation. This is a very convenient method as all the vesta requirements are included in the script.

sudo curl -O http://vestacp.com/pub/vst-install.sh

Then to run the script in order to install Vesta use the following command.

bash vst-install.sh

Error: group admin exists

Please remove admin group before proceeding.
If you want to do it automatically run installer with -f option:
Example: bash vst-install.sh --force

If the installation fails for some reason like the one shown above, you can do –force installation like this.

bash vst-install.sh --force 

You will get an output like this:

#output
_|      _|  _|_|_|_|    _|_|_|  _|_|_|_|_|    _|_|
 _|      _|  _|        _|            _|      _|    _|
 _|      _|  _|_|_|      _|_|        _|      _|_|_|_|
   _|  _|    _|              _|      _|      _|    _|
     _|      _|_|_|_|  _|_|_|        _|      _|    _|

                                  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
   - Dovecot POP3/IMAP Server
   - MySQL Database Server
   - Vsftpd FTP Server
   - Softaculous Plugin
   - Iptables Firewall + Fail2Ban


Would you like to continue [y/n]: 

Press Y to allow the installation to continue. You need to provide your admin email and FQDN for the installation to continue.

Please enter admin email address: [email protected]
Please enter Vesta port number (press enter for 8083): 
Please enter FQDN hostname [ubuntu]: next-example.com
Installation backup directory: /root/vst_install_backups/1649527203




Installation will take about 15 minutes ...

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libfwupdplugin1
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--2022-04-09 18:00:09--  http://nginx.org/keys/nginx_signing.key
Resolving nginx.org (nginx.org)... 52.58.199.22, 3.125.197.172, 2a05:d014:edb:5702::6, ...
Connecting to nginx.org (nginx.org)|52.58.199.22|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1561 (1.5K) [application/octet-stream]
Saving to: ‘/tmp/nginx_signing.key’

when don with installation visit http://<ip-address>/8083 on your terminal to access its interface. Use the credentials given.

Thank you for using Softaculous
=======================================================

 _|      _|  _|_|_|_|    _|_|_|  _|_|_|_|_|    _|_|   
 _|      _|  _|        _|            _|      _|    _| 
 _|      _|  _|_|_|      _|_|        _|      _|_|_|_| 
   _|  _|    _|              _|      _|      _|    _| 
     _|      _|_|_|_|  _|_|_|        _|      _|    _| 


Congratulations, you have just successfully installed Vesta Control Panel

    https://138.68.177.91:8083
    username: admin
    password: knCoRJpPqb

We hope that you enjoy your installation of Vesta. Please feel free to contact us anytime if you have any questions.
Thank you.

--
Sincerely yours
vestacp.com team
Vesta CP login
Vesta CP login
Vesta CP Dashboard
Vesta CP Dashboard

4. Uninstall Vesta Control Panel

When you want to uninstall Vesta CP the first thing to do is to stop vesta services like this;

service vesta stop

After you have stopped the service then proceed to remove the installation like this:

sudo apt remove vesta*
rm -f /etc/apt/sources.list.d/vesta.list

Lastly, remove the data directory and its associated cron jobs.

rm -rf /usr/local/vesta

About Mason Kipward

I am a technology enthusiast who loves to share gained knowledge through offering daily tips as a way of empowering others. I am fan of Linux and all other things open source.
View all posts by Mason Kipward →

Leave a Reply

Your email address will not be published. Required fields are marked *