Compiling and installing Nginx and other methods may be a bit cumbersome. This article describes how to install Nginx with yum source.
First, create a source configuration file in the /etc/yum.repos.d/directory nginx.repo:cd /etc/yum.repos.d/vim nginx.repo
Fill in the following: [nginx]name=nginx repobaseurl=http://nginx.org/packages/centos/$releasever/$basearch/gpgcheck=0enabled=1
Save, it will generate a /etc /yum.repos.d/nginx.repo file.
The following instructions can be directly installed to automatically install Nginx: yum install nginx -y
Installation is complete, the following can directly start Nginx: /etc/init.d/nginx start< Br>
Nginx is now started, you can see the Nginx welcome page directly by accessing the server.
If you still can't access it, you need to configure the Linux firewall.
Nginx command and configuration file location: /etc/init.d/nginx start # Start Nginx service /etc/init.d/nginx stop # Stop Nginx service /etc/nginx/nginx.conf # Nginx Configuration File Location
At this point, Nginx has been fully configured and installed.
With the increasing use of Linux, there are a large number of network servers using the Linux operat
1. Get root privileges without logging in. If you dont set the GRUB password, we can use the easiest
Use the ps and grep commands to find the zombie process #ps -A -ostat,ppid,pid,cmd | Grep -e ^[Zz]
Windows, Linux systems support interface themes, you can easily change your face, and it is not dif
Qq for linux installation and uninstallation
The password security problem of the Linux operating system is detailed.
Awk multi-line merge [next use introduction] (common application 4)
Linux system /etc/fstab loss, mount LVM repair
About why Linux can be divided into 4 sectors.
Shell file set weight naming method (Rename!)
The bridge implementation of the linux protocol stack
Redis.conf configuration file details
Four ways to configure ip address under linux (graphic)
Linux Tips: Find rootfs during system bootation
Linux using soft links to solve the problem of directory transfer
Win7 system browser cookies and Internet traces how to clear
Which book is more suitable for writing, what is the ideal notebook for everyone?
Win10 system IE open web page display incomplete solution
How to recover the hidden folder of Win8 system?
How to connect to the network after win10 9926 is automatically updated to 10041?
Win8.1 Update full image download leak
Win7 system Thunder limit software download /upload speed method