´ÙÀ½ ÀÌÀü Â÷·Ê

8. FreeBSD¿¡¼­ ¼³Ä¡

¿©±â¼­´Â FreeBSD¿¡¼­ majordomoÆÐÅ°Áö¸¦ ¼³Ä¡ÇÏ´Â ¹æ¹ý¿¡ ´ëÇØ ¼³¸íÇÑ´Ù.

ÀÌ ÀýÀº ÃÖÁØÈ£´Ô junker@jazz.snu.ac.kr¿¡ ÀÇÇØ ÀÛ¼ºµÇ¾ú´Ù. ¿©±âÀÇ ³»¿ëÀº ¹®¼­ Àüü¿¡¼­ ´Ù·ç´Â ¿¹Á¦ ¼³Á¤(°ü¸®ÀÚ ID³ª µð·ºÅ丮µî)°ú´Â Á¶±Ý ´Ù¸£¹Ç·Î È¥¶õÀÌ ¾ø±â¸¦ ¹Ù¶õ´Ù. ÃÖÁØÈ£´Ô²² °¨»ç¸¦ µå¸°´Ù.

8.1 Æ÷Æ® ½ºÄÌ·¯Æ° ´Ù¿î·Îµù

majordomo´Â ¼³Ä¡Çϱâ À§ÇØ ´Ù¸¥ ÇÁ·Î±×·¥À» ÇÊ¿ä·Î ÇÏÁö ¾ÊÁö¸¸, FreeBSD CDROMÀ̳ª FTP»çÀÌÆ®¿¡¼­ ÆÐÅ°Áö¸¦ ±¸ÇÒ ¼ö´Â ¾ø´Ù. ±× ÀÌÀ¯´Â majordomo¼³Ä¡ °úÁ¤¿¡¼­ ÆÐÅ°Áö·Î ÇØ°áÇÒ ¼ö ¾ø´Â ¸î¸î Áú¹®À» ¼³Ä¡ ½Ã½ºÅÛÀÌ Çϱ⠶§¹®ÀÌ´Ù. ÀÌ·± ÆÐÅ°Áö(´ëÈ­Çü(interactive)ÆÐÅ°Áö¶óÇÑ´Ù)Àº Æ÷Æ®ÀÇ Makefile¿¡ IS_INTERACTIVE=yes·Î ÁöÁ¤µÇ¾î ÀÖ´Ù(Æ÷Æ®¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ³»¿ëÀº FreeBSD ÇÚµåºÏÀÇ Æ÷Æ®¿¡ ´ëÇÑ Àå( http://www.kr.freebsd.org/handbook/ports.shtml)À» º¸±â ¹Ù¶õ´Ù.

FreeBSDÀÇ ÇÁ·Î±×·¥ Æ÷Æà ½Ã½ºÅÛÀÎ Æ÷Æ®¿¡¼­´Â mailÄ«Å×°í¸®¿¡¼­ majordomo¸¦ ãÀ» ¼ö ÀÖ´Ù. º»ÀÎÀÇ ½Ã½ºÅÛ¿¡ FreeBSD¸¦ ¼³Ä¡ÇÒ ¶§ Æ÷Æ® ÄÝ·º¼ÇÀ» ¼³Ä¡Çϵµ·Ï ÇÏ¿´°Å³ª(±×·¸Áö ¾ÊÀº »ç¶÷Àº /stand/sysinstallÀ» ½ÇÇàÇÏ°í Configure - Distribution¿É¼ÇÀ» ¼±ÅÃÇÏ¿© ports¸¦ Ãß°¡·Î ¼±ÅÃÇØ ÁÖ°í CDROMÀ̳ª FTP»çÀÌÆ®¸¦ ÁöÁ¤ÇØ ÁÖ¸é µÈ´Ù) CVS/CVSupÀ» ÅëÇØ Æ÷Æ® ¼Ò½º¸¦ ¹ÞÀº °æ¿ì¿¡´Â /usr/ports/mail/majordomoµð·ºÅ丮¿¡¼­ majordomo¸¦ ¼³Ä¡Çϱâ À§ÇÑ ½ºÄÌ·¯Æ° ÆÄÀÏÀ» ãÀ» ¼ö ÀÖ´Ù. ±×·¸Áö ¾Ê°í ÇØ´ç ÆÐÅ°ÁöÀÇ Æ÷Æ®¸¸À» ±¸Çϱâ À§Çؼ­´Â, ´ÙÀ½°ú °°ÀÌ Çϱ⠹ٶõ´Ù.

# ftp ftp.kr.freebsd.org    (¶Ç´Â ´Ù¸¥ FreeBSD¹Ì·¯ »çÀÌÆ®)
....anonymous·Î ·Î±×ÀÎÇÑ´Ù...
ftp> cd pub/FreeBSD/ports/mail
ftp> get majordomo.tar.gz
...majordomoµð·ºÅ丮¸¦ ¾ÐÃàÇؼ­ tar.gz·Î ¹­¾îÁØ´Ù...
ftp> quit

ÀÌÈÄ ¹ÞÀº majordomo.tar.gz¸¦ ¾Æ¹« µð·ºÅ丮¿¡ Ç®¸é µÈ´Ù.

# cd your/work/dir
# tar xzvf majordomo.tar.gz

8.2 ÄÄÆÄÀÏÇÏ¿© ¼³Ä¡Çϱâ

Æ÷Æ® ½Ã½ºÅÛ¿¡¼­ majordomo¸¦ ¼³Ä¡ÇÏ·Á¸é ·çÆ® ±ÇÇÑÀ¸·Î ´ÙÀ½°ú °°ÀÌ ÇÑ´Ù.

# cd /usr/ports/mail/majordomo  (¶Ç´Â majordomo¸¦ Ç®¾î³õÀº µð·ºÅ丮)
# make install clean

¸¸¾à ¿©·¯ºÐÀÌ Áö±Ý ÀÎÅͳݿ¡ ¿¬°áµÇ¾î ÀÖ´Ù¸é Æ÷Æ® ½Ã½ºÅÛÀº ÀÚµ¿ÀûÀ¸·Î majordomoÀÇ ¼Ò½º¸¦ ¹Þ¾Æ¿Â´Ù. ÇÏÁö¸¸ Áö±Ý ÀÎÅͳݿ¡ ¿¬°áµÇ¾î ÀÖÁö ¾Ê´Ù¸é, ±× µð·ºÅ丮ÀÇ Makefile¿¡ ÀÖ´Â MASTER_SITES¿¡ ÁöÁ¤µÈ FTP°æ·Î Áß ¾î´À ÇÑ °÷¿¡ Á¢¼ÓÇؼ­ majordomo-1.94.4.tgz(¶Ç´Â ÇØ´ç ¹öÀü)À» ¹Þ¾Æ /usr/ports/distfilesµð·ºÅ丮(¾ø´Ù¸é ¸¸µé±â ¹Ù¶õ´Ù)¿¡ ³Ö°í ´Ù½Ã make install clean¸¦ ½ÇÇàÇÏ¸é µÈ´Ù. ±×·¯¸é ´ÙÀ½°ú °°Àº È­¸éÀÌ Áö³ª°£´Ù.


# make install clean
...
===>  Installing for majordomo-1.94.4
Testing for perl (/usr/bin/perl)...
Configuring scripts...
./install.sh -m 751 -O 54 -g 54 . /usr/local/majordomo
./install.sh -m 755 -O 54 -g 54 . /usr/local/majordomo/bin
Copying tools to /usr/local/majordomo/bin
Copying Majordomo files to /usr/local/majordomo
Copying archiving and other tools to /usr/local/majordomo/Tools
./install.sh -m 755 -O 54 -g 54 . /usr/local/majordomo/Tools
Using majordomo.cf
Installing manual pages in /usr/local/man

To finish the installation, 'su' to root and type:

            make install-wrapper

If not installing the wrapper, type

            cd /usr/local/majordomo; ./wrapper config-test

(no 'su' necessary) to verify the installation.
./install.sh -o root -g 54  -m 4755 wrapper /usr/local/majordomo/wrapper


To verify that all the permissions and etc are correct,
run the command

             cd /usr/local/majordomo; ./wrapper config-test
===>   Generating temporary packing list
Post-Install Notes for Majordomo
================================

...(¿©·¯ºÐÀº ÀÌ ¸Þ½ÃÁö¸¦ ¹Ýµå½Ã Àо¾Æ¾ß ÇÑ´Ù)...

===>   Compressing manual pages for majordomo-1.94.4
===>   Registering installation for majordomo-1.94.4
===>  Cleaning for majordomo-1.94.4

ÀÌÁ¦ ¼³Ä¡°¡ ³¡³µ´Ù. majordomo´Â ¼³Ä¡Çϱâ À§ÇØ »ç¿ëÀÚ¿Í ±×·ì ID¸¦ ÇÊ¿ä·Î Çϴµ¥, ÃÖ±ÙÀÇ FreeBSD½Ã½ºÅÛ¿¡¼­´Â /etc/passwd¾È¿¡ uid/gid 54·Î ¼³Á¤ÀÌ µÇ¾î ÀÖ´Ù(¾ø´Ù¸é Çϳª ¸¸µé±â ¹Ù¶õ´Ù).

majordom:*:54:54:Majordomo Pseudo User:/usr/local/majordomo:/nonexistent

8.3 ¼³Ä¡ÈÄ ÁÖÀÇ»çÇ×

majordomo ÆÄÀÏÀº /usr/local/majordomo¿¡ ¼³Ä¡µÇ´Â °ÍÀ» ÁÖÀÇÇϱ⠹ٶõ´Ù. ¸ðµç ¼³Á¤ ÆÄÀÏ°ú ¹®¼­ ÆÄÀÏÀº ±× ¾È¿¡ µé¾î°£´Ù.


´ÙÀ½ ÀÌÀü Â÷·Ê