open $serverip
user $serveruser $serverpass
cd $remotedir
bin
verbose
mput *.*
stat
bye
Script to update Awstats for all the users. We can set it as as a cron job incase Awstats is not properly updating.
cd /var/cpanel/users;for i in *;do /scripts/runweblogs $i;echo logs done for $i;done;echo &all done &
How to remove all the files owned by a user under a particular directory?
Go under that directory and execute the following command should help:
find . -user username -exec rm -rf {} \;
Can I see a demo of Cpanel and WHM?
Yes, click here if you like to see a Cpanel Demo and click here if you like to see a demo of WHM. A pop up window will appear asking for username and password. Enter the username and password as cpdemo and cpdemo respectively.
How to install Cpanel
1)Verify whether license is valid by giving main shared ip to the url http://verify.cpanel.net/index.cgi
2)If it is valid please go through the url http://www.cpanel.net/install.html
STEPS TO INSTALL CPANEL
mkdir /home/cpanel
cd /home/cpanel
wget http://layer1.cpanel.net/latest
sh latest
Please send comments on these web pages to sumith at sumith.net
copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
Sumith Sreedhar
Verbatim copying and redistribution of this entire page are permitted
provided this notice is preserved.