HOME   ·Î±×ÀΠ  ȸ¿ø°¡ÀÔ
    
ȸ¿ø°¡ÀÔ
ºñ¹Ð¹øÈ£ ã±â ÀÚµ¿·Î±ä
ÀÌÀü°Ô½ÃÆÇ
   free_board
   °Ç°­°Ô½ÃÆÇ
   ¿À¶óŬDB
   Linux
   HTML/javascript
   Áú¹®°ú ´ä
È£¼­±â
   À̹ÌÁö°Ô½ÃÆÇ  
   °Ç°­°Ô½ÃÆÇ  
   À½¾ÇÀÚ·á  
   ¼ºÁØÀÌ °Ô½ÃÆÇ  
 Hit : 4538
 À̸§ : È£¼®  (220.¢½.198.178)
 ³¯Â¥ : 2008-11-24 21:20:53
 Á¦¸ñ : rsync»ç¿ë¹ý~
rsync»ç¿ë¹ý~

¾Æ·¡ ¿¹Á¦´Â ÅèĹ¼­¹öÀÇ

usr/local/tomcat/webapps/lulu_front/images_game/

/usr/local/tomcat/webapps/lulu_front/demon/html_source/

µÎ °æ·Î¸¦ ¾ÆÆÄÄ¡¼­¹öÀÇ

/usr/local/apache/images
 /usr/local/apache/html_src

µÎ°æ·Î¿Í ½ÌÅ©ÇÏ´Â ÀÛ¾÷¿¹Á¦ÀÔ´Ï´Ù.

ÇöÀç Ŭ·Ð¿¡ 1ºÐ°£°ÝÀ¸·Î ½ÌÅ©°¡ ÀÌ·ç¾îÁ®Àֳ׿ä.

Âü°íÇϼ¼¿ä~

 -------------------------------------------------
   1. ¾ÆÆÄÄ¡ ¼­¹öÂÊ ÀÛ¾÷.
 -------------------------------------------------


 1) rsync°¡ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö È®ÀÎÇÑ´Ù.

   rpm -qa | grep rsync

 2) rsync °¡ ¼³Ä¡µÇ¾îÀÖ´Ù¸é /etc/xinet.d/¹Ø¿¡ rsync ÀÖ´ÂÁö È®ÀÎÇÑ´Ù.

 3) vi·Î rsync ¸¦ ¿­¾î¼­

  disable = no  ·Î ¼³Á¤ÇÏ°í,
  only_from = ip, ip¸¦ Ãß°¡ÇÑ´Ù.(ÆÄÀÏÀ» º¸³»ÁÙ ¼­¹ö. ex. ÅèĹ¼­¹ö)
 
 4) /etc ¾Æ·¡¿¡ rsyncd.conf ÆÄÀÏÀ» ¿­¾î¼­ ÆíÁýÇÑ´Ù.(¾øÀ¸¸é »õ·Î »ý¼ºÇÑ´Ù.)
 
   # rsyncd.conf ÆÄÀÏ ³»¿ë ¿¹
  
   [html]
   path = /usr/local/apache/html_src
   comment = html
   uid = root
   gid = root
   use chroot = yes
   read only = no
   hosts allow = 211.233.09.101
   max clients = 2
   timeout 60
  
   [images]
   path = /usr/local/apache/images
   comment = images
   uid = root
   gid = root
   use chroot = yes
   read only = no
   hosts allow = 211.233.09.101
   max clients = 2
   timeout 60

 5) ÆíÁýÈÄ xinetd¸¦ ´Ù½Ã ½ÇÇàÇÑ´Ù.
 
  /etc/rc.d/init.d/xinetd restart
 
 6) /var/log/message ¿¡¼­ ¿¡·¯°¡ ÀÖ´ÂÁö È®ÀÎÇÑ´Ù.
 


 -------------------------------------------------
   2. ÅèĹ ¼­¹öÂÊ ÀÛ¾÷.
 -------------------------------------------------
 
 1) crontab ¿¡ ÀÛ¾÷À» µî·ÏÇÑ ¿¹)
 
  ¸ÅºÐ html_source/ ¾Æ·¡ÀÇ ÆÄÀÏÀ» À¥¼­·Î º¹»çÇÑ´Ù.
 
  */1 * * * *  rsync -avz /usr/local/tomcat/webapps/lulu_front/demon/html_source/ 211.53.209.100::html
  */1 * * * *  rsync -avz /usr/local/tomcat/webapps/lulu_front/images/ 211.53.209.100::images
°Ô½Ã¹° 121°Ç
¹øÈ£ ºÐ·ù Á¦¸ñ
À̸§
³¯Â¥ ÀÐÀ½
15 ÀÏ¹Ý   Snort ¼³Ä¡ ¹× ¿î¿ë È£¼® 05-11-01 5596
87 ÀÏ¹Ý   SNMP¶õ ¹«¾ùÀΰ¡ (1) È£¼® 09-03-10 4568
101 ÀÏ¹Ý   sftp À» ½©ÇÁ·Î±×·¥À¸·Î ¸¸µå´Â¹ý È£¼® 10-08-26 2962
27 ÀÏ¹Ý   Server/Mail/qmail_install È£¼® 06-03-28 4380
12 ÀÏ¹Ý   scp ÀÇ ¼³Á¤ ¹æ¹ý db-zone È£¼® 05-07-29 5837
14 ÀÏ¹Ý   sar ÀÌ¿ëÇÏ¿© ½Ã½ºÅÛ ¸ð´ÏÅ͸µÇϱâ È£¼® 05-10-19 5921
  ÀÏ¹Ý      sar ÀÌ¿ëÇÏ¿© ½Ã½ºÅÛ ¸ð´ÏÅ͸µÇϱâ (1) È£¼® 07-10-09 5007
¡æ ÀÏ¹Ý   rsync»ç¿ë¹ý~ È£¼® 08-11-24 4539
37 ÀÏ¹Ý      rsync »ç¿ëÇϱâ 2 È£¼® 06-08-02 5489
  ÀÏ¹Ý   rsync »ç¿ëÇϱâ È£¼® 06-08-02 5557
86 ÀÏ¹Ý   rrdtool ±×·¡ÇÁ snmp ÀÌ¿ë very good È£¼® 09-03-06 4295
25 ÀÏ¹Ý   Rootkit Hunter´Â À¯´Ð½º ¹× ¸®´ª½º ±â¹ÝÀÇ ¿î¿µÃ¼Á¦¿¡ ·çƮŶÀ̳ª ¹éµµ¾îµîÀÇ ¼³Ä¡¿©¡¦ È£¼® 06-03-23 5063
57 ÀÏ¹Ý   raid ±¸ÃàÇϱâ È£¼® 07-07-03 5162
98 ÀÏ¹Ý   ping ¸í·É¾î·Î ¼­¹ö¸¦ Á¡°ËÇÑ´Ù (1) È£¼® 10-02-17 3991
73 ÀÏ¹Ý   phpMyAdmin ¼³Ä¡¹ý 2.10.1 ¹öÁ¯ (1) È£¼® 08-10-15 4373
óÀ½ÀÌÀü  [1] [2] [3] [4] [5] 6 [7] [8] [9]  ´ÙÀ½¸Ç³¡
 
Copyright © zenos.pe.kr. All rights reserved.