[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] How to install webalizer pre-release 2.00-12 on Raq2



I have a Raq2 and I started with
ftp://ftp.mrunix.net/pub/webalizer/pre-release/webalizer-2.00-12-src.tgz
uploaded to the admin home dir.
su and roots password
tar -zxpvf webalizer-2.00-12-src.tgz
cd webalizer-2.00-12
./configure
Found I needed to install png (It told me)
went to
http://www.libpng.org/pub/png/pngcode.html
Downloaded
http://www.libpng.org/pub/png/libpng.html source code (.tar.gz )
and went to
ftp://ftp.info-zip.org/pub/infozip/zlib/zlib.html
and got
ftp://ftp.info-zip.org/pub/infozip/zlib/zlib.tar.gz
(Ftp them to the admin home directory)
tar -zxpvf zlib.tar.gz (You must do this first)
cd zlib-1.1.3
./configure
make test
(See a message that says  *** zlib test OK ***)
make install (No Errors)
cd ..

tar -zxpvf libpng-1.0.6.tar.gz
mv libpng-1.0.6 libpng 
mv zlib-1.1.3 zlib
cd libpng
cp scripts/makefile.std makefile 
make test  (See the messages  "PASS (9782 zero samples)" 8 lines up)
make install
cd ..

(Get the IJG JPEG software next :(
ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
(Ftp it to the admin home directory)
tar -zxpvf jpegsrc.v6b.tar.gz 
cd jpeg-6b
./configure
make
make install
cd ..

(Get the GD Graphics library)
ftp://ftp.boutell.com/pub/boutell/gd/gd-1.8.2.tar.gz
(Ftp it to the admin home directory)
tar -zxpvf gd-1.8.2.tar.g
cd gd-1.8.2
make
make install
cd ..

(Finally ready to start webalizer install :)
cd webalizer-2.00-12
./configure --enable-dns (--enable-dns is optional, both work)
make
make install

(Now kill any old config)
(If upgrading make sure to move your old /etc/webalizer.conf)
mv /etc/webalizer.conf /etc/webalizer.conf.old
(Ok it works!)

(The simple way to see it is)
mkdir /home/sites/home/web/webtest
cd /home/sites/home/web/webtest
webalizer /var/log/httpd/access (or whatever log file you want)
(Go To)
http://www.yourdomain.com/webtest/

(From there read and setup your cron job ar whatever)
man webalizer
(and)
cd /home/sites/home/users/admin/webalizer-2.00-12
more README
(and)
more DNS.README (if you configure with the --enable-dns)
(and)
http://www.mrunix.net/webalizer/


If this helps you, I think you owe me a drink... (a double! :)
Zeffie Storm