Results 1 to 5 of 5
-
27th Nov 2011, 12:28 PM #1
cPanel Commands to run from SSH
I thought these commands will be useful so just posted
Restart chkservd:
Code:/etc/init.d/chkservd restart
Code:tail -f /usr/local/apache/logs/error_log
Code:/scripts/upcp
Code:/scripts/exim4
Code:cd /usr/local/apache/domlogs tail -f targetsite.com
Correct bandwidth issues
Code:/scripts/cleanbw
Code:/scripts/fixwebalizer
Code:/scripts/fixcommonproblems /scripts/fixeverything
Fixing Mail List MailMan
Code:/usr/local/cpanel/bin/convertmailman2
Reinstall MailMan
Code:/scripts/reinstallmailman /scripts/fixhome pico /etc/my.cnf
Edit php.ini (may be in a differant place if you have Zend installed)
Code:pico /usr/local/lib/php.ini
Edit Apache Conf
Code:pico /etc/httpd/conf/httpd.conf
Checking Real Time Top Processes Login to SSH and run
Code:top
Run cpanel backup
Code:/scripts/cpbackup
To try and fix domain controller
Code:/scripts/fixndc
Code:/scripts/initquotas - takes a while to run /scripts/resetquotas /scripts/fixquotas - takes a while to run
Code:/scripts/adddns
Install Frontpage Mail Exts
Code:/scripts/addfpmail
Code:/scripts/addservlets
Code:/scripts/adduser
Code:/scripts/admin
Code:/scripts/apachelimits
Code:/scripts/dnstransfer
Code:/scripts/editquota
Code:/scripts/finddev
Code:/scripts/findtrojans
Code:/scripts/findtrojans > /var/log/trojans /scripts/fixtrojans /var/log/trojans
Code:/scripts/fixcartwithsuexec
Code:/scripts/fixinterchange
Code:/scripts/fixtrojans
Code:/scripts/fixwebalizer
Code:/scripts/fixvaliases
Code:/scripts/hdparamify
Code:/scripts/initquotas
Code:/scripts/initsuexec
Code:/scripts/ipusage
Code:/scripts/killacct
Code:/scripts/killbadrpms
Code:/scripts/mailperm
Code:/scripts/mailtroubleshoot
Code:/scripts/mysqlpasswd
Code:/scripts/quicksecure
Code:/scripts/rebuildippool
Code:/scripts/remdefssl
Code:/scripts/restartsrv?? (example: /scripts/restartsrv httpd)
Code:/scripts/rpmup
Code:/scripts/runlogsnow
Code:/scripts/secureit
Code:/scripts/setupfp4
Code:/scripts/simpleps
Code:/scripts/suspendacct
Code:/scripts/sysup
Code:/scripts/unblockip
Code:/scripts/unsuspendacct
Code:/scripts/upcp
Code:/scripts/updatenow
Code:/scripts/wwwacct
Code:/scripts/runweblogs account_username
Code:rdate -s rdate.darkorb.net
1) Kill the mysql server
Code:/etc/rc.d/init.d/mysql stop
Code:myisamchk -r /var/lib/mysql/*/*.MYI
Code:/etc/rc.d/init.d/mysql start
Restarting cpanel
Code:/etc/rc.d/init.d/cpanel restart
Code:/scripts/runlogsnow
Code:/usr/local/cpanel/startup
Code:/scripts/runstatsonce
Code:/scripts/runweblogsnow username
Code:httpd stop
Code:httpd startssl
Code:httpd start
Bharat Reviewed by Bharat on . cPanel Commands to run from SSH I thought these commands will be useful so just posted :) Restart chkservd: /etc/init.d/chkservd restart Tail Apache log: tail -f /usr/local/apache/logs/error_log Rating: 5
-
27th Nov 2011, 12:37 PM #2MemberWebsite's:
MechoDDL.com Leaserver.comGreat share Bharat.
Thanks a lot|| Leaserver : Virtual Server Solutions
|| Leaserver.com - Virtual servers | Netherlands
|| 99.9% server uptime guaranteed
|| www.leaserver.com | email : sales@leaserver.com
-
27th Nov 2011, 12:43 PM #3MemberWebsite's:
Elite.SO Defendos.com Motionite.com
-
27th Nov 2011, 12:46 PM #4
-
5th Dec 2011, 01:18 PM #5Member
Thank's for sharing
Greate guides
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
GRUB Commands
By Albert.Nawaro in forum Server ManagementReplies: 0Last Post: 17th Feb 2012, 08:21 AM -
Common SSH Commands - Linux Shell Commands
By 0ccul7 in forum Server ManagementReplies: 15Last Post: 20th Jan 2012, 01:11 PM -
SSH FTP UPload Commands
By Maverick in forum Server ManagementReplies: 6Last Post: 17th Jan 2012, 01:18 AM -
cPanel SSH Commands List
By l0calh0st in forum Server ManagementReplies: 1Last Post: 9th Jan 2011, 01:27 PM
themaCreator - create posts from...
Version 3.24 released. Open older version (or...