How to install VestaCP on Debian
The panel itself is free however it has some paid elements like commercial plugins e.g. sftp chroot. VestaCP is designed to be installed on a VPS or a dedicated server with UNIX-like OS exclusively.
Vesta is a panel for simple tasks. It allows you to quickly publish sites and gives you all the functionality you need to administer them, and that's its main advantage. It's easy to learn and is great for small projects like a corporate site or a small online store. Vesta is not so useful for large and complex projects. In order to improve security and fault-tolerance, it requires large revisions, which translates into losses in time and money.
First of all, there is no possibility to install VestaCP on Debian 10 or 11. The explanation is quite simple - according to the official VestaCP website supported OS versions are:
- RHEL / CentOS 5, 6, 7
- Debian 7, 8, 9
- Ubuntu 12.04 - 18.10
Meaning that the last versions of Ubuntu are not supported. But if you’re sticking to the older versions of the OS, let’s start with the supported versions of Debian.
Installing VestaCP on Debian 7, 8, 9
Access the VPS server via SSH using Putty or any suitable software as the root user (the credentials should be sent to you by BlueVPS once you buy a server) we can start the installation of the Vesta Control Panel.
Once you are connected, execute the following command:
curl -O http://vestacp.com/pub/vst-install.sh
Once you hit Enter, the Vesta Control Panel installer will be downloaded. Now, depending on the services that we need to install, we will select the ones we need in the "Advanced Install Settings".
There are 3 parameters that Vesta Control Panel asks us to indicate manually:
- Hostname: It is the name that has our machine as an identifier, it does not have much importance since this only serves for LAN networks but we recommend that it is related to one of the domains that are going to be created inside the machine.
- Email: Administrator's email address where he will receive all alerts and notifications.
- Password: Password of the administrator of the Vesta Control Panel web interface.
We leave below the most basic configuration recommended by the creators of VestaCP on the official page.
bash vst-install.sh --nginx yes --apache yes --phpfpm no --vsftpd yes --proftpd no --exim yes --dovecot yes --spamassassin yes --clamav yes --named yes --iptables yes --fail2ban yes --mysql yes --postgresql no --remi yes --quota no --hostname yourdomain.com --email [email protected] --password supersecuredpassword
Don’t forget to change yourdomain.com and [email protected] to your domain like bluevps.com and [email protected].
If you are an advanced user we recommend that you tweak it according to your needs and requirements, but if you are an average user, then it would be more than enough to work without problems.
Copy the command generated by the Vesta Control Panel web to the VPS server via SSH, the installation will start automatically.
When the installation wizard asks you if you want to continue with the installation, press the Y and Enter key in the terminal - that will start the installation. Once installed it will show in the terminal information on how to connect to the panel. To do it, enter the URL in the browser that Vesta Control Panel provides to you. Enter credentials and you are in!
Installing VestaCP on Debian 10
As mentioned earlier there is no option to install the Vesta control panel on Debian 10. But worry not as one of the developers of the original Vesta has done a fork of it and named it as myVesta! It’s Debian exclusively supported because the developer didn’t want to waste energy on compatibility with other Linux distributions. The panel is focused on stability and security. Regarding the plugin compatibility, developers stated that any commercial plugins should be available for purchase on vestacp.com. They, on the other hand will not make any profit out of it. Their intentions are purely royal - enhance security and add more features without interfering with VestaCP releases.
Coming back to myVesta. myVesta basically supports Debian 10 and 11 plus all the next versions of Debian to come, hopefully. If you want to know full the list of features you can always visit their official website.
Download the installation script:
curl -O http://c.myvestacp.com/vst-install-debian.sh
Then run it:
bash vst-install-debian.sh
After the installation is finished you can follow the same steps as with installation on Debian 7, 8, 9 paragraph.
Conclusion
As always BlueVPS is not leaving you without a solution, so make sure you contact us, should you have a specific inquiry regarding the custom control panel. We are open to any new software which can help our customers. Until later then!
Blog