Debian 7: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== 64 bit == | == 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 | apt-get -y install php5-gd php5-mysql php5 php5-cli apache2 libapache2-mod-php5 tshark mtr mysql-server php5-mcrypt librsvg2-bin gsfonts rrdtool | ||
cd /usr/src/ | cd /usr/src/ | ||
wget http:// | wget --content-disposition http://www.voipmonitor.org/current-stable-sniffer-static-64bit.tar.gz | ||
tar xzf voipmonitor*.tar.gz | tar xzf voipmonitor*.tar.gz | ||
cd voipmonitor-* | cd voipmonitor-* | ||
./install-script.sh | ./install-script.sh | ||
mysqladmin create voipmonitor | mysqladmin create voipmonitor | ||
# edit /etc/voipmonitor.conf and set appropriate mysql password | |||
/etc/init.d/voipmonitor start | |||
cd /var/www | cd /var/www | ||
wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&festry" -O w.tar.gz | wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&phpver=54&festry" -O w.tar.gz | ||
tar xzf w.tar.gz | tar xzf w.tar.gz | ||
mv voipmonitor-gui*/* ./ | mv voipmonitor-gui*/* ./ | ||
rm index.html | rm -f index.html | ||
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/bin/wkhtmltoimage-x86_64" | wget http://sourceforge.net/projects/voipmonitor/files/wkhtml/0.10.0_rc2/wkhtmltoimage-x86_64 -O "/var/www/bin/wkhtmltoimage-x86_64" | ||
chmod +x "/var/www/bin/wkhtmltoimage-x86_64" | chmod +x "/var/www/bin/wkhtmltoimage-x86_64" | ||
wget http://sourceforge.net/projects/voipmonitor/files/wkhtml/0.10.0_rc2/wkhtmltopdf-x86_64 -O "/var/www/bin/wkhtmltopdf-x86_64" | wget http://sourceforge.net/projects/voipmonitor/files/wkhtml/0.10.0_rc2/wkhtmltopdf-x86_64 -O "/var/www/bin/wkhtmltopdf-x86_64" | ||
chmod +x "/var/www/bin/wkhtmltopdf-x86_64" | chmod +x "/var/www/bin/wkhtmltopdf-x86_64" | ||
wget http://voipmonitor.org/ioncube/x86_64/ioncube_loader_lin_5.4.so -O /usr/lib/php5/20100525/ioncube_loader_lin_5.4.so | wget http://voipmonitor.org/ioncube/x86_64/ioncube_loader_lin_5.4.so -O /usr/lib/php5/20100525/ioncube_loader_lin_5.4.so | ||
Line 24: | Line 26: | ||
== 32 bit == | == 32 bit == | ||
apt-get -y install php5-gd php5-mysql php5 php5-cli apache2 libapache2-mod-php5 tshark mtr mysql-server php5-mcrypt librsvg2-bin | apt-get -y install php5-gd php5-mysql php5 php5-cli apache2 libapache2-mod-php5 tshark mtr mysql-server php5-mcrypt librsvg2-bin gsfonts rrdtool | ||
cd /usr/src/ | cd /usr/src/ | ||
wget http:// | wget --content-disposition http://www.voipmonitor.org/current-stable-sniffer-static-32bit.tar.gz | ||
tar xzf voipmonitor*.tar.gz | tar xzf voipmonitor*.tar.gz | ||
cd voipmonitor-* | cd voipmonitor-* | ||
./install-script.sh | ./install-script.sh | ||
# edit /etc/voipmonitor.conf and set appropriate mysql password | |||
/etc/init.d/voipmonitor start | |||
mysqladmin create voipmonitor | mysqladmin create voipmonitor | ||
cd /var/www | cd /var/www | ||
wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&festry" -O w.tar.gz | wget "http://www.voipmonitor.org/download-gui?version=latest&phpver=54&major=5&festry" -O w.tar.gz | ||
tar xzf w.tar.gz | tar xzf w.tar.gz | ||
mv voipmonitor-gui*/* ./ | mv voipmonitor-gui*/* ./ | ||
rm index.html | rm -f index.html | ||
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-i686 -O "/var/www/bin/wkhtmltoimage-i686" | wget http://sourceforge.net/projects/voipmonitor/files/wkhtml/0.10.0_rc2/wkhtmltoimage-i686 -O "/var/www/bin/wkhtmltoimage-i686" | ||
chmod +x "/var/www/bin/wkhtmltoimage-i686" | chmod +x "/var/www/bin/wkhtmltoimage-i686" | ||
wget http://sourceforge.net/projects/voipmonitor/files/wkhtml/0.10.0_rc2/wkhtmltopdf-i686 -O "/var/www/bin/wkhtmltopdf-i686" | wget http://sourceforge.net/projects/voipmonitor/files/wkhtml/0.10.0_rc2/wkhtmltopdf-i686 -O "/var/www/bin/wkhtmltopdf-i686" | ||
chmod +x "/var/www/bin/wkhtmltopdf-i686" | chmod +x "/var/www/bin/wkhtmltopdf-i686" | ||
wget http://voipmonitor.org/ioncube/i686/ioncube_loader_lin_5.4.so -O /usr/lib/php5/20100525+lfs/ioncube_loader_lin_5.4.so | wget http://voipmonitor.org/ioncube/i686/ioncube_loader_lin_5.4.so -O /usr/lib/php5/20100525+lfs/ioncube_loader_lin_5.4.so |
Latest revision as of 19:19, 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 rrdtool cd /usr/src/ wget --content-disposition http://www.voipmonitor.org/current-stable-sniffer-static-64bit.tar.gz 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 wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&phpver=54&festry" -O w.tar.gz 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/bin/wkhtmltoimage-x86_64" chmod +x "/var/www/bin/wkhtmltoimage-x86_64" wget http://sourceforge.net/projects/voipmonitor/files/wkhtml/0.10.0_rc2/wkhtmltopdf-x86_64 -O "/var/www/bin/wkhtmltopdf-x86_64" chmod +x "/var/www/bin/wkhtmltopdf-x86_64" wget http://voipmonitor.org/ioncube/x86_64/ioncube_loader_lin_5.4.so -O /usr/lib/php5/20100525/ioncube_loader_lin_5.4.so echo "zend_extension = /usr/lib/php5/20100525/ioncube_loader_lin_5.4.so" > /etc/php5/apache2/conf.d/ioncube.ini chown -R www-data /var/www /etc/init.d/apache2 restart
32 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 rrdtool cd /usr/src/ wget --content-disposition http://www.voipmonitor.org/current-stable-sniffer-static-32bit.tar.gz tar xzf voipmonitor*.tar.gz cd voipmonitor-* ./install-script.sh # edit /etc/voipmonitor.conf and set appropriate mysql password /etc/init.d/voipmonitor start mysqladmin create voipmonitor cd /var/www wget "http://www.voipmonitor.org/download-gui?version=latest&phpver=54&major=5&festry" -O w.tar.gz 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-i686 -O "/var/www/bin/wkhtmltoimage-i686" chmod +x "/var/www/bin/wkhtmltoimage-i686" wget http://sourceforge.net/projects/voipmonitor/files/wkhtml/0.10.0_rc2/wkhtmltopdf-i686 -O "/var/www/bin/wkhtmltopdf-i686" chmod +x "/var/www/bin/wkhtmltopdf-i686" wget http://voipmonitor.org/ioncube/i686/ioncube_loader_lin_5.4.so -O /usr/lib/php5/20100525+lfs/ioncube_loader_lin_5.4.so echo "zend_extension = /usr/lib/php5/20100525+lfs/ioncube_loader_lin_5.4.so" > /etc/php5/apache2/conf.d/ioncube.ini chown -R www-data /var/www /etc/init.d/apache2 restart