Diadem Technologies Support Knowledgebase

Available automated scripts at centos web panel (CWP) with the latest version

Article ID: 986
Last updated: 11 Jul, 2018

Restart HTTPD service:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/restart_httpd

Install or update ioncube loader PHP addons (you will need to restart httpd and cwpsrv):
# sh /usr/local/cwpsrv/htdocs/resources/scripts/update_ioncube

Upgrade phpMyAdmin and MySQL version:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/upgrade_mysql

To Reset mySQL Root Password:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/mysql_pwd_reset

CWPscripts - Check for bad tables:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/checkdb

Fix MyISAM tables for all databases:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/mysql_fix_myisam_tables

View max_connections limit at MySQL configuration:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/mysql_show_max_connections

View connection number and sort them by size:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/net_show_connections

Increase max_connections limit at MySQL configuration:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/mysql_set_max_connections

Show User List:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/list_users

Find the list of all Domains:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/list_domains

Find the list of all Sub-Domains:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/list_subdomains

Backup script for user files and mysql databases:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/user_backup

Installs Image Magick:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/install_imagick

Installs Maldet:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/install_maldet

Update freshclam database:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/freshclam

Installs Net2FTP, Usage http://IP/net2ftp:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/install_net2ftp

Install supportKey (ssh key installation script):
# sh /usr/local/cwpsrv/htdocs/resources/scripts/install_supportKey

Get Domain owner, Usage: sh /scripts/whoowns DOMAIN:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/whoowns

Enable CSF/LFD Brute/Force protection:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/cwp_bruteforce_protection

Check CWP version:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/cwp_version

Monitor CWP critical load:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/cwp_monitor

Restart CWP (restarts panel only):
# sh /usr/local/cwpsrv/htdocs/resources/scripts/restart_cwpsrv

Reload CWP (Reload panel only):
# sh /usr/local/cwpsrv/htdocs/resources/scripts/reload_cwpsrv

Update CWP to the latest version:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/update_cwp

Monitor disk usages od a specific directory(we can also modify the script as per our need):
# sh /usr/local/cwpsrv/htdocs/resources/scripts/disk_check

Server health notifications:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/add_alert

SSL Self signed certificate generater:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/generate_hostname_ssl

How many email has been deferred at server's mailq:
# sh /usr/local/cwpsrv/htdocs/resources/scripts/check_postqueue

This article was:  
Report an issue
Article ID: 986
Last updated: 11 Jul, 2018
Revision: 3
Views: 4750
Comments: 0
Also read