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 :: ionic cordova build release comand 
Shell :: vs code set ubuntu wsl as default terminal 
Shell :: ping command not found 
Shell :: create and run docker registry 
Shell :: ffmpeg convert mp4 to gif 
Shell :: start cronjob 
Shell :: Github Connection Error 
Shell :: nodemon command not found 
Shell :: download from gdrive link command line 
Shell :: bash list environment variables 
Shell :: full path of file linux 
Shell :: how to download playonlinux 
Shell :: unistall filezilla ubuntu 
Shell :: bash remove last character from string 
Shell :: cp folder ubuntu include git 
Shell :: rmazenamento de chaves JKS usa um formato proprietário. É recomendada a migração para PKCS12, que é um formato de padrão industrial 
Shell :: raspberrypi-ui-mods kept back 
Shell :: how to clone a repo with a different name 
Shell :: command to upgrade upgradable packages on Ubuntu 
Shell :: download post it for ubuntu 
Shell :: shell write multiple lines to file 
Shell :: install shutter ubuntu 
Shell :: change sshd config 
Shell :: how to close serveice on perticular port number 
Shell :: upgrade pip error 
Shell :: zipalign: command not found mac 
Shell :: decode base64 command line 
Shell :: arch hwo ot knwo th eversion of a package 
Shell :: zsh mac 
Shell :: Cria um dispositivo gerenciado de cores 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =