반응형
centos7 nginx 설치
yum 저장소 추가-> yum install nginx -> nginx 설정 -> nginx 실행
1. yum 저장소 추가


2. yum install -y nginx
3. vi /etc/nginx/conf.d/default.conf
4. nginx 실행
실행 : systemctl start nginx
종료 : systemctl stop nginx
재실행 : systemctl restart nginx
반응형
'Linux' 카테고리의 다른 글
OpenSSL 업그레이드하기 (0) | 2022.03.21 |
---|---|
yum list 갱신 및 nginx 설치(rhel6) (0) | 2022.03.21 |
Nginx + php 연동 (0) | 2022.03.21 |
Nginx permission denied error (0) | 2022.03.21 |
Nginx php-fpm 퍼미션 오류 (0) | 2022.03.21 |