本文主要是介绍CentOS8安装opensips 3.5,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
环境:阿里云
操作系统CentOS8.5
依赖包安装:
libmicrohttpd
cd /usr/local/src
wget https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-latest.tar.gz
tar vzxf libmicrohttpd-latest.tar.gz
cd libmicrohttpd-1.0.1/./configure
make
make install
nghttp2
cd /usr/local/src
wget https://github.com/nghttp2/nghttp2/releases/download/v1.62.1/nghttp2-1.62.1.tar.gz
tar vzxf nghttp2-1.62.1.tar.gz
cd nghttp2-1.62.1/./configure
make
make install
dnf install bison flex
dnf install ncurses-devel
dnf install libuuid-devel libuuid libevent libevent-develdnf install mariadb mariadb-devel mariadb-server
systemctl enable mariadb
systemctl start mariadb
下载opensips
cd /usr/local/src
wget https://opensips.org/pub/opensips/3.5.0/opensips-3.5.0-beta.tar.gz
tar vzxf opensips-3.5.0-beta.tar.gz
cd opensips-3.5.0-beta
配置需要编译的扩展模块
make menuconfig
增加db_msql,httpd,http2d, uuid
make all
make install
这篇关于CentOS8安装opensips 3.5的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!