1. 패키지 목록 업데이트
sudo apt update
2. nginx 설치
sudo apt install nginx
3. nginx 시작
sudo service nginx start
4. nginx 버전확인
nginx -v
# 또는
nginx -V
4. 부팅 시 nginx 자동 시작(default)
sudo systemctl enable nginx
1. 패키지 목록 업데이트
sudo apt update
2. nginx 설치
sudo apt install nginx
3. nginx 시작
sudo service nginx start
4. nginx 버전확인
nginx -v
# 또는
nginx -V
4. 부팅 시 nginx 자동 시작(default)
sudo systemctl enable nginx