You first have to install the devel packages for unixodbc, then add a line in rawopts file and rebuild Apache+PHP. 1. Install the UnixODBC devel packages: yum install unixODBC unixODBC-devel 2. You now need to create a file...
You may see error “Fatal! Write failure” error message while adding email forwarders OR setting a catchall email address from cPanel >> “Email Accounts” section. The error is: Fatal! Write Failure:...
A new Adobe hotfix for ColdFusion has been released recently. The vulnerability which was discovered by Richard Brain was rated as important by Adobe and could affect a large number of Internet-facing web servers. How does the...
Learn to shut down or restart your Linux system, warn users that the system is shutting down, and switch to a somewhat restrictive run level. This process is unfamiliar to many Linux enthusiasts. Next, Ian Shields, a senior programmer from...
Wait… before I try to copy this directory recursively, how big is it?
du -sh /path/to/directory
-s : Display for the entire folder, not for all subfiles separately
-h : Display size in human-readable format: KB, GB, TB..
When using Cloudflare, all the hits to your web server will come from a Cloudflare IP address. So in order to retrieve the actual IP address from the visitor you must install mod_cloudflare. 1. Connect to your server through SSH and log in...
grep can search one or many files for a word or phrase. To search one file for the phrase “Libby the dog”, try this: grep "Libby the dog" file.txt Note that you use quotation marks around your phrase because you are searching for a...
In order to change the SSH port and protocol, you will have to edit sshd_config nano /etc/ssh/sshd_config Change Protocol 2,1 -> to Protocol 2Change #Port 22 -> to some other port and uncomment it Example: Protocol 2 Port 2255 Then restart ssh...