If your linux box doesn’t comes with YUM in default installation here is the step to follow on how to install YUM using rpm on CentOS 5.3 version

1. Check the OS version

1. Run the scripts on bash shell

#cat > install_yum.sh

for file in \
gmp-4.1.4-10.el5.i386.rpm \
readline-5.1-1.1.i386.rpm \
expat-1.95.8-8.2.1.i386.rpm \
python-elementtree-1.2.6-5.i386.rpm \
sqlite-3.3.6-2.i386.rpm \
elfutils-libs-0.137-3.el5.i386.rpm \
yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm \
python-sqlite-1.1.7-1.2.1.i386.rpm \
python-2.4.3-24.el5.i386.rpm \
libxml2-2.6.26-2.1.2.7.i386.rpm \
libxml2-python-2.6.26-2.1.2.7.i386.rpm \
python-sqlite-1.1.7-1.2.1.i386.rpm \
elfutils-0.137-3.el5.i386.rpm \
rpm-python-4.4.2.3-9.el5.i386.rpm \
m2crypto-0.16-6.el5.3.i386.rpm \
python-urlgrabber-3.1.0-5.el5.noarch.rpm \
yum-3.2.19-18.el5.centos.noarch.rpm
do rpm -Uvh http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/$file;
done

Press Ctl+D

2. #chmod 755 install_yum.sh

3 ./install_yum.sh

4. You can change the mirror URL to any local/ network mirror if you are using.

5. Use yum check-update command to update the package header list

6. Run Yum list to completely verify the installation.

Hope it will work for you.

r3team

If you need update the webalizer statistics manually for one domain you can run the following command:

LINUX  SERVER

/hsphere/shared/bin/sudo -u USERNAME /bin/sh -c “/hsphere/shared/bin/webalizer -p -Q -N 20 -D /var/log/dns_cache.db -r DOMAIN.COM -n DOMAIN.COM -o /hsphere/local/home/USERNAME/DOMAIN.COM/webalizer/ /hsphere/local/home/USERNAME/logs/DOMAIN.COM/DOMAIN.COM.LOGFILE.XXXXXXX”

WINDOWS SERVER

In order to do this:

1.Copy webalizer folder to another folder or disc(copy C:\webaliser to d:\webalizer, or to c:\webalizer2 )

2.Edit file hostlists.txt , leave a strings only with needful domains, save file. 3.In cmd window run webalizer.exe from new location

(cmd: c:\webalizer2>webalizer.exe or d:\webalizer>webalizer.exe)

So you can observe process, terminal session must be opened till the webalizer finished working.

LINsider