Saat ini banyak yang masih bingung mengenai Beberapa Perintah Penting cPanel via Command Line? Saat ini CPanel berperan sangat penting bagi orang–orang yang memiliki sebuah hosting sendiri. Namun, ada diantara mereka yang bingung bagaimana caranya untuk menggunakan CPanel tersebut, dan bahkan ada yang tidak mengetahui CPanel. Berikut ini beberapa list command penting manajemen cPanel
Beberapa Perintah Penting cPanel via Command Line
Restart chkservd:
/etc/init.d/chkservd restart
Updates cpanel server software:
/scripts/upcp
atau
/scripts/upcp --force
Re-install exim:
/scripts/exim4
Mengetahui traffic atau website sedang terkena DDos
cd /usr/local/apache/domlogs tail -f targetsite.com
Perbaiki bandwidth issue
/scripts/cleanbw
Untuk memperbaiki problem webalizer tidak bekerja dengan baik
/scripts/fixwebalizer
Fix everything
/scripts/fixcommonproblems /scripts/fixeverything
Fix Mail List MailMan
/usr/local/cpanel/bin/convertmailman2
Re-install MailMan
/scripts/reinstallmailman
Menjalankan cpanel backup
/scripts/cpbackup
fix domain controller
/scripts/fixndc
Fix Quotas
/scripts/initquotas - takes a while to run /scripts/resetquotas /scripts/fixquotas - takes a while to run
Add Dns Entry
/scripts/adddns
Install Frontpage Mail Exts
/scripts/addfpmail
Add JavaServlets to an account (jsp plugin required)
/scripts/addservlets
Add a User
/scripts/adduser
Run WHM Lite
/scripts/admin
Add Rlimits (cpu and mem limits) to apache
/scripts/apachelimits
Resync with a master DNS Server
/scripts/dnstransfer
Edit A User’s Quota
/scripts/editquota
Run this if a user’s stats stop working
/scripts/fixwebalizer
Fix a broken valias file
/scripts/fixvaliases
Re-scan quotas. Usually fixes Disk space display problems
/scripts/initquotas
Display Ipusage Report
/scripts/ipusage
Terminate an Account
/scripts/killacct
Delete “Security Problem Infested RPMS”
/scripts/killbadrpms
Fix Various Mail Permission Problems
/scripts/mailperm
Attempt to Troubleshoot a Mail Problem
/scripts/mailtroubleshoot
Change a Mysql Password
/scripts/mysqlpasswd
Kill Potential Security Problem Services
/scripts/quicksecure
Rebuild Ip Address Pool
/scripts/rebuildippool
Force a webalizer/analog update
/scripts/runlogsnow
Remove non-important suid binaries
/scripts/secureit
Return a Simple process list. Useful for finding where cgi scripts are running from
/scripts/simpleps
Suspend an account
/scripts/suspendacct
Syncup Cpanel RPM Updates
/scripts/sysup
Unblock an IP
/scripts/unblockip
UnSuspend an account
/scripts/unsuspendacct
Create a New Account
/scripts/wwwacct
Awstats to run manually
/scripts/runweblogs account_username
License Not working
rdate -s rdate.darkorb.net
To run your clients stats now
/scripts/runlogsnow
Restart the background proccess that runs the stats for your clients
/usr/local/cpanel/startup
To run your clients stats now
/scripts/runstatsonce
To run one clients stats:
/scripts/runweblogsnow username