Centos 5.11
Jump to navigation
Jump to search
Note:Steps after fresh install centos 5.11 64bit from net install (no packages choosen during installation).
Upgrade and Install required packages
yum update yum -y install wget httpd wireshark mtr librsvg2 urw-fonts yum -y install php53 php53-common php53-gd php53-mysql php53-mbstring php53-process
MYSQL 5.6 (strongly recommended)
wget https://dev.mysql.com/get/mysql-community-release-el5-5.noarch.rpm --no-check-certificate rpm -i mysql-community-release-el5-5.noarch.rpm yum install mysql-community-server mysql_install_db chown -R mysql:mysql /var/run/mysql chown -R mysql:mysql /var/lib/mysql
Tunning up mysql
Edit /etc/my.cnf
innodb_flush_log_at_trx_commit = 2 innodb_file_per_table = 1 innodb_file_format = barracuda innodb_buffer_pool_size = 8GB (!Set here aprox. half RAM available - based on free RAM you have)
Start mysql:
service mysqld start mysql_secure_installation mysqladmin create voipmonitor
Sensor installation
mkdir /usr/src/voipmonitor cd /usr/src/voipmonitor wget https://www.voipmonitor.org/current-stable-sniffer-static-64bit.tar.gz --no-check-certificate tar xzf voipmonitor* cd voipmonitor* ./install-script.sh
enabling services
chkconfig --add httpd chkconfig httpd on /etc/init.d/httpd start chkconfig --add mysqld chkconfig mysqld on /etc/init.d/mysqld start
GUI Installation
First start sensor for create sensor's tables
/etc/init.d/voipmonitor start
Unpack GUI
cd /var/www/html wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&allowed&phpver=53" -O w.tar.gz tar xzf w.tar.gz mv voipmonitor-gui*/* ./ rm -f index.html mkdir /var/spool/voipmonitor/ chown apache /var/spool/voipmonitor/ wget http://sourceforge.net/projects/voipmonitor/files/wkhtml/0.10.0_rc2/wkhtmltoimage-x86_64 -O "/var/www/html/bin/wkhtmltoimage-x86_64" chmod +x "/var/www/html/bin/wkhtmltoimage-x86_64" wget http://sourceforge.net/projects/voipmonitor/files/wkhtml/0.10.0_rc2/wkhtmltopdf-x86_64 -O "/var/www/html/bin/wkhtmltopdf-x86_64" chmod +x "/var/www/html/bin/wkhtmltopdf-x86_64"
Install ioncube and restart web server
wget http://voipmonitor.org/ioncube/x86_64/ioncube_loader_lin_5.3.so -O /usr/lib64/php/modules/ioncube_loader_lin_5.3.so echo "zend_extension = /usr/lib64/php/modules/ioncube_loader_lin_5.3.so" > /etc/php.d/01_ioncube.ini chown -R apache /var/www/html sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config setenforce 0 /etc/init.d/httpd restart