How To Install VestaCP on Debian 9 Stretch

Install VestaCP on Debian 9 Stretch

In this tutorial, we will show you how to install VestaCP on Debian 9 Stretch. For those of you who didn’t know, KDE is a well-known desktop environment for the Unix-like systems designed for users who wants to have a nice desktop environment for their machines, It is one of the most used desktop interfaces out there.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation Vesta Control Panel on a Debian 9 (Stretch) server.


  • A server running one of the following operating systems: Debian 9 (Stretch).
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • SSH access to the server (or just open Terminal if you’re on a desktop).
  • A non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

Install VestaCP on Debian 9 Stretch

Step 1. Before we install any software, it’s important to make sure your system is up to date by running the following apt-get commands in the terminal:

apt-get update
apt-get upgrade

Step 2. Installing VestaCP on Debian 9.

Download the Vesta Control panel install script with the following command:

curl -O

In addition, you can customize the installation using the advanced install settings at and generate install command to install Nginx, php-fpm, proftpd, exim, dovecot, SpamAssassin, named, iptables, MySQL and use file system quota:

bash --nginx yes --phpfpm 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 --email --password Y0ur_PaSSwD

If everything is OK, you should receive an output like this:

Vesta Control Panel

Following software will be installed on your system:
   - Nginx Web Server
   - PHP-FPM Application Server
   - Bind DNS Server
   - Exim mail server + Antispam
   - Dovecot POP3/IMAP Server
   - MySQL Database Server
   - ProFTPD FTP Server
   - Iptables Firewall

Would you like to continue [y/n]:

Once the installation is complete, you will get a screen that has the control panel login:

Congratulations, you have just successfully installed Vesta Control Panel

    username: admin
    password: Y0ur_PaSSwD

Step 4. Access Vesta Control Panel.

Once the installer finishes installing, it will show you the URL, Username, and Password. Just open that URL in a web browser and log in using the username and password.


Congratulations! You have successfully installed Vesta CP. Thanks for using this tutorial for installing Vesta Control Panel on Debian 9 Stretch system. For additional help or useful information, we recommend you check the official Vesta Control Panel website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!
Back to top button