Download WHMCS module for CWP from our site http://dl1.centos-webpanel.com/files/3rdparty/whmcs/cwp7.zip Latest update: 30/03/2020 (30/March/2020) - improved autologin to user panel update: 09/01/2020 (09/Jan/2020) - show user disk/bandwidth usage in whmcs update: 30/08/2019 (30/Aug/2019) - added autologin 1. Extract file cwp7.zip in your whmcs folder WHMCS/modules/servers/ as extracted module file path will look like this WHMCS/modules/servers/cwp7/cwp7.php 2. […]
Category: Development
Notifications in control panel
Now you can send notifications into the cwp.admin control panel with your custom scripts. Notification generator script will help you and generate the unique id for each message. Script Usage: /scripts/add_alert ALERT-TYPE "Short Text" LOG-FILE-LOCATION /scripts/add_alert alert-danger "this is my test" /var/log/php-rebuild.log ALERT-TYPE - Available Alert Types alert-danger, alert-success, alert-info, alert-warning, alert-dismissable "Short Text" - […]
FreeHosting Provider Service
If you want to provide a free hosting service, now you can do that very simple with CWP, in just a few steeps. You need to set Access key in the following file /usr/local/cwp/.conf/free_hosting_key.conf Example of file /usr/local/cwp/.conf/free_hosting_key.conf DPQhj9zJeMYHJkGyEW To activate a new account, you need to call this API as in the following example: […]
How to create RPM packages
How to create RPM packages like custom php or Apache - Download source package - Run ./configure with your desired flags - run make - run checkinstall, this will automatically create RPM package. Download and install checkinstall package: http://rpm.pbone.net/index.php3/stat/4/idpl/23516987/dir/centos_6/com/checkinstall-1.6.2-3.el6.1.x86_64.rpm.html wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/ikoinoba/CentOS_CentOS-6/x86_64/checkinstall-1.6.2-3.el6.1.x86_64.rpm rpm -i checkinstall-1.6.2-3.el6.1.x86_64.rpm ./configure your-FLAGS make checkinstall --install=no and that is it, your RPM […]
How to build a CWP Module
How to Build a new module for CentOS Web Panel (CWP)? It’s very easy to build a new module for the CentOS-WebPanel Let’s create file named: test2.php <?php $cpu_info = shell_exec("cat /proc/cpuinfo"); echo "This is example module<br>"; echo "You can edit this file and make new modules based on this file<br>"; echo "Examples and functions […]