How to install Vestacp on Ubuntu 18.04?

From PheonixSolutions
Jump to navigation Jump to search

Step 1:- Login to the server

 ssh username@ip

Step 2:- Update and upgrade your OS package lists

sudo apt-get update
sudo apt-get upgrade

Step 3:- To install VestaCP, you should have a new VPS server as it installs the inbuilt services by default. If the OS is already available, then you can stop and uninstall MySQL, Apache. Else you can skip this step.

systemctl stop apache2
systemctl stop mysql
apt-get purge apache* libapache2* mysql-common* mysql-server* mysql-client*
apt autoremove

Step 4:- Now the server has minimal install base OS packages. Next, install the ‘curl’ package.

apt-get install curl

Step 5:- To install Vestacp download the installation script

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

Step 6:- Execute the downloaded script to install the default package as shown below

bash vst-install.sh

Note:Replace the admin email address as admin@domain.com

Step 7:- Finally you will get the URL,Username and Password