Clean all server logs

This script will help you to get your server disk space cleaned from old and active logs. * WARNING!!! It will delete all server logs! This script deletes: - messages logs - maillog logs - apache/nginx domain logs - apache standard logs - php-fpm logs - /tmp and session logs - root maillog - acme/letsencrypt […]

Read More

Show Disk Usage per User

This script will list all users and disk space used by users per partition, it will sort highest disk space users on the top. It will also show quota limits per user. Usage: sh /scripts/disk_usage_per_user Example output: [root@webserver ~]# sh /scripts/disk_usage_per_user -------------------------------------------------------------------------------- USER PARTITION USED SOFT LIMIT HARD LIMIT -------------------------------------------------------------------------------- crwcave /dev/md3 110G 147G 147G […]

Read More

Clean GoAccess Files/Data

To clean all GoAccess Files/Data older than X months you can use our script Example: Clean all files older than 3 months sh /scripts/clean_goaccess_files 3 * This script will delete all goAccess Files/Data and free some disk space on your server.

Read More

How to update Netdata in CWP

In this tutorial we’ll update netdata to the latest version in CWP webpanel, it is easy to update by following the below steps. To update Netdata on EL 7/8 simply run these commands : yum install lz4-devel lz4 json-c-devel libuv-devel libuv --nobest

Read More

Can't log into CWP user/admin panel

User Panel If you can't log into the user panel you can try to reset the user password from the admin panel. Admin Panel If your root password is not working then the only option is to reset it via shell using passwd command. If you also don't have shell/ssh/console access then you would need […]

Read More

Services Monitor

CWP Service monitor is monitoring and restarting selected services on your server. Service will be restared only if exit status shows error. If the service was shutdown and it is showing the status stopped then service monitor will NOT restart it. Example of service when it will NOT be restarted: # service mysqld status mysqld […]

Read More

CWP Scripts

CentOS Web Panel has also a scripts folder to help you with the upgrades or additional tool installations. For all of you liking to work in a shell, we are preparing an additional scripts list. Available Scripts with the latest version /scripts/upgrade_mysql >> Upgrade phpMyAdmin and MySQL to 5.5 /scripts/install_imagick >> Installs Image Magick /scripts/install_maldet […]

Read More