Home >Backend Development >PHP Tutorial >Linux configuration nginx streaming node server process linux nginx configuration file linux nginx download install ngin under linux

Linux configuration nginx streaming node server process linux nginx configuration file linux nginx download install ngin under linux

WBOY
WBOYOriginal
2016-07-29 08:48:461229browse

Relevant resources for installation can be downloaded from the last Baidu Cloud link

1. The node server is only a backup of the main site, and the server only does RAID0;

2. Install the CentOs system and mount all hard disks to the home;

3. After the system installation is completed, enter the root user directly; (Install nginx streaming media server)

a) Copy the nginx folder to the root user folder;

b) Open the terminal and execute: yum -yinstall wget tar gcc* libssl* pcre* openssl* popt*

c) Waiting for the download and installation to complete

Enter the nginx-1.0.10 folder under the nginx folder from the terminal

Execute: cd /nginx/nginx-1.0.10

d) Execute: useraddstream

e) Execution: ./configure--prefix=/usr/local/nginx --user=stream --group=stream--with-http_stub_status_module --with-http_flv_module--add-module=./nginx_mod_h264_streaming- 2.2.7 --dd-module =./Nginx-ACCESSKEY-2.0.3-With-HTTP_SSL_MODULE-WITH-CC -opt = '-O3'

F) Waiting for compilation to complete

execution: Make && make install

g) Wait for the installation to complete

Execute: wget -chttp://soft.vpser.net/lnmp/ext/init.d.nginx

cp init.d.nginx /etc/init.d /nginx

chmod +x /etc/init.d/nginx

chkconfig --add /etc/init.d/nginx

/etc/init.d/nginx start

h)                                                                                 Copy the nginx.conf file under usr/local/nginx/conf directory to replace the original file

i) Execute: service nginxreload

4. Copy the nagios folder to the root user folder

a) Enter nagios folder; open nrpe_Chlient.sh and execute it sentence by sentence;

5. Open SSH

a) System à Management -> Firewall

[Trusted Service]: Check DNS, SSH, WWW (HTTP) Option

[Other Services]: Check the custom port, fill in 8899, [OK];

Then click [Apply]. A warning box will pop up, select [Yes]

b) Enter etc->ssh sshd_config file;

Find Port, remove the comment, change 22 to 8899, save and close

c) Execute: service sshdrestart

Installation resource download address: http://pan.baidu.com/s/1nuA4TdB


The above introduces the process of configuring nginx streaming media node server in Linux, including Linux and nginx aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn