Syncope.T-*
article thumbnail
Centos7에 Nginx 설치
Devops/Nginx 2022. 10. 1. 23:24

1. Install /etc/yum.repos.d/ 에 nginx.repo로 Repository 등록 [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/7/$basearch/ gpgcheck=0 enabled=1 이후 Nginx 설치 yum install -y nginx 80포트 개방 firewall-cmd --permanent --zone=public --add-port=80/tcp firewall-cmd --reload 2. 확인 systemctl enable nginx systemctl start nginx systemctl status nginx conf 설정은 /etc/nginx/conf.d/default.conf에 있으므로 기본..

profile on loading

Loading...