课程: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Install NGINX on Enterprise Linux 7 - Red Hat Enterprise Linux教程
课程: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND
Install NGINX on Enterprise Linux 7
- [Instructor] NGINX is not included in the stock Enterprise Linux software repository, so we'll need to add a new one. In the exercise files, I've included a repo file for chapter nine. Let's copy it to yum.repos.d. There are two different files depending on if you're using Red Hat Enterprise Linux 7 or CentOS 7. Make sure you copy the right one. If you're using CentOS 7 as I am, then go to your home directory and type, sudo cp ExerciseFiles/Ch09 /etc/yum.repos.d /nginx-centos.repo /etc /yum.repos.d and hit Enter. Type in your password if prompted. If you're using Red Hat Enterprise Linux 7, change the file name to nginx-redhat.repo. Now, to install NGINX, type in sudo yum install -y nginx and hit Enter.
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。