Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

nginx install centos7

sudo yum install epel-release
$ vi /etc/yum.repos.d/nginx.repo
[nginx]
name=nginx repo
baseurl=https://nginx.org/packages/centos/7/$basearch/
gpgcheck=0
enabled=1

sudo yum install nginx

sudo systemctl enable nginx
sudo systemctl start nginx
Source by thelinuxterminal.com #
 
PREVIOUS NEXT
Tagged: #nginx #install
ADD COMMENT
Topic
Name
9+2 =