B / Y / U / S
HOME À¥ È£½ºÆà µµ¸ÞÀÎ ¸Å´º¾ó °í°´Áö¿ø ¼³Á¤Á¤º¸ °èÁ¤½Åû 2024-12-28 Saturday 
À¥ È£½ºÆÃ
# °øÁö »çÇ×
# ÀÚÁÖ ¹¯´Â Áú¹®
# Áú¹®°ú ´äº¯
# °¡ÀÔ ¹®ÀÇ
Ä¿¹Â´ÏƼ
# ÀÚÀ¯°Ô½ÃÆÇ
# ¸®´ª½ºÆÁ
# ¾ÆÀÌÅ¥ Å×½ºÆ®
# ³»È¨ ¼Ò°³
# °Ö·¯¸®
# ÀÚ·á½Ç

  ¸®´ª½ºÆÁ  Go Unix Power Tools Online Book Go Bash Guide
Read No. 33 article 2001-08-15 20:02:54
NickName   Ç®ºñ´©
Subject   8080 Æ÷Æ®¿Í ´Ù¸¥ ±×·ì ±ÇÇÑÀ¸·Î ¶Ç ´Ù¸¥ À¥¼­¹ö °¡µ¿ Çϱâ




¾ÆÆÄÄ¡ À¥¼­¹ö¸¦ »õ·Ó°Ô ´Ù½Ã ¼³Ä¡ÇÏÁö ¾Ê°í, ±âÁ¸ÀÇ À¥ ¼­¹ö µ¥¸ó¿¡ Æ÷Æ® ¹øÈ£¿Í ±×·ì 
±ÇÇѸ¸À» º¯°æÇÏ¿© º¹»ç ÇÑÈÄ ¼³Á¤ ÆÄÀϸ¸À¸·Î ¶Ç ´Ù¸¥ À¥¼­¹ö¸¦ ¿î¿µÇÏ´Â ¹æ¹ýÀÌ´Ù. 

ÀüÁ¦ Á¶°Ç 
- ±âÁ¸ÀÇ À¥¼­¹ö¿¡ 8080 Æ÷Æ®±â¹Ý °¡»ó È£½ºÆ®À» ¿î¿µÇÏ°í ÀÖÁö ¾Ê´Ù. 
- À¥¼­¹ö¸¦ µÎ°³ ¿î¿µÇÒ ¸¸Å­ ÃæºÐÇÑ ¸Þ¸ð¸®°¡ ÀÖ´Ù. 
- ±×·ìÀ» nobody ±ÇÇÑÀÌ ¾Æ´Ñ ´Ù¸¥ ±×·ì ±ÇÇÑÀ¸·Î ¿î¿µÇÏ°í ½Í´Ù. 

[°úÁ¤1] ÇöÀçÀÇ ¾ÆÆÄÄ¡ ¼³Á¤ÆÄÀÏÀ» httpd-8080.conf ÆÄÀÏ·Î °°Àº À§Ä¡¿¡ º¹»çÇÑ´Ù. 
#pwd 
/usr/local/apache/conf 
#cp httpd.conf httpd-8080.conf 

[°úÁ¤2] httpd-8080.conf ÆÄÀÏÀ» ¿­¾î ´ÙÀ½°ú °°ÀÌ Æ÷Æ® ¹øÈ£´Â 8080À¸·Î, ±×·ìÀ¸·Î 
ÁöÁ¤ÇÏ°í, ÇÊ¿ä¿¡ µû¶ó  ¼Æ¼Ç°ú MinSpareServers, MaxSpareServers, StartServers 
¼ö¸¦ 80Æ÷Æ®·Î ¿î¿µÇÏ´Â ¼­¹öº¸´Ù Àû°Ô ¼öÁ¤ÇÑ´Ù. 
port 8080 
user nobody 
group san2 

[°úÁ¤3] ¼öÁ¤ÇÑ ¼³Á¤ ÆÄÀÏ¿¡ ´ëÇؼ­ À¥¼­¹ö¸¦ °¡µ¿ÇÑ´Ù. '-f' ¿É¼Ç ´ÙÀ½¿¡ ½Ã½ºÅÛ Àý´ë°æ·Î³ª 
ServerRoot¸¦ ±â¼øÀ¸·Î ¼öÁ¤ÇÑ httpd-8080.confÆÄÀÏÀ» ÁöÁ¤ÇÑ´Ù. 
#pwd 
/usr/local/apache/conf 
#../bin/httpd -f /conf/httpd-8080.conf 

[°úÁ¤4] ps -aux|grep httpd¸í·ÉÀ̳ª À¥ ºê¶ó¿ìÀú·Î Á÷Á¢ È®ÀÎÇغ»´Ù. 
http://www.domain.com:8080/ 

[°úÁ¤5] 8080 Æ÷Æ®·Î ¿î¿µµÇ´Â À¥ ¼­¹ö¸¸ Á×À̱â 
Áï 8080 Æ÷Æ®·Î ¿î¿µµÇ´Â ÇÁ·Î¼¼½º Áß Á¦ÀÏ ¾ÕÀ» ÇÁ·Î¼¼½º¸¦ Á×ÀδÙ. 
#ps -ax | grep httpd-8080.conf 
7714 ? S 0:00 ../bin/httpd -f conf/httpd-8080.conf 
#kill 7714
Regist Addr [ 127.0.0.1 ] ¸ñ·Ïº¸±â À­±Û ¾Æ·§±Û
Á¤±ÔÇ¥Çö½Ä [ »ó¼¼ °Ë»ö ]
Page Loading [ 0.02 Sec ] SQL Time [ 0 Sec ]

Copyleft 1999-2024 by JSBoard Open Project
Theme Designed by IDOO And follow GPL2

°³ÀÎÁ¤º¸ Ãë±Þ¹æħ ÀÌ¿ë ¾à°ü »çÀÌÆ® ¸Ê ¾îµå¹Î °ü¸®