@echo off
rem provides nginx startup, restart and shutdown functions under Windows
echo ================ ==begin========================
cls
:: Drive letter where ngxin is locatedset NGINX_PAT
@echo off
rem provides nginx startup, restart and shutdown functions under Windows
echo ================ ==begin========================
cls
:: Drive letter where ngxin is locatedset NGINX_PAT
One. Environment 1. Development environment: windows
2. Development tools: FFmpeg, nginx, nginx-rmtp-module
(Link: https://pan.baidu.com/s/119d2GeMzddas_wEsBdeInw Extraction code: lxmp)
nginx_daemon.sh #!/bin/bash
#
this_pid=$$
while true
do
ps -ef | grep nginx | grep -v grep | grep -v $ this_pid &> /dev/null
if [$? -eq 0 ];then
echo ” nginx is ok”
sleep 3
else
I used yum install nginx on my ECS server, but the version is not high enough to support http2. After Google search, I added a configuration file:
/etc/yum.repos.d/nginx.repo With content:
1. Before installing nginx, we must first make sure that the system has g++, gcc, openssl-devel, pcre-devel and zlib-devel software installed, which can be detected by the command shown in the figu
Centos610 series configuration
We have completed the installation of FastDFS in Centos610FastDFS stand-alone mode-FastDFS installation, and then we will install the FastDFS scheduler.
1
Connect to the server 1) Account
>: ssh [email protected]
2) Password
>: ** ****** Server Command Administrator Privilege 1) All of the following Server commands can be executed under administrator
keepalived + nginx : Realize high availability
nginx:
web server
reverse proxy, also supports caching(Cached on disk)
Support FastCGI
tengine: Taobao official corrects
When using the following command to install Nginx, it is found that the installation cannot be successful
yum install -y nginx Required Do a little bit of processing.
Execute the follo
1, forward proxy 1. I can’t access a certain website, but I can access a proxy server. This proxy server can access the website that I can’t access< /span>
2. So I connected to the proxy ser