Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

how to install nginx on centos 7

sudo yum install epel-releaseCopy
Comment

How to Install Nginx On Centos7 thelinuxterminal.com

$ vi /etc/yum.repos.d/nginx.repo
Comment

How to Install Nginx On Centos7 thelinuxterminal.com

[nginx]
name=nginx repo
baseurl=https://nginx.org/packages/centos/7/$basearch/
gpgcheck=0
enabled=1
Comment

How to Install Nginx On Centos7 thelinuxterminal.com

sudo yum install nginx
Comment

How to Install Nginx On Centos7 thelinuxterminal.com

sudo systemctl enable nginx
sudo systemctl start nginx
Comment

How to Install Nginx On Centos7 thelinuxterminal.com

sudo systemctl status nginx
Comment

How to Install Nginx On Centos7 thelinuxterminal.com

sudo firewall-cmd --zone=public --permanent --add-service=http
sudo firewall-cmd --zone=public --permanent --add-service=https
sudo firewall-cmd --reload
Comment

how to install nginx on centos 7

sudo yum install nginxCopy
Comment

PREVIOUS NEXT
Code Example
Shell :: GIT: change branch 
Shell :: git clone specific version 
Shell :: mkdir -p option 
Shell :: spectacle linux 
Shell :: pulling a branch from github 
Shell :: how to host angular on github 
Shell :: git clone with token 
Shell :: bash output to stdout and file 
Shell :: linux ls show full path 
Shell :: create file in linux using cat 
Shell :: github get repo size 
Shell :: chmod 
Shell :: Generate a new GitHub SSH key 
Shell :: change resolution of a video 
Shell :: how to download virtualbox on kali linux 
Shell :: cent os 8 delete all packages 
Shell :: apt install codium 
Shell :: kali linux ping ip 
Shell :: how to resolve conflict in git 
Shell :: pull from upstream git 
Shell :: sonarqube linux installation 
Shell :: how to make ubuntu use all available disk 
Shell :: copy to clipboard over ssh 
Shell :: linux execute sh 
Shell :: check scheduler on localhost laravel 
Shell :: Bash dir in loop 
Shell :: find the process ID of a running process bash 
Shell :: ubuntu what is my ip address 
Shell :: install visual studio code ubuntu using command line 
Shell :: export gitlog file 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =