ASTERISK-INSTALLATION-16-8-ON-CENTOS-7

  • by
yum update -y
yum install wget
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-16-current.tar.gz
tar -zxvf asterisk-16-current.tar.gz

yum install bzip2 rdate unzip make patch gcc gcc-c++ subversion php php-devel php-gd gd-devel php-mbstring php-mcrypt php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel httpd libpcap libpcap-devel libnet ncurses ncurses-devel screen mysql-server mysql-devel ntp kernel* mutt glibc.i686 conntrack-tools telnet glibc-devel openssl-devel zlib-devel libedit.i686 libedit-devel.i686 libedit-devel uuid-dev epel-release dmidecode gcc-c++ ncurses-devel wget openssl-devel newt-devel kernel-devel sqlite-devel libuuid-devel gtk2-devel jansson-devel binutils-devel unixODBC unixODBC-devel libtool-ltdl libtool-ltdl-devel 

yum install  mysql-connector-odbc 
and
yum install mysql-connector-odbc-setup
OR
yum install libmyodbc8*/libmyodbc5* depends on mysql-connector-odbc-setup-8 OR mysql-connector-odbc-setup-5

./configure --libdir=/usr/lib64 --with-pjproject-bundled --with-jansson-bundled && make menuselect && make && make install

# make samples
# make config

yum install mariadb
yum -y install mariadb-server
systemctl enable mariadb
systemctl start mariadb

Leave a Reply

Your email address will not be published. Required fields are marked *