root@sms:~#uname -a root@sms:~#lsb_release -a root@sms:~#locale-gen en_US root@sms:~#locale-gen en_US.

UTF-8 root@sms:~#apt-get -y –force-yes remove ntpdate root@sms:~#apt-get -y –force-yes install ntp root@sms:~#/etc/init.d/ntp restart root@sms:~#dpkg-reconfigure tzdata # Add PPA Repository root@sms:~#apt-get -y –force-yes install python-software-properties root@sms:~#apt-get -y –force-yes update # apt-fast root@sms:~#add-apt-repository ppa:tldm217/tahutek.net root@sms:~#apt-get -y –force-yes update root@sms:~#apt-get -y –force-yes install axel root@sms:~#apt-get -y –force-yes install apt-fast # Build System root@sms:~#apt-fast -y –force-yes install nano wget cvs subversion curl git-core u nzip autoconf automake1.9 libtool flex debhelper pkg-config libpam0g-dev intltoo l automake checkinstall docbook docbook-xsl build-essential libpcre3 libpcre3-de v libc6-dev g++ gcc autotools-dev bison libncurses5-dev m4 tex-common texi2html texinfo texlive-base texlive-base-bin texlive-common texlive-doc-base texlive-la tex-base libxml2-dev # Open SSL root@sms:~#root@sms:~#apt-fast -y –force-yes install openssl libssl-dev # Apache root@sms:~#apt-fast -y –force-yes install apache2 apache2-dev apache2.2-common apa che2.2-bin apache2-utils apache2-doc root@sms:~#a2enmod php5 rewrite actions include suexec ssl deflate auth_mysql root@sms:~#/etc/init.d/apache2 restart # MySql root@sms:~#apt-fast -y –force-yes install mysql-server mysql-client libmysqlclient -dev libmysql++-dev # PHP root@sms:~#apt-fast -y –force-yes install php5 php5-dev php5-common php-pear php5xcache php5-curl php5-cli php5-cgi php5-gd php5-mysql php5-suhosin php5-memcache php5-imagick php5-sqlite php5-xmlrpc php5-xsl php5-imap php5-mcrypt php5-ffmpeg php5-tidy php5-mhash php5-memcache php5-pspell php5-recode php5-snmp php5-sqlit e root@sms:~#apt-fast -y –force-yes install phpmyadmin # Installing Kannel Gateway root@sms:~#groupadd kannel root@sms:~#useradd -g kannel kannel root@sms:~#cd /usr/local root@sms:~#mkdir /usr/local/src/kannel root@sms:~#cd /usr/local/src/kannel root@sms:~#svn co https://svn.kannel.org/gateway/trunk root@sms:~#mv trunk gateway root@sms:~#cd /usr/local/src/kannel/gateway root@sms:~#./configure –prefix=/usr/local/kannel –with-mysql –with-mysql-dir=/usr/lib/

/bootstrap root@sms:~#.example /etc/ kannel/smpplogins./configure –prefix=/usr/local/kannel –with-kannel-dir=/usr/local/kannel root@sms:~#make root@sms:~#make bindir=/usr/local/kannel/smppbox install root@sms:~#cd # Manage & Check root@sms:~#mkdir root@sms:~#mkdir root@sms:~#mkdir root@sms:~#mkdir root@sms:~#mkdir root@sms:~#mkdir root@sms:~#mkdir root@sms:~#mkdir root@sms:~#chmod Log files /etc/kannel /var/log/kannel /var/log/kannel/gateway /var/log/kannel/smsbox /var/log/kannel/wapbox /var/log/kannel/smsc /var/log/kannel/sqlbox /var/log/kannel/smppbox 755 /var/log/kannel root@sms:~#cp /usr/local/src/kannel/gateway/gw/smskannel.depend root@sms:~#make depend root@sms:~#make root@sms:~#make bindir=/usr/local/kannel install root@sms:~#cd # Sql Box Installation root@sms:~#cd /usr/local/src/kannel root@sms:~#svn co https://svn.conf.conf /etc/kannel/kannel .mysql/ –enable-debug –enable-assertions –with-defaults=speed –disable-localtime –enable-st art-stop-daemon –enable-pam root@sms:~#touch .txt root@sms:~#chmod 777 /etc/init.conf root@sms:~#cp /usr/local/src/kannel/smppbox/example/opensmppbox.kannel.org/sqlbox/trunk root@sms:~#mv trunk sqlbox root@sms:~#cd /usr/local/src/kannel/sqlbox root@sms:~#.txt.conf.init /etc/init.d kannel defaults # Clean Installtion Files root@sms:~#du -sh /var/cache/apt/archives root@sms:~#apt-get -y –force-yes clean .example /etc/kann el/sqlbox.d/kannel root@sms:~#update-rc.conf root@sms:~#cp /usr/local/src/kannel/gateway/debian/kannel.org/opensmppbox/trunk root@sms:~#mv trunk smppbox cd /usr/local/src/kannel/smppbox root@sms:~#.default /etc/default/k annel root@sms:~#cp /usr/local/src/kannel/gateway/debian/kannel.kannel./configure –prefix=/usr/local/kannel –with-kannel-dir=/usr/local/kannel root@sms:~#make root@sms:~#make bindir=/usr/local/kannel/sqlbox install root@sms:~#cd # SMPP Box Installation root@sms:~#cd /usr/local/src/kannel root@sms:~#svn co https://svn.d/kanne l root@sms:~#cp /usr/local/src/kannel/sqlbox/example/sqlbox.example /et c/kannel/opensmppbox.conf root@sms:~#cp /usr/local/src/kannel/smppbox/example/smpplogins.

# Open Terminal and run following command to test your kannel root@sms:~#/usr/local/kannel/sbin/bearerbox -v 0 /etc/kannel/kannel.conf root@sms:~#/usr/local/kannel/sbin/wapbox -v 0 /etc/kannel/kannel.conf root@sms:~#/usr/local/kannel/sbin/sqlbox -v 0 /etc/kannel/kannel.conf .conf root@sms:~#/usr/local/kannel/sbin/smsbox -v 0 /etc/kannel/kannel.conf root@sms:~#/usr/local/kannel/sbin/opensmppbox -v 0 /etc/kannel/opensmppbox.

Sign up to vote on this title
UsefulNot useful