VestaCP Installation Guide for Beginners
In this tutorial, I will show you, How to install VestaCP web panel on Ubuntu or CentOS with steps and images. The installation of VestaCP is pretty easy and straight forward.
VestaCP installation is pretty easy and straight forward. It also install all the services like Apache, Nginx, FTP server, Database server and all other services available in VestaCP features. This process is automatic. All you have to do is, download and run the install script which is a bash script provided by VestaCP.
Though the installation of VestaCP is straight forward and easy, But some beginners need the right direction of installing it in their VPS or dedicated server, so they can install it with confidence of having no fatal error. In this tutorial I’will show you how to install VestaCP on a VPS server that runs on Ubuntu or CentOS.
If you are new here, you may need some introduction of VestaCP, You can find that in my earlier article.
The latest version of VestaCP is 0.9.8-17 ( at the time of writing this tutorial) only support Ubuntu, Debian and CentOS/RHEL operating system and it comes with all the services that need to manage your websites and server configuration. Here is a list of services that comes with default VestaCP installation:
- Web Server (Apache with Nginx reverse proxy)
- DNS Server (Named)
- Mail Server (Exim + Dovecot + SpamAssassin + ClamAV + Roundcube)
- FTP Server (vsftpd/ProFTPD)
- Firewall (iptables + fail2ban)
- Database Server (MySQL + phpMyAdmin/ PostgreSQL + phpPgAdmin)
- Corn Management
- Easy and automated backup & restore
- System Monitoring
- Website Statistics (AWStats + Webalizer)
- One click SSL support (Let’s Encrypt)
- Powerful CLI
- and many more…
Here in this tutorial, I will show you how to install VestaCP in Ubuntu or CentOS. For making this tutorial, We will use a Digital Ocean’s NY droplet with Ubuntu 16.04 installed.
In order to install VestaCP to your VPS, The following is required:
- A VPS or Dedicated server with minimum of 512 MB Ram, 20 GB HDD/SSD and 1 GHz CPU
- Ubuntu 12 . 04 – 16 . 04 or CentOS 5, 6, 7 installed
- SSH root access to your server
- A registered domain name pointing to your server IP
Once you have your server ready with the required above, Now start installing:
Step 1: First login to your web server’s shell using SSH as root (in windows operating system you can use putty)
Step 2: Download VestaCP installer script using
curl -O http://vestacp.com/pub/vst-install.sh
Step 3: Run the installer script in your terminal
If the command above return error like:
Error: group admin exists
That’s mean, there is a admin user group exist. You need to remove the
admin user group or let VestaCP do this for you automatically by using
-f option while executing installer script:
bash vst-install.sh -f
Step 4: In this step VestaCP installer will give you an overview of software and services will be installed. Just type
y and hit
Enter to proceed the installation.
Step 5: The installer need you email address to create admin account and send install information like login password. Type your valid email address and recheck email again and then press
Step 6: In step 6 you need to enter a fully qualified domain name as hostname and press Enter button.
Once you hit Enter in your keyboard, the installation will start immediately. The installation can take up to 15 minutes to complete. In my case the time is less than 5 minutes, because of Digital Ocean’s SSD drive. Sit tight and wait the the installation complete. Once the installation is completed you will get success message including admin panel user name and password. The message is similar to this one below:
VestaCP will also send you a congratulation mail with admin panel login details to your mailbox that you have entered in step 4.
That’s it, The installation of VestaCP in your web server is complete, Now open up your web browser and login your VestaCP panel by visiting the
your-domain.tld:8083 using the login credential that VestaCP sent you upon install completion.
Hope the installation of VestaCP is done successfully from your side. If you have any error occurred while installing and you need some help on an issue in VestaCP installation, Please let us know using the comment box below.