-
-
Save weezqyd/192a417786dddd3d4193e7ea18945441 to your computer and use it in GitHub Desktop.
install kannel on centos 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install -y openssl-devel libxml2-devel texlive-* m4 gcc-c++ make | |
yum-config-manager --disable mysql80-community | |
yum-config-manager --enable mysql57-community | |
yum install -y mysql-devel | |
https://blog.onesconsultants.com/2018/08/how-to-install-kannel-in-centos-7.html | |
need bison ==2.7 | |
mkdir /var/www/ | |
mkdir /var/www/kannel | |
cd /var/www/kannel | |
wget https://ftp.gnu.org/gnu/bison/bison-2.7.tar.gz | |
tar zxvf bison-2.7.tar.gz && cd bison-2.7 && ./configure && make && make install && cd src | |
cp bison /usr/local/bin/bison && cp bison /usr/bin/bison | |
cd .. && cd .. && rm -rf bison-2.7.tar.gz bison-2.7 | |
cd /var/www/kannel | |
wget --no-check-certificate https://www.kannel.org/download/1.4.5/gateway-1.4.5.zip | |
unzip gateway-1.4.5.zip | |
rm gateway-1.4.5.zip | |
mv gateway-1.4.5 gateway | |
cd gateway/ | |
./configure --prefix=/var/www/kannel --with-mysql --with-mysql-dir=/usr/lib/mysql/ --enable-debug --enable-assertions --with-defaults=speed --disable-localtime --enable-start-stop-daemon --enable-pam | |
sudo make | |
sudo make install | |
sudo mkdir /var/www/kannel/logs | |
mysql -uroot -p kannel < /var/www/kannel/kannel.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment