🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

VPS Installation of Free Virtual Hosting Panel VestaCP - Tutorial on Integration with WHMCS for Activation

build a websiteWe often purchase VPS, but using a VPS alone is wasteful, so we can create several Shared Hosting accounts for others to share. Common panels like Baota Panel can also partition virtual hosts for others to use, but they don't allow users to log into the panel for self-management. Paid panels like cPanel are certainly not what amateur users want to purchase. Therefore, this article recommends this free virtual hosting management panel called VestaCP.

Introduction to VestaCP

VestaCP is an open-source virtual hosting Control Panel. Source code address: https://github.com/serghey-rodin/vesta. VestaCP can be installed on CentOS, Debian, and Ubuntu systems. It supports custom installation scripts and optional installation of nginx, apache, vsftpd, proftpd, exim, dovecot, spamassassin, clamav, named, iptables, fail2ban, softaculous, mysql, postgresql, etc. VestaCP supports Chinese. See the demo link below:Download Link

VestaCP Installation Tutorial

Installing VestaCP is very simple. The default installation method is just three steps:
# 使用ssh连接上你的vps
ssh root@your.server
# 下载安装脚本
curl -O http://vestacp.com/pub/vst-install.sh
# 运行安装脚本
bash vst-install.sh
Related articles:#WebsiteBuilding# Xshell 6 Basic Tutorial: Connecting to VPSInstallation interface:VestaCP安装教程Installation completion interface:VestaCP安装教程After VestaCP installation is complete, the backend login address and account/password information will be displayed. You can log in via a browser to manage virtual hosts and users. (The browser may prompt an SSL certificate error, which can be ignored.) If you want to customize the installation components, you can make your own selection at the bottom of the official installation page.Official Website Address Switch to Chinese: After logging in, click your username in the top right corner, then select the language 'cn'.

VestaCP Integration with WHMCS for Automated Provisioning

WHMCS is a very popular financial system. Most VPS providers we purchase from online use WHMCS. You can refer to the previous article:Build a hosting sales website using WHMCSVestaCP supports integration with WHMCS for automatic shared hosting provisioning. The official provides WHMCS interface files. The specific usage method is as follows:
cd /home/user/web/billing-site.ltd/public_html/modules/server
mkdir vesta
wget http://c.vestacp.com/0.9.8/rhel/whmcs-module.php -O vesta.php
The meaning of the above three commands is: switch to the 'server' folder in the WHMCS installation directory, create a 'vesta' folder, then download the whmcs-module.php file and rename it to vesta.php. Then go toWHMCS Admin Dashboard- System Settings- Product Settings- ServerAdd inside:vestacp对接whmcsThe server name can be arbitrary. Fill in the hostname and IP address with the server IP where you installed the Vesta Panel.vestacp对接whmcsFor the type below, select Vesta, then fill in your Vesta admin dashboard account and password.vestacp对接whmcsAfter adding, click 'Login to Control Panel' in the server list to see if you can log in successfully, testing if the server settings are correct. If unsuccessful, check the account, password, and firewall permissions.vestacp对接whmcsIn the Vesta Panel backend, click User Plans, modify or add a plan content yourself, and remember the plan name.vestacp对接whmcsThen return to the WHMCS admin dashboard, clickSystem Settings - Product Settings - Product Settings. Add a product group, then add a product.vestacp对接whmcsIn the product details, fill in the product name and product description. You can fill these in arbitrarily here.vestacp对接whmcs The key pointis that in the interface settings here, the Package Name must match the plan name in your Vesta Panel backend to achieve integration and provisioning.vestacp对接whmcsOnce all configurations are completed, you can save the product and test purchasing a Shared Hosting service on the WHMCS frontend to see if it is automatically provisioned.

How to Uninstall the VestaCP Panel

Naibabijiknows that friends who have been working on integrating the Vesta Panel with WHMCS often encounter some issues after using it for a while. If there are no solutions on the official forum, most will give up. Therefore, you can use the following commands to uninstall the Vesta Panel. 1. Stop the services
service vesta stop
2. Remove Vesta software packages and libraries RHEL/CentOS:
yum remove vesta*
rm -f /etc/yum.repos.d/vesta.repo
Debian/Ubuntu:
apt-get remove vesta*
rm -f /etc/apt/sources.list.d/vesta.list
3. Delete the data directory
rm -rf /usr/local/vesta
Finally, delete the cron automatic tasks.

Related Articles

  1. What are the relationships and differences between Shared Hosting, VPS, and Baota Panel?
  2. Website Building Video Tutorial: Baota Panel Beginner's Guide to Installing and Building a Website
  3. #WebsiteBuilding# Beginner-friendly Baota Panel Website Building Tutorial
  4. #Website Building# LNMP One-Click Installation Tutorial with Screenshots

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan to Follow