“Instal Nginx di Amazon Linux 2” Kode Jawaban

Instal Nginx Amazon Linux 2

$ sudo amazon-linux-extras list | grep nginx
 38  nginx1=latest            disabled      [ =stable ]

$ sudo amazon-linux-extras enable nginx1
 38  nginx1=latest            enabled      [ =stable ]
        
Now you can install:
$ sudo yum clean metadata
$ sudo yum -y install nginx
    
$ nginx -v
nginx version: nginx/1.16.1
Lonely Lyrebird

Instal Nginx di Amazon Linux 2

$ sudo amazon-linux-extras list | grep nginx
 38  nginx1=latest            disabled      [ =stable ]

$ sudo amazon-linux-extras enable nginx1
 38  nginx1=latest            enabled      [ =stable ]
        
Now you can install:
$ sudo yum clean metadata
$ sudo yum -y install nginx
    
$ nginx -v
nginx version: nginx/1.16.1
Biplove Giri

Jawaban yang mirip dengan “Instal Nginx di Amazon Linux 2”

Pertanyaan yang mirip dengan “Instal Nginx di Amazon Linux 2”

Lebih banyak jawaban terkait untuk “Instal Nginx di Amazon Linux 2” di Shell/Bash

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya