一、创建centos: vmware中创建CentOS-6.7-x86_64-bin-DVD1and2,空间200GB,多文件模式,便于copy
二、development环境 #su - #password xxxxxx,进入root
1. #yum groupinstall "Development Tools" -y
2.搭建nginx流媒体服务器
1) # yum -y install gcc glibc glibc-devel make nasm pkgconfig lib-devel openssl-devel expat-devel gettext-devel libtool mhash.x86_64 perl-Digest-SHA1.x86_64 gcc-c++
2)# yum install git hg svn
3)# yum install –y pcre pcre-devel zlib zlib-devel
4)# cd /usr/local/src/
# wget http://nginx.org/download/nginx-1.8.1.tar.gz
# tar -zxvf nginx-1.8.1.tar.gz
# git clone git://github.com/arut/nginx-rtmp-module.git
# cd nginx-1.8.1
# ./configure --prefix=/usr/local/nginx --add-module=../nginx-rtmp-module --with-http_stub_status_module
# make && make install
# cd /usr/local/nginx/