How do I see which modules are currently enabled/installed for Apache? You can simply enter the following command from an SSH session to give a list of currently active Apache modules: apachectl -t -D...Read More

How do I manually export or "dump" a MySQL database from command line or SSH? You can dump a MySQL database to the current folder from an SSH session using the following command: mysqldump &...Read More

How can I find a specific text string in a file or multiple files from an SSH session? You can use the grep command to easily find text within files. From an SSH session, run the following command: gr...Read More

How do I bulk edit a DNS zone on cPanel? Changed nameserver name and need to update all the DNS zones on your cPanel server? Using the replace command from an SSH session will make it simple. Just use...Read More

How do I find and remove old cPanel backups? Use the following command from an SSH session to find all backups that are older than 60 days and delete them: find /backup/weekly/incremental/accounts -ma...Read More

How do I fix my cPanel DNS configuration or rebuild named.conf? Running the following script from an SSH session will fix most issues when your named.conf file becomes corrupt: cd /etc;mv named.conf n...Read More

How to fix CloudLinux Lvestats when they stop working? Run the following command from an SSH session; service lvestats stop;killall -9 lvestats-server;rm -rf /var/lve/lveinfo.db;service lvestats start...Read More