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
0sem comentários ainda