Home | Data Center | Contact US | Login

Á¦¸ñ ½ÃÀÛ ÇÁ·Î±×·¥ ½±°Ô ¼³Á¤Çϱâ
÷ºÎÆÄÀÏ ½ÃÀÛ ÇÁ·Î±×·¥ ½±°Ô ¼³Á¤Çϱâ rc.local.pdf ÀÛ¼ºÀÏ 2008-09-18 12:21:31
ÀÛ¼ºÀÚ ±â¼úÁö¿øºÎ Á¶Á¤Çö karura@lnextline.net

¢Â rc.local
rc.localÀº ½Ã½ºÅÛ ½ÃÀ۽ÿ¡ rc.local ¾È¿¡ ³»¿ëµéÀÌ ÀÚµ¿À¸·Î ½ÇÇàµÇ´Â ÆÄÀÏÀÔ´Ï´Ù.
rc.localÀº ÁÖ·Î µ¥¸óÀ̳ª ½©½ºÅ©¸³Æ® °°Àº °ÍµéÀ» ½ÇÇà ½Ãų ¶§ ¾²ÀÔ´Ï´Ù.
rc.local ÆÄÀÏ¿¡ ÀÖ´Â ³»¿ëÀº ¸ðµç ºÎÆà °úÁ¤ÀÌ ³¡³­ ÈÄ °¡Àå ³ªÁß¿¡ Àû¿ëµÇ±â ¶§¹®¿¡
rc.local¿¡ ¹®¹ýÀûÀ¸·Î Ʋ¸° ³»¿ëÀÌ À־ ºÎÆÿ¡´Â ÁöÀåÀÌ ¾ø½À´Ï´Ù.
rc.local¿¡ ÀûÀ»¶§´Â PATH°¡ ¾ÈµÇ±â ¶§¹®¿¡ Àý´ë°æ·Î·Î ³Ö¾îÁÖ¾î¾ß ÇÕ´Ï´Ù.

¾Æ·¡´Â ±×¸²Àº ½ÇÁ¦ Àû¿ëµÈ rc.local ³»¿ëÀÔ´Ï´Ù.


touch /var/lock/subsys/local 
--> #ÇØ´ç°æ·Î¿¡ Å©±â°¡ 0byteÀÎ local ÆÄÀÏÀ» ¸¸µç´Ù

rdate -s time.bora.net
--> #º¸¶ó³Ý ŸÀÓ¼­¹ö¿Í ½Ã°£À» µ¿±âÈ­ ÇÑ´Ù.

chmod 500 /proc
--> #proc ÆÄÀÏÀÇ Æ۹̼ÇÀ» 500À¸·Î ÇÑ´Ù.

su -l root -c "/usr/local/tomcat/bin/startup.sh"
--> #¾ÆÆÄÄ¡ ÅèÄÏ ½ÃÀÛ ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÑ´Ù.

/root/bin/next_firewall start
--> #next_firewallÀ» ½ÃÀÛÇÑ´Ù.

/usr/local/apache/bin/apachectl start
--> #¾ÆÆÄÄ¡ µ¥¸óÀ» ½ÃÀÛÇÑ´Ù.

/usr/local/mysql/bin/safe_mysqld &
--> #mysql µ¥¸óÀ» ½ÃÀÛÇÑ´Ù.

/etc/rc.d/init.d/syslog restart
--> #syslogÆÄÀÏÀ» Àç½ÃÀÛÇÑ´Ù.

/usr/local/proftpd/sbin/proftpd
--> #proftpd µ¥¸óÀ» ½ÃÀÛÇÑ´Ù.
  ¹Ýº¹µÇ´Â ¿¹¾àÀÛ¾÷ ¼³Á¤
  SELINUX





ȸ»ç¼Ò°³ °³ÀÎÁ¤º¸Ãë±Þ¹æħ ÀÌ¿ë¾à°ü À̸ÞÀÏÁÖ¼Ò ¹«´Ü¼öÁý°ÅºÎ CONTACT US IDC ¾àµµ
ȸ»ç¼Ò°³ °³ÀÎÁ¤º¸Ãë±Þ¹æħ ÀÌ¿ë¾à°ü À̸ÞÀÏÁÖ¼Ò ¹«´Ü¼öÁý°ÅºÎ CONTACT US IDC ¾àµµ ȸ»ç¼Ò°³ °³ÀÎÁ¤º¸Ãë±Þ¹æħ ÀÌ¿ë¾à°ü À̸ÞÀÏÁÖ¼Ò ¹«´Ü¼öÁý°ÅºÎ CONTACT US IDC ¾àµµ