If a customer happens to delete their emails you can still retrieve them from the cpanel backup system. This will take root access to move the files from the backup folder tot he customers account. You can extract a backup Continue Reading
You can modify the following option in “WHM Home » Server Configuration » Tweak Settings” under the “Stats and Logs” tab: “The interval, in days, to retain Exim stats in the database” Reducing this value will decrease the amount of Continue Reading
This simple command will list the inodes used for any group on the server: repquota -a | head -n5 ; repquota -a | grep username Just replace where it says “username” with the group or username you want to check.
update [table_name] set [field_name] = replace([field_name],'[string_to_find]’,'[string_to_replace]’); Make sure and remove the  tab when entering the variable. If you know how to do this database wide without needing the table listed please post in the comments.
Here is how to back up and restore a MYSQL database by command line Back up a MYSQL database: Code: ——— mysqldump –opt -Q -u dwhs_dwhs -p dwhs_wrdprss*A* > /home/dwhs/workroom/dwhs_wrdprss1.sql ——— Restore a MYSQL database: Code: ——— mysql -u dwhs_dwhs Continue Reading
How to install new package: 1) yum install governor-mysql –enablerepo=cloudlinux-updates-testing 2) /usr/share/lve/dbgovernor/mysqlgovernor.py –install For upgrading to MySQL 5.5(for example), you should to do: 1) /usr/share/lve/dbgovernor/db-select-mysql –mysql-version=mysql55 2) /usr/share/lve/dbgovernor/db-select-mysql –install-now 3) You will need cPanel to rebuild php through easyapache next Continue Reading
This is the free open source ffmpeg installer for cPanel which is installed from a bash shell script. The purpose of this script is to build a video streaming platform in your Gnu/Linux server. So you can start video streaming Continue Reading
It’s really easy to test your CGI (or a perl script) by adding a test.cgi script with the permissions: 755 Just make sure there is no white space on the top or bottom of the file and the file only Continue Reading
You just need to log in with root and run this command: ffmpeg -version
You will need the MYSQL root password to run this. mysqldump -u root -p –all-databases > /bsackup/all_dbs.sql This code will drop it off in your /backup partition.