Here is a small BASH script I wrote for root users to easily enable/disable MySQL general query logging. It will show status, create a log file, and replace the file
You can identify the directories and PHP settings which differ from the system PHP settings by running the following BASH one-liner: for i in $(find /home*/*/public_html/ -name php\.ini -type f);do
The following code can be placed in your .htaccess file to compress content using mod_deflate, which reduces bandwidth and download time. The visitor’s browser will uncompress the page requested. <IfModule
There are too many security risks out there. Recently, there was a new application released called “firesheep”, a Firefox plugin, which is capable of capturing the cookie information in a
Find the home, siteurl, and theme for a WordPress installation: You may find the “home” and “siteurl” in the database using an SQL query in phpMyAdmin while in the database:
If a user has quota issues with a mail account, or cannot change the quota in cPanel, you (or the user) can delete the maildirsize file in their mail account
When installing an SSL certificate, if you get a “Modulus mismatch”, that means that the KEY file does not match the key used to generate the SSL certificate. Double-check that
You can find a server hostname by the IP address using telnet to port 25 (exim): 1) Type: telnet <IP_ADDRESS> 25 2) Type: HELO [ENTER] Note: On some mail servers,
$ ssh support@server100 support@server100 [~]# wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz –05:53:57– http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz => `ioncube_loaders_lin_x86-64.tar.gz’ Resolving downloads2.ioncube.com… 64.85.170.46 Connecting to downloads2.ioncube.com|64.85.170.46|:80… connected. HTTP request sent, awaiting response… 200 OK Length: 3,232,419 (3.1M) [application/x-gzip] 100%[====================================================================================================================================================================================>]
[client] user=”USER” pass=”PASSWORD”