Category: Common issues

Remove session files under /tmp weekly

Remove session files under /tmp weekly root@host [/scripts]# ll | grep  1 root root      39 Nov 21 10:41*root@host [/scripts]# cat cleanup.shfind /tmp/  -name “sess_*” | xargs rm root@host [/scripts]#================================weekly on...

repquota 100% with high load

The root process repquota is running with high cpu usage . #ps afuxww | grep -i quota ->root 10966 0.0 0.0 3276 528 ? D 05:14 0:00 | _ /usr/sbin/repquota -auvroot 10556 0.0 0.0...

Reverse DNS: how to check it?

Check RDNS using NSLOOKUP command ,HOST (on linux server ) command or NSLOOKUP ————–1)You can check RDNS is setup or not from command prompt using nslookup commandServer which has RDNS set- C:>nslookup


hostname – Changing server host name Before starting ensure that your desired hostname is resolving to the server . Steps in changing the hostname on a plain Red Hat Enterprise Linux server are: 1....

Wget Error

for wget http://where.the.rpm it returns: Code: # wget http://——.rpmbash: wget: command not found **Fixed my wget problem with: #yum install wget Share it..

htaccess file:

php_value register_globals 0========================================DirectoryIndex index.php index.html=====================================php_value upload_max_filesize 20M========================================php_value display_errors off======================================== How to redirect a website using .htaccess RewriteEngine onRewriteCond %{HTTP_HOST} ^$ [OR]RewriteCond %{HTTP_HOST} ^$RewriteRule ^(.*)$$1 [R=301,L] Using the above code will be redirected...

Optimization WordPress Plugins & Solutions by W3 EDGE