How to use VestaCP panel?Install Post Office/Add Multiple Domains & File Management

VestaCP is a very simple, yet powerful and efficient Linux network host control panel.

By default, it will install the nginx web server, PHP, MySQL , DNS server, and other software necessary to run a full web server — essential for website building and SEO . The VestaCP control panel can be installed on RHEL 5 and 6, CentOS 5 and 6, Ubuntu 12.04 to 14.04, and Debian 7. Due to its wide range of supported operating systems, the VestaCP panel is also very popular among web developers and system administrators.

Learn about VestaCP

VestaCP is a complete solution for customers, bundled with a free solution that they can install on their VPS or dedicated server. Most free panels like Z-Panel are not up-to-date, and most known security vulnerabilities remain open, while VestaCP actively develops its product. If you are unfamiliar with server maintenance, you can also order support packages from them.

  • Their interface is very unique to them.
  • VestaCP uses a Modern Material adaptation on its control panel skin.
  • Users can also update their own branding to VestaCP using themes.

Installation conditions

You can install VestaCP on a server with at least 1GB of RAM (recommended), but it can also run smoothly on servers with 512MB of RAM. However, to install the virus scanner, the panel's default settings require at least 3GB of RAM. However, users can override these settings and install virus scanning and other features on any server.

  • VestaCP supports Centos, Ubuntu, Debian and RHEL.
  • VPS memory 1 GB or less VestaCP for Mirco type (Micro type does not support phpfcgi)
  • VPS memory 1G-3G is Mini type
  • VPS memory 3G-7G is medium
  • VPS memory 7G or larger is Large, which can install medium and large anti-spam components.

Install VestaCP, the following software will be installed

  • Apache
  • PHP
  • NginX
  • named
  • Exim
  • Dovcot
  • ClamAV (depending on your configuration)
  • SpamAssassin
  • MySQL & PHPMyAdmin
  • PostgreSQL
  • Vsftpd

VestaCP installation preparation

Installing VestaCP is quite simple. First, make sure you aren't running any of the default software on your server. If so, remove any unnecessary software using the appropriate commands. We recommend using a clean OS installation, as it will prevent conflicts that may arise from installing other control panels.

Example of command to uninstall LAMP on CentOS

Step 1: Delete the MySQL server. Delete MySQL on the CentOS server by running the following command: ▼

yum remove mysql-client mysql-server mysql-common mysql-devel

Step 2: Delete the MySQL database

yum remove mysql-libs

Step 3: Remove the existing PHP installation

yum remove php php-common php-devel

Step 4: Please refer to this article to remove the Apache service from the server ▼

Example of command to uninstall LAMP on Ubuntu

You can run this one-line command to remove LAMP on an Ubuntu server ▼

`# sudo apt-get remove --purge apache2 php5 mysql-server-5.0 phpmyadmin`
  • ▲ The above code will delete the currently installed LAMP

Start installing VestaCP

This article demonstrates connecting to your VPS/server via SSH using PuTTY software. Step 1: Download the VestaCP installer. Use the following command to download the VestaCP installer ▼

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

How to use VestaCP panel?Install Post Office/Add Multiple Domains & File Management Step 2:Start VestaCP installation After successful download, run this command to start VestaCP installation ▼

bash vst-install.sh

Step 3:Confirm the installation of VestaCP The installer will ask you to confirm the installation of VestaCP, enter 'y' to continue ▼ Confirm installation of VestaCP Step 4:Enter email

  • It will then ask you to enter a valid email (to send you updates about the current server).
  • So, please enter a valid email and press enter.
Step 5:Enter the FQDN hostname
  • FQDN is a fully qualified domain name/global domain abbreviation.
  • Fully Qualified Domain Name, the domain name,Obtained from DNS resolutionIP address.
  • If you plan to use an FQDN (required), please enter it at this stage.
  • It is best to enter the FQDN for this hostname.
  • Chen Weiliangis to use chenweiliang.com as the hostname.
  • Start the installation now, please wait for a while for the installation to complete.
