๋ฐ˜์‘ํ˜•

1. nginx ์„ค์น˜ ๋ฐ ์„ค์ •

์ฐธ๊ณ  : http://altkeycode.tistory.com/10


1-1) ์„ค์น˜

yum install nginx


1-2) nginx ์„ค์ •ํŒŒ์ผ ์ˆ˜์ • 

( /etc/nginx/cond.f/default.conf )


1-3) ๋ถ€ํŒ…์‹œ ์ž๋™์‹œ์ž‘

systemctl enable nginx


1-4) ์ง€๊ธˆ ์‹คํ–‰

systemctl start nginx


1-3) ๋ฐฉํ™”๋ฒฝ ์˜คํ”ˆ

firewall-cmd --zone=public --add-port=80/tcp --permanent


1-4) ๋ฐฉํ™”๋ฒฝ ์žฌ์‹œ์ž‘

firewall-cmd --reload


1-5) ๋ฒ„์ถ”์–ผ๋ฐ•์Šค์—์„œ ํฌํŠธํฌ์›Œ๋”ฉ ์ฒ˜๋ฆฌ

์„ค์ •>๋„คํŠธ์›Œํฌ>๊ณ ๊ธ‰(D)>ํฌํŠธํฌ์›Œ๋”ฉ(P)



2. 80 ํฌํŠธ ์‹คํ–‰ ์•ˆ๋  ์‹œ


2-1) 80ํฌํŠธ ์—ด๋ ค์žˆ๋Š”์ง€ ํ™•์ธ

netstat -ntpa | grep 80


2-2) netstat ๋ช…๋ น์–ด ์‹คํ–‰ ์•ˆ๋œ๋‹ค๋ฉด?

yum install net-tools



์ฐธ๊ณ  : http://blog.daum.net/bondj/19



๋ฐ˜์‘ํ˜•

+ Recent posts