Last active
April 21, 2023 22:38
-
-
Save ambiorixg12/28379efe9c1d1ce7a1833ca9898e5357 to your computer and use it in GitHub Desktop.
Asterisk 16 installation 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
sed -i 's/\(^SELINUX=\).*/\SELINUX=disabled/' /etc/sysconfig/selinux | |
sed -i 's/\(^SELINUX=\).*/\SELINUX=disabled/' /etc/selinux/config | |
reboot | |
MAKE SURE SELINUX IS DISABLED running the next command | |
sestatus | |
yum -y update | |
yum -y groupinstall core base "Development Tools" | |
yum install -y make wget openssl-devel ncurses-devel newt-devel libxml2-devel kernel-devel gcc gcc-c++ sqlite-devel | |
cd /usr/src/ | |
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-16-current.tar.gz | |
tar zxvf asterisk* | |
cd /usr/src/asterisk* | |
contrib/scripts/install_prereq install | |
./configure --libdir=/usr/lib64 --with-pjproject-bundled --with-jansson-bundled && make menuselect && make && make install | |
make samples | |
make config | |
ldconfig | |
service asterisk start | |
asterisk -rvvvvvvvvvvvvv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment