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/
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 *…
For changing the main/primary domain, you will need to have root SSH access and be able to locate and edit the following file (replacing your user & domain info): /var/cpanel/userdata/USERNAME/DOMAIN.COM 1. Once you have opened the file, look for the following line: documentroot: /home/USERNAME/public_html 2. Modify the location according to your needs. Save it and…
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…
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…
############ Creating Users ############ useradd————— create a user with default home directory useradd -m <username> Create a user with different home directory useradd -m -d <directoy> <username> Create A User With An Expiry Date useradd -e 2016-02-05 <username> ###note The date must be specified in the format YYYY-MM-DD How To Create A User And Assign…