Jump to content
Sign in to follow this  
gengstapo

[wta] Install Webalizer Kat Server Linux

Recommended Posts

ello gurus2 linux/ unix

nih nak tanya problem sket nih. aku try install webalizer kat server aku nih & sampai kat command "./configure" dia akan semak senarai file2 yg aku dah un-tar. pastuh kuar mesej error mintak install png file. korang ada takk webalizer yg dah siap & tinggal nak pakai jekk.

okies laugh.gif

Share this post


Link to post
Share on other sites

Aku rasa ada latu dependencies yang blom di penuhi....mungkin library GD.

Kalo ko btol-btol cari , aku rasa ko akan jumpa package webalizer untuk distro ko.

Untuk yg guna Debian.............

apt-get install webalizer

Default, dia akan install ke /var/www....boleh diubah sewaktu installation.

Edit /etc/webalizer.cfg, dan ubah line:

LogFile /var/log/apache/access.log.0

kepada

LogFile /var/log/apache/access.log

(kalau guna logrotate dan cron, kena la ubah kepada access.log.0 atau access.log.1, bergantung camana korang set)

biggrin.gif

Share this post


Link to post
Share on other sites

[root@test webalizer-2.01-10]# ./configure

loading cache ./config.cache

checking for gcc... gcc

checking whether the C compiler (gcc  ) works... yes

checking whether the C compiler (gcc  ) is a cross-compiler... no

checking whether we are using GNU C... yes

checking whether gcc accepts -g... yes

checking whether ln -s works... yes

checking for a BSD compatible install... /usr/bin/install -c

checking how to run the C preprocessor... gcc -E

checking whether char is unsigned... no

checking for main in -l44bsd... no

checking for main in -lm... yes

checking for main in -lz... yes

checking for gzrewind in -lz... yes

checking for main in -lpng... no

configure: error: png library not found... please install png.

[root@test webalizer-2.01-10]#

nih output dr server aku tuh. aku nak buek mcm mana nih??

kalau aku launch command make/ make file/ make install, dia tak jalan.

Edited by gengstapo2

Share this post


Link to post
Share on other sites

checking for main in -lpng... no

configure: error: png library not found... please install png.

Aku rasa ko kena install dua package ini:

libpng

dan

libpng-dev

Bergantung la kat distro ko tu.

cam aku, aku guna libpng12 dan libpng12-dev.

biggrin.gif

Share this post


Link to post
Share on other sites

[root@test root]# cat /etc/issue

Red Hat Enterprise Linux AS release 3 (Taroon Update 2)

Kernel \r on an \m

[root@test root]#

hurmm.. ini kerr distro dia niih??

Share this post


Link to post
Share on other sites

Kalo kene install kat bawah tue (require) ada link untuk install library tue..

oitt aku tak paham lerr. kalau aku install sumer dlm satu folder bole run tak webalizer aku tuh nanti?? berdasarkan distro aku tuh, bole tak bagik libpng yg sesuai utk aku nih.

hehee..

Share this post


Link to post
Share on other sites

[root@test download]# rpm -qi libpng

Name        : libpng                      Relocations: (not relocatable)

Version    : 1.2.2                            Vendor: Red Hat, Inc.

Release    : 16                            Build Date: Tue 25 Feb 2003 09:46:20 AM MYT

Install Date: Wed 25 May 2005 03:58:49 AM MYT      Build Host: porky.devel.redhat.com

Group      : System Environment/Libraries  Source RPM: libpng-1.2.2-16.src.rpmSize        : 375338                          License: OSI certified

Signature  : DSA/SHA1, Tue 25 Feb 2003 10:57:43 AM MYT, Key ID 219180cddb42a60ePackager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>

URL        : http://www.libpng.org/pub/png/

Summary    : A library of functions for manipulating PNG image format files.

Description :

The libpng package contains a library of functions for creating and

manipulating PNG (Portable Network Graphics) image format files. PNG

is a bit-mapped graphics format similar to the GIF format. PNG was

created to replace the GIF format, since GIF uses a patented data

compression algorithm.

[root@test download]#

err.. mcm mana nak tau yg libpng rpm tuh dah di install?? kalau mcm output kat atas tuh dah install ker belum??

Share this post


Link to post
Share on other sites

Tue dah install lah tue.. libpng1.2.2-r16.. diinstall pada 25 may 2005.. mungkin pasal takde libpng-dev..

http://rpm.pbone.net/index.php3/stat/3/lim...0/dist%5B%5D/43

ko install yang mana sesuai dengan sistem ko.. macam kat hujung fail tue ada tulis sparc (untuk yang pakai processor sparc), ia64 (processor 64 bit), i686 (yang biasa macam pentium 4), ......

ko boleh tengok info png kat sini:

http://www.libpng.org/pub/png/libpng.html

ada link untuk download libpng.tar.gz yang latest (1.2.8)

Share this post


Link to post
Share on other sites

.. wahhh

tak paham aku lerr

boleh tak nko bagik aku link donload yg latest & sesuai ngan aku punya current OS nih?? smile.gif

Share this post


Link to post
Share on other sites

Lahai.. manjanye dia..

Manja punya komputer yang ada redhat tue pakai processor ape manja??  smile.gif

lerrr.. bukan manja laa. aku tgk ada i386, i586.. tp nko tulis i686??

mcm mana?? penin larr aku. aku bukan reti sangat guna linux nih. br nak blajor tongue.gif

ps : aku punya server p4 biase jekk takde EM64T

Share this post


Link to post
Share on other sites

hmm.. susah nak jumpa ko punye rpm package.. cuba try fedora punye.. arch i386..

Ataupun cuba ko run command :

up2date

sebab sistem ko macam belum di update lagi..

lepas update try install balik webalizer..

sebelum tue ko check libpng-devel ada tak dalam sistem ko..

Edited by b1naryc0de

Share this post


Link to post
Share on other sites

Ataupun cuba ko run command :

up2date

..aku dah run command tuh & kuar pop-up utk download update pacthes, tp bila aku klik next error plaks.

error mcm nih : This system may not be updated until it is associated with a channel.

.. nak set apa nih??

Edited by gengstapo2

Share this post


Link to post
Share on other sites

.. kalau boleh, mmg aku nak pakai linux yg paling senang, tp nak wat camana, nih server office aku. tak kan aku nak offline plaks. pastuh, terkebil2 jap lagi nak setup new server.

perggghhh!!

Share this post


Link to post
Share on other sites

Camnni la...........kalo tak bleh guna satu software...kita cari la option lain.

Selain webalizer, ada banyak lagi applikasi yang ko boleh guna...contohnya:

Awstats : http://awstats.sourceforge.net/

Webdruid : http://www.webdruid.org/

Visitors: http://www.hping.org/visitors/

Aku rasa yang paling hampir dgn webalizer atau lebih baik........ialah awstat.

Utk distro ko, dapatkan dari sini:

http://rpmforge.net/user/packages/awstats/

biggrin.gif

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...