Need to transfer large amount of data between remote servers? Need to migrate your hosting to another provider? Rsync makes your life easy
rsync -ave ssh source.server:/path/to/source /destination/dir
-z add compression too!
Need to transfer large amount of data between remote servers? Need to migrate your hosting to another provider? Rsync makes your life easy
rsync -ave ssh source.server:/path/to/source /destination/dir
-z add compression too!
http://docs.cslabs.clarkson.edu/wiki/Install_AWStats_on_CentOS_5
Install RPM FORGE
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Install awstats
yum install awstats
Edit conf file.
nano /etc/httpd/conf.d/awstats.conf
make it look like this, however change the /dir/structure/ to point to the doc root of your web folder you want to generate stats for
Alias /awstats/icon/ /var/www/awstats/icon/
ScriptAlias /awstats/ /var/www/awstats/
DirectoryIndex awstats.pl
Options ExecCGI
order deny,allow
allow from all
edit conf file
nano /etc/awstats/awstats.localhost.localdomain.conf
SiteDomain="www.server.name.com"
HostAliases="aliasa.server.name.com"
move conf files
mv /etc/awstats/awstats.localhost.localdomain.conf /etc/awstats/awstats...conf
set update profile of awstats (default is 1 hr)
/usr/bin/awstats_updateall.pl now -confdir="/etc" -awstatsprog="/var/www/awstats/awstats.pl"
start web service
/etc/init.d/httpd start
test to see if it works
http://www.server.name.com/awstats/awstats.pl?config=www.server.name.com
Install package
yum install vsftpd
turn services on
chkconfig vsftpd on
service vsftpd start
set service to start automagically on reboot
chkconfig --level 345 vsftpd on
Recent Comments