How to install Webalizer in DirectAdmin ?
Category Archives: Linux
Check Linux HDD using smartmontools
I’m using CentOS, and I would like to check any READ / WRITE RAW error in my hard disk or not. I like to check it often to prevent any data lost. to Install, [root@server src]# yum install smartmontools If run, using smartctl
bc: command not found
I just installed the new server, and it is very clean, when I run the
Optimizing my.cnf in new server
I just optimized my MySQL server (mysql Ver 14.12 Distrib 5.0.51a, for redhat-linux-gnu (x86_64) using readline 5.0 ). I was using mysqltuner.pl and tuning-primer.sh to optimize. It can be download in the following links below.
How to find large files in linux
find / -type f -size +20000k -exec ls -lh {} \; | awk ‘{ print $9 “: ” $5 }’
version LIBXML2_2.6.28 not defined in file libxml2.so.2 with link time reference
Starting httpd: httpd: Syntax error on line 22 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: symbol xmlTextReaderSetup, version LIBXML2_2.6.28 not defined in file libxml2.so.2 with link time reference
How to install mod_security in DirectAdmin
How to install mod_security in DirectAdmin. I’ve installed this in CentOS 5.6 just now. Just follow the instruction below. # cd /usr/local/src # mkdir modsecurity2
Step to install DirectAdmin to a clean CentOS 5.6
Step to install DirectAdmin to a clean CentOS 5.6 I just added 1TB WDC Black for my server and change from Fedora 6 to CentOS 5.6 After you install the clean OS, you must install gcc and gcc++ if not the error will output like this
How to change ssh port in linux ?
How to change ssh port in linux ? I suggest to change the port for security reason. Because every second there are a lot of bruteforcer keep brute force our sshd port, the original port is 22. If you change to another port, then they may skip you and go find for another victim or Continue reading “How to change ssh port in linux ?”
Install sudo for CentOS 5.6
Install sudo for centos 5.6
