|
|
Command and Files in Cpanel based server - VPS (Virtual Private Server)
|
Views : 2207
|
|
Tagged in : VPS (Virtual
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
Restart chkservd:
/etc/init.d/chkservd restart
Tail Apache log:
tail -f /usr/local/apache/logs/error_log
Updates the server software:
/scripts/upcp
Reinstalls exim:
/scripts/exim4
Bandwidth issues
/scripts/cleanbw
To fix problem in webalizer that stop updating stats
/scripts/fixwebalizer
Self Explanatory
/scripts/fixcommonproblems
/scripts/fixeverything
Fixing Mail List MailMan
/usr/local/cpanel/bin/convertmailman2
To Edit php.ini
vi /usr/local/lib/php.ini
To Enable session if session is not working
Edit /usr/local/lib/php.ini and uncomment session.save_path if it is commented
To Edit Apache Conf
vi /etc/httpd/conf/httpd.conf
Checking Real Time Top Processes Login to SSH and run
top
Run cpanel backup
/scripts/cpbackup
To try and fix domain controller
/scripts/fixndc
Quotas
/scripts/initquotas - takes a while to run
/scripts/resetquotas
/scripts/fixquotas - takes a while to run
Add a Dns Entry
/scripts/adddns
Install Frontpage Mail Exts
/scripts/addfpmail
Add JavaServlets to an account (jsp plugin required)
/scripts/addservlets --domain="[domain-name]"
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
Search For Trojans in /dev
/scripts/finddev
Locate Trojan Horses
/scripts/findtrojans
Suggest Usage
/scripts/findtrojans > /var/log/trojans
/scripts/fixtrojans /var/log/trojans
Make Interchange work with suexec
/scripts/fixcartwithsuexec
Run on a trojans horse file created by findtrojans to remove them
/scripts/fixtrojans
Run this if a user's stats stop working
/scripts/fixwebalizer
Re-scan quotas. Usually fixes Disk space display problems
/scripts/initquotas
Turn on SUEXEC
/scripts/initsuexec
Display Ipusage Report
/scripts/ipusage
Terminate an Account
/scripts/killacct
Delete "Security Problem Infested RPMS"
/scripts/killbadrpms
Fix Various Mail Permission Problems
/scripts/mailperm
Change a Mysql Password
/scripts/mysqlpasswd
Kill Potential Security Problem Services
/scripts/quicksecure
Rebuild Ip Address Pool
/scripts/rebuildippool
Delete Nasty SSL entry in apache default httpd.conf
/scripts/remdefssl
Restart a Service (valid services: httpd,proftpd,exim,sshd,cppop,bind,mysql)
/scripts/restartsrv (example: /scripts/restartsrv httpd)
Syncup Security Updates from RedHat/Mandrake
/scripts/rpmup
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
Update Cpanel
/scripts/upcp
Update /scripts
/scripts/updatenow
Create a New Account
/scripts/wwwacct
Restarting cpanel
/etc/rc.d/init.d/cpanel restart
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
Shut down http
httpd stop
Start http with SSL
httpd startssl
Start http
httpd start
Get Linux / CPanel Webhosting @ HIOXINDIA
|
|
By Selva, On - 2008-07-28 |
|
|
|