![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
chochoo
这个作者很懒,什么都没留下…
展开
-
CentOS7下Nginx+rtmp搭建直播环境的新手安装手记(1)系统安装
最近需要搭建一台内部使用的直播推流服务器,恰好有刚下载的CentOS7系统安装U盘,就决定使用CentOS7和NGINX+rtmp插件来搭建。安装中遇到许多问题,随手记录备查。(新手笔记,有很多地方似懂非懂及不正确之处,欢迎老手指点、指教,勿喷)一、CentOS7安装安装中出现 dracut:/# 错误,无法继续安装,从网上查找解决办法,并尝试在启动菜单修改启动命令,能够进入安装,但没注意...原创 2019-07-03 16:43:59 · 797 阅读 · 0 评论 -
centos7下 设置nginx为开机启动服务
1.在系统服务目录里创建nginx.service文件vi /lib/systemd/system/nginx.service内容如下[Unit]Description=nginxAfter=network.target [Service]Type=forkingExecStart=/usr/local/nginx/sbin/nginxExecReload=/usr/loc...转载 2019-07-04 15:04:31 · 280 阅读 · 0 评论 -
CentOS7下Nginx+rtmp搭建直播环境的新手安装手记(3)nginx.conf配置
编辑nginx.conf文件内容:#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;events { wor...原创 2019-07-05 11:59:22 · 455 阅读 · 0 评论 -
CentOS7下Nginx+rtmp搭建直播环境的新手安装手记(2)NGINX 安装
CentOS7系统安装完毕后,先修改源并更新系统:(单纯为了搭建流媒体服务器的话,更新这部分就跳过吧)备份base.repo文件:cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.reos.d/CentOS-Base.repo.bkp修改源wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirr...原创 2019-07-05 11:36:57 · 257 阅读 · 0 评论