cpanel Optimization
https://engintron.com/ – nginx fro WHM/cpanel
https://my.bluehost.com/cgi/help/2521
https://nixcp.com/free-cpanel-plugins/
https://engintron.com/ – nginx fro WHM/cpanel
https://my.bluehost.com/cgi/help/2521
https://nixcp.com/free-cpanel-plugins/
Supermicro IPMI firmware source: http://www.supermicro.com/support/bios/firmware0.aspx Manual: ftp://supermicro.com/CDR-X9-UP_1.22_for_Intel_X9_UP_platform/IPMI/IPMICFG/Supermicro_Utility_User_Guide_IPMICFG.pdf ===================================================== Find your motherboard info Windows—- launch dxdiag tool from the start menu Linux—- # dmidecode -t 2 yum -y install OpenIPMI service ipmi start chkconfig ipmi on mkdir /ipmi cd /ipmi wget “ftp://ftp.supermicro.com/utility/IPMICFG/IPMICFG_1.27.0_build.170620.zip” unzip IPMICFG_1.27.0_build.170620.zip chmod -R u+rwx IPMICFG_1.27.0_build.170620/Linux/64bit/IPMICFG-Linux.x86_64 cd IPMICFG_1.27.0_build.170620/Linux/64bit/ ./IPMICFG-Linux.x86_64 -dhcp off ./IPMICFG-Linux.x86_64 -m ./IPMICFG-Linux.x86_64…
http://superuser.com/questions/170866/how-to-run-a-cron-job-as-a-specific-user crontab -u <username> -e 0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1 30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1 35 3 * * * /usr/local/cpanel/scripts/upcp –cron 0 1 * * * /usr/local/cpanel/scripts/cpbackup 0 2 * * * /usr/local/cpanel/bin/backup 35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check 45 */4 *…
ttp://www.wikihow.com/Find-a-File-in-Linux find / -type f -iname “<file you want to find>” Examples find / -type f -iname “libphp5.so” find / -type d -iname “ibdata1” find / -type f -iname “*arcconf” grep -R ‘AllowNoPassword’ / egrep ‘User’ /etc/apache2/apache2.conf grep DocumentRoot /etc/apache2/apache2.conf To find files larger than 100MB, use this command: find / -type f -size +100000k…
https://www.lisenet.com/2014/measure-and-troubleshoot-linux-disk-io-resource-usage/ smartctl -a /dev/sda SMART attributes to watch out for: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always – 0 2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline – 0 3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always – 12029 4 Start_Stop_Count 0x0032…
http://www.wikihow.com/Find-a-File-in-Linux find / -type f -iname “libphp5.so” find / -type d -iname “ibdata1” find / -type f -iname “*arcconf” grep -R ‘AllowNoPassword’ / egrep ‘User’ /etc/apache2/apache2.conf grep DocumentRoot /etc/apache2/apache2.conf To find files larger than 100MB, use this command: find / -type f -size +100000k -exec du -h {} \; Search within files for specific text:…
In Linux I prefer using smartctl smartctl -i /dev/sda or hdparm -I /dev/sda | grep Serial Megacli RAid card — megacli -PDList -aALL or hdparm -I /dev/sdX | grep -i ‘serial’ Adaptec —- /usr/StorMan/arcconf getconfig 1 ================================ For Windows https://whatsonmypc.wordpress.com/2011/09/01/wmic/ If you have many hard drives like me, use this instead to help you know…