Meta Search Engine

¼Ò°³ ÇÑ±Û ÆÐÄ¡°¡ Àû¿ëµÈ "ht://Dig"¸¦ »ç¿ëÇÏ¿© ±¸ÇöµÈ Meta Search Engine ±â´É

ÀåÁ¡ ±¸¼º Å×½ºÆ® ¼³Ä¡ ¹× »ç¿ë ¹æ¹ý
  1. source ÇÁ·Î±×·¥Àº http://www.htdig.org/files/htdig-3.1.0b1.tar.gz¿¡¼­ ¹Þ¾Æ¿À°í, http://www.mizi.co.kr/packages/htdig-3.1.0b1.kr.patch.gz¿¡¼­ ÇÑ±Û ÆÐÄ¡¸¦ ¹Þ´Â´Ù.
  2. ÇÑ±Û ÆÐÄ¡°¡ µÈ ÆÐÅ°Áö´Â http://cygnus.snu.ac.kr/~terzeron/meta/htdig-3.1.0b1.tar.gz¿¡¼­ ±¸ÇÒ ¼ö ÀÖ´Ù. ÀÌ ÆÐÅ°Áö¸¦ »ç¿ëÇÏ´Â °æ¿ì, 5¹ø °úÁ¤À» »ý·«ÇÑ´Ù.
  3. gunzip -cd "htdig-3.1.0b1.tar.gz | tar xvf -
  4. cd htdig-3.1.0b1
  5. zcat ../htdig-3.1.0b1.kr.patch.gz | patch -p1
  6. vi CONFIGÇÏ¿© HTTPDIR, DOCUMENT_ROOT, CGIBIN_DIRÀ» °¢°¢ ¼³Á¤ÇÑ´Ù. HTTPDIRÀº apache°¡ ¼³Ä¡µÇ¾î ÀÖ´Â µð·ºÅ丮¸¦ ÀǹÌÇϸç, DOCUMENT_ROOT´Â±× ½Ã½ºÅÛÀÇ /index.htmlÀÌ À§Ä¡ÇÑ µð·ºÅ丮¸¦ ÀǹÌÇÑ´Ù. CGIBIN_DIRÀº htdigÀÇ cgiÇÁ·Î±×·¥ÀÎ htsearch°¡ À§Ä¡ÇÒ µð·ºÅ丮ÀÌ´Ù.
  7. configure
  8. make
  9. make install (¿©±â¼­ºÎÅÍ °ü¸®ÀÚÀÇ ±ÇÇÑÀÌ ÇÊ¿äÇÏ´Ù.)
  10. HTTPDIRÀÌ /usr/local/apacheÀÌ°í DOCUENT_ROOT°¡ $(HTTPDIR)/htdocs, CGIBIN_DIRÀº $(HTTPDIR)/cgi-binÀ¸·Î ¼³Á¤µÇ¾î ÀÖ´Ù°í °¡Á¤ÇÑ´Ù.
  11. cd /usr/local/apache/htdig/conf
  12. vi htdig.confÇÏ¿© start_url°ú maintainer¸¦ ¼³Á¤ÇÑ´Ù.
  13. cd ../bin
  14. htdig -vvv -s -i eli>htdig¿¡¼­ ³ª¿À´Â ¿¡·¯ ¸Þ½ÃÁö¿¡ ÁÖÀÇÇÑ´Ù.
  15. rundig -v
  16. ÀÌÁ¦ /usr/local/apache/htdig/db¿¡ db°¡ »ý¼ºµÇ¾úÀ¸¹Ç·Î ³ªÁß¿¡ À妽ÌÀ» »õ·Î ´Ù½Ã ÇÏ´Â °æ¿ì ÀÌ µð·ºÅ丮¿¡ ÀÖ´Â ÆÄÀϵéÀ» Áö¿ì°í htdig°ú rundigÀ» ´Ù½Ã ½ÇÇàÇÑ´Ù.
  17. m_search.cgi¿Í m_search.cf¸¦ ¹Þ¾Æ¼­ ~/public_html ÇÏÀ§µð·ºÅ丮 ¾îµò°¡¿¡ À§Ä¡½ÃŲ´Ù.
  18. vi m_search.cfÇÏ¿© port, server, domain, parents, childrenµîÀ» ¼³Á¤ÇÑ´Ù. ±× Áß¿¡¼­ domainÀº ¹Ýµå½Ã ¼³Á¤ÇØ¾ß ÇÑ´Ù. parents¿Í childrenÀº meta search ¼­ºñ½º¸¦ °èȹÇÑ ´ë·Î
configuration ÆÄÀÏ ¼³Á¤ m_search.cfÀÇ ¿¹´Â ´ÙÀ½°ú °°´Ù.
server:cygnus
domain:snu.ac.kr
port: 80
parents: atropos.snu.ac.kr
children: brahma.snu.ac.kr neptune.snu.ac.kr

°èÃþ ±¸Á¶ ¼­¹öµé °£ÀÇ °èÃþ ±¸Á¶´Â ´ÙÀ½°ú °°´Ù

brahma¿¡ °Ë»ö ¿äûÀ» ÇÏ°Ô µÇ¸é ³»ºÎ¿¡¼­ °Ë»öÀ» ½ÃµµÇÏ°í ±× ´ÙÀ½¿¡´Â ÇÏÀ§ ¼­¹ö°¡ ÀÖÀ¸¸é ±× ÂÊ¿¡ °Ë»öÀ» ¿äûÇÑ´Ù. ±×·¯³ª brahma¿¡´Â ÇÏÀ§ ¼­¹ö°¡ ¾øÀ¸¹Ç·Î »óÀ§ ¼­¹ö·Î °Ë»ö ¿äûÀ» ³Ñ±ä´Ù. brahma´Â cygnus°¡ »óÀ§ ¼­¹ö¶ó´Â °ÍÀ» ¾Ë°í ÀÖÀ¸¹Ç·Î(¼³Á¤ ÆÄÀÏ¿¡ ±â·ÏµÇ¾î ÀÖÀ½) °Ë»öÀ» ¿äûÇÏ°í, cygnus´Â ¸¶Âù°¡ÁöÀÇ ¾Ë°í¸®ÁòÀ¸·Î, ³»ºÎ¿¡¼­ °Ë»öÀ» ½ÃµµÇÏ°í ÇÏÀ§¼­¹öÀÎ brahma¿Í neptune ±×¸®°í »óÀ§ ¼­¹öÀÎ atropos¿¡ Â÷·Ê´ë·Î °Ë»öÀ» ¿äûÇÏ°Ô µÈ´Ù. ±×·¯³ª brahma´Â cygnus¿¡°Ô °Ë»öÀ» ¿äûÇÑ ¼­¹ö¶ó´Â °É ¾Ë°Ô µÇ¹Ç·Î brahma´Â °Ç³Ê ¶Ù°í °ðÀå neptune¿¡°Ô °Ë»öÀ» ¿äûÇÏ°Ô µÈ´Ù. ¼º´É Æò°¡