How To Install VestaCP on CentOS
In this tutorial, we will install Vesta Control Panel on CentOS 7. Vesta CP is an open-source alternative to cPanel.
VestaCP is an open-source web hosting control panel that you can install on machines running RedHat/CentOS or Ubuntu. It is notable for having a very clean and clear graphical interface that’s perfect for inexperienced users looking to change and adjust the configurations of their hosted services.
Getting started
Before you begin the steps in this guide, make sure you fulfil the following prerequisites:
- Node (Cloud Server or Dedicated Server) running a clean installation of CentOS 7.
- All commands should be run as the root user
Installing Vesta can be done by running a simple script.
curl -O http://vestacp.com/pub/vst-install.sh && bash ./vst-install.sh --force
You will be prompted to enter a valid email address. Be careful to enter an address that you can access, and double-check the address you entered for any typing errors since you will not be prompted to confirm it.
The installer will load the following programs onto your Server.
- PHP
- Apache
- Nginx
- Bind DNS
- Exim Mail Server
- Dovecot IMAP/POP3 Server
- MariaDB – MySQL on Centos 6.x
- VSFTPD
Accessing VestaCP
VestaCP by default runs on port 8083. You can log in by visiting https://SERVER_IP:8083 and the password that is set by the installer. Replace SERVER_IP with the IP address of your Server. The https:// in this URL means that we are accessing Vesta over a secure connection. This secure (SSL) connection needs a certificate on the Server to use for securing the data transport. Since we have not set up any certificates yet, an unsigned server-generated certificate is used, which is why you will get a warning message from your browser.
If you don’t like the password that was set by the installer, you can change it by running the command below.
/usr/local/vesta/bin/v-change-user-password admin NEW_PASSWORD
VestaCP is all set. Now you can log in and configure your server.