🚀 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 Web Hosting Panel VestaCP_Integration with WHMCS Setup Tutorial

Building a WebsiteWe usually purchase a VPS, but using a VPS alone is too wasteful. Therefore, we can create several web hosting accounts for others to share. The common Baota Panel can also partition web hosting for others to use, but there is no way to log into the panel for self-management. The paid cPanel is definitely not what amateur users want to purchase. So, this article recommends this free web hosting management panel called VestaCP.

VestaCP Introduction

VestaCP is an open-source web hosting control panel. The open-source address is: https://github.com/serghey-rodin/vesta. VestaCP can be installed on CentOS, Debian, and Ubuntu systems, supports custom installation scripts, and optionally installs 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:#建站#Xshell 6 Basic Tutorial: Connecting to a VPSInstallation Interface:VestaCP安装教程Installation Completion Interface:VestaCP安装教程After VestaCP installation is complete, it will display the backend login URL and account password information. Log in via a browser to manage web hosting and users. (The browser will 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 Automatic Setup

WHMCS is a very popular financial system. Most VPS providers we purchase from online use WHMCS. You can refer to previous articles:Building a Hosting Sales Website Using WHMCSVestaCP supports integration with WHMCS to automatically set up web hosting. 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 under the WHMCS installation directory, create a 'vesta' folder, then download the whmcs-module.php file and rename it to vesta.php. Then go to theWHMCS Admin Backend- System Settings- Product Settings- ServerAdd inside:vestacp对接whmcsThe server name can be arbitrary; for the hostname and IP address, fill in the IP of the server where you installed the Vesta Panel.vestacp对接whmcsFor the type below, select Vesta, then enter the username and password for your Vesta management backend.vestacp对接whmcsAfter adding, click 'Login to Control Panel' in the server list to see if you can log in successfully, testing whether the server settings are correct. If unsuccessful, check the account credentials and firewall permissions.vestacp对接whmcsIn the Vesta Panel backend, click User Plans, then modify or add a plan content yourself, and remember the plan name.vestacp对接whmcsThen return to the WHMCS management backend, 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; these can be arbitrary.vestacp对接whmcs The key pointis that in the interface settings here, the Package Name must match the plan name from your Vesta Panel backend exactly to enable integration and provisioning.vestacp对接whmcsOnce all configurations are complete, you can save the product and test purchasing a web hosting service on the WHMCS frontend to see if it is automatically provisioned.

How to Uninstall the VestaCP Panel

Naibabijinotes that friends who tinker with integrating Vesta Panel with WHMCS often encounter some issues after using it for a while. If there are no solutions on the official forums, many give up. Therefore, you can use the following commands to uninstall Vesta Panel. 1. Stop services
service vesta stop
2. Remove Vesta packages and repositories 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 data directory
rm -rf /usr/local/vesta
Finally, delete the cron automatic tasks.

Related Articles

  1. What are the relationships and differences between cloud shared hosting, VPS, and Baota Panel
  2. Website building video tutorial: Baota Panel beginner installation and website setup tutorial
  3. #WebsiteBuilding# Beginner-friendly Baota Panel setup tutorial
  4. #Website Building# LNMP One-Click Package Installation Illustrated Tutorial

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

「Naibabiji WordPress Website Building Coaching Service」—From choosing a domain and buying hosting, to installing a Theme and publishing content, I「ll coach you through every step, helping you avoid detours and reach your goal directly.

👉 Learn about the 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 QR Code to Follow

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: