Category: server tut

  • server hard disk age Power On Hours

    this for 2 hard driveres simply change sda1 sdb1 for how many disk drives you have smartctl –all /dev/sda1 | grep Power_On_Hours smartctl –all /dev/sdb1 | grep Power_On_Hours result 9 Power_On_Hours 0x0000 000 000 000 Old_age Always 2620 2620 . /24h . = 109 days enjoy

  • restore multiple cpanel backup from folder ssh

    log ssh dont forget to change “backupfolder” with your backups folder [php] cd /home/backupfolder; for a in *; do /scripts/restorepkg $a; sleep 30; done; [/php]

  • EasyApache Profile clone copy

    alot of my friends ask how can the clone their apache profile to more than one  server for easyapache this is simple steps from putty ssh or any ssh client cd /var/cpanel/easy/apache/profile/custom wget -c -q /scripts/easyapache –profile=/var/cpanel/easy/apache/profile/custom/appacheprofile.yaml –build /etc/init.d/httpd restart /etc/init.d/mysql restart

  • Setting up Wildcard DNS for Subdomains on Cpanel

    Ever wanted to setup subdomains on your Cpanel server, such that a keyword is the wildcard part of your domain? Something along the lines of: It’s not as difficult as you might think, however, you will need access via SSH to edit a few server files, or, contact your web host to […]