Debian 6.0 armv5: Difference between revisions

From VoIPmonitor.org
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
  apt-get install build-essential subversion libvorbis-dev libpcap-dev apache2 php5-mysql php5-gd mysql-server unixodbc-dev libapache2-mod-php5 php5-gd php5-mysql php5 php5-cli apache2 libapache2-mod-php5 tshark mtr mysql-server php5-mcrypt librsvg2-bin libmysqlclient-dev
  apt-get install build-essential subversion libvorbis-dev libpcap-dev apache2 php5-mysql php5-gd mysql-server unixodbc-dev libapache2-mod-php5 php5-gd php5-mysql php5 php5-cli apache2 libapache2-mod-php5 tshark mtr mysql-server php5-mcrypt librsvg2-bin libmysqlclient-dev


apt-get -y install php5-gd php5-mysql php5 php5-cli apache2 libapache2-mod-php5 tshark mtr mysql-server php5-mcrypt librsvg2-bin cd /usr/src/ wget http://sourceforge.net/projects/voipmonitor/files/7.0/voipmonitor-amd64-7.0RC7-static.tar.gz tar xzf voipmonitor*.tar.gz cd voipmonitor* ./install-script.shmysqladmin create voipmonitor cd /var/wwwwget "http://www.voipmonitor.org/download-gui?version=latest&major=5&festry" -O w.tar.gz tar xzf w.tar.gz mv voipmonitor-gui*/* ./ rm 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.3.so -O /usr/lib/php5/20090626/ioncube_loader_lin_5.3.soecho "zend_extension = /usr/lib/php5/20090626/ioncube_loader_lin_5.3.so" > /etc/php5/apache2/conf.d/ioncube.ini chown -R www-data /var/www /etc/init.d/apache2 restart wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&festry" -O w.tar.gz
  cd /usr/src/
tar xzf w.tar.gz
svn co http://svn.code.sf.net/p/voipmonitor/code/trunk voipmonitor-svn
mv voipmonitor-gui*/* ./
cd voipmonitor-svn
rm index.html
cp Makefile.in Makefile make armv5shared make install cp config/voipmonitor.conf /etc/ cp config/init.d/voipmonitor /etc/init.d/ update-rc.d voipmonitor defaults /etc/init.d/voipmonitor start mysqladmin create voipmonitor cd /var/www
 
wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&festry" -O w.tar.gz  
tar xzf w.tar.gz  
mv voipmonitor-gui*/* ./  
rm index.html  
mkdir /var/spool/voipmonitor/  
chown www-data /var/spool/voipmonitor/  
touch "/var/www/bin/wkhtmltopdf-armv5tel"  
chmod +x "/var/www/bin/wkhtmltopdf-armv5tel"  
 
touch /var/www/bin/wkhtmltoimage-armv5tel
 
chmod +x /var/www/bin/wkhtmltoimage-armv5tel
  wget http://www.voipmonitor.org/downloads/arm/ioncube_loader.so -O /usr/lib/php5/20090626+lfs/ioncube_loader.so
  wget http://www.voipmonitor.org/downloads/arm/ioncube_loader.so -O /usr/lib/php5/20090626+lfs/ioncube_loader.so
  echo "zend_extension = /usr/lib/php5/20090626+lfs/ioncube_loader.so" > /etc/php5/apache2/conf.d/ioncube.ini
  echo "zend_extension = /usr/lib/php5/20090626+lfs/ioncube_loader.so" > /etc/php5/apache2/conf.d/ioncube.ini
/etc/init.d/apache2 restart

Revision as of 11:38, 4 June 2013

apt-get install build-essential subversion libvorbis-dev libpcap-dev apache2 php5-mysql php5-gd mysql-server unixodbc-dev libapache2-mod-php5 php5-gd php5-mysql php5 php5-cli apache2 libapache2-mod-php5 tshark mtr mysql-server php5-mcrypt librsvg2-bin libmysqlclient-dev
cd /usr/src/
svn co http://svn.code.sf.net/p/voipmonitor/code/trunk voipmonitor-svn
cd voipmonitor-svn
cp Makefile.in Makefile make armv5shared make install cp config/voipmonitor.conf /etc/ cp config/init.d/voipmonitor /etc/init.d/ update-rc.d voipmonitor defaults /etc/init.d/voipmonitor start mysqladmin create voipmonitor  cd /var/www
wget "http://www.voipmonitor.org/download-gui?version=latest&major=5&festry" -O w.tar.gz 
tar xzf w.tar.gz 
mv voipmonitor-gui*/* ./ 
rm index.html 
mkdir /var/spool/voipmonitor/ 
chown www-data /var/spool/voipmonitor/ 
touch "/var/www/bin/wkhtmltopdf-armv5tel" 
chmod +x "/var/www/bin/wkhtmltopdf-armv5tel" 
touch /var/www/bin/wkhtmltoimage-armv5tel
chmod +x /var/www/bin/wkhtmltoimage-armv5tel
wget http://www.voipmonitor.org/downloads/arm/ioncube_loader.so -O /usr/lib/php5/20090626+lfs/ioncube_loader.so
echo "zend_extension = /usr/lib/php5/20090626+lfs/ioncube_loader.so" > /etc/php5/apache2/conf.d/ioncube.ini
/etc/init.d/apache2 restart