Ubuntu 14.04 LTS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
apt-get -y install php5-gd php5-mysql php5 php5-cli apache2 libapache2-mod-php5 tshark mtr mysql-server php5-mcrypt librsvg2-bin gsfonts | apt-get -y install php5-gd php5-mysql php5 php5-cli apache2 libapache2-mod-php5 tshark mtr mysql-server php5-mcrypt librsvg2-bin gsfonts | ||
cd /usr/src/ | cd /usr/src/ | ||
wget --content-disposition http://www.voipmonitor.org/current-stable-sniffer-static-64bit.tar.gz | wget --content-disposition http://www.voipmonitor.org/current-stable-sniffer-static-64bit.tar.gz --no-check-certificate | ||
tar xzf voipmonitor*.tar.gz | tar xzf voipmonitor*.tar.gz | ||
cd voipmonitor* | cd voipmonitor* | ||
Line 12: | Line 12: | ||
/etc/init.d/voipmonitor start | /etc/init.d/voipmonitor start | ||
cd /var/www/html | cd /var/www/html | ||
wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&phpver=55&festry" -O w.tar.gz | wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&phpver=55&festry" -O w.tar.gz --no-check-certificate | ||
tar xzf w.tar.gz | tar xzf w.tar.gz | ||
mv voipmonitor-gui*/* ./ | mv voipmonitor-gui*/* ./ | ||
Line 18: | Line 18: | ||
mkdir /var/spool/voipmonitor/ | mkdir /var/spool/voipmonitor/ | ||
chown www-data /var/spool/voipmonitor/ | chown www-data /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" | wget http://sourceforge.net/projects/voipmonitor/files/wkhtml/0.10.0_rc2/wkhtmltoimage-x86_64 -O "/var/www/html/bin/wkhtmltoimage-x86_64" --no-check-certificate | ||
chmod +x "/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" | wget http://sourceforge.net/projects/voipmonitor/files/wkhtml/0.10.0_rc2/wkhtmltopdf-x86_64 -O "/var/www/html/bin/wkhtmltopdf-x86_64" --no-check-certificate | ||
chmod +x "/var/www/html/bin/wkhtmltopdf-x86_64" | chmod +x "/var/www/html/bin/wkhtmltopdf-x86_64" | ||
wget http://voipmonitor.org/ioncube/x86_64/ioncube_loader_lin_5.5.so -O /usr/lib/php5/20121212/ioncube_loader_lin_5.5.so | wget http://voipmonitor.org/ioncube/x86_64/ioncube_loader_lin_5.5.so -O /usr/lib/php5/20121212/ioncube_loader_lin_5.5.so --no-check-certificate | ||
echo "zend_extension = /usr/lib/php5/20121212/ioncube_loader_lin_5.5.so" > /etc/php5/apache2/conf.d/01-ioncube.ini | echo "zend_extension = /usr/lib/php5/20121212/ioncube_loader_lin_5.5.so" > /etc/php5/apache2/conf.d/01-ioncube.ini | ||
echo "zend_extension = /usr/lib/php5/20121212/ioncube_loader_lin_5.5.so" > /etc/php5/cli/conf.d/01-ioncube.ini | echo "zend_extension = /usr/lib/php5/20121212/ioncube_loader_lin_5.5.so" > /etc/php5/cli/conf.d/01-ioncube.ini | ||
chown -R www-data /var/www | chown -R www-data /var/www | ||
echo " * * * * * root php /var/www/html/php/run.php cron" >> /etc/crontab | echo " * * * * * root php /var/www/html/php/run.php cron" >> /etc/crontab |
Revision as of 20:09, 7 March 2017
64 bit
apt-get -y install php5-gd php5-mysql php5 php5-cli apache2 libapache2-mod-php5 tshark mtr mysql-server php5-mcrypt librsvg2-bin gsfonts cd /usr/src/ wget --content-disposition http://www.voipmonitor.org/current-stable-sniffer-static-64bit.tar.gz --no-check-certificate tar xzf voipmonitor*.tar.gz cd voipmonitor* ./install-script.sh mysqladmin create voipmonitor # edit /etc/voipmonitor.conf and set appropriate mysql password /etc/init.d/voipmonitor start cd /var/www/html wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&phpver=55&festry" -O w.tar.gz --no-check-certificate tar xzf w.tar.gz mv voipmonitor-gui*/* ./ rm -f index.html mkdir /var/spool/voipmonitor/ chown www-data /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" --no-check-certificate 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" --no-check-certificate chmod +x "/var/www/html/bin/wkhtmltopdf-x86_64" wget http://voipmonitor.org/ioncube/x86_64/ioncube_loader_lin_5.5.so -O /usr/lib/php5/20121212/ioncube_loader_lin_5.5.so --no-check-certificate echo "zend_extension = /usr/lib/php5/20121212/ioncube_loader_lin_5.5.so" > /etc/php5/apache2/conf.d/01-ioncube.ini echo "zend_extension = /usr/lib/php5/20121212/ioncube_loader_lin_5.5.so" > /etc/php5/cli/conf.d/01-ioncube.ini chown -R www-data /var/www echo " * * * * * root php /var/www/html/php/run.php cron" >> /etc/crontab