Install OpenSIPS in RHEL6.5 [root @ localhost ~] # Vim/etc/sysconfig/networkNETWORKING = yesHOSTNAME = localhost. localdomainHOSTNAME = OpenSIPS.clvn.com.cn [root @ localhost ~] # ServiceNetworkManagerstatusNetworkMa
Install OpenSIPS in RHEL6.5
[Root @ localhost ~] # Vim/etc/sysconfig/network
NETWORKING = yes
HOSTNAME = localhost. localdomain
HOSTNAME = OpenSIPS.clvn.com.cn
[Root @ localhost ~] # Service NetworkManager status
NetworkManager (pid 2945) is running...
[Root @ localhost ~] # Service NetworkManager stop
Stop the NetworkManager daemon: [OK]
[Root @ localhost ~] # Chkconfig -- level 35 NetworkManager off
[Root @ localhost ~] # Chkconfig -- list NetworkManager
NetworkManager 0: Disabled 1: Disabled 2: enabled 3: Disabled 4: enabled 5: Disabled 6: Disabled
[Root @ localhost ~] # Vim/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE = eth0
HWADDR = 00: 0C: 29: 6C: A2: 40
TYPE = Ethernet
UUID = 9b5a23e3-7c38-4b6e-b7ac-088f33c8727b
ONBOOT = yes
NM_CONTROLLED = no
BOOTPROTO = none
IPADDR = 192.168.0.28
NETMASK = 255.255.255.0
IPV6INIT = no
USERCTL = no
[Root @ localhost ~] # Vim/etc/hosts
127.0.0.1 localhost. localdomain localhost4 localhost4.localdomain4
: 1 localhost. localdomain localhost6 localhost6.localdomain6
192.168.0.28 OpenSIPS.clvn.com.cn OpenSIPS
[Root @ localhost ~] # Reboot
[Root @ OpenSIPS ~] # Hostname
OpenSIPS.clvn.com.cn
[Root @ OpenSIPS ~] # Ifconfig eth0
Eth0 Link encap: Ethernet HWaddr 00: 0C: 29: 5B: 82: 3D
Inet addr: 192.168.0.28 Bcast: 192.168.0.255 Mask: 255.255.255.0
Inet6 addr: fe80: 20c: 29ff: fe5b: 823d/64 Scope: Link
Up broadcast running multicast mtu: 1500 Metric: 1
RX packets: 0 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 11 errors: 0 dropped: 0 overruns: 0 carrier: 0
Collisions: 0 FIG: 1000
RX bytes: 0 (0.0 B) TX bytes: 746 (746.0 B)
[Root @ OpenSIPS ~] # Yum-y install gcc make
[Root @ OpenSIPS ~] # Yum-y install flex bison ncurses-devel openssl-devel zlib-devel
[Root @ OpenSIPS ~] # Yum-y install mysql-server mysql-libs mysql-devel
[Root @ OpenSIPS ~] # Cd/usr/local
[Root @ OpenSIPS local] # ls
Bin games lib libexec sbin src
Etc include lib64 opensips-1.11.1_src.tar.gz share
[Root @ OpenSIPS local] # ls
Bin games lib libexec opensips-1.11.1-tls share
Etc include lib64 opensips-1.11.1_src.tar.gz sbin src
OpenSIPS: Click here
OpenSIPS: Click here
OpenSIPS installation configuration process record http://www.linuxidc.com/Linux/2013-08/89136.htm under CentOS
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-06/102671.htm