Install OpenSIPS in RHEL6.5

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.