Nginx will not be registered as a system service by default after installation, so you need to manually add the system service script to provide a Nginx service script that I have written and tested, copy it directly, and put it in /etc/Init.d/is renamed to nginx and change the permissions chmod +x /etc/init.d/nginx.
Start nginx
service nginx start
or
/etc/init .d/nginx start
Other commands can be viewed directly from the script, very simple.
#! /bin/sh#Script used to register Nginx as a system service #Author CplusHua#http://www.219.me#chkconfig: - 85 15set -ePATH=/usr/local/sbin:/Usr/local/bin:/sbin:/bin:/usr/sbin:/usr/binDESC="Nginx Daemon"NAME=nginxDAEMON=/usr/local/nginx/sbin/$NAMESCRIPTNAME=/etc/init.d/Exit the test -x $DAEMON
The configuration steps of Telnet service are as follows: First, install telnet package (usually tw
Controlling access to files under Linux is a very important issue. Chmod is a method for modifying f
nmap is a network port scanner. Its main function is to check a group of target hosts to see which
Kobject, kset is the basic structure of the device model. The device model uses these two structure
Method of operating a Bluetooth phone in the Linux operating system, the so-called
Nginx configuration file nginx.conf Chinese detailed solution
The principle of file deletion under linux
Linux large file splitting split command
In-depth analysis of soft interrupts in the Linux kernel
Hibernate uses the oracle's sequence to generate the primary key
Accessing Windows Shares from the Linux Command Line
Linux Netcat command usage tutorial
Shell monitoring linux system file changes
Realizing LAN Remote Access in Linux
Vsftpd 500 OOPS: cannot change directory
Linux compulsory bit and adventure position tips introduction
Win Server 2012 diverse interface to meet different user needs
Linux set up one of the FTP servers
Windows 8 open folder on the cause of suspended animation
Win7 system sets wifi hotspot for mobile devices
Sharing Win8.1 Ten Useful Optimization Operations
Resolve security has become the key to the success of the reason win7 (2)
How to add a print directory under Windows7? Two ways to easily get it
Under the Win 7 system, the router is still set up correctly and still cannot access the Internet.
WinXP computer boot password cracking method
Win7 plugged in USB device does not respond to the cause and solution