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

VestaCPis a very simple, yet powerful and efficientLinuxWeb hosting control panel.

By default it will install nginx web server, PHP,Mysql, DNS servers and others that must run a full web serversoftware,all these areBuilding websitedoSEOnecessary condition.

VestaCP control panel can be installed on RHEL 5 and 6,CentOS 5和6,Ubuntu 12.04至14.04和Debian 7上。

VestaCP panels are also very popular among web developers and system administrators due to the wide range of supported operating systems.

Learn about VestaCP

VestaCP is a complete solution for one customer, customers can install the bundled free solution on their VPS or dedicated server.

Most free panels like Z-Panel are not up to date, most known security holes are still open, and VestaCP has active development on its product.

If you are new to 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 will also run smoothly on a 512MB RAM server.

But to install a virus scan tool, the panel default setting requires at least 3GB 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 fairly straightforward, first make sure you're not running any default software on your server.

If so, use the appropriate command to remove those redundant software.

We recommend that you use a clean OS installation, as it saves you from many conflicts that might occur during installation (such as installing other control panels, etc.).

Example of command to uninstall LAMP on CentOS

Step 1:Delete MySQL server

To remove MySQL on the CentOS server, run the following command▼

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

Step 2:Remove MySQL library

yum remove mysql-libs

Step 3:Remove existing PHP installation

yum remove php php-common php-devel

Step 4:Remove the Apache service from the server

Please refer to this article ▼

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

Connect to your VPS/server via SSH, this article uses Putty software for demonstration.

Step 1:Download the VestaCP installer

Use the following command to download the VestaCP installer▼

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

Download VestaCP Installer Sheet 2

Step 2:Start the VestaCP installation

After a successful download, run this command to start the VestaCP installation ▼

bash vst-install.sh

Step 3:Confirm installation of VestaCP

The installer will ask for confirmation to install VestaCP, enter 'y' to continue ▼

Confirm the installation of VestaCP sheet 3

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:record login information

After successful installation, VestaCP will display the following information▼

After VestaCP is successfully installed, the login information will be displayed on the 4th sheet

step 7:Set the language to Chinese

Log in to Vesta CP control panel via browser ▼

Log in to Vesta CP Control Panel Sheet 5

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 Sheet 6

VestaCP adds multiple domains

In VestaCP control panel web service, you can add multiple new domain names ▼

VestaCP adds multi-domain name number 7

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 ▼

VestaCP adds SSL certificate No. 8

  • 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 VestaCP panel?The second picture of installing the post office/adding multiple domain names & file management

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 new email account 10th

Enter your email account and password, then you will receive emails SMTP, IMAP, etc. ▼

VestaCP gets SMTP No. 11

VestaCP's online mailbox, using the open source Roundcube to easily send and receive letters ▼

VestaCP uses open source Roundcube to send and receive mail 12th

VestaCP File Manager

Step 1:After connecting to SFTP via SSH, go 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 file manager sheet 13

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:

Enter the catalog ▼

/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 VestaCP service

service vesta stop

Step 2:Remove the installer for VESTA

CentOS system, please use the following command▼

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

Debian / Ubuntu system, use the following command

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

Step 3: Delete 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.

Also, there will never be any installation errors, it only takes about 4-7 minutes to install on our VPS.

  • 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:

Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "How to use the VestaCP panel?Install Post Office/Add Multiple Domains & File Management", it will help you.

Welcome to share the link of this article:https://www.chenweiliang.com/cwl-702.html

Welcome to the Telegram channel of Chen Weiliang's blog to get the latest updates!

🔔 Be the first to get the valuable "ChatGPT Content Marketing AI Tool Usage Guide" in the channel top directory! 🌟
📚 This guide contains huge value, 🌟This is a rare opportunity, don’t miss it! ⏰⌛💨
Share and like if you like!
Your sharing and likes are our continuous motivation!

 

Comment

Your email address will not be published. Required fields * Callout

scroll to top