Step 6:After the installation is successful, VestaCP will display the following information▼ After VestaCP is successfully installed, login information will be displayed. step 7:Set the language to Chinese and log in to the Vesta CP control panel through the browser ▼ Log in to the Vesta CP control panel You will find that the default is English, you can click admin in the upper right corner to change it ▼ Click "admin" in the upper right corner to change the language to CN (Chinese).

VestaCP adds multiple domains

In VestaCP control panel web service, you can add multiple new domain names ▼ VestaCP adds multiple domains In the advanced settings, you can choose whether to add an SSL certificate to the website, and support to automatically set the Let's Encrypt certificate for encryption ▼ Add SSL Certificate to VestaCP

  • After waiting for about five minutes, you can enable https and view the SSL certificate you just applied for.

VestaCP add FTP account

At the bottom, you can add an FTP account to your website and enter your FTP account and password ▼ How to use the VestaCP panel? Installing email/adding multiple domains & file management - Chen Weiliang's Blog_Network Marketing Planning_Cross-border E-commerce Operation Website Promotion Tutorial

FTP client connection settings

When connecting using FTP client software, the following settings are available ▼

  • Hostname Enter your server IP address or the domain name that points to the server.
  • Username: Server administrator or FTP account username.
  • Password: Server administrator or FTP account password.
  • Port: 21

VestaCP add post office mailbox

First enter the post office management interface of VestaCP and add a new account ▼ VestaCP adds a new email account Enter your email account and password, then you will receive emails SMTP, IMAP, etc. ▼ VestaCP obtains SMTP VestaCP's online mailbox, using the open source Roundcube to easily send and receive letters ▼ VestaCP uses the open-source Roundcube to send and receive emails.

VestaCP File Manager

Step 1: After connecting to the SFTP server via SSH, navigate to the directory ▼

/usr/local/vesta/conf

Step 2: Edit the vesta.conf file.

  • Add the following two lines of code at the end of the file▼
FILEMANAGER_KEY ='KuwangNetwork'
SFTPJAIL_KEY ='KuwangNetwork'

After saving, you can view the file manager in VestaCP navigation ▼

  • Since the vesta.conf file will be automatically modified by the system,
  • It is recommended to change the vesta.conf file to read only (440).
  • The method of modifying the vesta.conf file may fail, and you will receive an email notification of an error.
  • If it fails, please delete the two lines of code you just added.
  • VestaCP's file manager is too bad.
  • It is recommended to use software such as SFTP and WinSCP instead of VestaCP's file manager.
VestaCP adds a file manager

Google JS library problem

  • The file manager uses Google's JS library, but Google's JS library may not be available in some areas of mainland China.

Solution: Go to the directory ▼

/usr/local/vesta/web/templates/file_manager

Please change the address in line 119 of the main.php file to ▼

code.jquery.com/jquery-1.11.1.min.js

Uninstall VestaCP

Step 1: Stop the VestaCP service

service vesta stop

Step 2: Remove the VESTA installer. For CentOS systems, please use the following command ▼

yum remove vesta*
rm -f /etc/yum.repos.d/vesta.repo

For Debian/Ubuntu systems, please use the following command ▼

apt-get remove vesta*
rm -f /etc/apt/sources.list.d/vesta.list

Step 3: Delete the data directory and scheduled tasks.

rm -rf /usr/local/vesta
  • Also, it's a good idea to delete the admin user and related scheduled tasks.

Conclusion

VestaCP is a very good and easy to install and use VPS control panel that can be used by everyone. Moreover, there are no installation errors. The installation on our VPS only takes about 4-7 minutes to complete.

  • VestaCP is much faster than its main competitor, ISPConfig.
  • VestaCP is a standard Linux system control panel that keeps running at minimal cost.
  • The VestaCP control panel provides a reverse proxy based caching system for free.
Extended reading:

Comment

Your email address will not be published. Required fields are marked with * .

Scroll to Top