Ir para o conteúdo
ou

Software livre Brasil

 Voltar a Thiago Avelino
Tela cheia

Install WebAlizer in CentOS 5.5 (Final)

28 de Junho de 2010, 0:00 , por Software Livre Brasil - 0sem comentários ainda | Ninguém está seguindo este artigo ainda.
Visualizado 422 vezes

image0

I needed to statisitca mirror for PHP (br3.php.net)

Install dependency:

System Message: WARNING/2 (/Users/avelino/workspace/avelino.github.io/content/old/install-webalizer-centos-55-final.rst, line 22)

Cannot analyze code. No Pygments lexer found for "brush:python".

.. code:: brush:python

    root@avelino: ~ # yum -y install gcc gcc-c++ gd gd-devel zlib zlib-devel

Install webalizer:

System Message: WARNING/2 (/Users/avelino/workspace/avelino.github.io/content/old/install-webalizer-centos-55-final.rst, line 28)

Cannot analyze code. No Pygments lexer found for "brush:python".

.. code:: brush:python

    root@avelino: ~ # wget ftp://ftp.mrunix.net/pub/webalizer/webalizer-2.21-02-src.tgz
    root@avelino: ~ # tar -xzvf webalizer-2.21-02-src.tgz
    root@avelino: ~ # mv webalizer-2.21-02-src webalizer
    root@avelino: ~ # mv webalizer /var/www/html
    root@avelino: ~ # cd /var/www/html/webalizer

Compile webalizer:

System Message: WARNING/2 (/Users/avelino/workspace/avelino.github.io/content/old/install-webalizer-centos-55-final.rst, line 38)

Cannot analyze code. No Pygments lexer found for "brush:python".

.. code:: brush:python

    root@avelino: ~ # ./configure
    root@avelino: ~ # make
    root@avelino: ~ # make install
    root@avelino: ~ # mkdir /etc/webalizer
    root@avelino: ~ # cp /usr/local/etc/webalizer.conf.sample /etc/webalizer
    root@avelino: ~ # cd /etc/webalizer
    root@avelino: ~ # mv webalizer.conf.sample webalizer.conf
    root@avelino: ~ # vi webalizer.conf

Config line:
LogFile /var/log/httpd/access_log
OutputDir /var/www/html/webalizer
HostName yourdomain.com

Run virtual proses

System Message: WARNING/2 (/Users/avelino/workspace/avelino.github.io/content/old/install-webalizer-centos-55-final.rst, line 56)

Cannot analyze code. No Pygments lexer found for "brush:python".

.. code:: brush:python

    root@avelino: ~ # for i in /etc/webalizer/*.conf; do webalizer -c $i ; done

image1


Fonte: http://feedproxy.google.com/~r/pyAvelino/~3/mxPhEA8GuY0/install-webalizer-centos-55-final

0sem comentários ainda

Enviar um comentário

Os campos são obrigatórios.

Se você é um usuário registrado, pode se identificar e ser reconhecido automaticamente.