国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Linux > 正文

Linux下安裝ray media server注意事項

2024-08-28 00:11:21
字體:
來源:轉載
供稿:網友

RMS Installation
Log into your shell account using your favorite SSH client.
Choosing a Folder to install RMS
Choose the folder where RMS will be installed in. You can create a separate folder for that. It doesn't matter where you create this folder but remember that if you want to prevent the folder of being accessed in a browser, you should create it in the root directory of your hosting account (/) or your home directory if root is not accessible or writable (/home/myaccount/).
Let's assume you have created "ray_server" folder inside "/opt" directory. Now the absolute path to your Ray Media Server folder is /opt/ray_server/.

Uploading Files
Download the Ray Media server archive applicable for your operating system (UNIX or Windows). Unzip the archive and upload the contents of the extracted folder in the folder you created on your server (for example /opt/ray_server).
Note: if you're installing the Windows version, you will have to run the extracted executable file on your Windows server. After you have followed the wizard instruction, RMS will be installed by default in C:/Program Files/RMS.

Uploading Suite/Widgets Contents to RMS
If you're installing the full Ray Widget Suite, unzip the archive and upload the contents of ray_rms (i.e. chat/, im/ and video/) folder in webapps folder inside the Ray Media Server folder on your server (for example /opt/ray_server/webapps/ or C:/Program Files/RMS/webapps/ (for Windows) ).
If you're installing "Chat", "Instant Messenger" or "Video Recoder" separately, you'll have to unzip the respective archive and upload the folders with _rms/ postfixes into "webapps" folder inside the Ray Media Server folder on your server. Remove the _rms/ postfixes from the folders' names.

Note: The widgets stated above use audio/video facilities of Ray Media Server. The other widgets don't use RMS and you can omit RMS installation for them.

Configuring RMS
Make the following changes to some files inside the Ray Media Server directory:
access.dat – input 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;
ray.sh (UNIX only) – set the value for JAVA_HOME variable. It should be the path to the folder where JRE is installed. For example: JAVA_HOME=/opt/ray_server/jre1.x;
run_daemon.sh (UNIX only) – set the value for RAY_SERVER_PATH variable. It should be the path to the RMS folder on your server. For example: RAY_SERVER_PATH=/opt/ray_server;
change the IP addresses in the files located in path_to_rms/webapps/widget_name/WEB-INF/red5-web.properties
where "path_to_rms" stands for path to your Ray Media Server folder, and "widget_name" stands for "chat", "im" and "video". For example: open

/opt/ray_server/webapps/chat/WEB-INF/red5.properties
for UNIX or

C:/Program Files/RMS/webapps/chat/WEB-INF/red5.properties
(for Windows) and replace the following line:

webapp.virtualHosts=0.0.0.0

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 武宣县| 南岸区| 赤水市| 扶沟县| 改则县| 珠海市| 绩溪县| 故城县| 西乡县| 武平县| 武穴市| 赫章县| 丽水市| 金寨县| 韶关市| 木兰县| 集安市| 津南区| 延川县| 泗阳县| 渭南市| 平凉市| 株洲市| 资兴市| 武平县| 桐柏县| 吴忠市| 凤山市| 通州区| 静安区| 哈尔滨市| 丹棱县| 绥化市| 库伦旗| 奇台县| 庐江县| 图木舒克市| 正宁县| 大埔区| 仁化县| 湖州市|