Step 1) Install java if you don't have.
- yum install java-1.7.0-openjdk
Step 2) Install RMS
- cd /opt
- mkdir ray_server
- cd ray_server/
- wget http://get.boonex.com/RMS-LINUX-v.7.1.0
- tar xzvf RMS-LINUX-v.7.1.0
Step 3) Configure RMS
1). access.dat – mention all domain names which will be allowed to access RMS. Every domain name should be written on a separate line and should not contain "http://" and "www", just yourdomain.com;
- cd /opt/ray_server/RMS_7.1.0
- vi access.dat
- vi red5.sh
- JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65/
- vi run_daemon.sh
- RAY_SERVER_PATH=/opt/ray_server/RMS_7.1.0/
4). We need to make entries of webapp.virtualHosts for chat, board, global, im, We need to mention the server IP there.
***For board
- cd /opt/ray_server/RMS_7.1.0/webapps/board/WEB-INF
- vi red5-web.properties
- Make the entry of server IP like below.
- webapp.virtualHosts=0.0.0.0 webapp.virtualHosts=122.122.122.122
- Note 122.122.122.122 is the server IP.
- cd /opt/ray_server/RMS_7.1.0/webapps/chat/WEB-INF
- vi red5-web.properties
- Make the entry of server IP like below as we did for board.
- webapp.virtualHosts=0.0.0.0 webapp.virtualHosts=122.122.122.122
- cd /opt/ray_server/RMS_7.1.0/webapps/global/WEB-INF
- vi red5-web.properties
- Make the entry of server IP like below as we did for board.
- webapp.virtualHosts=0.0.0.0 webapp.virtualHosts=122.122.122.122
- cd /opt/ray_server/RMS_7.1.0/webapps/im/WEB-INF
- vi red5-web.properties
- Make the entry of server IP like below as we did for board.
- webapp.virtualHosts=0.0.0.0 webapp.virtualHosts=122.122.122.122
Step 4) Add the below following lines in /etc/rc.local file, So when server reboots RMS is started automatically.
- vi /etc/rc.local
========
./run_daemon.sh &
========
Step 5) Now we can rum the RMS.
- cd /opt/ray_server/RMS_7.1.0
- chmod 755 run_daemon.sh
- ./run_daemon.sh &
- Installing RMS also installs the Red5 server, which can be tested at http://server_ip:5080
- RMS Address: server_main_IP
- RMS Port: 1935
- RMS HTTP Port: 5080
4 comments:
Wow really good one with exact steps totally error free thums up.... :-)
Thanx sourabh :)
Thank you so much!
Your welcome Lou Stillitano... :-)
Post a Comment
Do Write about the Blog and Welcome to the world where open source is every thing :-)