owt虚拟机下Linux操作系统修改ip配置的地方记录

一、修改静态ip 地址

vi /etc/sysconfig/network-scripts/ifcfg-eth0

参考:https://blog.csdn.net/u014466635/article/details/80284792

 

(其他)修改服务配置ip地方:

一、获取房间key  name 值:
apps/current_app/main.js
apps/current_app/samplertcservice.js

二、

1.打开webrtc_agent/agent.toml目录,设置你服务器的公网IP,修改 [webrtc] 部分的 network_interfaces

2. 编辑 portal/portal.toml:修改 [portal] 部分里的 ip_address 为服务器公网 IP 地址

3./etc/rc.local  最后一行

4./etc/hosts     的ip