Annanon
YATE April 11, 2011 01:01AM |
Kerberos
Re: YATE April 26, 2011 12:29AM |
apt-get install lighttpd php5 php5-pgsql php5-cli php5-cgi cp /etc/php5/cgi/php.ini /etc/php5/cgi/php.ini.orig echo 'cgi.fix_pathinfo = 1' >> /etc/php5/cgi/php.ini cd /etc/lighttpd openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes lighttpd-enable-mod fastcgi lighttpd-enable-mod fastcgi-php lighttpd-enable-mod ssl nano /etc/lighttpd/lighttpd.conf $SERVER["socket"] == ":80" { $HTTP["host"] =~ "192.168.1.100" { url.redirect = ( "^/(.*)" => "https://192.168.1.100/$1" ) server.name = "192.168.1.100" } } echo '<?PHP phpinfo (); ?>' > /var/www/index.php /etc/init.d/lighttpd restart
apt-get install postgresql postgresql-client su postgres psql \password postgres \q exit
apt-get install subversion sox autoconf checkinstall mkdir /root/src && mkdir /root/src/yate cd /root/src/yate svn checkout http://voip.null.ro/svn/yate/trunk yate cd /root/src/yate/yate
apt-get install pkg-config libssl-dev libasound2-dev libpq-dev libh323plus-dev libspandsp-dev libspeex-dev libgsm1-dev libamrnb-dev libamrnb3 doxygen
./autogen.sh ./configure ... ... checking for gethostbyname_r... yes checking for pthread_kill_other_threads_np declaration... no checking whether to use inline functions... auto checking for resolver library... yes -lresolv checking whether to use the internal regexp library... no checking for regcomp... yes checking for Postgress SQL in /usr... yes checking for MySQL using mysql_config... no checking for Dahdi generic headers... no checking for Zaptel generic headers... no checking for Zaptel linux headers... no checking for Wanpipe generic headers... no checking for Wanpipe linux headers... no checking for sound card headers... yes checking for ALSA headers... yes checking for gsm.h in /usr/include... yes checking for iLBC in libs... yes checking for speex.h in /usr/include/speex... yes checking for AMR-NB in /usr... yes checking for usable spandsp in /usr/include... yes checking for Pwlib in /usr... installed 2.4.5 RTTI: none checking for OpenH323 in /usr... installed 1.21.0 checking for OpenSSL using pkg-config... 0.9.8o checking for zlib in /usr... yes checking for Qt4 >= 4.3.0 using pkg-config... no checking for Qt4 >= 4.3.0 using qmake... no checking for coredumper.h in /usr/local... no checking whether to enable RTTI support... none checking for doxygen version... 1.7.1 checking for kdoc version... no configure: creating ./config.status ... ... make clean && make checkinstall --pkgname=yate-local --pkgversion "3.0.1+svn`date +%Y%m%d`" --backup=no --default
echo '/usr/local/lib' > /etc/ld.so.conf.d/yate.conf ldconfig
mkdir /root/src/freesentral cd /root/src/freesentral svn checkout http://voip.null.ro/svn/freesentral/trunk freesentral cd /root/src/freesentral/freesentral ./install.sh