Archive for 'cPanel Guidelines'
WHM – How To change NameServer Ip
Posted on 14. Jan, 2012 by wiredgorilla.
TweetThe file that actually handles WHM > DNS Functions > Nameserver IPs area is at /var/cpanel/nameserverips.yaml location. If you want this to be changed, you’d want to make a backup of that file first and then modify it: cd /var/cpanel cp nameserverips.yaml nameserverips.yaml.bak110112 vi nameserverips.yaml
Continue Reading
Fix corrupted RPM database on CentOS 5
Posted on 06. May, 2011 by wiredgorilla.
TweetIf rpm / yum command hangs during operations or you see error messages – it means your rpm database corrupted. /var/lib/rpm/ stores rpm database just delete the same and rebuild rpm database: Command to rebuild rpm database rm -f /var/lib/rpm/__db* rpm –rebuilddb -v -v
Continue Reading
cPanel transfer restore error
Posted on 06. May, 2011 by wiredgorilla.
TweetForcing the restore of a transfered cPanel account , even if the new system says the username is all ready in use /scripts/restorepkg –force –skipres <account.tar.gz>
Continue Reading
How to install CPAN libwww-perl
Posted on 02. May, 2011 by wiredgorilla.
TweetWhen installing the CSF firewall on your CentOS server, you need to make sure that you have libwww-perl installed This is easily done by installed it with yum on CentOS 5 yum install perl-libwww-perl
Continue Reading
How to remove Tomcat on cPanel
Posted on 24. Dec, 2010 by wiredgorilla.
TweetWant to remove Tomcat from cPanel? Log-into your server as root using ssh: Execute the following command to stop the Tomcat process: # /usr/sbin/stoptomcat …and to remove the next files, enter: # rm -f /usr/sbin/starttomcat # rm -f /usr/sbin/startomcat # rm -f /usr/sbin/stoptomcat Finally, remove all mod_jk lines from httpd.conf, including addmodule, loadmodule, and include [...]
Continue Reading
Apache logs
Posted on 14. Nov, 2010 by wiredgorilla.
TweetIssues with suhosin or mod_security , then best check your Apache error logs tail -f /usr/local/apache/logs/error_log
Continue Reading
Linux server tip: force reboot/shutdown
Posted on 23. Apr, 2009 by wiredgorilla.
TweetForcing reboot A Linux Server is not Windows XP and if reboot fail you usually still connect by SSH and do something. This commands will show you how to remotely hard reboot machine. Hard reboot mean that shutdown scripts will not run and machine reboot immediately without syncing hard disk drives, shutdown applications etc, it’s [...]
Continue Reading
How can I repair corrupt MySQL tables?
Posted on 12. Sep, 2008 by wiredgorilla.
TweetHow can I repair corrupt MySQL tables? Every so often, MySQL tables have a way of corrupting themselves. MySQL offers a quick and painless method of repairing those tables.
Continue Reading
How to mount and unmount a drive in linux
Posted on 26. Aug, 2008 by wiredgorilla.
TweetHow To Mount A Drive In Linux This simple step by step guide will show you how to mount a new hard drive or partitions onto your Linux server
Continue Reading
Linux sub directory size info
Posted on 20. Jul, 2008 by wiredgorilla.
Tweet Need to know the exact size of your subdirectories in Linux? Just go to the directory , like cd / and try this du -cksh *

