Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-10-09 12:07:56 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6468b9e92bf9d022789bb63924b51d71bba87b09
6468b9e9
1 parent
5e8f8ad3
refine script, to disable iptables and selinux. 0.9.225
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
14 行增加
和
1 行删除
trunk/scripts/run.sh
trunk/src/core/srs_core.hpp
trunk/scripts/run.sh
查看文件 @
6468b9e
...
...
@@ -32,6 +32,19 @@ cat<<END
http://$ip:$port/players/srs_bwt.html?key=35c9b402c12a7246868752e2878f7e0e&vhost=bandcheck.srs.com
END
if
[[
`
getenforce
`
!
=
'Disabled'
]]
;
then
echo
-e
"
${
RED
}
请关闭selinux:
${
BLACK
}
"
;
echo
-e
"
${
RED
}
打开配置文件:sudo vi /etc/sysconfig/selinux
${
BLACK
}
"
;
echo
-e
"
${
RED
}
修改为:SELINUX=disabled
${
BLACK
}
"
;
echo
-e
"
${
RED
}
重启系统:sudo reboot
${
BLACK
}
"
;
fi
sudo /etc/init.d/iptables status >/dev/null 2>&1;
if
[[
$?
-ne 3
]]
;
then
echo
-e
"
${
RED
}
请关闭防火墙:
${
BLACK
}
"
;
echo
-e
"
${
RED
}
sudo /etc/init.d/iptables stop
${
BLACK
}
"
;
fi
echo
-e
"
${
GREEN
}
请在hosts中添加一行:
${
BLACK
}
"
echo
-e
"
${
RED
}
$ip
demo.srs.com
${
BLACK
}
"
echo
-e
"
${
GREEN
}
演示地址:
${
BLACK
}
"
...
...
trunk/src/core/srs_core.hpp
查看文件 @
6468b9e
...
...
@@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// current release version
#define VERSION_MAJOR "0"
#define VERSION_MINOR "9"
#define VERSION_REVISION "22
4
"
#define VERSION_REVISION "22
5
"
#define RTMP_SIG_SRS_VERSION VERSION_MAJOR"."VERSION_MINOR"."VERSION_REVISION
// server info.
#define RTMP_SIG_SRS_KEY "SRS"
...
...
请
注册
或
登录
后发表评论