Linuxdoc Sgml/KLTP-KLDP
<!-- ¸®´ª½º ÇÑ±Û ÆÁ ÇÁ·ÎÁ§Æ®(KLTP)ÀÇ sgml ¼Ò½º
ÀÛ¼º/º¯È¯ ÀÓÀºÀç
eunjea@kldp.org -->
<!doctype linuxdoc system>
<article>
<title>Korean Linux Tip Project(KLTP)
<author>ÀÓ ÀºÀç
(<htmlurl
url="mailto:eunjea@kldp.org"
name="eunjea@kldp.org">) ¿Ü ´Ù¼ö
<date>¸¶Áö¸· ¼öÁ¤ÀÏ 2000³â 5¿ù 18ÀÏ
<abstract>
ÀÌ ¹®¼´Â ª°í °£´ÜÇÑ ¸®´ª½º »ç¿ë»óÀÇ À¯¿ëÇÑ Tip°ú ÈùÆ®¸¦ ¸ðÀº ¹®¼ÀÔ´Ï´Ù.
</abstract>
<toc>
<sect>¼Ò°³
<p>
º» ¹®¼´Â Korean Linux Tip Project(KLTP)¸¦ ¿î¿µÇϸé¼
¸ð¿©Áö´Â ¸®´ª½º ÆÁµéÀ» ÇϳªÀÇ ¹®¼·Î Á¤¸®ÇÑ °Í ÀÔ´Ï´Ù.
ÆÁ ÇÁ·ÎÁ§Æ®¿¡ Âü¿©ÇϰíÀÚ ÇϽô ºÐµéÀº <htmlurl url="http://kltp.kldp.org/" name="ÇÑ±Û ¸®´ª½º ÆÁ ÇÁ·ÎÁ§Æ®">·Î ¹æ¹® ÇÏ½Ã¸é µÇ°Ú½À´Ï´Ù.
<p>
¾ÕÀ¸·Î ÀÌ ¹®¼´Â ÁÖ±âÀûÀ¸·Î ¾÷µ¥ÀÌÆ®µÇ ´õ¿í ¸¹Àº ºÐµéÀÌ
º¼¼ö ÀÖµµ·Ï <htmlurl url="http://kldp.org/" name="KLDP(¸®´ª½º ÇÑ±Û ¹®¼
ÇÁ·ÎÁ§Æ®)">¿¡ µî·ÏµÉ°ÍÀÔ´Ï´Ù.
¸¹Àº ºÐµéÀÇ Âü¿© ¹Ù¶ø´Ï´Ù.
<p>
KLTP ¸ÞÀϸµ ¸®½ºÆ® : <htmlurl url="http://kldp.org/mailman/listinfo/tip/" name="http://kldp.org/mailman/listinfo/tip/">
<sect1> ÆÁ ºÐ·ù, ³»¿ë
<p>
ÆÁÀº ÇöÀç ´ÙÀ½°ú °°ÀÌ ºÐ·ùÇß½À´Ï´Ù.
<itemize>
<item> <ref id=tip1 name="ÆÄÀÏ °ü¸®">
<item> <ref id=tip2 name="ÇÁ·Î±×·¥">
<item> <ref id=tip3 name="½Ã½ºÅÛ °ü¸®">
<item> <ref id=tip4 name="¸ÞÀÏ, ´º½º">
<item> <ref id=tip5 name="»ï¹Ù">
<item> <ref id=tip6 name="³×Æ®¿öÅ©">
<item> <ref id=tip7 name="X">
<item> <ref id=tip8 name="ÇÁ¸°ÆÃ">
<item> <ref id=tip9 name="bash">
<item> <ref id=tip10 name="rpm">
<item> <ref id=tip11 name="PHP">
<item> <ref id=tip12 name="ÃÊ¹Ì´Ï ÇÏ¿ìÅõ">
</itemize>
ÆÁ³»¿ë À§¿¡´Â ÀÛ¼ºÀÚ¿Í ³¯Â¥¸¦ Ç¥±âÇÏ¿´½À´Ï´Ù.
<sect>ÆÄÀÏ °ü¸®<label id=tip1>
<p>
<sect1>ÆÄÀϽýºÅÛ ¸ðµÎ º¹»çÇϱâ
, Àå¹ü¼ö(bschang@kldp.org) - 2000.05.16<p>
<verb>
ÆÄÀÏ ½Ã½ºÅÛ Àüü³ª µð·ºÅ丮 Æ®¸® ±¸Á¶¸¦ µ¿ÀÏÇÏ°Ô º¹»çÇϱâ
À§Çؼ´Â ´ÙÀ½ÀÇ ¸í·É¾î¸¦ ¾´´Ù.
# mkdir /home/bc/destination
# cd /targetdir
# find . -depth -print | cpio -pmdvl home/bc/destination
ÀÌ·¯¸é /targetdirÀÇ ¸ðµç °ÍÀÌ /home/bc/destinationÀ¸·Î º¹»çµÈ´Ù.
</verb>
<sect1>±úÁø Ÿ (tar) ÆÄÀÏ º¹±¸ ½Ãµµ
, Àå¹ü¼ö(bschang@kldp.org) - 2000.05.16<p>
<verb>
±â²¯ ´Ù¿î ·Îµå¸¦ ¿½ÉÈ÷ ÇÑ ÈÄ¿¡ º¸¸é °¡²û Ÿ ¹¶Ä¡°¡ Á¶±Ý
±úÁ® ÀÖ´Â °æ¿ì°¡ ÀÖ´Ù. ÀÌ ¶§¿¡´Â ´ÙÀ½ÀÇ ¹æ¹ýÀ» ½á¼ º¹±¸¸¦
"½Ãµµ"ÇØ º»´Ù.
$ cat [tar-filename] | tar -xvf - Àå¼Ò
Àå¼Ò´Â ½ºÅÙ´Ùµå ¾Æ¿ôDz.
</verb>
<sect1>ƯÁ¤ »ç¿ëÀÚ ¼ÒÀ¯ÀÇ ¸ðµç ÆÄÀÏÀ» ãÀ»¶§´Â?
, °ü¸®ÀÚ - 99.10.7<p>
<verb>
ƯÁ¤ »ç¿ëÀÚ ¼ÒÀ¯ÀÇ ¸ðµç ÆÄÀÏÀ» ãÀ»¶§´Â?
find / -user "»ç¿ëÀÚ ID" -print
</verb>
<sect1>tar¿Í bzip2
, Kapsoo Jeon - 99.04.27<p>
<verb>
¿äÁò GNU tar´Â bzip2¸¦ Áö¿øÇÕ´Ï´Ù.
tar xvjf package.tar.bz2
ÀÌ·±½ÄÀ¸·Î j ¿É¼ÇÀ» »ç¿ëÇÏ¸é µË´Ï´Ù. (gzipÀº z ¿É¼Ç)
debian 2.1°ú redhat 5.2¿¡ Æ÷ÇÔµÈ tar¿¡¼ È®ÀÎ
</verb>
<sect1>Â¥Áõ³ª´Â tarball
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
°¡²û ´Ù¿î ¹ÞÀº ÆÄÀÏÀ» untarÇÏ´Ù º¸¸é ÇØ´ç µð·ºÅ丮°¡ »ý±âÁö ¾Ê°í
ÇöÀç µð·ºÅ丮¿¡ ¸ðµç ÆÄÀÏÀÌ Ç®·Á¹ö·Á Á¤½Å¾øÀ»¶§°¡ Àִµ¥...
ÀÌ·²¶§ rm 'tar ftz stupidpackage-1.0.0.tar.gz' Çϸé ÇØ´çÆÄÀϸ¸
Áö¿öÁø´Ù.
</verb>
<sect1>ÆÄÀÏ Å©±â 0·Î ¸¸µé±â
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
ÆÄÀÏÀÇ Å©±â¸¦ 0À¸·Î ¸¸µé¾î¾ß ÇÒ¶§°¡ ÀÖ´Ù.
°¡·É /var/log ¼Ó¿¡´Â °ü¸®ÇØÁÖÁö ¾ÊÀ¸¸é ³¡¾øÀÌ Ä¿Áö´Â ·Î±×ÆÄÀϵéÀÌ
µé¾îÀÖ´Ù ÀÌ·²¶§´Â
cp -f /dev/null /var/log/messages
¶Ç´Â > /var/log/messages
</verb>
<sect1>gzip´ë½Å bzip2¾²±â
, °ü¸®ÀÚ - 99.04.14<p>
gzip´ë½Å bzip2¸¦ tar¿Í °°ÀÌ ¾²°í ½ÍÀ»¶©?
´ÙÀ½°ú °°Àº ½ºÅ©¸³Æ®³ª alias¸¦ ¸¸µç´Ù.
<code>
$ cat tarx-bzip2
#!/bin/sh
tar --use-compress-program bunzip2 -xvp -f $1
$ cat tarc-bzip2
#!/bin/sh
tar --use-compress-program bzip2 -cvf $1.tar.bz2 $2
</code>
<sect1>ÆÄÀÏ ¿©·¯°³·Î ÀÚ¸£±â
, °ü¸®ÀÚ - 99.04.14<p>
<verb>
ÆÄÀÏÀ» ¿©·¯°³·Î ÀÚ¸£°í ½ÍÀ»¶§´Â?
split ¸¦ »ç¿ëÇÑ´Ù.
man split
</verb>
<sect1>ÇÏµå °ø°£ Àý¾à
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
ÇÏµå °ø°£ Àý¾àÀ» À§ÇØ ´ëºÎºÐÀÇ ÅØ½ºÆ®ÆÄÀϵéÀº(¿¹¸¦ µé¸é ÇÏ¿ìÅõ ¹®¼)
¾ÐÃàÀ» ÇØ³õ°í ÇÊ¿äÇÒ¶§´Â zless, zgrep, zdiff µîÀÇ À¯Æ¿¸®Æ¼¸¦ »ç¿ëÇϸé
µÈ´Ù.
</verb>
<sect1>ÆÄÀÏ Á¤º¸ ¾Ë¾Æ³»±â
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
¾î¶² ÆÄÀÏ¿¡ ´ëÇÑ Á¤º¸°¡ ÇÊ¿äÇÒ¶§ file filename ÇØº¸¶ó
Àç¹Õ´Â Á¤º¸µéÀ» º¸¿©ÁØ´Ù
</verb>
<sect>ÇÁ·Î±×·¥<label id=tip2>
<p>
<sect1>ÆÄÀÏÀ» Á¦¿ÜÇÏ°í µð·ºÅ丮 À̸§¸¸ º¸±â
, Àå¹ü¼ö(bschang@kldp.org) - 2000.05.16<p>
<verb>
ÇöÀç µð·ºÅ丮¿¡ ÀÖ´Â (ÆÄÀÏÀº »©°í) µð·ºÅ丮 ¸¸ º¸±â À§Çؼ´Â
ls -la | grep "^d" : ¼ûÀº µð·ºÅ丮±îÁö º¸¿© ÁÜ.
ls -l | grep "^d" : º¸Åë µð·ºÅ丮 ¸¸ º¸¿© ÁÜ.
ÀÌ °ÍµéÀ» (º»ÀÎÀÇ °æ¿ì¿¡´Â) .bashrc¿¡ ¿¡Àϸ®¾î½º·Î Àû´Â´Ù.
°æ¿ì¿¡´Â .profile¿¡ Àû¾îµµ ¹«¹æÇÏ´Ù.
alias dra 'ls -la | grep "^d"'
alias dr 'ls -l | grep "^d"'
</verb>
<sect1>ÇÁ·Î¼¼½º ³²°Ü ³õ°í Áý¿¡ °¡±â
, Àå¹ü¼ö(bschang@kldp.org) - 2000.05.16<p>
<verb>
ÀÏÀ» ÇÏ´Ù°¡ º¸¸é ·Î±× ¾Æ¿ôÇϰí Áý¿¡ °¥ ½Ã°£Àε¥
ÀÛ¾÷ ÇÁ·Î¼¼½º°¡ ³²¾Æ ÀÖ´Â °æ¿ì°¡ ÀÖ´Ù.
ÀÌ·² ¶§¿¡´Â 'nohup' ¸í·É¾î¸¦ ¾´´Ù.
% nohup tar -cf /dev/tape /home/usrdirs &
ÀÌ·¸°Ô ÇØ ³õ°í ±×³É ÈÕÇÏ´Ï ·Î±×¾Æ¿ôÇÏÁö ¸»°í,
'ps' µîÀ» µ¹·Á¼ ÇÁ·Î¼¼½º°¡ ·Î±×¾Æ¿ô ÇÑ ÈÄ¿¡µµ »ì¾Æ Àִ°¡¸¦
È®ÀÎÇØ º¸°í Áý¿¡ °£´Ù...
P.S.
ÁýÀ¸·Î °¡´Â Áß°£¿¡ ¼ú Áý¿¡¼ Áå ¾ÆÁܸ¶ÇÑÅ× "³ëÇé mv ³ª Áý¿¡"
µûÀ§ÀÇ ¸»À» ÇÒ Á¤µµ¸é ÀÌ¹Ì ¸¹ÀÌ ÃëÇÑ »óÅÂ...
±×¶§´Â ±×³É ·Î±× ¾Æ¿ôÇϰí ÁýÀ¸·Î °£´Ù.
</verb>
<sect1>grep »ç¿ëÆÁ
, °Ü¿ï¾ÆÀÌ(winchild@kldp.org) - 2000.03.02<p>
<verb>
grep 'ÆÐÅÏ' ÆÄÀϸí ÇÏ¸é ¸ÅÄ¡µÈ ¶óÀθ¸ Ãâ·ÂµÇ´Â°Í ¾Æ½ÃÁÒ? ±×·¯³ª ¹Ý´ëÀÇ °æ¿ì
Áï ¸ÅÄ¡µÇÁö ¾ÊÀº °á°ú¸¦ º¸°í ½ÍÀ»¶§´Â?
grep -v 'ÆÐÅÏ' ÆÄÀϸí
</verb>
<sect1>egrep »ç¿ëÇϱâ
, °ü¸®ÀÚ - 2000.02.04<p>
<verb>
µÎ¼¼°¡Áö ¹®ÀÚ¿À» µ¿½Ã¿¡ ã¾Æ¾ß ÇÒ¶§´Â egrepÀ» ¾²¸é ¾ÆÁÖ ÆíÇÕ´Ï´Ù.
¿¹¸¦ µé¾î
¸¸¾à ±×³É grepÀ¸·Î ¹®ÀÚ¿1,2 ¸¦ ãÀ¸·Á¸é
ps -ef | grep ¹®ÀÚ¿1; ps -ef | grep ¹®ÀÚ¿2
¿Í °°ÀÌ ÇØ¾ßÇϴ°ÍÀ» egrep¸¦ ÀÌ¿ëÇϸé
ps -ef | grep '¹®ÀÚ¿1|¹®ÀÚ¿2'
¿Í °°ÀÌ °£´ÜÇØÁý´Ï´Ù.
egrep '(pattern1|pattern2|pattern3)' file.txt
</verb>
<sect1>more,less¿¡¼ ÆíÁýÇϱâ
, °ü¸®ÀÚ - 99.11.29<p>
<verb>
more ³ª less ·Î ÆÄÀÏÀ» Àдٰ¡ ÆíÁýÇÏ°í ½ÍÀ»¶§ v ¸¦ ´©¸£¸é
¹Ù·Î vi·Î ÇØ´ç ÆÄÀÏÀ» ÆíÁýÇÒ¼ö ÀÖ´Ù.
´Ü more filename ¶Ç´Â less filename ÇØ¾ßÇÑ´Ù.
cat filename | more ·Î ÇßÀ» °æ¿ì¿¡´Â ÀÛµ¿ÇÏÁö ¾Ê´Â´Ù.
</verb>
<sect1>less »ç¿ëÆÁ
, ¹Ú Á¾´ë - 99.11.27<p>
<verb>
less »ç¿ë Áß¿¡ °è¼ÓÇØ¼ °°Àº ¹æÇâÀ» ãÀ¸·Á¸é 'n',
¹Ý´ë ¹æÇâÀ¸·Î ã¾Æ°¡·Á¸é 'N'ÀÔ´Ï´Ù. (vi¿¡¼µµ ¸¶Âù°¡ÁöÀÔ´Ï´Ù.)
ÆÄÀÏÀÇ ¸Ç óÀ½À¸·Î °¡´Â ¸í·ÉÀº 'g', ÆÄÀÏÀÇ ¸Ç µÚ·Î °¡´Â ¸í·ÉÀº 'G'ÀÔ´Ï´Ù.
(vi¿¡¼´Â 'gg' ¸í·É°ú 'G' ¸í·É. °ÅÀÇ ºñ½ÁÇÏÁÒ?)
lessÀÇ ¸í·ÉÀº vi¿Í ºñ½ÁÇÕ´Ï´Ù. ¼·Î ºñ±³Çؼ ¹è¿ì¸é µÎ ¹è·Î ÀÌÀÍÀ̰ÚÁÒ?
</verb>
<sect1>less »ç¿ëÆÁ
, ¹® ¿ø¼® - 99.05.20<p>
<verb>
less ¿¡¼ ¹®ÀÚ¿ °Ë»ö ÇÒ ¶§ ¹®¼ÀÇ ³¡ ÂÊÀ¸·Î °¡¸é¼ ã±â´Â '/¹®ÀÚ¿'
¾Õ ÂÊÀ¸·Î °¡¸é¼ ã±â´Â '?¹®ÀÚ¿'ÀÔ´Ï´Ù.
°è¼ÓÇØ¼ °°Àº ¹æÇâÀ¸·Î ãÀ¸·Á¸é 'n'¸¸ ´·¯µµ µË´Ï´Ù.
¹æÇâÀ» ¹Ù²Ù·Á¸é ¿øÇÏ´Â ¹æÇâÂÊÀÇ °Ë»öÁö½Ã '/' ¶Ç´Â '?'¿Í ¿£ÅÍ۸¦ ÀÔ·ÂÇÕ´Ï´Ù.
</verb>
<sect1>ÇÑÅÒ¿¡¼ ÇÑÀÚ ÀÔ·Â
, °ü¸®ÀÚ - 99.05.07<p>
<verb>
ÇÑÅÒ¿¡¼ ÇÑÀÚ¸¦ ÀÔ·ÂÇÏ·Á¸é?
ÀÔ·ÂÇÏ·Á´Â ÇÑÀÚ¸¦ Çѱ۷ΠÀÔ·ÂÈÄ Ctrl-F9¸¦ ´©¸£°í °í¸¥´Ù
</verb>
<sect1>¾ÈÁ×´Â ÇÁ·Î±×·¥ ó¸®
, °ü¸®ÀÚ - 99.04.22<p>
<verb>
kill pid¹øÈ£·Î ÇÁ·Î±×·¥ÀÌ Á×Áö ¾ÊÀ»¶§´Â?
kill -9 pid ÇØº»´Ù.
</verb>
<sect1>ÇÁ·Î±×·¥ ½ÇÇà ½Ã°£
, °ü¸®ÀÚ - 99.04.22<p>
<verb>
ÇÁ·Î±×·¥ÀÌ ¾ó¸¶µ¿¾È ½ÇÇàµÇ´ÂÁö Á¤È®ÇÑ ½Ã°£À» ¾Ë°í ½ÍÀ»¶©?
time -v sh -c 'make zlilo'
ÀßÀº ¸ô¶óµµ.. ÇØº¸´Ï... Àß ¾ÈµÇ³×¿ä... ±×³É time 'make zlilo'ÀÌ·¯´Ï µÇ³×¿ä..^^
</verb>
<sect1>mp3 ²÷±è Çö»ó
, °ü¸®ÀÚ - 99.04.22<p>
<verb>
nfs, cdrom mountÇÑ µð·ºÅ丮¿¡ ÀÖ´Â mp3¸¦ playÇÏ¸é ²÷±è Çö»óÀÌ »ý±ä´Ù
mount¿É¼ÇÁß rsize¸¦ º¯°æÇغ»´Ù.
mount -t iso9660 -o rsize=2048 /dev/cdrom /mnt/cdrom
</verb>
<sect1>less »ç¿ëÆÁ
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
ÅØ½ºÆ®ÆÄÀÏÀ» ÀÐÀ»¶§ less¸¦ ¾²´Âµ¥ ã±â ±â´ÉÀº ¾î¶»°Ô?
/ ¸¦ ´©¸£°í ã´Â ¹®ÀÚ¿À» ÀÔ·ÂÇÑ´Ù.
µ¿ÀÏÇÑ ¹®ÀÚ¿À» °è¼ÓÇØ¼ ãÀ»¶§´Â /¿Í ¿£Å͸¸ Ä¡¸é µÈ´Ù.(ȤÀº n , µÚ·Îã±â´Â N)
</verb>
<sect>½Ã½ºÅÛ °ü¸®<label id=tip3>
<p>
<sect1>memtest-¸Þ¸ð¸®ºÎºÐÀÇ ¿¡·¯¸¦ ¹ß°ßÇØÁÖ´Â À¯Æ¿¸®Æ¼
, ¾çÀ¯¼º(yooseong@kldp.org) - 2000.05.03<p>
¸Þ¸ð¸® ºÎºÐÀÇ ¿¡·¯ºÎºÐÀ» ¹ß°ßÇØÁÖ´Â À¯Æ¿¸®Æ¼ÀÎ
memtest´Â ¼³Ä¡°¡ °£´ÜÇÏ°í »ç¿ëÇϱⰡ ÆíÇÕ´Ï´Ù.
<htmlurl url="http://www.qcc.sk.ca/~charlesc/software/memtester/" name="http://www.qcc.sk.ca/~charlesc/software/memtester/"> ¿¡¼ ¼Ò½º¸¦ ¾ò¾î
$tar -xvzf memtester-x.xx.tar.gz ¸¦ Çϰí (x´Â ¹öÁ¯À» ÀǹÌ)
$make
¸¦ ÅëÇØ memtest¶ó´Â ½ÇÇàÆÄÀÏÀ» ¸¸µç ÈÄ ¿øÇÏ´Â ¸¸ÅÀÇ
¸Þ¸ð¸®¿Í ¹Ýº¹È½¼ö¸¦ Á¤ÇÏ¿© Å×½ºÆ® ÇÒ ¼ö ÀÖ´Ù.
<sect1>¸®´ª½º Ç¥Áؽ𣠼³Á¤Çϱâ
, °Ü¿ï¾ÆÀÌ(winchild@kldp.org) - 2000.02.07<p>
<verb>
Çѱ¹Ç¥ÁØ¿¬±¸¼Ò¿¡¼´Â ¼¼½·¿øÀڽð踦 ÀÌ¿ëÇÑ ½Ã°£ ¼ºñ½º¸¦ ÀÎÅͳݿ¡¼ Çϰí ÀÖÁö¿ä.
¸®´ª½ºÀÇ ½Ã°£À» ±× ½Ã°è¿Í µ¿Á¶½ÃŰ·Á¸é
# rdate -s time.kriss.re.kr
Àû´çÇÑ ½Ã°£´ë¿¡ cron¿¡ µî·ÏÇØ µÎ¸é µÇ°Ú½À´Ï´Ù.
</verb>
<sect1>½º¿Ò ÆÄÀÏ ¸¸µé±â
, Á¤¿ø¿µ - 2000.02.03<p>
<verb>
½º¿Ò ÆÄƼ¼ÇÀ¸·Î ½º¿Ò¿ë·®ÀÌ ¸ðÀÚ¶ó ÆÄÀÏ·Î ½º¿Ò¸¸µå´Â ¹æ¹ý
# dd if=/dev/zero of=/swap1 bs=1024 count=204800
(1024 ¹ÙÀÌÆ®ÀÇ Å©±â·Î 204800 ºí·°À» ¸¸µå´Â°ÅÁÒ Áï 200M ,
¸¸µé°í ½ÍÀº Å©±âx1024 ÇØ¼ 204800 ´ë½Å Àû¾îÁÖ¼¼¿ä.)
# mkswqp /swap1 204800 (½º¿Ò ÆÄÀÏ »ý¼º)
# sync; sync (È®½ÇÇÏ°Ô ÇϱâÀ§ÇØ)
# swapon /swap1 ( ½º¿Ò ÆÄÀÏ È°¼ºÈ )
free ¸í·ÉÀ¸·Î È®ÀÎÇØ º¸¼¼¿ä.
ÇØÁ¦ÇÒ¶§´Â swapoff /swap1 ÇÏ½Ã¸é µÇ°ÚÁÒ.
ºÎÆÃ½Ã ¸¶´Ù ½º¿Ò ÆÄÀÏÀ» Ȱ¼ºÈ ½Ãų·Á¸é /etc/rc.d/rc.local ÆÄÀÏ
³¡¿¡ swapon /swap1 À̶ó°í Ãß°¡ÇÏ¸é µË´Ï´Ù.
</verb>
<sect1>·Î±ä Àü,ÈÄ ¸Þ¼¼Áö ÆíÁýÇϱâ
, °ü¸®ÀÚ - 99.05.07<p>
<verb>
·Î±ä Àü,ÈÄ¿¡ ³ª¿À´Â ¸Þ¼¼Áö¸¦ ¹Ù²Ù°í ½ÍÀ»¶§´Â
·Î±ä Àü¿¡ ³ª¿À´Â ¸Þ¼¼Áö´Â /etc/rc.d/rc.local
·Î±ä ÈÄ¿¡ ³ª¿À´Â ¸Þ¼¼Áö´Â /etc/motd ¸¦ ÆíÁýÇÑ´Ù
</verb>
<sect1>¸Þ¸ð¸® Àý¾àÇϱâ
, from Small-Memory mini-HOWTO - 99.05.07<p>
<verb>
´ëºÎºÐÀÇ ¸®´ª½º ¹èÆ÷º»Àº ±âº»ÀûÀ¸·Î 6°³ Á¤µµÀÇ °¡»ó ÄܼÖÀÌ ÀÖ´Ù.
ÁÖ·Î X¸¦ ¾²°Å³ª °¡»ó ÄܼÖÀ» ¸¹ÀÌ ¾²Áö ¾ÊÀ» °æ¿ì /etc/inittab ÆÄÀϾȿ¡
´ÙÀ½°ú °°Àº ¶óÀÎÀ» ÁÖ¼®Ã³¸® ÇÏ¿© ¸Þ¸ð¸®¸¦ Àý¾àÇÒ¼ö ÀÖ´Ù.
# Run gettys in standard runlevels
1:12345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
#3:2345:respawn:/sbin/mingetty tty3
#4:2345:respawn:/sbin/mingetty tty4
#5:2345:respawn:/sbin/mingetty tty5
#6:2345:respawn:/sbin/mingetty tty6
</verb>
<sect1>ÀÏ¹Ý À¯Àú ¸¶¿îÆ® Çã¿ëÇϱâ
, °ü¸®ÀÚ - 99.05.04<p>
<verb>
ÀÏ¹Ý À¯Àú¿¡°Ô mount,unmount¸¦ Çã¿ëÇÏ·Á¸é?
/etc/fstab À» ¼öÁ¤ÇÑ´Ù.
/dev/cdrom /mnt/cdrom iso9660 noauto,ro,user
À§¿Í °°ÀÌ user¶ó´Â ¿É¼ÇÀ» Ãß°¡ÇÏ¸é µÈ´Ù.
</verb>
<sect1>kernel ¹öÁ¯ È®ÀÎ
, °ü¸®ÀÚ - 99.04.22<p>
<verb>
ÇöÀç »ç¿ëÁßÀÎ Kernel ¹öÀü È®ÀÎÀº?
uname -a
</verb>
<sect1>syslogd »ç¿ë
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
¿©·¯´ëÀÇ ÄÄÇ»ÅͰ¡ ¿¬°áµÇ¾î ÀÖ´Â ³×Æ®¿öÅ© °ü¸®ÀÚ¶ó¸é
syslogd -r ¿É¼ÇÀ» »ç¿ëÇÏ¿© ¿©·¯´ë¸¦ µ¿½Ã¿¡ °¨½ÃÇÒ¼ö ÀÖÀ»°ÍÀÌ´Ù
</verb>
<sect1>·ÎµåµÈ ¸ðµâ È®ÀÎ
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
lsmod ·Î ·ÎµåµÈ ¸ðµâÀ» È®ÀÎÇØº¼¼ö ÀÖ´Ù
</verb>
<sect1>rootÀÇ Åڳݷαä Çã¿ë
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
rootÀÇ telnet loginÀ» Çã¿ëÇÏ·Á¸é?
/etc/securetty ¸¦ ÆíÁýÇÑ´Ù. man securetty
ÇÏÁö¸¸ ³ÝÆ®¿÷»óÀÇ ÄÄÇ»ÅͶó¸é ¾î¶°ÇÑ °æ¿ì¿¡¶óµµ rootÀÇ ÅÚ³ÝÇã¿ëÀº À§ÇèÇÕ´Ï´Ù.
su - ÇÏ½Ã´Â°Ô ÁÁ°Ú½À´Ï´Ù.
</verb>
<sect1>ƯÁ¤ »ç¿ëÀÚ, ±×·ì¿¡°Ô root±ÇÇÑ ¸í·ÉÁÖ±â
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
ƯÁ¤ÇÑ »ç¿ëÀÚ, ±×·ì¿¡°Ô root±ÇÇÑÀ¸·Î ¸í·ÉÀ» ¼öÇàÇϵµ·Ï ÇÏ°í ½ÍÀ»¶©?
sudo ¸¦ »ç¿ëÇÑ´Ù. http://www.courtesan.com/sudo/
</verb>
<sect1>ÇöÀç ½Ã½ºÅÛÀÇ ¸Þ¸ð¸®¿Í ½º¿Ò »óŸ¦ ¾Ë¾Æº¸·Á¸é?
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
ÇöÀç ½Ã½ºÅÛÀÇ ¸Þ¸ð¸®¿Í ½º¿Ò »óŸ¦ ¾Ë¾Æº¸·Á¸é?
free
</verb>
<sect1>¸ð´ÏÅͰ¡ ¾ø´Â ½Ã½ºÅÛÀÇ halt»óȲÀº ¾î¶»°Ô ¾Ë°ÍÀΰ¡?
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
¸ð´ÏÅͰ¡ ¾ø´Â ½Ã½ºÅÛÀÇ halt»óȲÀº ¾î¶»°Ô ¾Ë°ÍÀΰ¡?
/etc/rc.d/init.d/halt¸¦(redhatÀ϶§) editÇØ¼ system halted¶ó´Â
¸Þ¼¼Áö ¸¶Áö¸·¿¡ ctrl-g¸¦ ³Ö¾îÁØ´Ù.
</verb>
<sect1>idle»óÅ¿¡¼ hardpower down½Ã۱â
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
idle»óÅ¿¡¼ hardpower down½Ã۱â...
hdparm -S 60 /dev/hda (5ºÐÀÌ»ó idleÀ϶§ ÆÄ¿ö´Ù¿î)
</verb>
<sect1>su root ? ¾Æ´Ï¸é su - ?
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
root ·Î telnet·Î±ä Çϴ°ÍÀº À§ÇèÇÏ´Ù ±×·¯¸é ¾Ë¸®¾Æ½º³ª
ls colorµîÀÇ ¼³Á¤ÀÌ ¾ÈµÇ¾î ºÒÆíÇѵ¥...
su - ·Î ÇÑ´Ù.
±×·¯¸é /etc/profileÀ» ÀоîµéÀδÙ.
</verb>
<sect1>nologin ¾È³»¹®
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
system °ø»çÁßÀ϶§ root¿Ü¿¡ ´Ù¸¥ »ç¿ëÀÚ´Â ·Î±äÇÏÁö ¸øÇÏ°Ô ÇÑ´Ù
/etc/nologin À̶ó´Â ÆÄÀÏÀ» ¸¸µé°í °ø»çÁßÀ̶ó´Â ¾È³»¹®À» ³ÖÀ¸¸é µÈ´Ù
</verb>
<sect1>ctrl-alt-delÀ» shutdownÀ¸·Î
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
È¥ÀÚ¸¸ »ç¿ëÇÏ´Â ¹Ú½º¿¡¼ °¡²ûÀº su·Î shutdown½ÃŰ´Â °ÍÀÌ ±ÍÂúÀ»¶§µµ
ÀÖ´Ù. ´õ °£´ÜÇÑ ¹æ¹ýÀÌ ¾øÀ»±î?
/etc/inittab À» ´ÙÀ½°ú °°ÀÌ
# Trap CTRL-ALT-DELETE
#ca::ctrlaltdel:/sbin/shutdown -t3 -r now
ca::ctrlaltdel:/sbin/shutdown -h now
¿ø·¡ rebootÇÏ°Ô µÇÀÖÁö¸¸ haltµÇ°Ô ¹Ù²å´Ù rebootÇÒ¶§´Â halt¸Þ¼¼ÁöÈÄ
Çѹø ´õ ´©¸£¸é µÈ´Ù. ´õ ÁÁÀº ¹æ¹ýÀº ¾øÀ»±î¿ä?
</verb>
<sect>¸ÞÀÏ, ´º½º<label id=tip4>
<p>
<sect1>¸ÞÀÏ °°ÀÌ ¹Þ¾Æº¸±â
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
silver°èÁ¤À¸·Î ¿À´Â ¸ÞÀÏÁß¿¡ ´ÙÀ½ÁÖ¼Ò·Î ºÎÅÍ ¿À´Â ÆíÁö´Â sujinÀ¸·Î
º¸³½´Ù.
¹°·Ð silverµµ ¹Þ°í...
silver homeµð·ºÅ丮¿¡ ´ÙÀ½°ú °°Àº rcÆÄÀÏÀ» ¸¸µç´Ù.
[ gate@silver ]cat .procmailrc
:0 c
* ^From: newsmail@ns.khan.co.kr
! sujin
</verb>
<sect1>pine¿¡¼ From: ¹Ù²Ù±â
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
pine¿¡¼ ÀÛ¼ºÇÑ ¸ÞÀÏÀÇ From: ¶óÀÎÀ» ³»¸¶À½´ë·Î ¹Ù²Ù°í ½ÍÀ»¶§´Â?
.pinercÆÄÀÏ¿¡ Á÷Á¢ ´ÙÀ½°ú °°Àº ¶óÀÎÀ» Ãß°¡ÇÑ´Ù.
feature-list=enable-8bit-esmtp-negotiation,
enable-8bit-nntp-posting,
pass-control-characters-as-is,
allow-changing-from -- ¿ä°Å
</verb>
<sect1>slrn¿¡¼ From: ¶óÀÎ ¹Ù²Ù±â
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
slrn¿¡¼ Æ÷½ºÆÃÇÒ¶§ From: ¶óÀÎÀ» ¹Ù²Ù°í ½ÍÀ»¶§´Â?
.slrnrc ÆÄÀÏÀ» ´ÙÀ½°ú °°ÀÌ
hostname "linux.org"
set username "silver"
set realname "Im Eunjea"
set replyto "silver@linux.org"
</verb>
<sect>»ï¹Ù<label id=tip5>
<p>
<sect1>Komba
, Ȳ¼öÇö - 2000.05.01<p>
<verb>
samba»ç¿ëÀ» ÆíÇÏ°Ô ÇÏ´Â ÅøÀÔ´Ï´Ù.
À©°ú °øÀ¯½Ã »ó´çÈ÷ ÆíÇϳ׿ä.
ÀÌ¿ô ÄÄ À̸§°ú °øÀ¯ µð·ºÅ丮µµ º¸¿©ÁÖ°í
¸¶¿îÆ®µµ ¹öưÀ¸·Î µÇ´Â ±º¿ä.
Àúó·³ °ÔÀ¸¸¥ »ç¶÷¿¡°Ô´Â »ó´çÈ÷ ÆíÇØ¿ä.
°øÀ¯·Î chart¸¦ ³ª´©´Âµ¥ ´Ùµé MS¶ó¼
ºÒÆíÇѵ¥ ¿ä³à¼®ÀÌ µµ¿ÍÁÖ´Â ±º¿ä.
</verb>
<sect1>»ï¹Ù ÇÑ±Û »ç¿ë
, °ü¸®ÀÚ - 2000.01.10<p>
<verb>
»ï¹Ù ¼¹ö»óÀÇ °øÀ¯ Æú´õ¿¡ ÇÑ±Û Æú´õ, ÆÄÀÏ À̸§À» »ç¿ëÇÏ·Á¸é?
smb.conf ¼³Á¤ÆÄÀÏ¿¡ ´ÙÀ½ ¿É¼ÇÀ» ³Ö´Â´Ù.
mangle case = no
preserve case = yes
short preserve case = yes
</verb>
<sect1>smbmount
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
smb 2.0.0 ÀÌÈĺÎÅÍ´Â ´ÙÀ½°ú °°ÀÌ ¿É¼ÇÀ» ÁÖ°í ÄÄÆÄÀÏÇØ¾ß
smbmount¸¦ »ç¿ëÇÒ¼ö ÀÖ´Ù,
./configure --with-smbmount
smbmount µîÀÇ ¹ÙÀ̳ʸ®°¡ »ý±ä´Ù
</verb>
<sect>³×Æ®¿öÅ©<label id=tip6>
<p>
<sect1>³» ½Ã½ºÅÛÀÌ ´Ù¸¥°÷¿¡¼ÀÇ ping¿¡ ÀÀ´äÇÏÁö ¾Ê°Ô ÇÏ·Á¸é?
, °ü¸®ÀÚ - 99.05.07<p>
<verb>
³» ½Ã½ºÅÛÀÌ ´Ù¸¥°÷¿¡¼ÀÇ ping¿¡ ÀÀ´äÇÏÁö ¾Ê°Ô ÇÏ·Á¸é?
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
´Ù½Ã ÀÀ´äÇÏ°Ô ÇÒ¶§´Â
echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all
</verb>
<sect1>¸ðµ© Æ©´×
, °ü¸®ÀÚ - 99.05.06<p>
<verb>
¸®´ª½º¿¡¼ ¸ðµ©ÀÌ ´À¸®´Ù±¸¿ä? ´ÙÀ½°ú °°ÀÌ Çѹø ÇØº¸¼¼¿ä.
setserial -a -v /dev/ttyS1 spd_vhi
¹°·Ð µð¹ÙÀ̽º¸íÀº º»Àο¡ ¸Â°Ô...
</verb>
<sect1>BIND ¹öÁ¯ È®Àιý
, ±è ½Â¿µ - 99.04.29<p>
<verb>
BIND ¹öÁ¯ È®Àιý
dig @³×ÀÓ¼¹ö¸í txt chaos version.bind. | grep VERSION
¿¹: dig @ns.nobreak.com txt chaos version.bind. | grep VERSION
</verb>
<sect>X<label id=tip7>
<p>
<sect1>±×³ð ÆÐ³Î¿¡¼ ¾ÆÀÌÄÜ À̵¿Çϱâ
, Ư±×ºñ(ganadist@dacome.co.kr) - 2000.05.03<p>
<verb>
¾ÆÀÌÄÜÀ» À̵¿ÇÏ·Á¸é 3¹øÂ° ¹öư(¿¡¹°·¹ÀÌ¼Ç ¸ðµå¿¡¼± ¾çÂʹöư ¸ðµÎ)¸¦
µå·¡±× ÇÏ¸é ÆÐ³Î»óÀÇ ¾ÆÀÌÄÜÀ̳ª ¾ÖÇø´ÀÌ À̵¿ÀÌ µË´Ï´Ù.
</verb>
<sect1>¸®´ª½º¿¡¼ À©µµ¿ìŰ »ç¿ëÇϱâ
, °ü¸®ÀÚ - 99.11.04<p>
<verb>
½ºÆäÀ̽º¹Ù¿·¿¡ ºÙ¾î ÀÖ´Â ¸®´ª½º¿¡¼´Â °ÅÃßÀ彺·´±â ¸¸ÇÑ À©µµ¿ì, ¸Þ´ºÅ°µîÀ»
X »ó¿¡¼ Ȱ¿ëÇÏ·Á¸é ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä?
ÀÏ´Ü XF86Config ÆÄÀÏ¿¡ Űº¸µå Ç׸ñÁß XkbModelÀ» microsoft·Î ¼³Á¤ÇØÁÝ´Ï´Ù.
Section "Keyboard"
Protocol "Standard"
XkbModel "microsoft"
EndSection
ÀúÀÇ °æ¿ì À©µµ¿ì ¸Å´ÏÀú¸¦ afterstepÀ» ¾²¹Ç·Î, ÇØ´ç feels ÆÄÀÏ¿¡ ´ÙÀ½°ú °°Àº
Ç׸ñÀ» ³Ö¾îÁÖ¾ú½À´Ï´Ù.
# Window keys
Key Menu A A Popup "Start"
Key Meta_L A A WarpFore
Key Meta_R A A WarpBack
¸Þ´ºÅ°´Â ¸Þ´º°¡ ¶ßµµ·Ï, À©µµ¿ìŰ´Â À©µµ±×»ó¿¡¼ ALT-TAB°ú ºñ½ÁÇÑ ¿ªÇÒÀ» Çϵµ·Ï
¼³Á¤ÇÏ¿´½À´Ï´Ù. °¢ÀÚ ÃëÇâ¿¡ ¸Â°Ô ¼³Á¤ÇÏ½Ã¸é µÇ°ÚÁÒ?
</verb>
<sect1>X ¹è°æÈ¸é ÀÏÁ¤ ½Ã°£¸¶´Ù ¹Ù²Ù±â
, °ü¸®ÀÚ - 99.05.04<p>
<verb>
X ¹è°æÈ¸éÀ» ÀÏÁ¤ ½Ã°£¸¶´Ù ·£´ýÇÏ°Ô ¹Ù²Ù°í ½ÍÀºµ¥?
´ÙÀ½À» cron¿¡ µî·ÏÇÑ´Ù
xv -root -quit -random /home/silver/wallpaper/*
¹è°æ ȸéÀÌ ÀÖ´Â path´Â º»Àο¡ ¸Â°Ô...
</verb>
<sect1>xdm¿¡¼ ȯ°æÆÄÀÏ
, °Á¤Èñ - 99.04.20<p>
<verb>
startx·Î Àß ½á¿À´Ù°¡ xdmÀ¸·Î ¹Ù²Ù°í
ÇÑÅÒ µî¿¡¼ Ű¸Ê µîÀÌ »ç¶óÁ® ´çȲÇÒ ¼ö ÀÖ´Ù.
±×·² ¶© ÀÌ·¸°Ô ÇØº¸ÀÚ.
/etc/X11/xdm/Xsession ÆÄÀÏÀ» ¿¡µðÅÍ·Î ¿¬´Ù.
exec Xclients·Î µÇ¾î ÀÖ´Â ºÎºÐÀ» exec xinitrc·Î ¹Ù²Û´Ù.
ÀÌÁ¦ ¼³Á¤ÀÌ Àû¿ëµÈ °ÍÀ» º¼ ¼ö ÀÖÀ» °ÍÀÌ´Ù.
</verb>
<sect1>X screenshotÀº ¾î¶»°Ô?
, °ü¸®ÀÚ - 99.04.20<p>
<verb>
X screenshotÀº ¾î¶»°Ô?
import -window root root.jpeg
</verb>
<sect1>À©µµ ¸Å´ÏÀú °ñ¶ó ¾²±â
, °ü¸®ÀÚ - 99.04.20<p>
<verb>
¸¸¾à ¿©·¯°³ÀÇ À©µµ¸Å´ÏÀú¸¦ ¾´´Ù¸é .xinitrc¿¡ ´ÙÀ½°ú °°Àº ¹®ÀåÀ¸·Î
¿øÇÏ´Â ¸Å´ÏÀú¸¦ °ñ¶ó ¾µ¼ö ÀÖ´Ù.
xmessage -center -buttons 'fvwm2':1,'fvwm':2 'AfterStep':3 "Choose window manager"
ANS=$?
if [ $ANS -eq 1 ]; then
exec fvwm2
fi
if [ $ANS -eq 2 ]; then
exec fvwm
fi
if [ $ANS -eq 3 ]; then
exec afterstep
fi
</verb>
<sect1>¸¶¿ì½º Æ÷ÀÎÅÍ ¼Óµµ Á¶Àý
, ±è Á¾¿¬ - 99.04.13<p>
<verb>
¸¶¿ì½º Æ÷ÀÎÅ͸¦ »¡¸® ¿òÁ÷ÀÌ°Ô ÇÏ·Á¸é?
/etc/X11/XF86Config¿¡ ´ÙÀ½À» Ãß°¡ÇÑ´Ù.
Section "Pointer"
...
Resolution 200
EndSection
*·ÎÁöÅØ ÆÛ½ºÆ® ¸¶¿ì½º, PS/2 ¿¡¼¸¸ Å×½ºÆ® ÇØºÃÀ½.
</verb>
<sect1>MC(Midnight Commander)¿¡¼ ±â´ÉŰ
, °ü¸®ÀÚ - 99.04.20<p>
<verb>
MC(Midnight Commander)¿¡¼ ÀߵǴø home,end,page up,down ۵îÀÌ
X»ó¿¡¼´Â ¾ÈµÇ´Âµ¥?
option menu¿¡ learn key¸¦ »ç¿ëÇÑ´Ù.
</verb>
<sect>ÇÁ¸°ÆÃ<label id=tip8>
<p>
<sect1>¸Ç ÆäÀÌÁö ÇÁ¸°Æ®Çϱâ
, ¹Úõ±¸(mix1009@mail.hananet.net) - 2000.05.17<p>
<verb>
PostScript Áö¿ø ÇÁ¸°Åͳª GhostscriptÀ» ¼³Ä¡Çß´Ù¸é,
man -t lilo > lilo.ps
¸¦ »ç¿ëÇÏ¸é ´õ ÁÁÀº Ãâ·Â °á°ú°¡ ³ª¿È.
a2ps, enscript, psutils µîÀÇ À¯Æ¿¸®Æ¼·Î Àå´ç
¿©·¯ ÆäÀÌÁö ÀμⰡ´É.
</verb>
<sect1>troff,groff·Î ¹®¼ Æ÷¸Ë
, ÀÌ ¹ü¼® - 99.07.11<p>
<verb>
troff ¶Ç´Â groff·Î Æ÷¸ËÆÃµÈ ±ú²ýÇÑ ¹®¼¸¦ ÇÁ¸°ÆÃ ÇÒ ¼ö ÀÖ½À´Ï´Ù.
</verb>
<sect1>manÆäÀÌÁö ÇÁ¸°ÆÃ1
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
man ÆäÀÌÁö¸¦ ÇÁ¸°ÆÃÇÒ¶§´Â?
man ¸í·É¾î | lpr
</verb>
<sect1>manÆäÀÌÁö ÇÁ¸°ÆÃ2
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
man - vi | col -b > filename.txt
ÀÌ·¸°Ô ÇÏ½Ã¸é ¾µµ¥¾ø´Â Á¦¾î¹®ÀÚµéÀÌ ½Ï ºüÁö¹Ç·Î
ÆíÁý, ÀμâÇÏ±â ÆíÇØÁý´Ï´Ù.
</verb>
<sect>bash<label id=tip9>
<p>
<sect1>tcsh¿¡¼ vi ¿¡µðÆÃ ¸ðµå »ç¿ëÇϱâ
, ±è°¼®(kskim@rtbase.com) - 2000.03.29<p>
<verb>
vi mode´Â
bindkey -v
emacs mode´Â
bindkey -e
</verb>
<sect1>bash¿¡¼ vi ¿¡µðÆÃ ¸ðµå »ç¿ëÇϱâ
, ±èÀç¼®(typist@hitel.net) - 2000.03.28<p>
<verb>
bash¿¡¼ ±âº» ¿¡µðÆÃ¸ðµå´Â emacsÀÔ´Ï´Ù. Áï, ¸í·É¾î ÀԷ½à emacsÀÇ
ÆíÁý۵éÀÌ »ç¿ëµÈ´Ù´Â ¶æÀÔ´Ï´Ù. ±×·±µ¥, ¸®´ª½º¸¦ Á¦¿ÜÇÑ ´Ù¸¥
Unix °è¿µéÀº ´ëºÎºÐ vi ¿¡µðÆÃ¸ðµå¸¦ »ç¿ëÇÕ´Ï´Ù.
±×·±µ¥, Àú´Â ¸®´ª½º°¡ ¾Æ´Ñ Unix¸¦ ¸¹ÀÌ »ç¿ëÇØ¼ ÀÎÁö vi ¿¡µðÆÃ
¸ðµå°¡ ÈξÀ ÆíÇÏ°Ô ´À²¸Á®¼ bash¿¡¼ vi ¸ðµå¸¦ »ç¿ëÇϰí
ÀÖ½À´Ï´Ù.
vi ¸ðµå¸¦ »ç¿ëÇϱâ À§Çؼ´Â bashÀÇ ÀԷ¹æ¹ý ¼³Á¤À» ¼öÁ¤Çؾß
Çϴµ¥, ±× ¼³Á¤Àº ȯ°æº¯¼ö INPUTRC, /etc/inputrc, $HOME/.inputrc
µî¿¡ ÀÇÇØ¼ °áÁ¤µË´Ï´Ù.
º¸Åë ·¹µåÇÞ°è¿Àº ÀüüÀÔ·Âȯ°æÀ¸·Î /etc/inputrc¸¦ »ç¿ëÀÚº° ȯ°æ
À¸·Î $HOME/.inputrc¸¦ »ç¿ëÇϸç, ¿øÇÏ´Â ÈÀÏ¿¡
set editing-mode vi
set keymap vi
¸¦ »ðÀÔÇÏ¸é ´ÙÀ½ ·Î±×ÀκÎÅÍ´Â vi ¿¡µðÆÃ¸ðµå·Î ¹Ù²ò´Ï´Ù.
</verb>
<sect1>bash ÆÁ
, ÀÌ ¹ü¼® - 99.07.11<p>
<verb>
(kill-line) ctrl-k¸¦ ´©¸£¸é ÇöÀç Ä¿¼À§Ä¡¿¡¼ ³¡±îÁö Áö¿öÁý´Ï´Ù.
(reverse-search-history) ctrl-rÀ» ´©¸£°í ÀÌÀü¿¡ ½è´ø ¸í·É¾îÀÇ
ÀϺθ¦ ÀÔ·ÂÇϸé È÷½ºÅ丮¿¡¼ ±× ¹®ÀåÀ» Æ÷ÇÔÇÏ´Â ¸í·É¾î°¡ ã¾ÆÁý´Ï´Ù.
ã¾ÆÁø ¸í·ÉÀÌ ¿øÇÏ´Â °ÍÀÌ ¾Æ´Ò°æ¿ì ´Ù½Ã ctrl-rÀ» ´·¯
°Ë»öÀ» ¹Ýº¹ÇÒ ¼ö ÀÖ½À´Ï´Ù.
</verb>
<sect1>bash ÆÁ ¸î°¡Áö
, °ü¸®ÀÚ - 99.04.22<p>
<verb>
ctrl-LÀ» ´·¯º¸¼¼¿ä, clear¸í·É¾î¿Í °°Àº È¿°ú°¡ ÀÖ½À´Ï´Ù.
bash shell¿¡¼´Â cd ¸í·É¾î¿¡ * Áï ¿ÍÀϵåÄ«µå¸¦ »ç¿ëÇÒ¼ö ÀÖ´Ù.
cd blah*
ctrl-t¸¦ ´©¸£¸é µÎ°³¹®ÀÚ°¡ ¼·Î µÚ¹Ù²ï´Ù.
ctrl-u, ctrl-w¸¦ ´©¸£¸é ÇöÀç Ä¿¼ÀÇ ¿ÞÂÊ¿¡ ÀÖ´Â ¹®Àڵ鸸 »èÁ¦µÈ´Ù.
¹Ù·Î Àü¿¡ À§Ä¡Çϰí ÀÖ´ø µð·ºÅ丮·Î À̵¿ÇÒ¶§´Â?
cd -
Bash´Â tab-completion(tab ÀÚµ¿ ä¿öÁÖ±â?)¸¦ Áö¿øÇÑ´Ù.
¿¹¸¦ µé¾î blahblah¶ó´Â ¸í·É¾î°¡ ÀÖÀ»¶§ bla±îÁö¸¸ ÀÔ·ÂÇϰí
tabÀ» Ä¡¸é ³ª¸ÓÁö´Â ¾Ë¾Æ¼ ä¿öÁØ´Ù. ¹°·Ð µð·ºÅ丮¸íµµ...
</verb>
<sect> rpm<label id=tip10>
<p>
<sect1>SRPM ÄÄÆÄÀÏÇϱâ
, ÀÓÀºÀç - 2000.03.14<p>
<verb>
rpmÀº RPM ÆÐŰÁö¸¦ ¸¸µå´Â ¼Ò½ºÆÐŰÁö ÀÔ´Ï´Ù.
ÄÄÆÄÀÏ ¹æ¹ýÀº rpm --rebuild blah.srpm ÇÏ¸é ½±°Ô µË´Ï´Ù.
¼º°øÀûÀ¸·Î ÄÄÆÄÀÏÀÌ ³¡³ª¸é ¸¸µé¾îÁø rpm ÆÐŰÁö´Â redhat°è¿À̶ó¸é
/usr/src/redhat/RPMS ¾È¿¡ ³õ¿©Áö°Ô µË´Ï´Ù.
</verb>
<sect1>rpm ÆÐŰÁö¿Í ÆÄÀÏ ¿ë·®
, from usenet - 2000.01.28<p>
´ÙÀ½Àº ÆÐŰÁöÀÇ Å©±â¸¸ ȸ鿡 º¸¿©ÁÖ´Â ¾ÆÁÖ °£´ÜÇÑ ½ºÅ©¸³Æ®ÀÔ´Ï´Ù.
<tscreen><code>
$ cat rpmsize
#!/bin/sh
for i
do
/bin/rpm -qi $i |
/bin/awk '/^Size *: / { printf "%8d %s\n", $3, "'"$i"'" }'
done
</code></tscreen>
<verb>
À̸¦ rpm -qa¿Í °áÇÕÇϸé ÀÚ½ÅÀÇ ½Ã½ºÅÛ¿¡ ¼³Ä¡µÈ ¸ðµç ÆÐŰÁöÀÇ Å©±â¸¦
Àß Á¤¸®µÈ ÇüÅ·Π»Ì¾Æº¼ ¼ö ÀÖ½À´Ï´Ù.
$ rpm -qa | xargs rpmsize | sort -rn | less
ÀÌ ¿¹´Â µð½ºÅ©°¡ ¸ðÀÚ¶ö ¶§ À¯¿ëÇÕ´Ï´Ù.
µ¢Ä¡°¡ Å« °Í Áß¿¡¼ Àß ¾²Áö ¾Ê´Â °ÍÀ» °ñ¶ó¼ »èÁ¦ÇÒ ¼ö ÀÖÀ¸´Ï±î¿ä.
</verb>
<sect1>rpm ÆÐŰÁö¿¡¼ ¿øÇÏ´Â ÆÄÀϸ¸ Ç®¾î³»±â
, from usenet - 99.10.8<p>
<verb>
rpm ÆÐŰÁö¸¦ ¼³Ä¡ÇÏÁö ¾Ê°í ±×³É Ç®°Å³ª, ƯÁ¤ ÆÄÀϸ¸ °ñ¶ó³»°í ½ÍÀ»¶§´Â?
rpm2cpio filename.rpm | cpio -i --make-directories -E filename
</verb>
<sect1>rpm ¸®½ºÆ® ¸¸µé¾î ³õ±â
, °ü¸®ÀÚ - 99.04.15<p>
<verb>
°¡²û ³»°¡ °¡Áö°í ÀÖ´Â redhat ¹èÆ÷º» CD¿¡ ¾î¶² ÆÐŰÁö°¡ ÀÖ´ÂÁö
±× rpm¾È¿¡ ¾î¶² ÆÄÀϵéÀÌ µé¾ú´ÂÁö ã¾ÆºÁ¾ß ÇÒ¶§°¡ ÀÖ´Ù
±×·²¶§¸¦ À§ÇØ ´ÙÀ½°ú °°Àº ÆÄÀÏÀ» Çϳª ¸¸µé¾î ³õ°í
grep °°Àº°Í À¸·Î ½±°Ô ã¾Æº¼¼ö ÀÖ´Ù
rpm -qpil /mnt/cdrom/RedHat/RPMS/*rpm > rpm_db.txt
</verb>
<sect1>ÆÛ¹Ì¼Ç º¹±¸
, °ü¸®ÀÚ - 99.10.7<p>
<verb>
·¹µåÇÞµî°ú °°ÀÌ rpmÀ¸·Î ¼³Ä¡Çß´ø ½Ã½ºÅÛÀÇ ÆÄÀϵéÀÇ ±×·ì°ú ¿À³ÊµîÀÇ
ÆÛ¹Ì¼ÇÀÌ ¿øÇÏÁö ¾Ê°Ô º¯°æµÇ¾ú´Âµ¥..., ¾î¶»°Ô ÇÏ¸é ¿ø·¡´ë·Î º¹±¸ÇÒ¼ö ÀÖÀ»±î?
rpm --setperms -a
</verb>
<sect> PHP <label id=tip11>
<p>
<sect1>PHP Zend¿¡¼ Çѱ۱úÁö´Â ¹®Á¦
, Á¤¿ø¿µ(suni00@kernel.pe.kr) - 2000.04.14
<p>
±âº»ÀûÀ¸·Î default_charsetÀÌ iso-8859-1·Î ¼³Á¤µÇ¾îÀÖ½À´Ï´Ù.
<verb>
html¹®¼ <head> ºÎºÐ¿¡
<mata http-equiv="Content-Type" content="text/html; charset=EUC-KR">
ÀÌ·¸°Ô ÇØÁ൵ µÇ°ÚÁö¸¸ À̰͸¶Àú ±ÍÂú´Ù¸é
php.ini ÆÄÀÏ¿¡¼
default_charset = "iso-8859-1" À̺κÐÀ» ã¾Æ ÁÖ¼®À» Ç®°í
default_charset = "euc_kr" ÀÌ·¸°Ô ÇÏ½Ã¸é µË´Ï´Ù.
</verb>
<sect1>php 3.0.16¿¡¼ ¹®ÀÚ¼ÂÀ» EUC-KR·Î °íÁ¤Çϱâ
, ±Ç¼ø¼±(kss@kldp.org) - 2000.04.25
<p>
ÀÌ»óÇϰԵµ php 3.0.16¿¡¼ ¹®ÀÚ¼ÂÀ» ÁöÁ¤ÇÏ´Â ¿É¼ÇÀÌ
php3.ini¿¡ ÀÖÀ½¿¡µµ ºÒ±¸ÇÏ°í ¿©±â¼ ¹®ÀÚ¼ÂÀ» euc-kr·Î
ÁöÁ¤ÇØ ÁÖ¸é IE¿¡¼ php°¡ µé¾î°£ ÆäÀÌÁö¸¦ Á¦´ë·Î
ÀоÁö¸¦ ¸øÇÏ´õ±º¿ä.
<p>
<? phpinfo() ?> ·Î È®ÀÎÇØ º¸¾Æµµ ¹®ÀÚ¼ÂÀÌ Á¦´ë·Î µé¾î°¡ Àִµ¥
¸»ÀÔ´Ï´Ù. ³Ý½ºÄÉÀÌÇÁ´Â ¹®Á¦°¡ ¾ø´õ±º¿ä.
<p>
±×·¡¼ ¾Æ¿¹ php3.ini¿¡¼´Â ¹®Àڼ ÂÊ ¿É¼ÇÀ» °Çµå¸®Áöµµ ¾Ê°í
php¿¡¼ ¹®ÀÚ¼ÂÀ» euc-kr·Î ¹Ú¾Æ¹ö¸®´Â ¹æ¹ýÀ» ½è½À´Ï´Ù.
php 3.0.16ÀÇ mod_php3.c ¸¦ º¸½Ã¸é 228¹øÂ° ÁÙ Á¤µµ¸¦
<code>
r->content_type = "text/html;charset=euc-kr";
</code>
ÀÌ·¸°Ô °íÃÄÁÖ°í ÄÄÆÄÀÏÇÏ¸é µË´Ï´Ù.
<sect>ÃÊ¹Ì´Ï ÇÏ¿ìÅõ <label id=tip12>
<p>
<enum>
<item><ref id=mini16 name="perlÀ» DSO·Î ¼³Ä¡Çϱâ">
<item><ref id=mini15 name="·çÆ® ÆÐ½º¿öµåÀÇ º¹±¸ ¹æ¹ý">
<item><ref id=mini14 name="lxr-0.3(source browser)¼³Ä¡¹ý">
<item><ref id=mini13 name="Ä¿³Î 2.3/4 ¸¦ »ç¿ëÇÏ·Á¸é..">
<item><ref id=mini12 name="SGML¿¡ ±×¸² ³Ö±â">
<item><ref id=mini11 name="½Å¼¼´ë ¸ÞÀϸµ ¸®½ºÆ® °ü¸®ÀÚ mailman">
<item><ref id=mini10 name="icecast ¸¦ ÀÌ¿ëÇÑ ¶óµð¿À ¹æ¼Û">
<item><ref id=mini9 name="Linux On A Floppy">
<item><ref id=mini8 name="Tomcat3.1m ¼³Ä¡ Çϱâ">
<item><ref id=mini7 name="¸®´ª½º ¹Ú½º ÇÑ´«¿¡ ¸ð´ÏÅ͸µ Çϱâ">
<item><ref id=mini6 name="[¸®·ÎȰ¿ë]À©µµ¿ì+±¹³»¹èº¸º»(¾ËÂ¥,ÆÄ¿ö,¹ÌÁö,¿µ¹®·¹µåÇÞ)">
<item><ref id=mini5 name="mtrr »ç¿ëÀ¸·Î X ¼Óµµ Çâ»ó">
<item><ref id=mini4 name="ATAPI CD-RWÀνĽÃ۱â Ver1.02">
<item><ref id=mini3 name="ÈÙ ¸¶¿ì½º »ç¿ëÇϱâ">
<item><ref id=mini2 name="¸ÞÀÏ ¾Ë¸®¾Æ½º¸¦ ÀÌ¿ëÇÑ °£´ÜÇÑ ¸ÞÀϸµ ¸®½ºÆ®">
<item><ref id=mini1 name="ÀÚµ¿ ·Î±×ÀÎ">
<item><ref id=mini0 name="X °íÇØ»óµµ">
</enum>
<sect1> perlÀ» DSO·Î ¼³Ä¡Çϱâ<label id=mini16>
<p>
±Û¾´ÀÌ: ±èâ¼ö <htmlurl url="mailto:ogler@netian.com" name="ogler@netian.com">
, ±Û¾´³¯: 2000-05-17
<p>
<verb>
Á¦°¡ perlÀ» DSO·Î ¼³Ä¡ÇÒ·Á°í ÀڷḦ ã¾ÆºÃ´õ´Ï °ÅÀÇ ¾ø´õ±º¿ä.
±×·¡¼ ¿ø¹®À» ¹ÙÅÁÀ¸·Î ¾î·Æ°Ô¼º°ø Çß½À´Ï´Ù.
# ³»°¡ Àû¿ëÇÑ DSO(Dynamic Shared Objet)¹æ½ÄÀº ¾ÆÆÄÄ¡°¡ ±¸µ¿ Áß¿¡ Ŭ¶óÀÌ¾ðÆ®·Î
# ºÎÅÍ perl½ºÅ©¸³Æ®ÀÇ ÇØ¼®À» ¿äû ¹Þ¾ÒÀ» ¶§ ºñ·Î¼ perlÀÌ ±¸µ¿ÇÏ´Â ¹æ½ÄÀÌ´Ù.
# ÀÌ´Â Ç×»ó ¸Þ¸ð¸®¿¡ »óÁÖÇÏ´Â static¹æ¹ýº¸´Ù ´õ È¿À²ÀûÀÌ´Ù.
#
# ¿©±â¿¡ ´ë·«ÀûÀ¸·Î ¼³¸íÀ» ³²±ä´Ù.
# DSO¸¦ ¼³Ä¡ÇÏ´Â µÎ°¡Áö ¹æ¹ý Áß ¾ÆÆÄÄ¡°¡ ÀÌ¹Ì ¼³Ä¡µÈ °æ¿ì·Î Çß´Ù.
# ÀÌ °æ¿ì´Â apxsÀ¸·Î¼ ¾ÆÆÄÄ¡¿¡¼ cgi½ºÅ©¸³Æ®°¡ Ȱ¼ºÈ µÇ¾î¾ß Çϰí
# mod_so°¡ ¸ðµâÈ µÇ¾î ÀÖ¾î¾ßÇÑ´Ù.(httpd -l)
# apxs setup¹æ½Ä
#
# $ cd apache-1.3.12
# $ ./configure --prefix=/usr/local/apache
# >--enable-shared=max
#
# ¸ÕÀú perl¸ðµâÆÐŰÁö¸¦ Àû´çÇÑ °÷¿¡ ´Ù¿î ¹Þ´Â´Ù.
# ¾ÐÃàÀ» Ǭ´Ù.
# $ tar -xzvf mod_perl-1.23
#
# ¾ÐÃà Ǭ°÷À¸·Î À̵¿ÇÑ´Ù
# $ cd mod_perl-1.23
# $ perl Makefile.PL
# >USE_APXS=1
# >WHITH_APXS=/usr/local/apache/bin/apxs
# >EVERYTHING=1
# $ make
# $ make install
#
# ÀÌ·¸°Ô Çϸé ÀÚµ¿À¸·Î httpd.confÆÄÀÏ¿¡ LoadModule°ú AddModule¶óÀÎÀÌ
# Ãß°¡µÈ´Ù. ½ÖÀ¸·Î µÇ¾îÀֱ⠶§¹®¿¡ Àý´ë ¼ø¼°¡ ¹Ù²î¸é ¾ÈµÇ´Ù.
#
# ÀÌÁ¦ ¾ÆÆÄÄ¡¸¦ Àç½ÃÀÛÇÑ´Ù.
±× ¹Û¿¡ httpd.confÀÇ cgiÁ¤ÀÇ ºÎºÐµµ °æ·Î¿¡ ¸Â°Ô ¼öÁ¤ÇؾßÇÕ´Ï´Ù.
±×¸®°í ¼³Ä¡ Àü¿¡/usr/bin/¿¡ perl5.0ÀÌÈÄ ¹öÀüÀÌ ÀÖ¾î¾ßÇÕ´Ï´Ù.
</verb>
<sect1> ·çÆ® ÆÐ½º¿öµåÀÇ º¹±¸ ¹æ¹ý<label id=mini15>
<p>
±Û¾´ÀÌ: Àå¹ü¼ö <htmlurl url="mailto:bschang@kldp.org" name="bschang@kldp.org">
, ±Û¾´³¯: 2000-05-16
<p>
·çÆ® ÆÐ½º¿öµå°¡ »ý°¢ÀÌ ³ªÁö ¾Ê´Â´Ù¸é?
<p>
¿À·§µ¿¾È ±â°è¸¦ ¾²Áö ¾Ê°í ¹æÄ¡ÇØ µÎ¾î¼ ÆÐ½º¿öµå¸¦ ÀÒ¾î¹ö¸®°Å³ª,
´Ù¸¥ °ü¸®ÀÚ°¡ ¾²´ø ±â°èÀÇ ¾÷¹«¸¦ ¹°·Á ¹ÞÀº °æ¿ì µûÀ§·Î ·çÆ® ÆÐ½º¿öµå
¸¦ ¾Æ¿¹ ¸ð¸£´Â °æ¿ì¿¡´Â ´ÙÀ½ÀÇ ¹æ¹ýÀ» ½á¼ º¹±¸¸¦ "½Ãµµ"ÇØ º»´Ù.
(¸®´ª½º ¼³Ä¡ µµÁß¿¡ Á¤ÀüÀÌ µÇ´Â µîÀ¸·Î ·çÆ® ÆÐ½º¿öµå¸¦ ÀÒ¾î ¹ö¸° °æ
¿ì´Â ±â¼ú »óÀÇ ¹®Á¦·Î ÇØ´çÀÌ ¾ÈµÊÀ» ¹Ì¸® ¹àÇô µÐ´Ù).
<p>
¿ì¼± ¸±·Î ÇÁ·ÒÇÁÆ®°¡ ³ª¿Ã ¶§ [ÅÇ] ۸¦ ´·¯¼ ºÎÆ® °¡´ÉÇÑ À̸§µéÀ» µÑ·¯ º»´Ù.
±× Áß¿¡´Â 'linux'¶ó´Â °ÍÀ̳ª ºñ½ÁÇÑ ³ðÀÌ ÇϳªÂë Àֱ⠸¶·Ã...
'linux'¶ó°í ÇÑ´Ù¸é ´ÙÀ½ÀÇ ¸Å°³ º¯¼ö¸¦ Áý¾î ³Ö¾î ÁÖ°í [enter]¸¦ »ìÆ÷½Ã ´·¯ ÁØ´Ù..
<p>
linux init=/bin/bash
<p>
ÀÏ´Ü ÇÁ·ÒÇÁÆ®¸¦ ¾ò°Ô µÇ¸é ºÎÆ® ÆÄÀϽýºÅÛÀ» ¸®¸¶¿îÆ® ÇØ ÁØ´Ù.
<verb>
mount -wno remount / :·çÆ®¸¦ Àбâ-¾²±â¿ëÀ¸·Î ¸®¸¶¿îÆ® ÇÔ.
/bin/vi /etc/passwd :ÆÐ½º¿öµå ¹®¼ ´Ùµë±â
: vi°¡ ½ÈÀ¸¸é ¾Æ¹«°Å³ª ¿øÇÏ´Â °ÍÀ¸·Î...
</verb>
ÀüÅëÀûÀÎ ¹æ¹ýÀº ÆÐ½º¿öµå ¹®¼¸¦ ´Ùµë¾î¼ ·çÆ®ÀÇ ÆÐ½º¿öµå¸¦ Áö¿ì´Â °ÍÀ̾ú´Ù.
passwd ¹®¼¿¡¼ ù ¹øÂ° ':'¿Í µÎ ¹øÂ° ':' »çÀÌÀÇ ¾ÏȣȵÇ
¾î ÀûÇô ÀÖ´Â ÆÐ½º¿öµå¸¦ Áö¿ö ÁÖ°í ³ª¼ ´Ù½Ã ·çÆ®·Î ·Î±×ÀÎÇÏ´Â °ÍÀÌ
¾ú´Âµ¥, ·¹µå ÇÞÀÌ ¹ü¿ëÀûÀ¸·Î »ç¿ëµÈ ¿äÁò¿¡´Â (ƯÈ÷ ·¹µå ÇÞ¿¡ ±âÁ¸ÇÑ
¹èÆ÷º»ÀÌ °ÅÀÇ ¸ðµÎ¶ó°í ÇÒ ¼ö ÀÖ´Â ¿ì¸® ³ª¶óÀÇ °æ¿ì¿¡´Â) ÀÌ ¹æ¹ýÀº
¸ÔÇôµéÁö°¡ ¾Ê´Â´Ù.
¿Ö³ÄÇϸé...
<verb>
[1]. ½¦µµ¿ì ÆÐ½º¿öµå!
[2]. ·¹µå ÇÞÀº ·çÆ®ÀÇ ÆÐ½º¿öµå°¡ ºñ¾î ÀÖÀ¸¸é ·Î±×ÀÎÀ» Çã¶ôÇÏÁö ¾Ê´Â´Ù.
</verb>
¹æ¹ý:
0. ¸¸¾àÀ» ´ëºñÇØ¼ ¿ì¼± passwd ¹®¼¸¦ º¹»çÇØ µÐ´Ù. 'passwd.original'
µûÀ§ µîÀ¸·Î...
<p>
1. ·¹µå ÇÞ ÀÌ¿ÜÀÇ ¹èÆ÷º»¿¡¼ ½¦µµ¿ì ÆÐ½º¿öµå¸¦ »ç¿ë ¾ÈÇÏ´Â °æ¿ì:
/etc/passwd¸¦ ´Ùµë¾î¼ ù ¹øÂ° ':'¿Í µÎ ¹øÂ° ':' »çÀÌ¿¡ ÀÖ´Â ¾ÏȣȵÈ
ÆÐ½º¿öµå¸¦ Áö¿ö ¹ö¸°´Ù. ÀúÀåÇÑ ÈÄ, ·çÆ®·Î ·Î±×ÀÎÇÏ¸é ÆÐ½º¿öµå¸¦ ¾È
¹°¾î ¿Ã °ÍÀÌ´Ù. ·çÆ®·Î ÀÏ´Ü ·Î±×ÀÎÀÌ µÇ¾úÀ¸¸é ¹Ýµå½Ã »õ·Î¿î ÆÐ½º¿ö
µå¸¦ ¼³Á¤Çϰí Àû´çÇÑ °÷¿¡ ÀÌ »õ·Î¿î ÆÐ½º¿öµå¸¦ Àû¾î¼ º¸°üÇÑ´Ù.
(¾È±×·³ "¾ðÁ¨°¡´Â ¶Ç ÀÌ ÁþÀ» ¹Ýº¹ÇÏ°Ô µÉ °Í"Àº ¸ÓÇÇÀÇ ¹ýÄ¢ ¾îµð¿¡¼
Àΰ¡ º» °Í °°´Ù). ¸¸¾à ÀÌ ¹æ¹ýÀÌ ÅëÇÏÁö ¾ÊÀ¸¸é 3.1·Î °¡¶ó.
<p>
2. ·¹µå ÇÞ ÀÌ¿ÜÀÇ ¹èÆ÷º»¿¡¼ ½¦µµ¿ì ÆÐ½º¿öµå. »ç¿ëÀÇ °æ¿ì:
ÀÌ °æ¿ì¿¡´Â /etc/passwd¸¦ º¸¸é (¹èÆ÷º»¿¡ µû¶ó¼ Àå¼Ò´Â ´Ù¸¦ ¼ö ÀÖ
´Ù) ':'¿Í ':' »çÀÌ¿¡ 'x'°¡ º¸ÀÏ °ÍÀÌ´Ù. ÀÌ ¶§¿¡´Â /etc/passwd ´ë½Å¿¡
/etc/shadow µîÀ» º¸µë¾î ÁÖ¸é µÈ´Ù. (¹èÆ÷º»¿¡ µû¶ó¼ shadow ¹®¼ÀÇ
À§Ä¡°¡ ´Ù¸¦ ¼ö ÀÖ´Ù. ÀÌ ¶§¿¡´Â '/'¿¡¼ 'find -name shadow'¸¦ ½á¼
shadow ¹®¼°¡ ¾îµð¿¡ ÀÖ´ÂÁö ã¾Æº»´Ù). ã¾ÒÀ¸¸é, ¿©±â¼ºÎÅÍ´Â 1ÀÇ
¹æ¹ý°ú °°´Ù.
<p>
3. ·¹µå ÇÞ / º¯Á¾ÀÇ °æ¿ì (½¦µµ¿ì ÆÐ½º¿öµå »ç¿ë):
·¹µå ÇÞÀ̳ª ÀÌ °ÍÀÇ ¾ÆÁ¾/º¯Á¾ÀÇ °æ¿ìÀÎ °æ¿ì¿¡´Â ´Ü¼øÈ÷ /etc/passwd
ÀÇ Ã¹ ¹øÂ° ':'¿Í µÎ ¹øÂ° ':'¸¦ ºñ¿ì´Â ÁþÀ» Çß´Ù°¡´Â ¾Æ¿¹ ·Î±×ÀÎÀÌ ¾ÈµÇ
´Â ºÒ»ó»ç°¡ »ý±æ ¼ö ÀÖÀ¸¹Ç·Î ¿ì¼± passwd ¸í·É¾î¸¦ ¸ÕÀú »ç¿ëÇØ º»
´Ù. (¹èÆ÷º»¿¡ µû¶ó¼ - ':'¿Í ':' »çÀ̰¡ ºñ¾î ÀÖÀ¸¸é passwd ¸í·É¾î°¡
¾ÈµÉ ¼ö ÀÖÀ¸¹Ç·Î).
¸¸¾à ÀÌ ÀüÀÇ ÆÐ½º¿öµå¸¦ ¸ð¸£´õ¶óµµ passwd ¸í·É¾î¸¦ ¾²¸é »õ·Î¿î ÆÐ
½º¿öµå¸¦ Àû¾î ³ÖÀ» ¼ö ÀÖÀ» °ÍÀÌ´Ù. ¸¸¾à passwd¸¦ ¾²´Â ¹æ¹ýµµ ¾ÈµÈ
´Ù¸é 3.1À» ¾²¶ó. ´ç¿¬È÷ »õ ÆÐ½º¿öµå´Â Àû¾î³õ°í ¾ÈÀüÇÑ °÷¿¡ º¸°üÇÒ
°Í.
<p>
3.1 passwd ¸í·É¾î°¡ ¾È ¸ÔÈ÷ÀݾÆ!
':'¿Í ':' »çÀÌ¿¡ "¾ÏÈ£ÈµÈ ÆÐ½º¿öµå" Áß¿¡¼ ¾Æ¹« °ÍÀ̳ª ³Ö¾î ÁÖ¸é µÈ
´Ù. ¸¸¾à Áö±Ý °íÄ¡·Á´Â ±â°è¿¡ ¿©·¯ºÐÀÇ °èÁ¤ÀÌ ÀÖ´Â °æ¿ì¿¡´Â
/etc/shadow ¹®¼ ¾îµð¿£°¡ ¿©·¯ºÐÀÇ (·çÆ®°¡ ¾Æ´Ñ ´Ù¸¥ °èÁ¤À¸·Î) ÆÐ½º
¿öµå°¡ ¾ÏÈ£ÈµÇ¾î¼ ÀúÀåµÇ¾î ÀÖÀ» °ÍÀÌ´Ù. À̰ÍÀ» º¹»çÇØ¼ ·çÆ®ÀÇ
¾ÏÈ£·Î ´ë½Å ³Ö¾î ÁÖ¸é µÈ´Ù. ´ç¿¬È÷ ·çÆ®·Î ·Î±×ÀÎÇÑ ÈÄ¿¡´Â ¿©·¯ºÐ
ÆÐ½º¿öµå¸¦ ³Ö¾î ÁÖ¸é µÈ´Ù. ÀÌ ÈÄ¿¡´Â ÆÐ½º¿öµå¸¦ ´Ù½Ã ¹Ù²Ù¾î¼ ¾ÈÀü
ÇÑ °÷¿¡ º¸°üÇÑ´Ù. (»ç¿ëÀÚ °èÁ¤°ú ·çÆ® °èÁ¤ÀÇ ¾ÏÈ£°¡ °°À¸¸é ±×°Íµµ
º¸¾È °ü¸® Àå¾Ö¹°ÀÌ´Ù).
<p>
±× ÀÌÈÄ¿¡:
ÀÏ´Ü ±â°è¸¦ ·çÆ® ±ÇÇÑÀ¸·Î ¼Õ¿¡ ³Ö¾úÀ¸¸é ¿©±â¿¡¼ ÀÏÀÌ ³¡³ª´Â °ÍÀÌ
¾Æ´Ï´Ù. ÀÌÀüÀÇ »ç¿ëÀÚ°¡ Ȥ½Ã ¹éµµ¾î¿ëÀ¸·Î ¾²±â À§Çؼ ·çÆ®°¡ ¾Æ´Ñ
´Ù¸¥ À̸§À¸·Î ¼öÆÛÀ¯Àú °èÁ¤À» ¸¸µé¾î ³õ¾ÒÀ» ¼ö ÀÖÀ¸´Ï±î.
<p>
1. ÆÐ½º¿öµå³ª ½¦µµ¿ì ¹®¼¸¦ Àß »ìÆì¼ UID°¡ 0À¸·Î µÇ¾î ÀÖ´Â °èÁ¤À»
Àß »ìÆìº¸µµ·Ï Ç϶ó.
<p>
2. ±â°è Àü¹ÝÀÇ º¸¾ÈÀ» ±âÃʺÎÅÍ ´Ù½Ã ±¸¼ºÇ϶ó. ¸®´ª½º º¸¾È ÇÏ¿ìÅõ ¹®
¼ ¹× ´Ù¸¥ ¹®¼¸¦ kldp.org¿¡¼ ±¸Çϰųª ¸»°Å³ª ´Â ¿©·¯ºÐÀÌ ÇÒ ÀÏÀÌ
´Ù. (½ÈÀ½ ¸»°í... ÇÏÁö¸¸ º¸¾È Ã¥ÀÓÀº ÀüÀûÀ¸·Î "³Ê!"¿¡°Ô ÀÖ´Â °ÍÀÌ´Ù.
·çÆ®ÀݾÆ!)
<p>
3. »çÁ¤ÀÌ Çã¶ôÇÑ´Ù¸é »ç¿ëÀÚ ÀüüÀÇ ÆÐ½º¿öµå¸¦ ¹Ù²ã ÁØ´Ù. °©Àڱ⠹Ù
²ã ³õ°Å³ª ¹«Á¶°Ç ¹Ù²Ù¶ó´Â ¿ä±¸¸¦ ÇÏ¸é »ç¿ëÀÚµéÀÌ °³¶¼°°ÀÌ ¸ô·Á¿Í¼
¿©·¯ºÐÀ» ¸¶±¸ °¥±¸°í °¥ ¼ö ÀÖÀ¸¹Ç·Î ´Ù¼Ò ¿Ü±³ÀûÀÎ ¹æ¹ýÀ» »ç¿ëÇÑ´Ù.
¿¹¸¦ µé¸é "¿©·¯ºÐÀÇ ÆÐ½º¿öµå´Â ´ÙÀ½ 2 ÁÖÀÏ À̳»¿¡ ±³Ã¼ÇØ ÁֽʽÿÀ.
ÀÌ ÈÄ¿¡´Â ÆÐ½º¿öµå°¡ x ´Þ¸¶´Ù ÀÚµ¿À¸·Î ±³Ã¼µË´Ï´Ù." ÇÏ´Â µîÀÇ »ç¿ë
ÀÚ°¡ ÀÌÇØÇØ ÁÙ ¼ö ÀÖ´Â º¸¾È ¹æ¹ýÀ» ¾²¸é µÈ´Ù. ÆÐ½º¿öµå¸¦ ÀÚµ¿À¸·Î
º¯È¯ ¼³Á¤ÇØ ÁÖ´Â ¹æ¹ýÀº ¿©±â¿¡¼´Â »ý·«ÇϰڴÙ.
<p>
4. °¡´ÉÇÏ´Ù¸é ±â°è ¾È¿¡ Àû¾î º¸°üÇÏ´Â ÀÏÁö (ìíò¼) ¸»°íµµ ¼ÕÀ¸·Î Àû´Â
ÀÏÁö (¾Æ´Ï¸é ½Ã½ºÅÛ ÀϱâÀå (ìíÑÀíã))À» Àû´Â °Íµµ ÁÁÀº ¹æ¹ýÀÌ´Ù. ´ç
¿¬È÷ ÀÌ °÷¿¡´Â ·çÆ® ÆÐ½º¿öµå¸¦ ¿øº» ±×´ë·Î Àû¾î µÎ¸é ¾ÈµÈ´Ù. ÇÏÁö
¸¸ ¿©·¯ºÐ º»ÀÎÀ̳ª ´ÙÀ½ ÀμöÀÚ°¡ ¾Ë¾Æº¼ ¼ö ÀÖ´Â ¹æ¹ýÀ» ¾´´Ù. PGP
µîÀ» ½á¼ ¾ÏÈ£ÈµÈ ¹®¼¸¦ ÀúÀåÇÑ´ÙµçÁö ÇÏ´Â ±â¹ýÀº ¿©·¯ºÐÀÌ ¾Ë¾Æ¼
±¸ÇØ º¸½Ã±â¸¦...
<p>
Ȥ À§ÀÇ ¹æ¹ýÀ» µµ¿ëÇØ¼ ´Ù¸¥ »ç¶÷ÀÌ ¿©·¯ºÐ ½Ã½ºÅÛÀÇ ÆÐ½º¿öµå¸¦ ÈÉÃÄ
°¡·Á°í ÇÒ Áöµµ ¸ð¸¦ ÀÏÀÌ´Ù. ±×·± ¸¸Å º¸¾È ÇÏ¿ìÅõ (¼±Àü! ¼±Àü! = º»
ÀÎÀÌ ¹ø¿ªÇßÀ½ ^^; ) µîÀÇ ¹®¼¸¦ ÀÐ¾î º¸¾Æ¼ ±â°è Àü¹ÝÀÇ º¸¾È ´É·ÂÀ»
¿Ã·Á³õ´Â ¹æ¹ýÀ» ¸¹ÀÌ ¸¹ÀÌ ¾²ÀÚ.
<sect1> lxr-0.3(source browser)¼³Ä¡¹ý<label id=mini14>
<p>
±Û¾´ÀÌ : Ãß Á¤Å <htmlurl url="mailto:cutetux@hanmail.net" name="cutetux@hanmail.net">
, ±Û¾´³¯ : 2000-05-15
<p>
<verb>
--LXR 0.3 ¼³Ä¡ °¡À̵å--
(¿ª : ÃßÁ¤Å cutetux@hanmail.net )
LXRÀ» ¼³Ä¡Çϱâ À§Çؼ ´ÙÀ½°ú °°Àº °ÍµéÀÌ ÇÊ¿äÇÏ´Ù.
-Perl 5¶Ç´Â ±× ÀÌÈĹöÀü
-CGI°¡ °¡´ÉÇÑ À¥¼¹ö
±×¸®°í ÀÓÀÇ ´Ü¾î°Ë»öÀ» À§ÇØ ´ÙÀ½ÀÌ ÇÊ¿äÇÏ´Ù.
-Glimpse
</verb>
¸¸¾à ÆÞÀÌ ¼³Ä¡µÇ¾î ÀÖÁö ¾Ê´Ù¸é ´ÙÀ½ÀÇ Àå¼Ò¿¡¼ ±¸ÇÒ ¼ö ÀÖ´Ù.
<htmlurl url="http://www.perl.com/perl/info/sofrware.html" name="http://www.perl.com/perl/info/sofrware.html">
À¥¼¹ö°¡ ÇÊ¿äÇÏ´Ù¸é ¾ÆÆÄÄ¡¸¦ ´ÙÀ½ÀÇ Àå¼Ò¿¡¼ ãµµ·Ï Ç϶ó.
<htmlurl url="http:///www.apache.org/" name="http:///www.apache.org/">
¸¸¾à Glimpse¿Í ÀÓÀÇ ´Ü¾î°Ë»ö±â°¡ ÇÊ¿äÇÏ´Ù¸é ´ÙÀ½ÀÇ Àå¼Ò¸¦ ã¾ÆºÁ¶ó.
<htmlurl url="http://glimpse.cs.arizona.edu/" name="http://glimpse.cs.arizona.edu/">
LXRÀº GNU/Linux»ó¿¡¼ ¾ÆÆÄÄ¡ À¥¼¹ö¸¦ »ç¿ëÇÑ Å×½ºÆ®¸¦ ÃÖ±Ù¿¡ ³¡³Â´Ù. ´Ù¸¥ À¯´Ð½º°è¿ÀÇ ¿î¿µÃ¼Á¦»óÀÇ À¥¼¹ö¿¡¼´Â Àß ÀÛµ¿ÇÒ °ÍÀÌ´Ù.
<p>
LXRÀ» ¼³Ä¡Çϱâ À§ÇÏ¿©:
<p>
-ÆÞÀÌ ¼³Ä¡µÇ¾îÀÖ°í, LXRÀ» ¼³Ä¡Çϱ⠿øÇÏ´Â ½Ã½ºÅ۾ȿ¡¼ makefile¾ÈÀÇ PERLBIN º¯¼ö¿Í INSTALLPREFIXº¯¼ö ¸¦ ¼ÂÆÃÇ϶ó.
[º¸Ãæ] ¸¸¾à perl ¹ÙÀ̳ʸ®°¡ /usr/bin¿¡ ÀÖ´Ù¸é PERLBIN=/usr/bin À¸·Î,
INSTALLPREFIX´Â LXR½ºÅ©¸³Æ®°¡ ¼³Ä¡µÉ °÷À» °¡¸®Å²´Ù.
¸¸¾à ±×´ë°¡ INSTALLPREFIX=/home/httpd/html/lxr·Î Çß´Ù¸é, MakefileÀº ¸î°³ÀÇ µð·ºÅ丮¸¦ ±× °÷¿¡ »ý¼ºÇÒ °ÍÀÌ´Ù.
<verb>
/home/httpd/html/lxr/source
/home/httpd/html/lxr/bin
/home/httpd/html/lxr/http
</verb>
¹Ù·Î À§¿Í °°Àº µð·ºÅ丮 µéÀÌ´Ù. ¼Ò½ºÄÚµå ÂüÁ¶(cross reference)¸¦ Çϰí,ÂüÁ¶µ¥ÀÌÅͺ£À̽º¸¦ ¸¸µé°í, ¶Ç ÂüÁ¶µÈ(crose referenced) ¼Ò½ºÄڵ带 Ž»öŰ À§Çؼ °¢°¢ ´ÙÀ½°ú °°ÀºÀÏÀ» ÇØ¾ß ÇÑ´Ù.
-"make install"
root±ÇÇÑÀ¸·Î ÇØ¾ßÇÑ´Ù.
-$(INSTALLPREFIX)/http/lxr.conf ÈÀÏÀ» ÆíÁýÇØ¾ß ÇÑ´Ù.
[º¸Ãæ]lxr.conf¿¡´Â LXRÀÌ ÀÛµ¿Çϱâ À§ÇÑ ºÎ°¡ÀûÀÎ ¸î¸îÀÇ ¼³Á¤µéÀÌ ÀÖ´Ù. ±âº» ¼³Á¤¿¡¼ ´ÙÀ½°ú °°Àº°ÍµéÀ» ¹Ù²Ü ¼ö ÀÖÀ» °ÍÀÌ´Ù.
<p>
baseurl: http://[ÀÚ½ÅÀÇ ¼¹ö]/lxr/http/
¿©±â¼ lxr/http´Â À¥¼¹öÀÇ document root¿Í ¿¬°á(ÇÏÀ§ µð·ºÅ丮·Î)µÇ¾î ÀÖ¾î¾ß ÇÑ ´Ù.
<p>
¿¹¸¦ µé¾î ¸¸¾à ±×´ëÀÇ document root°¡ /home/httpd/htmlÀ̰í INSTALLPREFIX°¡
/home/httpd/html/lxrÀ̸é baseurlÀº ´ÙÀ½°ú °°ÀÌ µÇ¾î¾ß ÇÑ´Ù.
<verb>
baseurl : http://[ÀÚ½ÅÀÇ ¼¹ö]/lxr/http/
(ÁÖÀÇ)ÁÖ¼ÒÀÇ ³¡¿¡ /¸¦ ¾²´Â°ÍÀ» ¸í½ÉÇ϶ó.
À§ÀÇ ¿¹¿¡ À̾î¼,
htmlhead: /home/httpd/html/lxr/http/template-head
htmltail: /home/httpd/html/lxr/http/template-tail
htmldir: /home/httpd/html/lxr/httpd/template-dir
</verb>
ÀÌ ¼³Á¤µéÀº htmlÀÇ head, tail, ±×¸®°í µð·ºÅ丮¸®½ºÆ®¸¦ ¼¼ÆÃÇÏ´Â °ÍÀÌ´Ù.
ÀÌ ÈÀϵéÀÇ HTMLű׵éÀº cross-referenceÀ¥ÆäÀÌÁö¿¡ µ¡ºÙ¿©Áú °ÍµéÀÌ´Ù.
sourceroot Ç׸ñÀº ÂüÁ¶ÇÏ°í ½ÍÀº ¼Ò½º°¡ ÀÖ´Â µð·ºÅ丮¸¦ °¡¸®Å²´Ù. ±×¸®°í ³¡¿¡ /¸¦ ºÙÀÌ´Â °ÍÀ» ÀØÁö¸¶¶ó.
<verb>
dbdir Ç׸ñÀº $INSTALLPREFIX/source µð·ºÅ丮¸¦ °¡¸®Å²´Ù. ¿¹¸¦ µé¸é
dbdir: /home/httpd/html/lxr/source/
</verb>
-$INSTALLPREFIX/http ¾ÈÀÇ ÈÀϵéÀº À¥ºê·¯¿ìÁ®°¡ ÀÐÀ» ¼ö ÀÖ´Â À§Ä¡¿¡ ÀÖ¾î¾ß
ÇÑ´Ù´Â °ÍÀ» ÀØÁö¸¶¶ó. À¥ºê·¯¿ìÁ®´Â search, source, ident, diffµîÀÇ ÈÀϵéÀ» cgi-script·Î ÇØ¼®Çؼ ½ÇÇàÇϱ⠶§¹®ÀÌ´Ù. ¾ÆÆÄÄ¡À¥¼¹ö¸¦ »ç¿ëÇÑ´Ù¸é ´ÙÀ½°ú
°°Àº ¼³Á¤ÀÌ ÇÊ¿äÇÏ´Ù.
<verb>
$(INSTALLPREFIX)/http/.htaccess¾È¿¡ ´ÙÀ½°ú °°Àº ¼³Á¤À» ÇØÁֱ⠹ٶõ´Ù.
<Files ~ (search|source|ident|diff)$>
SetHandler cgi-script
</Files>
</verb>
[º¸Ãæ]
¾ÆÆÄÄ¡¸¦ »ç¿ëÇÑ´Ù¸é, access.conf(ȤÀº httpd.conf)¾È¿¡ ´ÙÀ½°ú °°Àº ¼³Á¤À»
ÇØ¾ß ÇÑ´Ù.
<code>
<Directory /home/httpd/html/lxr>
Options All
AllowOverride All
</Directory>
</code>
À§¿¡ ÀûÀº /home/httpd/html/lxr°æ·Î´Â INSTALLPREFIX¿Í °°¾Æ¾ß ÇÑ´Ù.
-identifier µ¥ÀÌÅͺ£À̽ºÀÇ »ý¼º. À§¿¡¼ "dbdir"·Î ¼³Á¤À» Çß´ø µð·ºÅ丮·Î
°¡¼ "./genxref [source code directory]"¸¦ ½ÇÇà ½ÃŰ¸é µÈ´Ù.
-À̰ÍÀº ¿É¼ÇÀÌÁö¸¸, Glimpse µ¥ÀÌÅͺ£À̽º¸¦ »ý¼º½Ãų ¼ö ÀÖ´Ù. "dbdir"·Î ¼³Á¤ÇÑ µð·ºÅ丮¿¡¼ "glimpseindex -H [source code directory]"¸¦ ½ÇÇà½ÃŲ´Ù. ÀÚ¼¼ÇÑ GlimpseÀÇ È°¿ë°ú ¸í·ÉÀº °ü·Ã ¹®¼¸¦ Âü°íÇϱ⠹ٶõ´Ù.
<p>
»ç¿ë:
<p>
À§¿¡ ¾ð±ÞÇÑ ¼³Á¤µéÀÌ ³¡³ª¸é À¥¼¹ö¸¦ ´Ù½Ã ½ÃÀÛ½ÃÄÑ¾ß ÇÑ´Ù.
(¿ªÀÚÀÇ °æ¿ì /etc/rc.d/init.d/httpd restart) ±×¸®°í À¥ºê·¯¿ìÁ®¿¡¼ http://[ÀÚ½ÅÀÇ ¼¹ö]/lxr/source/ lxr/source´Â INSTALLPREFIX¹ØÀ̸ç À¥¼¹öÀÇ document rootÀÇ ÇÏÀ§ µð·ºÅ丮 ÀÌ´Ù.
<p>
¸¸¾à ÀÛµ¿À» ÇÏÁö ¾Ê´Â´Ù¸é:
<p>
-PermissionÀ» È®ÀÎÇÑ´Ù. À¥¼¹ö°¡ ½ÇÇà½Ãų ½ºÅ©¸³Æ®µéÀÇ ½ÇÇà ±ÇÇÑÀÌ ¿Ã¹Ù¸£°Ô ÁÖ¾îÁ³´Â°¡ È®ÀÎ ÇÑ´Ù.
<p>
-Perl½ºÅ©¸³Æ®µéÀÌ ¶óÀ̺귯¸®¸¦ Á¦´ë·Î ¾µ ¼ö ÀÖ´Â Áö È®ÀÎÇÑ´Ù. ±×¸®°í À¥¼¹ö¿¡ÀÇÇÑ ½ÇÇà±ÇÇѵµ
ÀÖ¾î¾ß ÇÑ´Ù. (genxref°°Àº ȵéÀÏÀÌ ÆÞ·Î ÀÛ¼ºµÇ¾î ÀÖ´Ù.)
<p>
lxr.confÈÀÏ:
LXRÀº »ç¿ëÀÚÀÇ µð·ºÅ丮 ±¸Á¶¿¡ »ó°ü¾øÀÌ ¾µ ¼ö ÀÖÁö¸¸, ¸ðµç °ü·Ã °æ·ÎµéÀº lxr.conf¿¡ ±â·ÏÀÌ µÇ¾îÀÖ¾î¾ß ÇÑ´Ù. ÀÌ ÈÀÏÀº perl·Î ÀÛ¼ºµÈ ½ºÅ©¸³Æ® ÈÀϵé°ú À§Ä¡°¡ °°¾Æ¾ß ÇÑ´Ù.
<p>
LXRÀº ´ÙÀ½ÀÇ ¼³Á¤ÈÀÏ ³»ÀÇ ¿É¼ÇµéÀ» ÀνÄÇÑ´Ù.
<verb>
htmlhead : ¸ðµç htmlÈÀϵéÀÇ Çì´õ°¡ µÇ´Â ÅÛÇø´ ÈÀÏ.
htmltail : htmlÆäÀÌÁöÀÇ ¸Ç ¹Ø¿¡ ¾²ÀÏ ÅÛÇø´
htmldir : °¢ ÆäÀÌÁö¿¡¼ µð·ºÅ丮¸¦ ¸®½ºÆÃÇÏ´Â ÅÛÇø´
sourceroot : index¸¦ ¸¸µé±â ¿øÇÏ´Â ¼Ò½ºÄڵ尡 ÀÖ´Â ÃÖ»óÀ§ µð·ºÅ丮
sourcerootname : ÃÖ»óÀ§ µð·ºÅ丮¿¡ ºÙÀÏ À̸§
incprefix : ±× ¼Ò½º¿¡ ¾²ÀÌ´Â include ÈÀϵéÀÇ À§Ä¡
dbdir : LXRÀÌ ÇÊ¿ä·Î ÇÏ´Â µ¥ÀÌÅͺ£À̽ºÈÀϵéÀÌ ÀÖ´Â À§Ä¡
(fileidx xref ±×¸®°í glimpseÈÀÏ)
glimpsebin : glimpse ¹ÙÀ̳ʸ® ÈÀÏÀÌ ¼³Ä¡µÈ À§Ä¡
variable : ÅÛÇø´°ú ¼³Á¤ÈÀÏÀÌ »ç¿ëÇÏ´Â º¯¼öµé.
¹®¹ýÀº ´ÙÀ½°ú °°´Ù. variable : <name>,<text>,<values>,<default>
<name>Àº º¯¼öÀÇ À̸§ÀÌ´Ù.
<text>´Â ¼³¸í.
<values>Çʵå´Â º¯¼öÀÇ °ªÀ¸·Î °¡´ÉÇÑ °ÍµéÀ» ¸®½ºÆÃÇѰÍÀÌ´Ù.
¸®½ºÆ®´Â "("À¸·Î ½ÃÀÛÇØ¼ ")"À¸·Î ³¡³´Ù. À̰ÍÀº [ <filename> ]°ú °°ÀÌ
¾²ÀÏ ¼öµµ ÀÖ´Ù. ÀÌ °æ¿ì ±× °ªµéÀº ÇÑ ÁÙ¿¡ Çϳª¾¿ ÇϳªÀÇ ÆÄÀϷκÎÅÍ ÀоîµéÀδÙ.
map: º¯¼ö¸¦ ÅëÇØ µð·ºÅ丮µéÀ» ´Ù½Ã ¾µ ¼ö ÀÖ°Ô ÇÑ´Ù. ¸®´ª½ºÀÇ ¼Ò½ºÄÚµåµéÀº ¸î°³ÀÇ ´Ù¸¥
¾ÆÅ°ÅØÃĸ¦ Áö¿øÇÑ´Ù.
ÀÌ·± °æ¿ì includeÈÀϵéÀº include/asm-<architecture>/. ÀÖ°Ô µÈ´Ù.
ÀÌ·± ÄÚµåµéÀº ´Ù½Ã ¸ÅÇνÃ۱âÀ§ÇØ º¯¼ö $a°¡ ´ÙÀ½°ú °°ÀÌ ¾²ÀÌ°Ô µÈ´Ù.
map: /include/asm[^/]*/ /include/asm-$a/
</verb>
<sect1> Ä¿³Î 2.3/4 ¸¦ »ç¿ëÇÏ·Á¸é..<label id=mini13>
<p>
±Û¾´ÀÌ: Â÷ ¿µÈ£ <htmlurl url="mailto:ganadist@dacome.co.kr" name="ganadist@dacome.co.kr">
, ±Û¾´³¯ : 2000-05-12
<p>
<enum>
<item> Ä¿³Î 2.3/4¸¦ »ç¿ëÇϱâ À§ÇØ ²À ÇÊ¿äÇÑ °Íµé.
<item> modutils
<item> devfs
<item> usbmouse, keyboard »ç¿ëÇϱâ
<item> Ãß°¡µÈ °¡»óÆÄÀÏ ½Ã½ºÅÛ
</enum>
<verb>
1. Ä¿³Î 2.3/4¸¦ »ç¿ëÇϱâ À§ÇØ ²À ÇÊ¿äÇÑ °Íµé.(¸®´ª½º Ä¿³Î ¹®¼ÀÇ ChangesÂüÁ¶)
- Kernel modutils 2.3.10 ; insmod -V
- Gnu C 2.7.2.3 ; gcc --version
- Binutils 2.9.1.0.7 ; ld -v
- Linux libc5 C Library 5.4.46 ; ls -l /lib/libc*
- Linux libc6 C Library 2.0.7pre6 ; ls -l /lib/libc*
- Dynamic Linker (ld.so) 1.9.9 ; ldd --version or ldd -v
- Linux C++ Library 2.7.2.8 ; ls -l /usr/lib/libg++.so.*
- Procps 1.2.9 ; ps --version
- Procinfo 16 ; procinfo -v
- Psmisc 17 ; pstree -V
- Net-tools 1.50 ; hostname -V
- Loadlin 1.6a
- Sh-utils 1.16 ; basename --v
- Autofs 3.1.1 ; automount --version
- NFS (client) 2.2beta40 ; showmount --version
- nfs-utils (server) 0.1.4
- Bash 1.14.7 ; bash -version
- Ncpfs 2.2.0 ; ncpmount -v
- Pcmcia-cs 3.1.2 ; cardmgr -V
- PPP 2.4.0b1 ; pppd --version
- Util-linux 2.9i ; chsh -v
- isdn4k-utils v3.1beta7 ; isdnctrl 2>&1|grep version
2. modutils
modutils¸¦ ¾÷µ¥ÀÌÆ® ÇÏ¸é ¼³Á¤ÆÄÀÏÀÌ º¯°æµÇ¾î ÀÖÀ½À» ¾Ë¼ö ÀÖ½À´Ï´Ù.
conf.modules ¿¡¼ modules.conf ·Î º¯°æµÇ¾îÀÖ½À´Ï´Ù.
(±âÁ¸ÀÇ ¼³Á¤µµ±¸µé ¿ÏÀüÈ÷ ´Ù ¹Ù²ã¾ß ÇÕ´Ï´Ù. -.-;;)
¸¸¾à conf.modules°¡ ÀÖÀ¸¸é modules.conf¸¦ Àаí conf.modules´Â ¹«½ÃÇÏ´Ï Áö¿ö¹ö¸®¶ó´Â
°æ°í¸Þ¼¼Áö°¡ ¶å´Ï´Ù.(±×¸®°í Ä£ÀýÇÏ°Ô Áö¿ì´Â ¸í·É±îÁö °¡¸£ÃÄ ÁÝ´Ï´Ù. -.-;;)
±×¸®°í modules.conf¿¡ µé¾î°¥¼ö ÀÖ´Â ¿¹¾à¾î°¡ ´ëÆøÀûÀ¸·Î ´Ã¾ú½À´Ï´Ù. (µû·Î modules.conf
manÆäÀÌÁöµµ Ãß°¡µÇ¾ú½À´Ï´Ù.) if°°Àº Á¦¾î¹®±îÁö »ç¿ëÇÒ¼ö ÀÖ½À´Ï´Ù.
´ÙÀ½Àº modules.conf¿¡¼ »ç¿ëÇÒ¼ö ÀÖ´Â ¿¹¾à¾î ¸®½ºÆ® ÀÔ´Ï´Ù.
[add] above module module_list
alias alias_name result
[add] below module module_list
define VARIABLE WORD
depfile=A_PATH
else
elseif EXPRESSION
endif
if EXPRESSION
include PATH_TO_CONFIG_FILE
insmod_opt=GENERIC_OPTIONS_TO_INSMOD
install module command ...
keep
[add] options module MODULE_SPECIFIC_OPTIONS
path=A_PATH
path[TAG]=A_PATH
[add] probe name module_list
[add] probeall name module_list
post-install module command ...
post-remove module command ...
pre-install module command ...
pre-remove module command ...
remove module command ...
3. devfs
óÀ½ 2.3.99¸¦ ¼³Ä¡Çϰí Á¦ÀÏ È²´çÇÏ¿´´ø°ÍÀÌ À̰ÍÀÔ´Ï´Ù.
ºÎÆÃ ÇÏÀÚ¸¶ÀÚ ¸Ú´ë·Î /dev¿¡ ¸¶¿îÆ® ½ÃÄѹö¸®´õ±º¿ä.
/devÀÇ ÀåÄ¡À̸§µéÀÌ ¸ù¶¥ ¹Ù²î¾îÁ® ÀÖ½À´Ï´Ù. ÆÄƼ¼Ç ¸¶¿îÆ®µµ Á¦´ë·Î ¸ø½ÃŰ´õ±º¿ä. -.-;;
±×¸®°í ±âŸ ºÎ°¡ÀåÄ¡µéÀ» °ÅÀÇ »ç¿ëÇÒ¼ö ¾ø½À´Ï´Ù.
¿¹¸¦ µé¾î ÄܼÖÀº tty? ¶ó´Â ÀåÄ¡¸¦ »ç¿ëÇÕ´Ï´Ù. ÇÏÁö¸¸ devfs¿¡¼´Â vc/?¶ó´Â ÀåÄ¡¸¦ »ç¿ëÇÕ´Ï´Ù.
(·Î±×Àεµ ¸øÇÒ°ÍÀÔ´Ï´Ù. -.-)
À̰ÍÀ» ÇØ°áÇÏ´Â ¹æ¹ýÀº À̸¸¿ë´Ô Ȩ(http://kldp.org/~yong/kernel/2.3/)¿¡ ³ª¿Â°Í°ú °°ÀÌ Ä¿³Î¿É¼Ç¿¡
¾Æ¿¹ devfs¸¦ Á¦°ÅÇÏ´øÁö lilo°°Àºµ¥¿¡ ¿É¼ÇÀ¸·Î devfs=nomount¸¦ »ç¿ëÇÏ¸é µË´Ï´Ù. ÇÏÁö¸¸ Àִ±â´ÉÀº
´Ù½áºÁ¾ß ÇÏ´Â ±Ø¼º ¸®´ª¼µéÀ» À§ÇØ(Àú°°Àº) devfsd¸¦ »ç¿ëÇÏ¸é µË´Ï´Ù.
ÀÏÁ¾ÀÇ ÇÏÀ§¹öÁ¯ ȣȯ¼ºÀ» À§ÇØ ¸¸µé¾îÁø µ¥¸ó ÀÔ´Ï´Ù. ÇÏ´Â ¿ªÇÒÀº /dev¿¡ ÀÖ´Â ÀåÄ¡ÆÄÀϵéÀ» 2.2ÀÌÇÏ
Ä¿³Î¿¡¼ »ç¿ëÇÏ´ø °Í°ú °°Àº ÆÄÀÏ À̸§À¸·Î ¸µÅ©¸¦ ÀÚµ¿À¸·Î °É¾î ÁÝ´Ï´Ù.
devfsd¸¦ ¾òÀ¸·Á¸é http://www.atnf.csiro.au/~rgooch/linux/ ¿¡¼ ±¸ÇÒ¼ö ÀÖ½À´Ï´Ù.
(¼±âÇö´Ô(nefsall@nef.sarang.net)²²¼ Á¤º¸¸¦ Áּ̽À´Ï´Ù. °¨»çÇÕ´Ï´Ù.)
Àú°°Àº °æ¿ì¿¡´Â Áö±Ý /etc/rc.d/rc.sysinit ½ºÅ©¸³Æ®¿¡ ´ÙÀ½°ú °°ÀÌ Àû¾î³õ¾Ò½À´Ï´Ù
39 # Fix console loglevel
40 /bin/dmesg -n $LOGLEVEL
41
42 # Starting devfsd
43 action "Mounting devfs filesystem" mount none /dev -t devfs
44 action "Starting devfsd" /sbin/devfsd /dev
±×·±µ¥ ÀÌ·¸°Ô ±¸¼ºÇÏ°í ³ª¼ ¹®Á¦°¡ ÇѰ¡Áö ´õ»ý°å½À´Ï´Ù. ÀϹÝÀ¯Àú·Î´Â ÄַܼΠ·Î±×ÀÎÀÌ ÀߵǴµ¥
root·Î´Â ·Î±×ÀÎÀÌ ¾ÈµÇ´õ±º¿ä.
¹®Á¦°¡ ÀÖ´Â ÇÁ·Î±×·¥µéÀ» °õ°õÈ÷ »ý°¢Çغ¸´Ù°¡ /etc/securetty °¡ »ý°¢ÀÌ ³µ½À´Ï´Ù.
ÀÌ ÆÄÀÏÀÇ ¿ªÇÒÀº ·çÆ®°¡ ·Î±×ÀÎ ÇÒ¼ö ÀÖ´Â ÀåÄ¡µéÀ» ³ª¿ÇÑ °ÍÀÌÁÒ.
±âº» ¼³Á¤Àº tty[1-6] ÀÔ´Ï´Ù. ºÐ¸íÈ÷ ¸µÅ©´Â µÇ¾î ÀÖ´õ±º¿ä. ±×·±µ¥ ÀϹÝÀ¯Àú·Î µé¾î °¡¼ ´Ù½Ã ºüÁ®
³ª°£´ÙÀ½ ´Ù½Ã µé¾î°¡º¸´Ï ¸¶Áö¸· ·Î±×ÀÎ À§Ä¡°¡ "1"À̶ó°í ³ª¿À´õ±º¿ä.
¾Õ¿¡ ÀÖµíÀÌ tty?´Â vc/?¿¡ ¸µÅ© µÇ¾î ÀÖ½À´Ï´Ù. ¸µÅ©µÇ¾î ÀÖ´Â ÆÄÀÏÀÇ ½ÇÁ¦À̸§À» ±×´ë·Î µû¶ó°£´Ù´Â
¶æÀÌÁÒ. ±×·¡¼ Àú´Â /etc/securetty ÀÇ ³»¿ëÀ» tty?´ë½Å ?·Î ¹Ù²Ù¾ú½À´Ï´Ù. ·Î±×ÀÎ ÀߵǴõ±º¿ä. :)
4. usbmouse, keyboard »ç¿ëÇϱâ.
module·Î »ç¿ëÇÏ´Â °ÍÀ» ±âÁØÀ¸·Î ¼³¸íÇϰڽÀ´Ï´Ù.
ÀÏ´Ü mouse¸¦ »ç¿ëÇϱâ À§ÇØ ¿Ã·Á¾ß ÇÏ´Â ¸ðµâÀº ´ÙÀ½°ú °°½À´Ï´Ù.
usbcore, usb-uhci, input, usbmouse, mousedev
ÀÌÁß ÀÇÁ¸¼ºÀÌ °É¸° ¸ðµâÀº
usb-uchi ¸ðµâÀ» ¿Ã¸®¸é ÀÚµ¿À¸·Î usbcore
usbmouse ¸ðµâÀ» ¿Ã¸®¸é ÀÚµ¿À¸·Î input, usbcore
mousedev ¸ðµâÀ» ¿Ã¸®¸é ÀÚµ¿À¸·Î input ¸ðµâÀÌ ¿Ã¶ó°©´Ï´Ù.
±×¸®°í ÀÌ 3¸ðµâÀº ¾î¶°ÇÑ ¿¬°ü¼ºÀÌ ¾øÀ¸¹Ç·Î µû·Îµû·Î ¿Ã·Á¾ß ÇÕ´Ï´Ù.
Çϳª¶óµµ ¿Ã¸®Áö ¾ÊÀ¸¸é ¸¶¿ì½º°¡ ÀÛµ¿À» ÇÏÁö ¾Ê½À´Ï´Ù. -.-;;
À̰ÍÀº modules.conf¿¡¼ pre-installÀ» ÀÌ¿ëÇÏ¸é ½±°Ô ÇØ°áÀÌ µÉ²®´Ï´Ù.
pre-install mousedev /sbin/modprobe usbmouse
pre-install usbmouse /sbin/modprobe usb-uhci
±×¸®°í ¸¶¿ì½º¸¦ °¡¸£Å°´Â µð¹ÙÀ̽º ÆÄÀÏÀº /dev/input/mouse? ÀÔ´Ï´Ù.
±×¸®°í ÀÛµ¿ÇÏ´Â ÇÁ·ÎÅäÄݹæ½ÄÀº ps/2ÀÔ´Ï´Ù.
Űº¸µå¸¦ »ç¿ëÇϱâ À§ÇØ ¿Ã·Á¾ß ÇÏ´Â ¸ðµâÀº
usbcore, usb-uhci, input, usbkbd, keybdevÀ̰í
ÀÌÁß ÀÇÁ¸¼ºÀÌ °É¸° ¸ðµâÀº
usbkdb ¸ðµâÀ» ¿Ã¸®¸é ÀÚµ¿À¸·Î input, usbcore
keybdev ¸ðµâÀ» ¿Ã¸®¸é ÀÚµ¿À¸·Î input¸ðµâÀÌ ¿Ã¶ó°©´Ï´Ù.
À̶ÇÇÑ usb¸¶¿ì½º°ü·Ã ¸ðµâ°ú °°ÀÌ µ¿ÀÛÀ» ÇÕ´Ï´Ù.
5. Ãß°¡µÈ °¡»óÆÄÀÏ ½Ã½ºÅÛ
shm : sysv °øÀ¯¸Þ¸ð¸® : ±ÇÀå ¸¶¿îÆ® À§Ä¡ : /var/shm
devfs : dev ÆÄÀÏ ½Ã½ºÅÛ : ±ÇÀå ¸¶¿îÆ® À§Ä¡ : /dev
usbdevfs: usb ÀåÄ¡ ÆÄÀÏ ½Ã½ºÅÛ : ±ÇÀå ¸¶¿îÆ® À§Ä¡ : /proc/bus/usb
¿©±â¼ shmÀ» ¸¶¿îÆ® ½ÃŰÁö ¾ÊÀ¸¸é sysv °øÀ¯¸Þ¸ð¸®¸¦ »ç¿ëÇÏ´Â apacheÇÁ·Î±×·¥ µîµîÀÌ µ¿ÀÛ ÇÏÁö
¾Ê½À´Ï´Ù.
±×¸®°í usbdevfs °°Àº°æ¿ì¿¡´Â usb¸ðµâÀ» ¿Ã·ÈÀ»°æ¿ì¿¡¸¸ ¸¶¿îÆ® µË´Ï´Ù.
modules.conf¿¡ ´ÙÀ½°ú °°ÀÌ ÇÏ¸é µÇ°ÚÁÒ?
post-install usb-uhci /bin/mount none /proc/bus/usb -t usbdevfs
</verb>
<sect1> SGML¿¡ ±×¸² ³Ö±â<label id=mini12>
<p>
±Û¾´ÀÌ: ¼± Á¤ÇÊ <htmlurl url="mailto:simje@maninet.com" name="simje@maninet.com">
, ±Û¾´³¯: 2000-04-25
<p>
SGMLÀº ÁÖ·Î htmlÀ̳ª dvi ÆÄÀÏÀ» ¸¸µå´Â µ¥ »ç¿ëµË´Ï´Ù.
Àúµµ Á¶±Ý ½áº¸¾Ò´Â µ¥, ±×¸²ÀÌ ¾Æ½±´õ±º¿ä.
±×·¡¼ sgml-toolsÀÇ ÆÄÀϵé Áß dtd ÆÄÀÏÀ» Àо°í
´ÙÀ½°ú °°Àº ÇØ°á¹ýÀ» ã¾Ò½À´Ï´Ù.
<verb>
<figure>
<eps file="images/xxxx.eps" height="yyypt">
<img src="images/xxxx.gif">
<caption><label id="fig_xxx">À̰ÍÀº ±×¸² ¼³¸í</caption>
</figure>
</verb>
ÀÌ·¸°Ô ÇϽøé dviÀÇ °æ¿ì ÀÚµ¿À¸·Î ±×¸² ³Ñ¹ö¸µÀÌ µË´Ï´Ù.
±×¸®°í eps file ºÎºÐÀº dvi¿¡¸¸ ¿µÇâÀ» ¹ÌÄ¡¸ç
img src ºÎºÐÀº html¿¡¸¸ ¿µÇâÀ» ¹ÌĨ´Ï´Ù.
height ¿·¿¡´Ù width¸¦ ¾µ¼öµµ ÀÖÀ¸³ª À̰͸¸ ¾²´Â °ÍÀº,
¾ø¾îµµ µÇÁö¸¸ À̰͸¸ ½á¼ ±×¸²ÀÇ È®´ë/Ãà¼Ò ¹èÀ²À» ÁöÁ¤ÇÒ ¼ö
ÀÖ´Ù´Â °ÍÀÔ´Ï´Ù.
<p>
±×¸®°í ¿©±â¿¡¼ xxxx ¹× yyy´Â ¾Æ½Ã´Ù½ÃÇÇ ¾Æ¹«°³ °ªÀ»
¸»ÇÕ´Ï´Ù. ƯÈ÷ yyypt´Â ¿¹¸¦ µé¾î¼ 386pt¸¦ ¸»ÇÕ´Ï´Ù.
ImageMagick ÆÑŰÁöÀÇ identify ¶ó´Â À¯Æ¿·Î eps ÆÄÀÏÀ»
¸Å°³º¯¼ö·Î ÁÖ¸é ÀÌ·± width x height °ªµéÀ» È®ÀÎÇÏ½Ç ¼ö ÀÖÀ¸½Ç
°Ì´Ï´Ù. pt ´Â point¸¦ ¸»ÇÑ´Ù°í ÇÕ´Ï´Ù.
<p>
³ªÁß¿¡´Â tableÀ» ³Ö´Â ¹æ¹ý¿¡ ´ëÇØ¼ ¿¬±¸Çغ¸¾ÆÁÒ....
<p>
sgmltools ÆÑŰÁö´Â ÃÖÁØÈ£´Ô²²¼ ÆÐÄ¡ÇϽаÍÀÌ ¸î³â° ±×´ë·Î
»ç¿ë¸¸ µÇ°í ÀÖ´Â °Í °°½À´Ï´Ù. ¸ÞÀÌÀú ¹öÀü Â÷À̰¡ ¿µ¹®ÆÇ°ú
¹ú½á »ý±æ Á¤µµÀÌ´Ï.... ¿ì¸®ÀÇ Á¶±×¸¸ ³ë·ÂÀÌ ÀÖ¾î¾ß ÇÒ °Í
°°½À´Ï´Ù.
<sect1> ½Å¼¼´ë ¸ÞÀϸµ ¸®½ºÆ® °ü¸®ÀÚ mailman<label id=mini11>
<p>
±Û¾´ÀÌ : ±Ç ¼ø¼± <htmlurl url="mailto:kss@kldp.org" name="kss@kldp.org">
, ±Û¾´³¯ : 2000-04-17
<p>
¸ÞÀϸµ ¸®½ºÆ® ÇÏ¸é ´ëü·Î majordomo°¡ ¶°¿À¸£½ÃÁÒ?
<p>
mailmanÀ» Çѹø ½áº¸½Ê½Ã¿À.
<p>
mailmanÀº °ÅÀÇ ¸ðµç ÀÛ¾÷ÀÌ À¥ºê¶ó¿ìÀú¸¦ ÅëÇØ¼ ÀÌ·ç¾îÁö¸ç
»ç¿ëÀÚ ÀÔÀå¿¡¼´Â °¡ÀÔ/Å»Åð°¡ ¸Å¿ì ½±°í
°ü¸®ÀÚ ÀÔÀå¿¡¼´Â ¸ÞÀϸµ ¸®½ºÆ® ¾ÆÄ«À̺ê/¼³Á¤ÀÌ ¸Å¿ì ½±´Ù´Â
ÀåÁ¡ÀÌ ÀÖ½À´Ï´Ù.
<p>
±âÁ¸ÀÇ majordomo¸¦ ÅëÇØ °ü¸®µÇ´Â ¸ÞÀϸµ ¸®½ºÆ®ÀÇ ¾ÆÄ«À̺ê(¸ÞÀÏ ¸ðÀ½)¸¦
¼³Á¤Çϱâ À§Çؼ´Â µû·Î MHonarcµîÀÇ ÇÁ·Î±×·¥À» ¼³Ä¡ÇØ¾ß ÇßÀ¸³ª
mailmanÀº ¾ÆÄ«À̺긦 À§ÇÑ ÇÁ·Î±×·¥ÀÌ ±âº»ÀûÀ¸·Î ³»ÀåµÇ¾î ÀÖ°í
¾ÆÄ«À̺긦 º¸¿©ÁÙ °ÍÀΰ¡ ¼û±æ °ÍÀΰ¡¸¦ °ü¸®ÀÚ°¡ ¼±ÅÃÇØ ÁÙ¼öµµ ÀÖ½À´Ï´Ù.
<p>
¶Ç ¸ÞÀÏ-´º½º °ÔÀÌÆ®¿þÀ̸¦ ¾ÆÁÖ ½±°Ô ±¸ÇöÇÒ ¼ö ÀÖ°Ô ÇØÁÝ´Ï´Ù.
<p>
mailmanÀÇ °ü¸®ÀÚ ÀÎÅÍÆäÀ̽º¿¡¼ ¸ÞÀÏ-´º½º °ÔÀÌÆ®¿þÀÌ ºÎºÐÀ»
Ŭ¸¯ÇÏ°í ´º½º ¼¹ö¿Í ´º½º±×·ìÀ» Àû¾îÁֱ⸸ ÇÏ¸é °ð¹Ù·Î ´º½º±×·ìÀÇ
³»¿ëÀÌ ¸ÞÀϸµ ¸®½ºÆ®·Î, ¸ÞÀϸµ ¸®½ºÆ®ÀÇ ³»¿ëÀÌ ´º½º±×·ìÀ¸·Î
»óÈ£ ±³È¯µÇ±â ½ÃÀÛÇÕ´Ï´Ù. ¾ÆÁÖ °£ÆíÇÏÁö¿ä.
<p>
Á¦°¡ »ç½Ç mailmanÀ» ¼³Ä¡ÇصР°ÍÀº ¾ÆÁÖ ¿À·¡Àü ÀÏÀ̾ú´Âµ¥ À̹ø¿¡
gtk, qt °³¹ßÀÚ ¿ÀÇ ¸ÞÀϸµ ¸®½ºÆ®¸¦ ¸¸µé¸é¼ ¿À·£¸¸¿¡ ´Ù½Ã ¼ÕÀ»
Á» ´ëº¸¾Ò³×¿ä.
<p>
mailmanÀÌ µ¿ÀÛÇÏ´Â ¸ð½ÀÀ» º¸°í½ÍÀº ºÐÀº <htmlurl url="http://list.kldp.org" name="http://list.kldp.org"> ¸¦ ¹æ¹®Çϼż gtk, qt °³¹ßÀÚ ¸ÞÀϸµ ¸®½ºÆ®¿¡ °¡ÀÔÇØ
Áֽðí mailmanÀ» ¼³Á¤ÇÏ¿© ¸ÞÀϸµ ¸®½ºÆ®¸¦ ±¸ÃàÇϰíÀÚ ÇÏ´Â ºÐµéÀº
<htmlurl url="http://www.list.org" name="http://www.list.org"> ¿¡¼
mailman ¼Ò½ºÄڵ带 ±¸ÇϽñ⠹ٶø´Ï´Ù.
<p>
¾Æ, mailmanÀÇ ÀåÁ¡ÀÌ ¶Ç ÇѰ¡Áö ÀÖ±º¿ä. ¶óÀ̼¾½º°¡ GPLÀÎ ¿ÏÀüÇÑ
¿ÀǼҽº ÇÁ·Î±×·¥À̶ó´Â°Í. majordomo´Â ¿ÏÀüÇÑ ¿ÀǼҽº ÇÁ·Î±×·¥ÀÌ
¾Æ´Ï±â ¶§¹®¿¡ µ¥ºñ¾ÈÀÇ °æ¿ì majordomo´Â ±âº» ¸ÞÀϸµ ¸®½ºÆ®
ÇÁ·Î±×·¥¿¡ Æ÷ÇԵǾî ÀÖÁö ¾Ê½À´Ï´Ù. ¹¹ GPLÀÌ´Ù ¾Æ´Ï´Ù°¡ Áß¿äÇѰÇ
¾Æ´ÏÁö¸¸....ÇÏ¿©°£ ¿©·¯¸ð·Î Æí¸®ÇÑ Á¡ÀÌ ¸¹½À´Ï´Ù.
<p>
mailmanÀ» »ç¿ëÇϽ÷Á¸é pythonÀÌ ½Ã½ºÅÛ¿¡ ¼³Ä¡µÇ¾î ÀÖ¾î¾ß ÇÏ´Ï
ÃֽйöÀüÀÇ pythonÀ» ¸ÕÀú ¼³Ä¡ÇϽŠÈÄ mailmanÀ» »ç¿ëÇϽñ⠹ٶø´Ï´Ù....
<p>
ÀÌ ±ÛÀº ¿À·¡ÀüºÎÅÍ »ý°¢ÇØ ¿À´ø <htmlurl url="http://list.kldp.org" name="http://list.kldp.org"> ¼³Á¤À» ´ëÃæ ³¡³½ ±â³äÀ¸·Î(?) ½è½À´Ï´Ù. :-)
<sect1> icecast ¸¦ ÀÌ¿ëÇÑ ¶óµð¿À ¹æ¼Û<label id=mini10>
<p>
±Û¾´ÀÌ : ÃÖ ¹Î¼º <htmlurl url="mailto:CHoims@hitel.net" name="CHoims@hitel.net">
, ÃÖÁ¾ ÆíÁýÀÏ : 2000/04/09
<p>
¿äÁò ¸¹Àº ºÐµéÀÌ ÇÏ°í °è½Å ÀÎÅÍ³Ý ¶óµð¿À ¹æ¼Û...
Àúµµ °ü½ÉÀ» °®°í ÇØº¸¾Ò´Âµ¥ »ý°¢º¸´Ù ¾î·ÆÁö ¾Ê´õ±º¿ä..
±×·±µ¥ Âü°íÇÒ ¸¸ÇÑ °ü·Ã ÀÚ·á°¡ ¾ø¾î¼...
¾à°£ °í»ýÀ» Çß´ä´Ï´Ù. :(
<p>
ÀÌ¿¡ ¹æ¼ÛÀ» ÇØº¸°íÀÚ ÇϽô Ãʺ¸ ¸®´ª¼¸¦ À§ÇØ ºÎÁ·ÇÑ ½Ç·ÂÀÌÁö¸¸ Âü°íÇÒ ¸¸ÇÑ »çÇ×À» Àû¾î º¾´Ï´Ù.
(Àú¿Í ´Ù¸¥ ¹öÀüÀ» »ç¿ëÇϽðųª, ½Ã½ºÅÛÀÇ Â÷ÀÌ·Î ÀÎÇÏ¿© ¾à°£¾¿ ´Ù¸¥ ºÎºÐÀÌ Á¸Àç ÇÒ¼öµµ ÀÖ½À´Ï´Ù)
<p>
´ÙÀ½Àº Á¦°¡ ¹æ¼Û Çϱâ±îÁöÀÇ °úÁ¤ ±×´ë·Î ÀÔ´Ï´Ù. :)
ÀÏ´Ü ¹æ¼ÛÀ» À§ÇÑ ÇÁ·Î±×·¥ÀÎ icecast ¸¦ ¼³Ä¡ÇÕ´Ï´Ù.
<htmlurl url="http://icecast.org" name="http://icecast.org">¿¡¼ ±¸ÇϽǼö ÀÖ½À´Ï´Ù.
<p>
Àü 1.3 Á¤½ÄÀ» ´Ù¿î ¹Þ¾Ò´Âµ¥, º° ¹®Á¦ ¾øÀÌ Àß µ¹¾Æ °¡´Â±º¿ä.
ÀÏ´Ü ´Ù¿î ¹ÞÀº °ÍÀ»...
¾ÐÃàÀ» Ç®°í ¼³Ä¡¸¦ ÇÕ´Ï´Ù.
<verb>
tar xvzf icecast-1.3.0-p2.tar.gz
¸¸µé¾îÁø µð·ºÅ丮¿¡ µé¾î°¡¼..
./configure
make
À̹ø¿£ liveice µð·ºÅ丮·Î À̵¿ÈÄ °°Àº ÀÛ¾÷À» ÇÕ´Ï´Ù.
./configure
make
cd ..
</verb>
ÀÌÁ¦ ¼³Ä¡°¡ ´Ù ³¡³µÁÒ?
/usr/local/icecast/bin ¿¡ À§Ä¡µÈ icecast ¸¦ ½ÇÇà ½ÃÄÑ º¾½Ã´Ù. :)
./icecast
<p>
ÀÚ¾Æ.. ¿©±â±îÁö ½±°Ô ÇϼÌÀ»°É·Î ¹Ï½À´Ï´Ù.
(Á¦°¡ ÇÊ¿ä ÀÌ»óÀ¸·Î ¼³¸íÀ» ÀÚ¼¼È÷ ÇѵíÇÑ ´À³¦ÀÌ µå´Âµ¥ ¾Æ´Ñ°¡¿ä? ^^;)
¿©±â¼ ¹æ¼ÛÀ» ¾î¶»°Ô Çϴ°¡... ¶ó´Â ¹®Á¦°¡ Àִµ¥..
shout ¶Ç´Â liveice ¸¦ ÀÌ¿ëÇØ¼ ½±°Ô MP3 ¸¦ ¹æ¼ÛÇÒ¼ö ÀÖ½À´Ï´Ù.
<p>
µÑÀÇ Â÷ÀÌ´Â..
shout ´Â ¹Ì¸® ÀÎÄÚµùÀ» ÇÏ´Â ¹Ý¸é, liveice ´Â ½Ç½Ã°£À¸·Î ÀÎÄÚµùÀ» Çϸç..
¿ÜºÎ ÀÔ·Â(¸¶ÀÌÅ©) ±îÁö °¡´É ÇÕ´Ï´Ù.
(ÇÏÀÌÅÚ ½À»ß ´ÔÀÌ ¸®´ª½º µ¿¿¡ ¿Ã¸®½Å ÀÎÅÍ³Ý ¶óµð¿À ¹æ¼Û icecast (1) ±ÛÀ» Âü°í ÇÏ¿´½À´Ï´Ù)
¾Æ¹«Æ° µÑ´Ù ½ÇÇàÀ» ½ÃÄÑ º¸°Ú½À´Ï´Ù.
¿ì¼± ¿¥ÇÇ ¾²¸® ¹æ¼ÛÀ» À§ÇØ. ¸®½ºÆ®¸¦ ÀÛ¼º ÇØ¾ß µË´Ï´Ù.
º¸Åë µðÆúÆ®°ªÀÎ playlist ÆÄÀÏÀ» ÆíÁýÇØ ÁÖ½Ã¸é µË´Ï´Ù. ´ÙÀ½Àº Á¦°¡ ¿¹½Ã·Î ¸¸µç ¸®½ºÆ®ÀÔ´Ï´Ù.
<verb>
[root@mins bin]# cat playlist
/mnt/mydata/My_Data/Sound/mp3/gayo/À̼ÒÀº - ¼¹æ´Ô.mp3
/mnt/mydata/My_Data/Sound/mp3/gayo/Honey Family/02. ·¦±³ 1¸·.mp3
/mnt/mydata/My_Data/Sound/mp3/gayo/13 First Ravolution(full intro).mp3
/mnt/mydata/My_Data/Sound/mp3/gayo/À̽Âȯ ´çºÎ.mp3
</verb>
°£´ÜÇÏ°Ô ÀÛ¼ºÀ» ÇÒ ¼ö ÀÖ°ÚÁÒ?
ÀÌÁ¦ ¸ðµç Áغñ°¡ °®ÃÄ Áá½À´Ï´Ù.
±×·³ shout ¸¦ ÀÌ¿ëÇØ¼ ¹æ¼ÛÀ» ÇØº¼±î¿ä?
<p>
./shout localhost -P hackme -a -x -p ./playlist -l -g punk -n "A sample name" -u "http://icecast.org"
<p>
´ë·« ¹«½¼ ¿É¼ÇÀÎÁö ÁüÀÛÀÌ °¡½Ã°ÚÁÒ?
-P ´ÙÀ½ÀÇ ³»¿ëÀº ÆÐ½º¿öµå ºÎºÐÀÔ´Ï´Ù.
-p ´Â ¸®½ºÆ® ÆÄÀÏÀÇ °æ·Î À̰í¿ä.
-n Àº ŸÀÌÆ² À̸§À» ¹Ù²Ù´Â ¿É¼Ç °°±º¿ä. Áö±Ý Àß »ý°¢ÀÌ.. ^^;
ÀÚ¼¼ÇÑ ³»¿ëµéÀº ÇïÇÁ¸¦ ÀÌ¿ëÇÏ½Ã±æ ¹Ù¶ø´Ï´Ù.
<p>
ÃÖÁ¤¿ì <htmlurl url="mailto:yak011@hanmail.net" name="yak011@hanmail.net"> ´ÔÀÇ Icecast »ç¿ëÇϱ⠿¡¼ÀÇ ¸í·ÉÀ» ¾à°£ ¼öÁ¤ÇÑ °ÍÀÔ´Ï´Ù.
<p>
¹æ¼ÛÀÌ Àߵǽóª¿ä?
È®ÀÎÀ» ÇÏ½Ã°í ½ÍÀ¸½Ã¸é xmms¸¦ ½ÇÇàÇØ¼ ÄÁÆ®·Ñ ¿¤À» ´©¸£½Ã¸é, ¼¹öÀÇ ÁÖ¼Ò¸¦ ÀÔ·Â ½Ãų¼ö ÀÖ½À´Ï´Ù.
¼¹öÁÖ¼Ò:8000 À¸·Î ÀÔ·Â ÇÏ½Ã¸é µË´Ï´Ù. (ÀÌ·±°ÍÀº ¼³¸í ¾ÈÇØµµ µÈ´Ù°í¿ä? ^^;)
<p>
À̹ø¿£ liveice ¸¦ ÀÌ¿ëÇØ¼ ¹æ¼ÛÀ» ÇØº¼±î¿ä?
À̰æ¿ì MP3 ÀÎÄÚµù ÇÁ·Î·¥ÀÌ ÇÊ¿ä Çѵ¥, Àü lame À̶õ ÇÁ·Î±×·¥À» »ç¿ë ÇÏ¿´½À´Ï´Ù.
´ÙÀ½ÀÇ ÁÖ¼Ò¿¡¼ ´Ù¿îÀ» ¹ÞÀ¸½Ã¸é µÉ°Ì´Ï´Ù.
<htmlurl url="http://hive.me.gu.edu.au/not_lame/" name="http://hive.me.gu.edu.au/not_lame/">
°¢ÀÚ ½Ã½ºÅÛ¿¡ ¸Â´Â °ÍÀ» ´Ù¿î ¹ÞÀ¸½Ã°í¿ä.
¾ÐÃàÀ» Ç®°í ½ÇÇà ÆÄÀÏÀ» /usr/local/icecast/bin/ ¿¡ º¹»çÇÕ´Ï´Ù.
/usr/local/icecast/etc/liceice.cfg ÆÄÀÏÀ» ../bin ¿¡ º¹»çÇÕ´Ï´Ù.
liveice.cfg ·Î ÆÄÀϸíÀ» ¹Ù²ÛÈÄ, °¢ÀÚ¿¡ ¸Â´Â ȯ°æÀ¸·Î ÈÀÏ ³»¿ëÀ» ÆíÁýÇÕ´Ï´Ù.
<p>
´ÙÀ½Àº ÀúÀÇ liveice.cfg ÆÄÀÏÀÇ ³»¿ëÀÔ´Ï´Ù.
´Ù¸¥ ºÎºÐÀº ½Å°æ ¾µ ÇÊ¿ä ¾øÀÌ Á¦°¡ ÁÖ¼®À» ´Ü ºÎºÐ¸¸ ¼öÁ¤ÇØ ÁÖ½Ã¸é µÉ°ÍÀÔ´Ï´Ù.
(Á¦ ÁÖ¼®Àº // µÚ¿¡ ºÎºÐÀÔ´Ï´Ù)
<verb>
# liveice configuration file
# remote server 1st command param
SERVER mins // ¼¹öÀÇ ÁÖ¼Ò¸¦ Àû½À´Ï´Ù.
PORT 8000 // ¼ºñ½º Æ÷Æ® ¹øÈ£ÀÔ´Ï´Ù.
#
# »ý·«
#
USE_LAME3 ./notlame350_rh6 // Á¶±ÝÀü¿¡ ¼³Ä¡ÇÑ lame À» ÀÌ¿ëÇÏ¿© ÀÎÄÚµùÀ» ÇÕ´Ï´Ù.
#
PASSWORD hackme // Áß¿ä ºÎºÐÀÔ´Ï´Ù. ²À hackme ·Î ¼öÁ¤ ÇØÁֽñæ..
#
# playlist -p LIST playlist // ¸®½ºÆ® ÆÄÀÏÀÔ´Ï´Ù. µðÆúÆ® °ªÀÎ playlist ·Î ÁöÁ¤µÇ¾î ÀÖ½À´Ï´Ù.
</verb>
È®ÀÎÀ» ÇØº¼ ±î¿ä...?
<verb>
[root@mins bin]# ./icecast &
[root@mins bin]# ./liveice
</verb>
xmms·Î Å×½ºÆ® ÇØº¸¼¼¿ä. À½¾ÇÀÌ Àß ³ª¿ÀÁÒ? :) ±×·³ Áñ°Å¿î ¹æ¼ÛÀÌ µÇ½Ã±æ.......
- ÀÌ ¹®¼´Â GPL ¶óÀ̼¾½º¸¦ µû¸¨´Ï´Ù. ¹®¼ÀÇ ³»¿ëÁß Æ²¸° ºÎºÐÀ̳ª, Á»´õ Ãß°¡ ÇØ¾ßÇÒ ³»¿ëÀÌ ÀÖ´Ù¸é Àú¿¡°Ô ¸ÞÀÏ ÁÖ½Ã¸é °¨»çµå¸®°Ú½À´Ï´Ù.
<sect1> Linux On A Floppy<label id=mini9>
<p>
<verb>
Eric Benoit(ebenoit@ecks.org)
1998³â 12¿ù 14ÀÏ
¹ø¿ªÀÚ: ¾ç À¯¼º (yooseong@kldp.org)
</verb>
# LOAF¶õ Á¤È®È÷ ¹«¾ùÀΰ¡?<p>
LOAF´Â Ä¿³Î°ú ±âŸ ¿©·¯°¡Áö À¯Æ¿¸®Æ¼¸¦ ¹Àº ¸®´ª½º¸¦ Ç÷ÎÇÇ ÇÑÀåÀ¸·Î ±¸ÇöÇÑ °ÍÀÌ´Ù.
<p>
# LOAF´Â ¾î¶² ÀÏÀ» Çϴ°¡?<p>
LOAF´Â ´Ù¾çÇÑ ³×Æ®¿öÅ© ÇÁ·ÎÅäÄÝ¿¡ ´ëÇÑ Å¬¶óÀÌ¾ðÆ®·Î »ç¿ëµÊÀ» ÀǸ¶ÇÑ´Ù.
ÀÌ´Â lynx(À¥ºê¶ó¿ìÀú), ftp(ÆÄÀÏÀü¼Û), telnet(¿ø°ÝÄÄÇ»ÅÍÁ¢¼Ó)°ú
ssh(¿ø°ÝÄÄÇ»ÅÍÀÇ º¸¾ÈÁ¢¼Ó)À» Æ÷ÇÔÇÑ´Ù.
<p>
# ¿Ö LOAF¸¦ »ç¿ëÇϴ°¡?<p>
¸î°¡Áö ÀÌÀ¯°¡ Àִµ¥, ù°·Î´Â »ç¿ëÇϰíÀÚ ÇÏ´Â ÄÄÇ»ÅÍ¿¡ OS°¡ ¾ø´Â °æ¿ìÀÌ´Ù.
¸¸ÀÏ ¿©·¯ºÐÀÌ °ø¿ëÀ¸·Î »ç¿ëÇϰí ÀÖ´Â ÄÄÇ»Å͸¦ ¾²°í ÀÖ´Ù¸é ±× ÄÄÇ»ÅÍ¿¡ ¾ÇÀÇÀÖ´Â
»ç¶÷ÀÌ ¸¸µé¾î ³õ¾ÒÀ» keylogger(¿©·¯ºÐÀÌ »ç¿ëÇÑ Å°º¸µåÀÇ ¹®ÀÚµéÀ» ±â¾ïÇÏ°Ô ÇÏ´Â
ÇÁ·Î±×·¥)°¡ ÀÖÀ»Áö ¸ð¸¨´Ï´Ù. ±×·¸Áö ¾Ê´Ù¸é ¿©·¯ºÐÀº Àú°°Àº ¸®´ª¼Ã³·³ ¾ÈÁÁÀº
OS¾²´Â °ÍÀ» ´Þ°©°Ô ¿©±âÁö ¾ÊÀ» °ÍÀÔ´Ï´Ù. ÀÌ·¯ÇÑ °æ¿ì¿¡, LOAF´Â ÀÌ»óÀûÀÔ´Ï´Ù.
´õ¿í ¸¹Àº ÀÌÀ¯µéÀÌ ÀÖÁö¸¸, ´Ù¸¥ °ÍµéÀº ¿©·¯ºÐ Àڽſ¡°Ô ´Þ·Á ÀÖ½À´Ï´Ù.
<p>
# LOAF´Â ³» OS¸¦ Áö¿ì´Â°¡?<p>
ºÐ¸íÈ÷ ¸»ÇÏÁö¸¸, LOAF´Â Àý´ë·Î ¿©·¯ºÐÀÌ Áö±Ý »ç¿ëÇÏ´Â OS¸¦ ¾ø¾ÖÁö ¾Ê½À´Ï´Ù.
LOAF´Â Ç÷ÎÇÇ µð½ºÅ©·Î ½Ãµ¿µÇ±â ¶§¹®¿¡, RAM¾È¿¡ ÀÚµ¿ÀûÀ¸·Î ¼³Ä¡µÇ¸ç ÄÄÇ»ÅͰ¡
²¨Áú ¶§±îÁö ÀÛµ¿ÇÕ´Ï´Ù. »ç½Ç LOAF´Â ÇÏµå µå¶óÀ̺갡 ¹«¾ùÀÎÁö ¸ð¸¨´Ï´Ù.
<p>
# ¾î¶² ÄÄÇ»ÅÍ¿¡¼ LOAF´Â ÀÛµ¿Çϴ°¡?<p>
LOAF´Â ÃÖ¼ÒÇÑ ´ÙÀ½°ú °°Àº ÄÄÇ»ÅÍ »ç¾çÀÌ ÇÊ¿äÇÕ´Ï´Ù.
<verb>
386sx CPU
4MB RAM
Floppy drive (3.5" ¶Ç´Â 5.25")
</verb>
Àû¾îµµ 6MBÀÇ RAM¸¦ ±ÇÀåÇÏÁö¸¸, ´À¸®±ä ÇÏÁö¸¸ 4MB¿¡¼µµ ÀÛµ¿ÇÒ °ÍÀÔ´Ï´Ù.
LOAF´Â 386ÀÌ»óÀÇ Intel/AMD/Cyrix/IBM CPU¿¡¼ ÀÛµ¿ÇÕ´Ï´Ù.
<p>
¹°·Ð NIC°¡ ¾ø´Â ÄÄÇ»ÅÍ¿¡¼ LOAF¸¦ »ç¿ëÇÏ¸é ¸¹Àº ÀÏÀ» ÇÒ ¼ö ¾øÁö¸¸ ÀÛµ¿À» ÇÒ °ÍÀÔ´Ï´Ù.
<p>
# LOAF°¡ Áö¿øÇÏ´Â NIC (Network Interface Card)´Â ¾î¶² °ÍÀΰ¡?<p>
ÇöÀç ´ÙÀ½°ú °°Àº ³×Æ®¿öÅ© Ä«µå¸é °¡´ÉÇÏ´Ù.
<verb>
3c503 (EtherLink II)
3c509/579 (EtherLink III)
3c59x¿Í 3c90x
NE1000/2000 (ISA)
NE2000 (PCI)
EtherExpress Pro PCI 10+/100B/100+
EtherWORKS 3 (DE203/204/205)
WD80x3
DECchip Tulip
</verb>
¸¸ÀÏ ¿©·¯ºÐÀÇ ³×Æ®¿öÅ© Ä«µå°¡ À§ÀÇ ¸ñ·Ï¿¡ ¾ø°í Ä¿³Î ÄÄÆÄÀÏ¿¡ ´É¼÷ÇÏ´Ù¸é ¿©·¯ºÐÀº ¿©·¯ºÐÀÇ °ÍÀ» ¸¸µé ¼ö ÀÖÀ» °ÍÀÌ´Ù. ¸î¸î°¡Áö .configÀÇ ¿¹µéÀ» <url url="ftp://ftp.ecks.org/loaf/devel" name="ftp://ftp.ecks.org/loaf/devel"> ¿¡¼ º¼ ¼ö ÀÖÀ» °ÍÀÌ´Ù. Ä¿³ÎÀº 319K°¡ ³Ñ¾î¼´Â ¾ÈµÈ´Ù. ¸¸ÀÏ ±×·¸Áö ¾Ê´Ù¸é, ³ª¿¡°Ô À̸ÞÀÏÀ» ÅëÇØ ¿¬¶ôÀ» ÇØÁÖ¸é ¿©·¯ºÐ¿¡°Ô ³»°¡ ¹«¾ùÀΰ¡ ÇÒ ¼ö ÀÖÀ» °ÍÀÌ´Ù.
<p>
# ±×·¯¸é ¾î¶»°Ô LOAF¸¦ »ç¿ëÇÒ °ÍÀΰ¡?<p>
LOAF´Â image·Î¼ ¹èÆ÷µÈ´Ù. ÀÌ´Â Ç÷ÎÇÇ µð½ºÅ©¿¡ ÀÖ´Â »çÁø°ú °°Àº °ÍÀ» °¡Á®´Ù »ç¿ëÇÑ´Ù´Â ÀǹÌÀÌ°í ÆÄÀÏ·Î ÀúÀåµÈ´Ù. ¿©·¯ºÐÀÌ ÇÊ¿äÇÑ °ÍÀº Ç÷ÎÇÇ µð½ºÅ© ÇÑÀåÀÌ°í ±× ¾È¿¡ image¸¦ ³ÖÀ¸¸é µÈ´Ù.
<p>
¿©·¯ºÐÀÌ DOS³ª À©µµ¿ì 3.1/95/98/NT¸¦ »ç¿ëÇÑ´Ù¸é, ¿©·¯ºÐÀº RAWRITE¶ó´Â ÇÁ·Î±×·¥ÀÌ ÇÊ¿äÇÒ °ÍÀÌ´Ù. ¿©·¯ºÐÀÌ ¸®´ª½º³ª BSD, Solaris x86À» »ç¿ëÇÑ´Ù¸é dd¶ó´Â ÇÁ·Î±×·¥À» ÀÌ¹Ì °®°í ÀÖÀ» °ÍÀÌ´Ù. ´Ù¸¥ OS¿¡¼´Â ¹«¾ùÀÌ ÇÊ¿äÇÑÁö ³ªµµ ¸ð¸¥´Ù.
<p>
´ÙÀ½À¸·Î ÇÊ¿äÇÑ °ÍÀº LOAFÀÌ´Ù. ´ÙÀ½ÀÇ ¸ñ·ÏÁß ÀûÀýÇÑ °ÍÀ» ¼±ÅÃÇÏ¸é µÈ´Ù.
<verb>
ftp://ftp.ecks.org/pub/loaf/loaf1.img
ftp://ftp.ecks.org/pub/loaf/loaf2.img
ftp://ftp.ecks.org/pub/loaf/loaf3.img
ftp://ftp.ecks.org/pub/loaf/loaf4.img
ftp://ftp.ecks.org/pub/loaf/loaf5.img
ftp://ftp.ecks.org/pub/loaf/loaf6.img
ftp://ftp.ecks.org/pub/loaf/loaf7.img
</verb>
# ÀÌ ÆÄÀÏÀ» °¡Áö°í ±× ´ÙÀ½¿¡ ÇÒ ÀÏÀº?<p>
±× ´ÙÀ½ ÀÛ¾÷Àº ¼±ÅÃÇÑ image¸¦ °¡Áö°í Ç÷ÎÇÇ¿¡ ³Ö´Â´Ù. ¸¸ÀÏ RAWRITEÀ» »ç¿ëÇÏ´Â »ç¶÷ÀÌ¸é ´ÙÀ½°ú °°Àº ¸í·ÉÀ» ½ÇÇàÇÑ´Ù.
RAWRITE loaf#.img a:
¿©±â¼ #ÀÇ Àǹ̴ ¿©·¯ºÐÀÌ ¼±ÅÃÇÑ Ä¿³ÎÀÌ´Ù. a:´Â Ç÷ÎÇÇ µå¶óÀ̺긦 ÀǹÌÇÑ´Ù. (¹°·Ð b:µµ °¡´ÉÇÏ´Ù.)
¸®´ª½º¿Í *BSD, Solaris x86À» »ç¿ëÇÏ´Â »ç¶÷µéÀº:
dd if=loaf#.img of=/dev/fd0
#Àº ¿©·¯ºÐÀÌ ¼±ÅÃÇÑ Ä¿³ÎÀ̸ç, fd0´Â Ç÷ÎÇÇ µå¶óÀ̺긦 ÀǹÌÇÑ´Ù. (¹°·Ð fd1µµ °¡´ÉÇÏ´Ù.)
chug, chug, chug ...ding!*
ÃàÇÏÇÕ´Ï´Ù. ¸¸ÀÏ µð½ºÅ©°¡ À߸øµÈ °ÍÀÌ ¾Æ´Ï¶ó¸é, LOAF µð½ºÅ©·Î¼ ±× µð½ºÅ©´Â ÀÛµ¿ÇÒ °ÍÀÌ´Ù. ÄÄÇ»ÅÍ¿¡ µð½ºÅ©¸¦ Áý¾î³Ö°í ½ÃµµÇغ¸¶ó! ¸¸ÀÏ ¹®Á¦°¡ ÀÖ´Ù¸é, ³ª¿¡°Ô À̸ÞÀÏÀ» º¸³»¶ó.
# ½ÇÁ¦ »ç¿ëÀÌ ¾î¶»³ª¿ä?<p>
¿©·¯ºÐÀÌ LOAF·Î ºÎÆÃÀ» Çß´Ù¸é, ¿©·¯ºÐÀº ½ºÅ©¸° »ó¿¡ ÇѶ§ÀÇ ÆÄ¸®(?)¿Í °°Àº °ÍÀÌ ³¯¾Æ°¡´Â °ÍÀ» º¼ ¼ö ÀÖÀ» °ÍÀÌ´Ù. ´ÜÁö ºÎÆÃ°úÁ¤ÀÌ´Ï °ÆÁ¤ÇÏÁö ¸»¾Æ¶ó. ÀÌ·¯ÇÑ °ÍÀÌ ³¡³ª°í ³ª¸é, Ç÷ÎÇǷκÎÅÍ OSÀÇ ³ª¸ÓÁö¸¦ °®°í ¿Í¼ ¾ÐÃàÀÌ Ç®¸®°í RAM µð½ºÅ©¿¡ ³õÀÏ °ÍÀÌ´Ù. ·Î±×ÀÎ ÇÁ·ÒÇÁÆ®°¡ ³ªÅ¸³´Ù¸é ´õÀÌ»ó ÇÊ¿äÇÑ °ÍÀÌ ¾øÀ¸¹Ç·Î Ç÷ÎÇÇ µð½ºÅ©¸¦ »©³¾ ¼ö ÀÖ´Ù. ´ÙÀ½À¸·Î ÇÒ ÀÛ¾÷Àº 'root'·Î ·Î±×ÀÎÀ» ÇÏ´Â °ÍÀÌ°í ±× ÈÄ¿¡ ´Ù¸¥ ÀÛ¾÷À» ÇÒ ¼ö ÀÖ´Â KISS¶ó´Â ÇÁ·ÒÇÁÆ®¸¦ º¸°Ô µÉ °ÍÀÌ´Ù.
<p>
ÇÁ·ÒÇÁÆ®¸¦ º¸´Â °ÍÀº Áñ°ÌÁö¸¸...
¿©·¯ºÐÀº ¿ÜºÎ¿ÍÀÇ Á¢¼ÓÀ» ÇÏ°í ½ÍÀ» °ÍÀÌ´Ù. ¿©±â¿¡ °£´ÜÈ÷ Á¢¼ÓÇÒ ¼ö ÀÖ´Â ¹æ¹ýÀÌ ÀÖ°í ±× ³»¿ëÀº LOAF³»¿¡ ÀÖ´Ù. (´ÜÁö lynx¶ó°í ÀÔ·ÂÇ϶ó.)
<verb>
ifconfig eth0 MY_IP_ADDRESS
route add -net MY_NETWORK netmask MY_NETMASK
route add default gw MY_GATEWAY
</verb>
ù¹øÂ° ÁÙÀÇ MY_IP_ADDRESS¿¡´Â ÇöÀç »ç¿ëÇϰí ÀÖ´Â IP ÁÖ¼Ò¸¦ ÀÔ·ÂÇÑ´Ù. ¿¹¸¦ µé¾î, 192.168.4.24 µÎ¹øÂ° ÁÙ¿¡¼´Â MY_NETWORK´Â MY_IP_ADDRESS¿¡¼ ¸¶Áö¸· ¹øÈ£´ë½Å 0À» ÀÔ·ÂÇÑ´Ù. ¿¹¸¦ µé¾î, 192.168.4.0¶ó°í ÀÔ·ÂÇÏ¸é µÇ°í, MY_NETMASK´Â 255.255.255.0À¸·Î ÇϸéµÈ´Ù.<p>
¼¼¹øÂ° ÁÙ¿¡ ³ªÅ¸³ MY_GATEWAY´Â ¼±ÅûçÇ×ÀÌ´Ù ¾øÀ¸¸é ¾²Áö ¾Ê¾Æµµ µÈ´Ù.
È£½ºÆ® ³×ÀÓÀ» »ç¿ëÇÏ°í ½Í´Ù¸é /etc/resolve.conf ÆÄÀÏÀ» ¿©·¯ºÐÀÇ DNS ¼¹ö·Î º¯°æÇÏ¸é µÈ´Ù.
<verb>
echo "nameserver MY_DNS_SERVER" > /etc/reslove.conf
</verb>
MY_DNS_SERVER´Â ¿©·¯ºÐÀÇ DNS ¼¹ö¸¦ ÀǹÌÇÑ´Ù. ¿¹¸¦ µé¸é, 192.168.4.1
<p>
¸¸ÀÏ ÀÌ·¯ÇÑ °ÍµéÀ» ¿©·¯ºÐÀÌ Àß ¾ËÁö ¸øÇÑ´Ù¸é, ¿©·¯ºÐÀÇ OS ÀÇ ³×Æ®¿öÅ© ¼³Á¤À» º¸°Å³ª ¿©·¯ºÐÀÇ ½Ã½ºÅÛ °ü¸®ÀÚ¿¡°Ô ¹°·¯º¸¶ó. À§ÀÇ °ÍµéÀ» ½ÇÇàÇÏÁö ¾ÊÀ¸¸é Ä¿´Ù¶õ ¹®Á¦Á¡ÀÌ ¹ß»ýÇÒ ¼ö ÀÖ´Ù.<p>
ÀÌ·¯ÇÑ °úÁ¤ÈÄ¿¡ À߸øµÈ °ÍÀÌ ¾ø´Ù¸é ¿©·¯ºÐÀº lynx¸¦ ÀÌ¿ëÇÏ¿© Çѹø ÀÎÅͳݿ¡ Á¢¼ÓÇØºÁ¶ó. ³×°¡ÁöÀÇ VC°¡ ÀÖ¾î¼ ALT-F1/F2/F3/F4¸¦ ÀÌ¿ëÇØ º¯°æÇÒ ¼ö ÀÖ´Ù. ·Î±×ÀÎÀº ¿©·¯ºÐÀÌ Ã³À½ Á¢¼ÓÇÑ °Í°ú µ¿ÀÏÇÏÁö¸¸, ¿©·¯ºÐÀº ³×Æ®¿öÅ©¸¦ Àç¼³Á¤ÇÒ Çʿ䰡 ¾ø´Ù.
<p>
¼º°øÀÌ´Ù. ¼º°øÇß´Ù¸é ÈǸ¢ÇÏ´Ù. ±×¸®°í ³ª¼ ´ç½ÅÀÌ ¾ó¸¶³ª ¶È¶ÈÇѰ¡¸¦ ¿©·¯ºÐ Ä£±¸µé¿¡°Ô ¾Ë·ÁÁà¶ó. :) ±×¸®°í ¸¶Áö¸·À¸·Î, ¿©·¯ºÐÀº ³ª¿¡°Ô À̸ÞÀÏ·Î ¿¬¶ôÇÒ ¼ö ÀÖ´Ù. Çà¿îÀ» ºó´Ù!
<p>
pinkey57@netsgo.com´Ô Ãß°¡ :
Àü °³ÀÎÀûÀ¸·Î ¹Â¸®´ª½º¸¦ »ç¿ëÇϰí ÀÖ´ä´Ï´Ù...^^
<htmlurl name="http://sunsite.auc.dk/mulinux/" url="http://sunsite.auc.dk/mulinux/">
<sect1> Tomcat3.1m ¼³Ä¡ Çϱâ<label id=mini8>
<p>
<verb>
ÀÛ¼ºÀÚ: ±è »ó¼ö(http://www.game114.co.kr)
* ÃÖÁ¾ ¼öÁ¤ÀÏ: 2000.04.07
</verb>
- ȯ°æ: Linux Allzza Red het 6.2 + Apache 1.3.9 + Tomcat3.1m<p>
- »çÀü Áغñ
<verb>
1) Linux OS¸¦ ±¸ÇÑ´Ù.
2) Apache¸¦ ±¸ÇÑ´Ù.
3) jdk1.2.2.¸¦ ±¸ÇÑ´Ù.
4) Tomcat(jakarta_tomcat.tar.gz)À» ±¸ÇÑ´Ù. + mod_jserv.so(apache¿Í tomcatÀ» ¿¬°á ½ÃŰ´Â ¿ªÇÒ)
</verb>
1. ¸ÕÀú Çϱâ
<verb>
1) OS¸¦ ±ñ´Ù(»ý·«)
2) Apache ¼³Ä¡(»ý·«)
3) jdk1.2.2 ¼³Ä¡(classpath¿¡ lib/tools.jar Àâ¾Æ ÁØ´Ù)
4) tomcat3.1 ¼³Ä¡
¿¹) /usr/local/jakarta-tomcat
</verb>
2. ´ÙÀ½¿¡ Çϱâ
<verb>
jakarta-tomcat/bin ¿¡¼ ./startup.sh -f ÇÑ´Ù.
±×¸®°í http://localhost:8080/À» ¹æ¹®ÇÑ´Ù.
Á¾·áÇϱâ: ./shutdown.sh -f¸¦ ÇÑ´Ù.
°í¾çÀÌ ÇÑ ¸¶¸® ºÃÀ¸¸é ¼º°ø!!
ÀÏ´Ü Á¾·á¸¦ ÇÑ´Ù.
´ÙÀ½ ¾ÆÆÄÄ¡¿Í ¿¬µ¿ ÇØ¾ß µÈ´Ù.
http://localhost¸¦ ¹æ¹®ÇÏ¿© ¾ÆÆÄÄ¡ ¼¹ö°¡ ±âµ¿ µÇ´ÂÁö È®ÀÎ ÇÑ´Ù.
±âµ¿µÇ°í ÀÖ´Ù¸é À§¿¡¼ ¹ÞÀº mod_jserv.so ÆÄÀÏÀ» apache/libexec¿¡ º¹»ç Çϰí
conf/httpd.confÀÇ Á¦ÀÏ ¸¶Áö¸·¿¡ ´ÙÀ½°ú °°ÀÌ ¾´´Ù.
Include /usr/local/jakarta-tomcat/conf/tomcat.conf
ÀÌ·¸°Ô ÇÏ°í ¾ÆÆÄÄ¡¸¦ ´Ù½Ã ±âµ¿ ½ÃŲ´Ù.
(Á¦´ë·Î µÇÁö ¾ÊÀ¸¸é ¾ÆÆÄÄ¡¸¦ ´Ù½Ã ±ò¾Æ¾ß ÇÑ´Ù.)
****
¸¸¾à ¿¡·¯°¡ ¹ß»ýÇϽô ºÐÀÌ ÀÖÀ» °Ì´Ï´Ù.
module¸¦ ·Îµå ÇÒ ¼ö ¾ø°Å³ª ÆÄÀÏÀÌ ¾ø´Ù°í ³ª¿Ã °Ì´Ï´Ù.
±×·± °æ¿ì ¾ÆÆÄÄ¡¸¦ ¼³Ä¡ÇÒ ¶§ RPM µîÀÇ ÆÐŰÁö·Î ÇÏÁö ¾Ê°í
Á÷Á¢ ÄÄÆÄÀÏ ÇÑ °æ¿ìÀÔ´Ï´Ù.
À̶§´Â ¾ÆÆÄÄ¡ configure ¸í·É ½ÇÇà½Ã ´ÙÀ½ ¿É¼ÇÀ» ÁÖ°í ´Ù½Ã
ÄÄÆÄÀÏ ÇϽʽÿä..
--enable-rule=SHARED_CORE --enable-module=so
tocmcatÀ» ´Ù½Ã ±âµ¿ Çϰí
À̹ø¿¡´Â http://localhost·Î ¹æ¹®ÇÑ´Ù.
Àߵ˴ϱî??
</verb>
3. ¿©±â±îÁö ÇØ¼ ¾ÈµÇ´Â °æ¿ì ¶Ç´Â ´õ ¸¹À» °ÍÀ» ÇÏ°í ½ÍÀº °æ¿ì´Â?
<verb>
1) DB¿¡¼ ¾²´Â µå¶óÀ̹ö´Â ¾îµð¿¡ ³Ö°í ÇÏÁÒ
/usr/local/jakarta-tomcat/lib ¿¡ ¸ðµÎ ³ÖÀ¸¼¼¿ä... ±×·¯¸é
tomcatÀÌ ±âµ¿ µÉ¶§ Ŭ·¡½º ÆÐ½º·Î Àâ¾Æ ÁÝ´Ï´Ù.
2) ±âÁ¸¿¡ ¸¸µé¾îÁø µð·ºÅ丮´Â admin, test, examples °¡ Àִµ¥
»õ·Î¿î µð·ºÅ丮(context)¸¦ ¸¸µå´Â ¹æ¹ýÀº?
http://localhost/admin À» ¹æ¹®ÇϽøé
context º¸±â, Ãß°¡, »èÁ¦°¡ ³ª¿É´Ï´Ù.
°Å±â¼ Ãß°¡ ÇØ ÁÖ¸é µË´Ï´Ù.
¿¹¸¦ µé¾î) baseball À̶ó´Â °ÍÀ» ¸¸µé°í ½ÍÀ¸¸é
/baseball webapps/baseball À̶ó°í °¢°¢ ¾²°í ¹öư Ŭ¸¯À» Çϼ¼¿ä.
±×¸®°í °á°ú¸¦ º¸¼¼¿ä.. ±×¸®°í webapps/baseball ¾Æ·¡¿¡ examples ¿Í
µ¿ÀÏÇÑ µð·ºÅ丮¸íÀ» ¸¸µé°í conf/tomcat.conf ¿¡ ¾Æ·¡¿Í °°ÀÌ Àû¾î ÁÖ¼¼¿ä.
ApJServMount /baseball /root
±×¸®°í server.xml¿¡ ´ÙÀ½À» Ãß°¡ Çϼ¼¿ä
<Context path="/baseball" docBase="webapps/baseball" debug="0" reloadable="true" >
</Context>
3) ù ȸéÀ» index.jsp·Î ÇÏ°í ½ÍÀºµ¥¿ä??
¸ÕÀú apacheÀÇ conf/httpd.conf ÆÄÀÏ¿¡¼ index.html À̶ó°í ÀûÈù ºÎºÐ µÚ¿¡
index.html, index.jsp·Î µî·Ï ÇϽðí
ApJServMount / /root ·Î ¼öÁ¤ Çϼ¼¿ä.
±×¸®°í 2¹ø¿¡¼ ¹æ¹ýÀ¸·Î baseballÀ» ¸¸µé¸é
http://localhost/baseball ·Î ¹æ¹® ÇÏ½Ã¸é µË´Ï´Ù.
4) ÇÑ ¼¹ö¿¡ ¿©·¯ »çÀÌÆ®¸¦ ±¸µ¿ ÇÏ°í ½Í°Å³ª ÇÑ ¼¹ö¸¦ ¿©·¯ Æ÷Æ®¸¦ »ç¿ëÇØ¼ ±¸µ¿ ½Í°Å³ª
±âŸ tomcatÀ» ÀÌ¿ëÇØ¼ ¾î·Á¿î ÀÏÀ» ÇÏ°í ½ÍÀº »ç¿ëÀÚµéÀº ¾î¶»°Ô Çմϱî?
¾Æ·¡ »çÀÌÆ®¸¦ ¹æ¹® ÇÑ´Ù.
</verb>
<url url="http://jakarta.apache.org/cvsweb/index.cgi/~checkout~/jakarta-tomcat/src/doc/uguid/tomcat_ug.html" name="http://jakarta.apache.org/cvsweb/index.cgi/~checkout~/jakarta-tomcat/src/doc/uguid/tomcat_ug.html">
<verb>
faq¸¦ µÑ·¯ º¸½Ã°Å³ª.. Âß ÀÐ¾î º¸½Ã°Å³ª ¸ÞÀϸµ ¸®½ºÆ®¿¡ °¡ÀÔÇϼ¼¿ä..
</verb>
4. ±âŸ
<verb>
1) ¾ÆÆÄÄ¡ ±âµ¿ / Á¾·á / Àç±âµ¿(bin ¿¡¼ ÇÑ´Ù.)
./apachectl start
./apachectl stop
./apachectl.restart
2) tomcat ±âµ¿ / Á¾·á
./startup.sh -f
./shutdown.sh -f
</verb>
5. ¸¶Ä¡¸ç..
<verb>
ÀÌÆ²µ¿¾È ¹«Áö °í»ý Çß½À´Ï´Ù. À̰ÍÀ¸·Î ÀÚ¹Ù¿Í ¸®·è½º¸¦ »ç¶ûÇÏ´Â
¸¹Àº »ç¶÷µé¿¡°Ô Á¶±ÝÀÌ¶óµµ µµ¿òÀÌ µÇ¸é ÁÁ°Ú½À´Ï´Ù.
¸¹Àº ¾÷±×·¹ÀÌµå ºÎŹ µå¸³´Ï´Ù.
</verb>
<sect1> ¸®´ª½º ¹Ú½º ÇÑ´«¿¡ ¸ð´ÏÅ͸µ Çϱâ<label id=mini7>
<p>
<verb>
±Û¾´ÀÌ : ¼Û ¿µ¹®(songym@kasan.com)
2000 3¿ù 27ÀÏ
</verb>
ÇÊÀÚ´Â ¸®´ª½º ·Î ¼¹ö°ü¸®¸¦ 4³âµ¿¾È ÇØ¿À¸é¼ ¸¹Àº ½ÃÇà Âø¿À¸¦ °Þ¾ú´Ù.
ÇѶ§´Â FWTK ·Î ¹æÈº®À» ±¸ÃàÇØ »ç¿ëÇϱ⵵ ÇßÁö¸¸ ½Ç½Ã°£À¸·Î ¸®´ª½º ¹Ú½º¸¦ ¸ð´ÏÅ͸µ ÇÒ ¼ö´Â ¾ø¾ú´Ù. ÇÑ´Ù ÇÏ´õ¶óµµ ¹«Ã´ ¹Ùºü¾ß °¡´ÉÇÒ¼ö ÀÖ¾ú´Ù. ¶ÇÇÑ »ó¿ëÇÁ·Î±×·¥µéÀº »ç¿ëÀÌ ½±Áö ¾Ê¾ÒÀ¸¸ç(? ÇÊÀÚ¿¡°Ô¸¸) °æÀçÀûÀÎ ÀÌÀ¯·Î ¸¹Àº Á¦ÇÑÀÌ ÀÖ¾ú´Ù.
<p>
ÇÊÀÚ°¡ À̱ۿ¡ ¾²°íÀÚ ÇÏ´Â ±ÛÀº ¸ð´ÏÅÍ ÇÑ ´ë¿¡¼ 10´ëÀÌ»óÀÇ ¼¹ö¸¦ ÇÑ ´«¿¡ ¸ð´ÏÅ͸µ ÇÏ´Â ¹æ¹ýÀÌ´Ù. ÇÊÀÚº¸´Ù ¿ì¼öÇÑ °ü¸®ÀÚµéÀº ÀÌ¹Ì ¾Ë°í ÀÖ°ÚÁö¸¸, ¸ð¸£´Â Ãʺ¸°ü¸®ÀÚµéÀ» À§ÇØ ±ÛÀ» ¾´´Ù.
<p>
ÇÊÀÚ°¡ »ç¿ëÇÑ ¹æ¹ýÀº xconsole °ú syslogd¸¦ ÀÌ¿ëÇÑ °ÍÀÌ´Ù.
¹æ¹ýÀº ÀǿܷΠ°£´ÜÇÏ´Ù.
<verb>
root@lovin /etc]#vi syslog.conf¸¦ ÀÔ·ÂÇÑ´Ù.
±×·¯¸é
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none /var/log/messages (±âº» ¼³Á¤)
*.info;mail.none;authpriv.none /dev/console (ÇÊÀÚ°¡ Ãß°¡ÇÑ ºÎºÐ)
# The authpriv file has restricted access.
authpriv.* /var/log/secure(±âº»¼³Á¤)
authpriv.* /dev/console(ÇÊÀÚÃß°¡)
# Log all the mail messages in one place.
mail.* /var/log/maillog
mail.* /dev/console
# Everybody gets emergency messages, plus log them on another
# machine.
*.emerg *
# Save mail and news errors of level err and higher in a
# special file.
</verb>
À§ÀÇ ÆÄÀÏÀ» ÀÚ½ÅÀÇ ÆÄÀϰú ºñ±³ÇØ º¸¸é ¾îµð°¡ ´Ù¸¥Áö ¾Ë¼ö ÀÖÀ» °ÍÀÌ´Ù.
ÀÌ´Â À§¿¡ ¼³Á¤µÈ °¢Á¾ log µéÀ» /dev/console ·Î º¸³»´Â °ÍÀÌ´Ù.
ÀÚ½ÅÀÇ ÆÄÀÏÀ» °íÄ£ÈÄ /etc/rc.d/init.d ·Î À̵¿ÇÑ´Ù.
À̵¿ÈÄ syslog ¸¦ Àç½ÃÀÛ ÇÏ¸é µÈ´Ù.
<p>
[root@lovin init.d}#./syslog restart
<p>
±âº» ¼³Á¤Àº ³¡³ °ÍÀÌ´Ù. ¹«Ã´ °£´ÜÇÏ´Ù.
±× ´ÙÀ½ X-window¸¦ ½Ãµ¿Çؼ ¾Æ¹« Å͹̳ο¡¼ xconsoleÀ» ÀÔ·ÂÇÑ´Ù. ±×
·¯¸é ±×³É ÇϾá»öÀÇ Á¶±×¸¸ âÀÌ ¶á´Ù.
ÀÌÁ¦ ½ÃÇèÀ» ÇØº¸ÀÚ.
<p>
[root@lovin init.d]#ftp 0 ¡¡
<p>
Çϸé xconsole ¿¡ ·Î±×°¡ »Ñ·ÁÁú °ÍÀÌ´Ù.
À̸¦ °è¼Ó »ç¿ëÇÏ·Á¸é X-window ·Î±×¾Æ¿ô½Ã ¼¼¼Ç ÀúÀåÀ» ¼±ÅÃÇÏ¸é µÈ´Ù.
<p>
À§¿Í °°Àº ¹æ¹ýÀ¸·Î ¿©·¯´ëÀÇ ¼¹ö¿¡ Àû¿ëÇÏ¸é ½±°Ô ÇÑ´«¿¡ ¸ð´ÏÅ͸µÀÌ °¡´ÉÇÏ´Ù.
<sect1> LILO Ȱ¿ëÇϱâ<label id=mini6>
<p>
<verb>
±Û¾´ÀÌ : Ȳº´¿ì(dmsrma@hanmail.net)
2000 3¿ù 13ÀÏ
</verb>
LILO Ȱ¿ëÇϱâ
(Window98 + Alzza Linux 6.0 + Power Linux R2 + Mizi Linux 1.0 + RedHat 6.0¼³Ä¡Çϱâ)
ÄÄÇ»ÅÍ È¯°æ ; ÆæÆ¼¿ò II 466(¼¿·¯·Ð), 128M, 10G, lilo-0.21-6
ÀÛ¼ºÀÚ ÀÎ»ç °â ¹®¼ ¾²°Ô µÈ °æÀ§ :
¾È³çÇϼ¼¿ä. Ȳº´¿ì¶ó°í ÇÕ´Ï´Ù. À̹ø¿¡ ¸®´ª½º ¼³Ä¡¿¡ ¼º°øÀ» ÇÏ¿´½À´Ï´Ù.
´ë´ÜÈ÷ ȹ±âÀûÀÌÁöµµ ¾ÊÁö¸¸ Ȥ½Ã³ª Àú°°ÀÌ ¿©·¯°³ ¼³Ä¡¸¦ ¿øÇϽô ºÐµéÀÌ
ÀÖÀ»±î ÇØ¼ Á¦°¡ ¼³Ä¡Çغ» °æÇèÀ» Åä´ë·Î Àû½À´Ï´Ù.<p>
ÀϹÝÀûÀ¸·Î »ý°¢ÇÏ´Â À©µµ¿ì98°ú ¸®´ª½º ¹èÆ÷º» Çϳª¸¦ ¼³Ä¡ ÇÏ´Â °ÍÀÌ ¾Æ´Õ´Ï´Ù.
À©µµ¿ì98 + ¸®´ª½º ¹èÆ÷º» 4°³ÀÔ´Ï´Ù. ¿ì¸®³ª¶ó¿¡ ¹èÆ÷µÇ´Â ¸¹Àº ¸®´ª½º ¹èÆ÷º» Áß
4°¡Áö¸¦ ÇѲ¨¹ø¿¡ ±ò¾Æ º¸±â À§Çؼ ÇÊ¿äÇÑ ¸®·Î ¼³Á¤¿¡ ´ëÇØ¼ ¾Ë¾Æ º¸°Ú½À´Ï´Ù.
¿Ö ¸®´ª½º¸¸ ±ò¾Ò³Ä°í ÇÏ´Â ºÐµµ Àִµ¥ Á¦°¡ ¸®´ª½º¸¸ ¾Ë°Åµç¿ä.<p>
´ÙÀ½¿¡´Â FreeBSD¿Í BeOS ±×¸®°í ´Ù¸¥ À¯´Ð½º¸¦ ±ò¾Æº¼ »ý°¢ÀÔ´Ï´Ù.
¹èÆ÷º»À» ¸¹ÀÌ ¼³Ä¡ÇÒ ÀÌÀ¯°¡ ÀÖ¾î¼ ¼³Ä¡¸¦ ÇÏ°Ô µÇ¾ú½À´Ï´Ù. ÀÌ·¸°Ô »ç¿ëÇÏ½Ç ºÐÀº ¾ø°ÚÁö¸¸¿ä. ±×¸®°í WINDOW + LINUX + FreeBSD + BeOS¸¦ »ç¿ëÇϽ÷Á´Â ºÐµéÀÇ
±âÃÊ ÀÚ·á°¡ µÇ¾úÀ¸¸é ÇÏ´Â ¸¶À½¿¡ Á¦°¡ ¼³Ä¡ÇÑ °æÇèÀ» ¹ÙÅÁÀ¸·Î ªÀº ±Û ½Ç·ÂÀ¸·Î
¿Ã¸³´Ï´Ù. kldp ¿¡ ¿Ã¶ó °¥¼ö ÀÖÀ»Áö ¸ð¸£°Ú½À´Ï´Ù. ±×·³ ½ÃÀÛÇϰڽÀ´Ï´Ù.
1. ¼³Ä¡ ±¸»ó
<verb>
---------------------------------------------------------------
¸ÕÀú °¢ ¿î¿µÃ¼Á¦ÀÇ ¹öÀü Á¤º¸¿Í ÇÏµå °ø°£ ÇÒ´ç ³»¿ªÀÔ´Ï´Ù.
À©µµ¿ì¿¡¼ fdisk·Î ÆÄƼ¼ÇÀº C¿Í D°ø°£¸¸ Àâ¾Ò½À´Ï´Ù.
±×¸®°í ³ª¸ÓÁö´Â ¸®´ª½º¿¡¼ »ç¿ëÇÒ °ÍÀ̹ǷÎ
ºñ¿öµÎ¾ú½À´Ï´Ù.
1. À©µµ±×98 SE ¢¡ C µå¶óÀ̺ê(2G, /dev/hda1), D µå¶óÀ̺ê(1G, /dev/hda5)
2. ALZZA LINUX ¢¡ 3G, /dev/hda6
3. POWER LINUX ¢¡ 1.3G, /dev/hda8
4. MIZI LINUX ¢¡ 1.3G, /dev/hda9
5. REDHAT ¢¡ 1G, /dev/hda10
6. SWAP ¢¡ 128M, /dev/hda7
---------------------------------------------------------------
</verb>
Âü°í·Î lilo°¡ ¹«¾ùÀÎÁö ´Ù ¾Æ½Ã°ÚÁö¸¸ Àá½Ã ¼³¸íÇÏÀÚ¸é, lilo´Â ¸®´ª½º¿¡¼ °¡Àå ¸¹ÀÌ »ç¿ëµÇ´Â ¸®´ª½º ·Î´õÀÔ´Ï´Ù. ¿©·¯ ¿î¿µÃ¼Á¦¸¦ ¼±ÅÃÀûÀ¸·Î ºÎÆÃÇÒ ¼ö ÀÖµµ·Ï ÇØÁÝ´Ï´Ù. ¸®´ª½º ¼³Ä¡½Ã ±âº»ÀûÀ¸·Î ¼³Ä¡ÇÏ¿© »ç¿ëÇÒ ¼ö ÀÖ´Ù´Â °Í°ú º°´Ù¸¥ ¾î·Á¿ò ¾øÀÌ ¼³Á¤ÇÏ¿© »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.<p>
¸®´ª½ºÀÇ lilo´Â ÇϵåÀÇ Master Boot Recorder(MBR)¿¡ ÀϹÝÀûÀ¸·Î ¼³Ä¡ÇÏ¿© »ç¿ëÇÏ´Â ÇÁ·Î±×·¥ÀÔ´Ï´Ù. ±âŸ ¿©·¯ ¸ÖƼºÎÆ® ¸Å´ÏÀú°¡ ÀÖÁö¸¸ ´Ù¸¥ ¿î¿µÃ¼Á¦¿Í ¸ÖƼ ºÎÆÃÀ» ÇÏ½Ã±æ ¿øÇÏ½Ã¸é ¸®·Î¸¦ »ç¿ëÇÒ °ÍÀ» ±ÇÇÕ´Ï´Ù.
2. ¿©·¯°³ ¹èÆ÷º» ¼³Ä¡½Ã °í·ÁÇØ¾ß ÇÒ »çÇ×<p>
- ÇϳªÀÇ ¿î¿µÃ¼Á¦¸¦ ¼³Ä¡ÇÑ ÈÄ¿¡ ´Ù¸¥ ¿î¿µÃ¼Á¦¸¦ ¼³Ä¡ ÇÏ¿´À» ¶§ÀÇ ¸¶¿îÆ® Æ÷ÀÎÆ®(/etc/fstab ¼öÁ¤)<p>
- ºÎÆÃ °¡´É¿µ¿ªÀÇ ÇѰè : ¸®·Î¸¦ ¼³Ä¡ Çϴµ¥ ÀÖ¾î¼ 1024½Ç¸°´õ ¾ÈÂÊ¿¡ ¸®·Î°¡ ¼³Ä¡ µÇ¾î¾ß ÇÑ´Ù. ´ë·« 8±â°¡ Á¤µµÀÌ´Ù. 8±â°¡ ¾È¿¡ ¸ðµç ¿î¿µÃ¼Á¦(¸®´ª½º)¸¦ ¼³Ä¡ÇØ¾ß ÇÑ´Ù.(/etc/lilo.conf ¼öÁ¤)<p>
- º°·Î »ó°üÀº ¾øÁö¸¸ ¼³Ä¡ÀÇ ÆíÀÇ»ó ¾î¶² ¸®´ª½º¸¦ µðÆúÆ®°ªÀ¸·Î »ç¿ëÇÒ °ÍÀÎÁö¸¦ °áÁ¤ÇØ¾ß ÇÑ´Ù.
¿¹¸¦ µé¾î ¾ËÂ¥¸¦ ±ò°í ³ªÁß¿¡ ÆÄ¿ö¸¦ ±ò¸é ¾ËÂ¥´Â ¾ø¾îÁö°Ô µÈ´Ù. ´Ù½Ã¸»ÇØ ÆÄƼ¼Ç¿¡´Â ³²¾Æ ÀÖÁö¸¸ ¸®·Î¿¡´Â ÆÄ¿öÀÇ Á¤º¸°¡ ³²¾Æ ÀÖ°Ô µÈ´Ù.
3. ¸®´ª½º ¼³Ä¡(Window98 + Alzza Linux 6.0 + Power Linux R2 + Mizi Linux 1.0 + RedHat 6.0 ¼³Ä¡Çϱâ)<p>
- ¸ÕÀú ³ª´Â ¾ËÂ¥ ¸®´ª½º¸¦ µðÆúÆ®·Î »ç¿ë ÇÒ °ÍÀÌ´Ù. ±×·¯¹Ç·Î ¼³Ä¡ ¼ø¼´Â ¿µ¹®·¹µåÇÞ¢¡¹ÌÁö ¸®´ª½º¢¡ÆÄ¿ö ¸®´ª½º¢¡¾ËÂ¥ ¸®´ª½º ¼ø¼·Î ±ò °ÍÀÌ´Ù.<p>
- ¸®´ª½º ¼³Ä¡ ¹æ¹ýÀº ´Ù ¾Ë °ÍÀÌ´Ù. ¿©±â¼´Â »ý·«ÇÑ´Ù.
¸ðµç ¸®´ª½º°¡ ±ò·È´Ù°í ÇßÀ» ¶§ ¸®·ÎÀÇ Á¤º¸´Â À©µµ¿ì98°ú ¾ËÂ¥ÀÇ ¸®·Î°¡ ¶¹´Ù.
±×·¸´Ù¸é ÀÌÁ¦ ¹«¾ùÀ» °íÃÄ ÁÖ¾î¾ß Çϴ°¡°¡ Àǹ®ÀÌ´Ù. º°·Î ¾î·Á¿îÀÏÀº ¾Æ´Ï´Ù.
¸®´ª½º°¡ ¾î¶»°Ô ºÎÆÃµÇ´ÂÁö ¾Ë°í ¸¶¿îÆ®ÀÇ °³³ä¸¸ ¾Ë¸é ½±°Ô ¼³Ä¡ÇÒ¼ö ÀÖ´Ù.
<verb>
-------------------------------------------------------------
1) ÀúÀÇ ¸®·Î Á¤º¸ÀÔ´Ï´Ù. (/etc/lilo.conf)
boot=/dev/hda
map=/boot/map tall=/boot/boot.b
prompt
timeout=50 ult=windows
image=/boot/vmlinuz-2.2.5-22
label=alzzalinux
root=/dev/hda6 ¢¡¾ËÂ¥¸®´ª½º°¡ ±ò¸° ÆÄƼ¼Ç
read-only
image=/mnt/power/boot/vmlinuz-2.2.12-20pow
label=powerlinux trd=/mnt/power/boot/initrd-2.2.12-20pow.img
read-only
root=/dev/hda8 ¢¡ÆÄ¿ö ¸®´ª½º°¡ ±ò¸° ÆÄƼ¼Ç
image=/mnt/mizi/boot/vmlinuz-2.2.13-5mz
label=mizilinux
read-only
root=/dev/hda9 ¢¡¹ÌÁö ¸®´ª½º°¡ ±ò¸° ÆÄƼ¼Ç
image=/boot/vmlinuz-2.2.5-15
label=redhatlinux
root=/dev/hda10 ¢¡¿µ¹® ·¹µåÇÞÀÌ ±ò¸° ÆÄƼ¼Ç
read-only
other=/dev/hda1
label=windows table=/dev/hda ¢¡À©µµ¿ì°¡ ±ò¸° ÆÄƼ¼Ç
--------------------------------------------------------------
</verb>
¢Ñ ¼³¸í<p>
ÀúÀÇ ¸®·Î¸¦ º¸¼ÌµíÀÌ ¾ÆÇ϶ó°í ÇϽô ºÐµµ °è½ÇÅ×°í ÀÌ°Ô ¹¹¾ß¶ó°í ÇÏ´Â ºÐµµ °è½Ã°ÚÁö¸¸ Àú´Â À̰ÍÀ» ±ò±â À§ÇØ ¿©·¯ °¡Áö ¸®·Î¿¡ ´ëÇÑ ¹®¼³ª ¸ÞÀÏÀ» ÅëÇØ¼ ´äº¯À» ±¸Çß½À´Ï´Ù.
¸ð¸£½Ã´Â ºÐµéÀÌ º¸¸é ÁÁÀº °æÇèÀ̶ó »ý°¢µË´Ï´Ù.<p>
±×·³ ¼³¸íÀ» Çϸé 4°³ÀÇ ¸®´ª½ºÀÇ ¸®·ÎÁ¤º¸¸¦ ±×´ë·Î °¡Á®´Ù°¡ Â÷·Ê·Î ºÙ¿© ³ÖÀ¸¸é µË´Ï´Ù. °£´ÜÇÏÁÒ. ´ÙÀ½¿¡ ÇØÁÖ¾î¾ß ÇÒ ÀÏÀº ¹Ù·Î ´ÙÀ½¿¡ ³ª¿À´Â /etc/fstabÆÄÀÏÀ» ¼öÁ¤ÇÏ´Â ÀÏÀÔ´Ï´Ù.
<verb>
ÀúÀÇ fstab ÆÄÀÏÀÇ ³»¿ë
--------------------------------------------------------------------
/dev/hda6 / ext2 defaults 1 1
/dev/hda7 swap swap defaults 0 0
/dev/hda8 /mnt/power ext2 defaults 1 1
/dev/hda9 /mnt/mizi ext2 defaults 1 1
/dev/hda10 /mnt/redhat ext2 defaults 1 1
/dev/hda1 /mnt/c vfat defaults 0 0
/dev/hda5 /mnt/d vfat defaults 0 0
/dev/fd0 /mnt/floppy ext2 noauto 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0
none /proc proc defaults 0 0
none /dev/pts devpts mode=0622 0 0
--------------------------------------------------------------------
</verb>
¢Ñ ¼³¸í<p>
ºÎÆÃµÉ ¶§ ÀÚµ¿À¸·Î ¸¶¿îÆ® ÇÏ´Â ¹æ¹ýÀÌÁÒ.
À©µµ¿ìÀÇ C, D µå¶óÀ̺굵 ÀÌ·¸°Ô ÇØ¼ »ç¿ëÇÏÁÒ. ´Ù¸¥ ¸®´ª½ºµµ ÀÌ·¸°Ô ¸¶¿îÆ® ÇØ¼ ¼·ÎÀÇ ÆÄƼ¼ÇÀ» µ¹¾Æ ´Ù´ÏÁÒ. °¢°¢ÀÇ ¸®´ª½ºÀÇ ´Ù¸¥ ºÎºÐÀÌ ¹«¾ùÀΰ¡¸¦ ¾Ë¼ö ÀÖÀ»±î¿ä? ÀÌ·¸°Ô ÇϼÌÀ¸¸é ¸¶Áö¸· Çϳª°¡ ³²¾ÒÁÒ.
¸®·Î¸¦ ½ÇÇàÇϼžßÁÒ.
°ú°¨ÇÏ°Ô lilo¸¦ ŸÀÌÇÎÇϼ¼¿ä.
<verb>
[root@shark /mnt]# lilo
Added alzzalinux
Added powerlinux
Added mizilinux
Added windows *
</verb>
Àú´Â ÀÌ·¸°Ô ³ª¿É´Ï´Ù. ¿Ö±×·¯³Ä±¸¿ä. óÀ½¿¡ ¸»¾¸µå¸° ºÎÆÃ°¡´É ¿µ¿ªÀ» ¿µ¹®·¹µåÇÞ ¸®´ª½º°¡ À§¹ÝÇßÁÒ. ÀúÀÇ ¿µ¹®·¹µåÇÞ ¸®´ª½º´Â 1116½Ç¸°´õ¿¡¼ºÎÅÍ ±ò·Á Àֳ׿ä.
ÀúÀÇ ÆÄƼ¼Ç Á¤º¸ÀÔ´Ï´Ù.
<verb>
---------------------------------------------------------------------
Disk /dev/hda: 255 heads, 63 sectors, 1240 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 255 2048256 b Win95 FAT32
/dev/hda2 256 1240 7912012+ f Win95 Ext'd (LBA)
/dev/hda5 256 383 1028128+ b Win95 FAT32
/dev/hda6 384 766 3076416 83 Linux
/dev/hda7 767 783 136521 82 Linux swap
/dev/hda8 784 949 1333363+ 83 Linux
/dev/hda9 950 1115 1333363+ 83 Linux
/dev/hda10 1116 1240 1004031 83 Linux
----------------------------------------------------------------------
</verb>
ÀÌ»óÀÌ ÀúÀÇ À©µµ±×, ¸®´ª½º ¹èÆ÷º» 4°³¸¦ ¼³Ä¡ÇÑ °æÇèÀÔ´Ï´Ù.
¾Æ¹«ÂÉ·Ï ¸¹ÀÌ Âü°í ÇϼÌÀ¸¸é ÇÕ´Ï´Ù. ¶ÇÇÑ À̰ÍÀ» ÀÀ¿ëÇØ¼ ¿©·¯°³(¸®´ª½º¿Ü)¸¦ ¼³Ä¡ ÇÒ¼ö ÀÖÁÒ. ¸®·ÎÀÇ ¸·°ÇÑ ÈûÀ» ´À²¸ º¸¼¼¿ä. ¼öÁ¤ÇÏ½Ç °Í ÀÖÀ¸¸é °ú°¨È÷ Çϼ¼¿ä. Àú´Â ÃÖ´ëÇÑ ÀÚ¼¼ÇÏ°Ô ¼³¸íÇÑ ¹®¼¸¦ ÁÁ¾ÆÇÕ´Ï´Ù.
<sect1> mtrr »ç¿ëÀ¸·Î X ¼Óµµ Çâ»ó<label id=mini5>
<p>
<verb>
±Û¾´ÀÌ : °ü¸®ÀÚ
2000 1¿ù 21ÀÏ
</verb>
mtrrÀº Pentium Pro,Celeron,Pentium II,III µîÀÇ mtrrÀ» Áö¿øÇÏ´Â ÇÁ·Î¼¼¼¿¡¼ »ç¿ëÇÒ¼ö ÀÖ½À´Ï´Ù.
1. Ä¿³Î ÄÄÆÄÀÏ Çϱâ
mtrrÀ» »ç¿ëÇÏ·Á¸é ÀÏ´Ü Ä¿³Î¿¡¼ mtrrÀ» Áö¿øÇÏ°Ô ÄÄÆÄÀÏ ÇØÁÖ¾î¾ß ÇÕ´Ï´Ù.
<verb>
Ä¿³Î ÄÄÆÄÀϽà ´ÙÀ½ ¿É¼ÇÀ» ¼±ÅÃÇÕ´Ï´Ù.
Processor type and features
[*] MTRR (Memory Type Range Register) support
´ÙÀ½ »õ·Î¿î Ä¿³Î·Î ÀçºÎÆÃÈÄ cat /proc/mtrr ÇØº¸¸é
reg00: base=0x00000000 ( 0MB), size= 128MB: write-back, count=1
¿Í °°Àº ¹®ÀåÀÌ º¸ÀÔ´Ï´Ù.
</verb>
2. ºñµð¿À ·¥ ¾îµå·¹½º ¾Ë¾Æ³»±â
¸ÕÀú ÀÚ½ÅÀÌ »ç¿ëÇÏ´Â ºñµð¿À Ä«µåÀÇ ·¥ ÁÖ¼Ò¸¦ ¾Ë¾Æ³»¾ß Çϴµ¥
´ÙÀ½°ú °°Àº ¹æ¹ýÀ¸·Î ¾Ë¼ö ÀÖ½À´Ï´Ù.
<verb>
startx -- :1 -probeonly >& /tmp/log
grep Memory /tmp/log
grep videoram /tmp/log
(--) SVGA: PCI: NVidia/SGS-Thomson Riva128 rev 16, Memory @ 0xe4000000
(--) SVGA: videoram: 4064k
</verb>
À§¿Í °°Àº °á°ú¸¦ º¸¿©Áִµ¥ Á¦ °æ¿ì¿¡´Â 0xe4000000ÀÌ ¾îµå·¹½ºÀ̰í, ºñµð¿À ·¥Àº
4M ¶ó´Â °ÍÀ» ¾Ë¼ö ÀÖ½À´Ï´Ù.
3. MTRRs ¸¸µé±â
ÀÌÁ¦ ºñµð¿À ·¥ÀÇ ÁÖ¼Ò¿Í Å©±â¸¦ ¾Ë¾Æ³»¾úÀ¸¸é ´ÙÀ½°ú °°ÀÌ ÇØÁÖ¸é µË´Ï´Ù.
<code>
echo "base=0xe4000000 size=0x400000 type=write-combining" > /proc/mtrr
</code>
cat /proc/mtrr ÇØº¸¸é ´ÙÀ½°ú °°Àº °á°ú¸¦ º¼¼ö ÀÖ½À´Ï´Ù.
<verb>
reg00: base=0x00000000 ( 0MB), size= 128MB: write-back, count=1
reg01: base=0xe4000000 (3648MB), size= 4MB: write-combining, count=1
´ÙÀ½°ú °°ÀÌ ÇÏ¸é ¼³Á¤ÇÑ mtrrÀ» ÇØÁ¦ÇÒ¼ö ÀÖ½À´Ï´Ù.
echo "disable=1" > /proc/mtrr
</verb>
4. Âü°í
MTRR (Memory Type Range Register)ÀÌ ¹«¾ùÀΰ¡¿¡ ´ëÇØ¼´Â
/usr/src/linux/Documentation(Ä¿³Î¼Ò½º¸¦ °¡Áö°í °è½Ã´Ù¸é:)) µð·ºÅ丮¾È¿¡ mtrr.txt¿¡ ÀÚ¼¼È÷ ¼³¸íµÇ¾î ÀÖ½À´Ï´Ù.
<sect1> ATAPI CD-RWÀνĽÃ۱â Ver1.02<label id=mini4>
<p>
<verb>
±Û¾´ÀÌ : ¹Ú ±Ù·Ä(ritter4u@yahoo.com)
2000 1¿ù 22ÀÏ
</verb>
Á¦°¡ »ç¿ëÇÏ´Â ¹°°ÇÀº LG¿¡¼ ³ª¿Â ATAPIÇü½ÄÀÇ CD-RWÀÔ´Ï´Ù.
À̰ŠÀνĽÃŰ´À¶ó±¸ 486¿¡¼ Ä¿³Î ÄÄÆÄÀÏÀ» ¸î¹ø Çß´ÂÁö...
Á¿찣 ´©±º°¡¿¡°Ô µµ¿òÀÌ µÇ±æ ¹Ù¶ó¸ç ½ÃÀÛ ÇϰڽÀ´Ï´Ù.
¸î´ÞÀü¿¡ ÇÏÀÌÅÚ ¸®µ¿¿¡ ¿Ã·È´Âµ¥ ÃÖ±Ù ¹®Àǰ¡ ÀÚÁÖ ¿À´õ±º¿ä.
À̱ÛÀº GPLÀ» µû¸¨´Ï´Ù. ¼öÁ¤ÇÒ »çÇ×ÀÇ ÁöÀûÀ̳ª Áú¹®Àº ¹Ú±Ù·Ä<url url="mailto:ritter4u@yahoo.com" name="ritter4u@yahoo.com">À¸·Î º¸³» Áֽʽÿä.
ÇÊ¿äÇÑ ÇÁ·Î±×·¥ : Ä¿³Î 2.2.X, <url url="http://www.fh-muenchen.de/rz/xcdroast" name="X-CD-Roast">
¾ðÁ¨°¡ ¾óÇÍÀÐÀº ±â¾ïÀ¸·Î IDE CD-RW¸¦ ¸®´ª½º¿¡¼ »ç¿ëÇØº¸°íÀÚ ³¸®¸¦ ÃÆÁö¿ä. Áß¿äÇÑ°Ç ATAPI°¡ SCSI¿¡¹Ä·¹À̼ÇÀÌ µÈ´Ù´Â °ÍÀÔ´Ï´Ù. Àü ATAPIÇü½ÄÀÇ CDROMÁö¿øÀ» ¸ðµâÈ ½ÃÄ×½À´Ï´Ù. µÎ¹øÂ°·Î SCSI¿¡¹Ä·¹ÀÌ¼Ç ±â´ÉÀ» Ä×±¸¿ä. ISO9660 File SystemÀº ¸ðµâȽÃÄ×½À´Ï´Ù ½ºÄ¿Áö Áö¿øÀ» ¸ðµâÈ Çß½À´Ï´Ù. Á¦³Ê·² ½ºÄ«½Ã µå¶óÀ̹ö¶ó°í ÇÏÁö¿ä... SCSI-cdromÀ» ¸ðµâÈ Çß½À´Ï´Ù.
Ä¿³Î ÄÄÆÄÀÏÈÄ¿¡´Â ./MAKEDEV sg ¸¦ ÀÌ¿ëÇØ¼ Á¦³Ê·² ½ºÄ¿½Ã µð¹ÙÀ̽ºµéÀ» Ȱ¼ºÈ ½ÃÄ×½À´Ï´Ù. CD-RWÀ§Ä¡¿¡ µû¶ó hd[x]=ide-scsi ¶ó´Â ¹®±¸·Î CD-RW¸¦ ÀνĽÃÄÑ Áá½À´Ï´Ù.
<verb>
(hda=ÇÁ¶óÀ̸Ӹ® ¸¶½ºÅÍ)
(hdb=ÇÁ¶óÀ̸Ӹ® ½½·¹À̺ê)
(hdc=¼¼ÄÁµå¸® ¸¶½ºÅÍ)
(hdd=¼¼ÄÁµå¸® ½½·¹À̺ê)
</verb>
(ABIT b*6½Ã¸®ÁîÀÇ Ultra DMA66 IDE¸¦ ¾²´Â ¸ÞÀκ¸µå´Â hdeºÎÅÍ hdh±îÁö°¡ Ãß°¡ µË´Ï´Ù) X-CD-Roast¶ó´Â ÇÁ·Î±×·¥À» ±¸Çؼ ¼³Ä¡¸¦ Çß½À´Ï´Ù.
(ÃÖ±Ù¹öÁ¯Àº 0.96exÀÔ´Ï´Ù. 0.98 ¾ËÆÄ¹öÁ¯µµ ÀÖÁö¸¸...)
¼³Ä¡ÈÄ ½ÇÇàÀ» ½ÃÄѺ¸´Ï ¼Â¾÷À» Ç϶ó°í ÇÏ´õ±º¿ä ¼Â¾÷¸Þ´º¿¡ °¡¸é CD-RW°¡ ÀνÄÀÌ µÇÀÖ½À´Ï´Ù(¼ö½Ê°³) ±×·¯³ª ½Å°æ¾²Áö ¸¶¼¼¿ä...
ÀÌÁ¦ºÎÅÍ´Â ±×³É ±Á±â¸¸ ÇÏ¸é µË´Ï´Ù... ´ÙÀ½¿¡´Â ATAPIÁö¿øÀ» ¸ðµÎ²ô°í ½ºÄ¿Áö CDROM°ú ¿¡¹Ä·¹À̼Ǹ¸ °¡Áö°í Ä¿³ÎÀ» ÄÄÆÄÀÏÇØ º¼ »ý°¢ÀÔ´Ï´Ù.
Á¦ »ý°¢´ë·Î¶ó¸é ±×¹æ¹ýµµ Á¦´ë·Î Áö¿øµÉ °Í°°½À´Ï´Ù. ±×·³ Á¶±ÝÀ̳ª¸¶ Âü°í°¡ µÇ¾ú±â¸¦ ¹Ù¶ó¸ç...
Âü°í¹®Çå
<verb>
CD Writer mini-HOWTO
ATAPI.README (X-CD-ROAST¶ó´Â ÇÁ·Î±×·¥¿¡¼...)
</verb>
<sect1> ÈÙ ¸¶¿ì½º »ç¿ëÇϱâ<label id=mini3>
<p>
<verb>
±Û¾´ÀÌ : °ü¸®ÀÚ
99³â 12¿ù 29ÀÏ
</verb>
¾îÁ¦ Ä£±¸µé°ú ¿¬¸»À» ¸Â¾Æ °£¸¸¿¡ ¿Ü½ÄÀ» ÇÏ·¯ °¬´Ù°¡ ±× ±Ùó ÄÄÇ»ÅÍ »ó°¡¿¡¼ ¸¶¿ì½º¸¦ Çϳª »ç¿Ô½À´Ï´Ù.
200·çºí(Çѱ¹µ·À¸·Î ¾à 8000¿øÁ¤µµ µÇ·Á³ª?)ÁÖ°í Genius NetMouse Pro¶ó´Â ³ðÀ»
»ò´Âµ¥¿ä, °¡¿îµ¥ ÈÙÀÌ ´Þ·ÁÀÖ°í, ¿ÞÂʸ鿡 ¹öưÀÌ(À̰ÍÀÌ °¡¿îµ¥ ¹öư ¿ªÈ°À» Çϰí ÀÖ½À´Ï´Ù) Çϳª´õ ´Þ·Á ÀÖ´Â ¸ð¾ç»õ¸¦ Çϰí ÀÖ½À´Ï´Ù.<p>
ÀÌ°Ô X»ó¿¡¼ ÈÙÀ» »ç¿ëÇÒ¼ö ÀÖ¾î¾ß ÇÒÅÙµ¥ Á¶¸¶Á¶¸¶ ÇÏ¸é¼ ÁýÀ¸·Î µ¹¾Æ¿Ô´Âµ¥¿ä.
¾à 20ºÐ¸¸¿¡ ¼³Á¤³¡³»°í Áö±Ý ¾ÆÁÖ ÆíÇÏ°Ô ¾²°í ÀÖ½À´Ï´Ù.
ƯÈ÷ ¹®¼ ÀÐÀ»¶§ ¾ÆÁÖ ÆíÇϱº¿ä...
ÇÊ¿äÇÑ °Íµé : ¸®´ª½º¿Í <url url="http://www.xfree86.org/" name="X ¼¹ö(XFree 3.3.2ÀÌ»ó)">, ÈÙ ¸¶¿ì½º, <url url="http://solaris1.mysolution.com/~jcatki/imwheel/" name="IM Wheel">, ½Ã°£
1. XF86Config ¼öÁ¤Çϱâ
´ÙÀ½Àº ÀúÀÇ XF86Config Pointer Ç׸ñÀÔ´Ï´Ù.
XFree3.x °ú 4.0ÀÇ ¼³Á¤ÀÌ ¾à°£ Ʋ¸°°Í¿¡ ÁÖÀÇÇϽʽÿä.
<p>
# XFree3.xÀÇ ¼³Á¤ÆÄÀÏ
<code>
Section "Pointer"
Protocol "IntelliMouse"
Device "/dev/ttyS1"
ZAxisMapping 4 5
EndSection
</code>
<p>
# XFree4.0ÀÇ ¼³Á¤ÆÄÀÏ
<code>
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection
</code>
Protocol Ç׸ñÀº ÀÚ½ÅÀÇ ÈÙ¸¶¿ì½º°¡ ½Ã¸®¾óÀ̸é "IntelliMouse" ¶Ç´Â "Auto"·Î, PS/2 ÈÙ¸¶¿ì½º¶ó¸é "imps/2" ·Î ÇØÁà¾ß ÇÕ´Ï´Ù.
Device ´Â ´ç¿¬È÷ º»Àο¡ ¸Â°Ô ¼³Á¤ÇØ¾ß °ÚÁö¿ä?
ZAxisMapping 4 5´Â ²À ³Ö¾îÁà¾ß ÈÙÀ» »ç¿ëÇÒ¼ö ÀÖ½À´Ï´Ù.
2. <url url="http://solaris1.mysolution.com/~jcatki/imwheel/" name="imwheel"> ¼³Ä¡.
¿©±â±îÁö µÇ¾úÀ¸¸é <url url="http://solaris1.mysolution.com/~jcatki/imwheel/" name="imwheel">À» ¼³Ä¡ÇÕ´Ï´Ù.
X ¸®¼Ò½ºÆÄÀÏÀ» Á÷Á¢ °íÃļ ÈÙÀ» »ç¿ëÇÒ¼öµµ ÀÖÁö¸¸ À̰ÍÀÌ ÀÖÀ¸¸é ÈÙ¾À °£ÆíÇÏ°Ô °¢ ÇÁ·Î±×·¥ ¸¶´Ù ÈÙÀÇ ¿ªÈ°À» Á¤ÀÇÇÒ¼ö ÀÖ½À´Ï´Ù.
tarº¼ ¼Ò½º¸¦ °¡Á®´Ù Ç®¾îº¸¸é gpm¿¡ ´ëÇÑ ÆÐÄ¡¿Í »ç¿ë¹ýµµ µé¾îÀÖÀ¸´Ï Äֻܼ󿡼 gpm¾²½Ã´Â ºÐµéÀº Âü°íÇϽñ⠹ٶø´Ï´Ù.
¼³Ä¡´Â °£´ÜÇÏ°Ô make ; make installÇÏ¸é ³¡³³´Ï´Ù.
½ÇÇàÀº imwheel -k ÇØÁÖ¸é µÇ°í¿ä. xinitrc µî Àû´çÇÑ °÷¿¡ Áý¾î ³Ö¾î Ç×»ó ½ÇÇàµÇ°Ô
ÇÏ¸é µÇ°ÚÁÒ?
2.1 imwheelrc ¼³Á¤
imwheelrc(/etc/imwheelrc ¶Ç´Â ~/.imwheelrc)Àº imwheelÀÇ ¿ªÈ°À» °¢ ÇÁ·Î±×·¥¸¶´Ù Á¤ÀÇÇØÁÙ¼ö ÀÖ´Â ÆÄÀÏÀÔ´Ï´Ù.
´ÙÀ½Àº Á¦ imwheelrcÆÄÀÏÁß hanterm¿¡ °üÇÑ°Í ÀÔ´Ï´Ù.
<code>
"Hanterm"
Shift_L, Up, Shift_L|Page_Up
Shift_L, Down, Shift_L|Page_Down
Control_L, Up, Page_Up
Control_L, Down, Page_Down
None, Down, Down, 7, 1000, 1000
None, Up, Up, 7, 1000, 1000
</code>
ù¹øÂ° ÁÙÀ» ¼³¸íÇÏÀÚ¸é "¿ÞÂÊ ½¬ÇÁÆ®¿Í ÈÙÀÇ À§ÂÊÀ» ´·¶À»¶§ Űº¸µå·Î ¿ÞÂÊ ½¬ÇÁÆ®¿Í Page_UpÀ» ´·¶À»¶§¿Í °°Àº ±â´ÉÀ» ÇØ¶ó" ÀÔ´Ï´Ù.
NoneÀº ¹°·Ð ±×³É ÈÙ¸¸ »ç¿ëÇßÀ»¶§ÀÇ ±â´ÉÀÔ´Ï´Ù. Ÿº¼¾È¿¡ µé¾î ÀÖ´Â ¼³Á¤ÆÄÀÏÀ»
»ìÆìº¸½Ã¸é ½±°Ô Àû¿ëÇÒ¼ö ÀÖÀ¸¸®¶ó »ý°¢µË´Ï´Ù.
rxvtÀÇ °æ¿ì 2.4.6¹öÁ¯ ÀÌ»óºÎÅÍ ÈÙ¸¶¿ì½º Áö¿øÀÌ ÀÚü ³»ÀåµÇ¾î ÀÖ½À´Ï´Ù.
ÇØ¼ rcÆÄÀÏ¿¡ ¼³Á¤À» µû·Î ÇØÁÖ¸é ¾à°£ ÀÌ»óÇö»óÀ» º¸À̴µ¥, ¾Æ¿¹ rxvt ÄÄÆÄÀÏ ÇÒ¶§ --disable-mousewheelÀ» ÁÖ°í ÄÄÆÄÀÏ Çϰųª, imwheelrc¿¡ XTerm·Î ¼³Á¤ÇØÁÖ°í, rxvt -name xterm °ú °°ÀÌ ½ÇÇàÇØÁÖ¸é µË´Ï´Ù.
3. Âü°í
¾î¶² Á¾·ùÀÇ ÈÙ¸¶¿ì½º¸¦ Áö¿øÇÏ´ÂÁö¿¡ ´ëÇѰͰú ÈÙ ¸¶¿ì½º »ç¿ë¿¡ ´ëÇÑ ´õ ÀÚ¼¼ÇÑ Á¤º¸´Â <url url="http://www.inria.fr/koala/colas/mouse-wheel-scroll/" name="Colas Nahaboo X mouse wheel scroll page">¿¡ °¡º¸½Ã¸é µË´Ï´Ù.
<sect1> ¸ÞÀÏ ¾Ë¸®¾Æ½º¸¦ ÀÌ¿ëÇÑ °£´ÜÇÑ ¸ÞÀϸµ ¸®½ºÆ®<label id=mini2>
<p>
<verb>
±Û¾´ÀÌ : Á¤ ¿øµµ (darkmage@dreamwiz.com)
2000 2¿ù 2ÀÏ
</verb>
¸®´ª½º¿¡¼ ¸ÞÀϾ˸®¾Æ½º¸¦ ÀÌ¿ëÇÏ¸é ¾ÆÁÖ °£´ÜÈ÷ ¸ÞÀϸµ¸®½ºÆ®¸¦ ¸¸µé¼ö°¡ ÀÖ´Ù.
¹°·Ð À̰ÍÀº ±ØÈ÷ Ãʺ¸ÀûÀÌ°í º¸¾ÈÀÌ ¾ÈµÇ¾î ÀÖÀ¸³ª ¿ÜºÎ¿¡ °ø°³ÇÏÁö ¾Ê°í Ä£±¸³ª ¾Æ´Â »ç¶÷µé³¢¸® ¼·Î°£ÀÇ À̾߱⸦ ÁÖ°í ¹Þ´Â ´Ù¸é ¾ÆÁÖ À¯¿ëÇÒ °ÍÀÌ´Ù.
±×·¯¸é °£´ÜÇÏ°íµµ ½¬¿î ¹æ¹ýÀÎ ¸ÞÀϾ˸®¾Æ½º¸¦ ¾Ë¾Æº¸ÀÚ.
¾ËÂ¥ ¸®´ª½º 6.1ÀÇ °æ¿ì¿¡ /etc/mail/aliases¿¡¼ ¼³Á¤À» ÇÑ´Ù.
¿©±â¿¡¼ ÀڱⰡ ¿øÇÏ´Â ¸ÞÀϱ׷ìÀÇ À̸§À» ¼±ÅÃÇÏÀÚ.
¿ì¼± ³ªÀÇ °æ¿ì¿¡´Â jumpupÀ̶ó´Â À̸§À» ¼±ÅÃÇÏ¿´´Ù.
$ vi aliases
<verb>
# Basic system aliases -- these MUST be present.
MAILER-DAEMON: postmaster
postmaster: root
# General redirections for pseudo accounts.
bin: root
daemon: root
games: root
ingres: root
nobody: root
system: root
toor: root
uucp: root
# Well-known aliases.
manager: root
dumper: root
operator: root
#¿©±âÀÇ À̺κÐÀ» Ãß°¡ÇÑ´Ù.
#Maillist maker
jumpup: :include:/etc/maillist/jumpup
#<------------ ¿©±â±îÁö´Â Ãß°¡ÇÏ´Â ºÎºÐÀÌ´Ù.
# trap decode to catch security attacks
decode: root
# Person who should get root's mail
#root: marc
</verb>
ÀÌ·¸°ÔÇϰí ÀúÀåÀ» Çϸé jumpupÀ̶ó´Â À̸§À¸·Î ¼ö½ÅµÇ´Â °ÍÀº /etc/maillist/jumpupÀ̶ó´Â ÆÄÀÏ¿¡ ÀÖ´Â ÁÖ¼Òµé·Î ´Ù½Ã Àü¼ÛµÈ´Ù. ±×·¯¸é /etc/maillist¶ó´Â µð·ºÅ丮¸¦ ¸¸µé°í ´Ù½Ã jumpupÀ̶ó´Â ÆÄÀÏÀ» ¸¸µç´Ù.
<verb>
$ mkdir /etc/maillist
$ chmod 755 /etc/maillist
$ vi /etc/maillist/jumpup
#¿©±â¿¡´Ù°¡ »ç¿ëÀÚµéÀÇ ÁÖ¼Ò¸¦ Àû¾îÁØ´Ù.
user1@server.name
user2@server2.name
$ chmod 755 /etc/maillist/jumpup
$ newaliases
</verb>
ÀÌ·¸°Ô ÇØ³õÀ¸¸é my.server.nameÀ̶ó´Â ¼¹ö¿¡¼ ÀÌ·¯ÇÑ ¼ÂÆÃÀ» ÇѰæ¿ì jumpup@my.server.name À̶ó´Â À̸§À¸·Î µé¾î°¡´Â ¸ÞÀÏÀº user1@server.name °ú user2.server1.name À̶ó´Â ÁÖ¼Ò·Î ¸ÞÀÏÀ» ´Ù½Ã Àü¼ÛÇÑ´Ù.
³¡À¸·Î sendmailÀÇ °æ¿ì ÆÄÀÏÀÇ ÆÛ¹Ì¼ÇÀÌ ¸ÂÁö°¡ ¾ÊÀ¸¸é ¿¡·¯°¡³ª¸é¼ ¸ÞÀÏÀÌ Àü¼ÛµÇÁö°¡ ¾Ê´Â´Ù. ±×·¯¹Ç·Î ÆÛ¹Ì¼ÇÀ» ÁöÁ¤ÇØÁÖ´Â °ÍÀÌ ÁÁ´Ù. ¶ÇÇÑ newaliases¶ó´Â °ÍÀ¸·Î ´Ù½Ã Á¤º¸¸¦ °»½ÅÇØÁÖÁö ¾ÊÀ¸¸é À̰ÍÀº ÀÛµ¿ÇÏÁö¾Ê´Â´Ù. ÀÌ¿¡ À¯ÀÇÇÏ°í ¼öÁ¤ÇÏ¸é µÈ´Ù.
³¡À¸·Î À̰ÍÀº ¾ÆÁÖ °³ÀÎÀûÀ¸·Î »ç¿ëÇÒ °æ¿ì¿¡ À¯¿ëÇϰí ÀÚµ¿À¸·Î ÀÌ·ç¾îÁö´Â °ÍÀº Çϳªµµ ¾øÀ¸¹Ç·Î ÀÏÀÏÀÌ ¼öµ¿À¸·Î ÇØ¾ßÇÑ´Ù´Â ´ÜÁ¡Àº ÀÖ´Ù. ±×·¯¹Ç·Î ÀÛÀº ±×·ìÀÇ ¸ÞÀϸµ¸®½ºÆ®·Î ¾²À̱â´Â ÁÁ´Ù ¶ÇÇÑ º¸¾È¼ºÀÌ ¾øÀ¸¹Ç·Î ¿ÜºÎÀÇ ½ºÆÔ¿¡ Ãë¾àÇÏ´Ï ÁÖ¼Ò¸¦ ³ëÃâ½ÃŰÁö ¾Ê´Â °ÍÀÌ Áß¿äÇÏ´Ù.
¹®ÀÇ ÇÒ°ÍÀÌ ÀÖÀ¸½ÅºÐÀº <htmlurl url="mailto:darkmage@dreamwiz.com" name="darkmage@dreamwiz.com">À¸·Î ¹®ÀÇÇÏ½Ã¸é µË´Ï´Ù.
<sect1> ÀÚµ¿ ·Î±×ÀÎ<label id=mini1>
<p>
<verb>
±Û¾´ÀÌ : °ü¸®ÀÚ (eunjea@kldp.org)
Wed Dec 15 04:47:47 MSK 1999
</verb>
1. ÄÄÇ»ÅÍ ÄÑ¸é ¹Ù·Î X·Î...
<p>
º¸¾ÈÀÌ ÇÊ¿ä¾ø´Â Áý¿¡¼ È¥ÀÚ¸¸ ¾²´Â ¸®´ª½º ¹Ú½º¿¡¼ ·Î±×ÀÎ °úÁ¤Àº ±ÍÂúÀ» »ÓÀÔ´Ï´Ù.
±×·¡¼ Àú´Â ´ÙÀ½°ú °°Àº ¹æ¹ýÀ¸·Î Àü¿øÀ» ÄÑ¸é ¹Ù·Î X ±îÁö ¶ß°Ô ÇØ³õ¾Ò½À´Ï´Ù.
ÀÏ´Ü ÇѰ¡Áö ÇÁ·Î±×·¥ÀÌ ÇÊ¿äÇѵ¥ rungetty ÀÔ´Ï´Ù.
À̰ÍÀº mingetty¸¦ Á»´õ È®ÀåÇÑ °ÍÀε¥ autologin ¸»°íµµ ´Ù¸¥ ±â´Éµµ ¸¹ÀÌ °¡Áö°í ÀÖ½À´Ï´Ù.
rungetty´Â <url url="http://freshmeat.net/" name="http://freshmeat.net/">¿¡ °¡½Ã¸é ½±°Ô ãÀ¸½Ç¼ö ÀÖ½À´Ï´Ù.
rungetty ¼³Ä¡ÈÄ /etc/inittabÀÇ ³»¿ëÀ» Àû´çÈ÷ °íĨ´Ï´Ù.
<verb>
# Run gettys in standard runlevels
#1:2345:respawn:/sbin/mingetty tty1 À̰ÍÀ»
1:2345:respawn:/usr/local/sbin/rungetty --autologin silver tty1 ÀÌ·¸°Ô
</verb>
¹°·Ð rungetty´Â /usr/local/sbin ¿¡ ¼³Ä¡µÇ¾ú°í, silver´Â À¯Àú À̸§ÀÔ´Ï´Ù.
½Ã½ºÅÛÀ» Àç½ÃÀÛÇØº¸¸é ÀÚµ¿À¸·Î silver¶ó´Â À̸§À¸·Î ·Î±×ÀÎÀÌ ÀÌ·ç¿öÁý´Ï´Ù.
´ÙÀ½ X¸¦ ½ÇÇà½ÃÄÑ¾ß Çϴµ¥ ±×°ÍÀº .bash_profile¿¡ ´ÙÀ½À» ³Ö¾îÁÖ¸é µË´Ï´Ù.
<verb>
#!/bin/sh
if [ "$WINDOWID" = "" ]; then
startx
fi
</verb>
ÀÚ ÀÌÁ¦ ÄÄÇ»ÅÍ Àü¿øÀ» ³ÖÀ¸¸é ¿øÇÏ´Â À¯Àú·Î ¹Ù·Î XÈ¸é ±îÁö ¶ß°Ô µË´Ï´Ù.
if¹®ÀÌ ¿Ö Àֳı¸¿ä? ±×·³ »©°í »ç¿ëÇØº¸¼¼¿ä. ±Ý¹æ ¾Æ½Ã°Ô µÉ°Ì´Ï´Ù ;-)
<p>
2. ÀÚµ¿ su, ÀÚµ¿ telnet·Î±×ÀÎ
<p>
¿©±âÀú±â¼ ¸¹ÀÌµé µé¾îº¸¼Ì°ÚÁö¸¸ È¥ÀÚ¾²´Â ¹Ú½º¶ó ÇØµµ root°èÁ¤À¸·Î ¸®´ª½º¸¦
»ç¿ëÇÏ´Â °ÍÀº ¿©·¯°¡Áö À§Çè ¿ä¼Ò°¡ ¸¹½À´Ï´Ù.
ÇØ¼ ÀÏ¹Ý °èÁ¤À» Çϳª ¸¸µé¾î »ç¿ëÇϴµ¥¿ä. ±×·¡µµ ÇÁ·Î±×·¥ ÀνºÅçÀ̳ª
¼Â¾÷½Ã¿¡´Â ÀÚÁÖ root°èÁ¤À» ÇÊ¿ä·Î ÇÕ´Ï´Ù.
±×·¡¼ Àú´Â ´ÙÀ½°ú °°ÀÌ root-loginÀ̶ó´Â ½ºÅ©¸³Æ®¸¦ Çϳª ¸¸µé¾ú½À´Ï´Ù.
<verb>
#!/usr/bin/expect
spawn bash -c "su -"
expect -re "Password:"
sleep 0.2
send "xxxxxxx\r"
interact
</verb>
expect¸¦ ÀÌ¿ëÇÑ °£´ÜÇÑ ½ºÅ©¸³Æ®Àä, xxxx¿¡ ÆÐ½º¿öµå¸¦ ³Ö¾îÁÖ½Ã¸é µÇ°ÚÁÒ?
´ÙÀ½ rxvt -e ~/bin/root-login¿Í °°ÀÌ X À©µµ¸Å´ÏÀú ¼³Á¤¿¡ Àû´çÈ÷ ³Ö¾îµÎ½Ã¸é
Çѹø Ŭ¸¯À¸·Î root°èÁ¤À» »ç¿ëÇÒ¼ö ÀÖ½À´Ï´Ù.<p>
¿ª½Ã ´ÙÀ½°ú °°Àº ¹æ¹ýÀ¸·Î telnet·Î±×Àο¡µµ ¾µ¼ö ÀÖ½À´Ï´Ù.
<verb>
#!/usr/bin/expect
spawn ztelnet net.silver.org
expect -re "User Name:"
sleep 1
send "silver\r"
expect -re "Password:"
sleep 1
send "xxxxxxx\r"
interact
</verb>
ztelnetÀ¸·Î net.silver.org¿¡ silver·Î Á¢¼ÓÇÏ´Â ½ºÅ©¸³Æ®ÀÔ´Ï´Ù.
ÀÌ·± ¹æ¹ýÀ̿ܿ¡µµ ´õ ³ºÀº ¹æ¹ýÀÌ ºÐ¸íÈ÷ ÀÖÀ¸¸®¶ó »ý°¢µË´Ï´Ù.
KLTP¿¡ ¸¹Àº Âü¿© ¹Ù¶ø´Ï´Ù.
<sect1> X °íÇØ»óµµ<label id=mini0>
<p>
<verb>
±Û¾´ÀÌ : Marzio Lee (marzio@zuguri.org)
Date: Sat, 10 Apr 1999 07:13:12 GMT
</verb>
Àú´Â »ç¿ëÁßÀÎ ½Ã½ºÅÛ »ç¾ç¿¡¼ ÃÖ´ë·Î ³¾ ¼ö ÀÖ´Â °íÇØ»óµµÀÇ È¸éÀ»
¼±È£ÇÏ´Â °ü°è·Î ¾Æ·¡¿Í
°°Àº ƯÀÌÇÑ ÇØ»óµµ¸¦ ¸¸µé¾î¼ »ç¿ëÇϰí ÀÖ½À´Ï´Ù. Ȥ½Ã ¿©·¯ºÐµéÁß
°íÇØ»óµµ¸¦ ¼±È£ÇϽôÂ
ºÐÀº ÂüÁ¶Çϼ¼¿ä. ´ëÇü ¸ð´ÏÅÍ¿Í °íÇØ»óµµ·Î X¸¦ ¶ç¿ì¸é ¶Ç´Ù¸¥ ¸ÀÀÌ
´À²¸Áý´Ï´Ù.
<p>
1. Mach64 4MB VRAMÄ«µå¿¡¼ Àâ¾Æº» ÃÖ´ëÇØ»óµµ (ȸéÀÌ ¾à°£ ±ô¹ÚÀÓ)
<p>
Modeline "1536x1152" 135.00 1536 1696 1824 1992 1152 1168 1184 1208 (¼öÆò 68KHz, ¼öÁ÷ 56Hz)
<p>
2. ¼öÆòÁ֯ļö 31.5-85KHzÀÎ 17ÀÎÄ¡ ¸ð´ÏÅÍ¿Í ¹Ð·¹´Ï¾ö II¿¡¼ Àâ¾Æº»
ÇØ»óµµ
<p>
Modeline "1800x1350" 197 1800 2000 2100 2336 1350 1366 1382 1400
(¼öÆò 84KHz, ¼öÁ÷ 60Hz)
<p>
3. ¼öÆòÁ֯ļö 31.5-96KHzÀÎ 19ÀÎÄ¡ ¸ð´ÏÅÍ¿Í ¹Ð·¹´Ï¾ö II¿¡¼ Àâ¾Æº» ÇØ»óµµ
<p>
Modeline "1920x1440" 235 1920 2100 2300 2496 1440 1464 1476 1500
(¼öÆò 94KHz, ¼öÁ÷ 62Hz)
Modeline "2048x1536" 248 2048 2200 2400 2608 1536 1556 1576 1600
(¼öÆò 95KHz, ¼öÁ÷ 59Hz)
<p>
ÁÖ1) À§ÀÇ µ¥ÀÌŸ´Â Á¤È®ÇÑ »ç¾ç¿¡ ÀǰÅÇÏ¿© °è»êÇÑ °ªÀ¸·Î ºñµð¿À¸ðµå¸¦
¸¸µçÈÄ Å×½ºÆ®ÇÑ °ÍÀÔ´Ï´Ù.
¸¸¾à ¸ð´ÏÅÍÀÇ »ç¾çÀÌ ÀÌ¿¡ ¸ø¹ÌÄ¡°í, ¹üÀ§¸¦ ¹þ¾î³ ½ÅÈ£¸¦ ¸·Áö ¸øÇÏ´Â
¸ð´ÏÅÍÀÎ °æ¿ì ¸ð´ÏÅÍ¿¡ Ä¡¸íÀûÀÎ ¼Õ»óÀ» ÁÙ ¼ö ÀÖÀ¸¹Ç·Î ÁÖÀÇÇØ¼ »ç¿ëÇØ¾ß ÇÕ´Ï´Ù.
<p>
ÁÖ2) À§ 1¹øÀÇ °æ¿ì RAMDACÀÌ 135MHz±îÁö¹Û¿¡ Áö¿øÇÏÁö ¾Ê¾Æ¼
¼öÁ÷Á֯ļö¸¦ Èñ»ýÇÏ¿© ÇØ»óµµ¸¦ ¿Ã¸° °æ¿ì·Î Àå½Ã°£ÀÇ ÀÛ¾÷½Ã¿¡´Â ÁÁÁö ¸øÇÕ´Ï´Ù. ¶ÇÇÑ Mach64¿ë X¼¹ö´Â BIOS¿¡¼ °¡´ÉÇÑ ÇØ»óµµ¸¦ ÀÐ¾î¼ ÀûÇÕÇÑ °æ¿ì¿¡¸¸ ¿Ã·ÁÁֱ⠶§¹®¿¡ XFree86ÀÇ ¼Ò½º ÀϺκÐÀ» °íÃÄ¾ß ÇÕ´Ï´Ù.
<p>
ÁÖ3) À§ 2¹øÀÇ »ç¾ç¿¡¼ ¼öÁ÷Á֯ļö¸¦ Èñ»ýÇϸé 3¹øÀÇ ÇØ»óµµ¸¦ ¸¸µé¼ö´Â ÀÖÀ¸³ª ȸéÀÌ ½ÉÇÏ°Ô ¶³¸®´Â Áõ»óÀÌ ³ª¿À¹Ç·Î °ÅÀÇ »ç¿ëÀÌ ºÒ°¡´ÉÇÕ´Ï´Ù. ±×·¯³ª Acrobat Reader·Î PDFÆÄÀÏÀ» º¼¶§ °¡²û »ç¿ëÇϱ⵵ ÇÕ´Ï´Ù.
<p>
ÁÖ4) À§ 3¹øÀÇ »ç¾çÀ¸·Î 1800x1400ÇØ»óµµ¸¦ ¸¸µé °æ¿ì 95KHzÀÇ ¼öÆòÁ֯ļö¿Í 68HzÀÇ ¼öÁ÷Á֯ļö¸¦ ¾òÀ» ¼ö ÀÖ½À´Ï´Ù. ÀÌ °æ¿ì¿¡´Â À§ÀÇ 197À̶õ ¼ýÀÚ¸¸ 222·Î ¹Ù²Ù¾îÁÖ¸é µË´Ï´Ù.
<p>
3³âÀüºÎÅÍ À§¿Í °°Àº Ư¼ö ÇØ»óµµ¸¦ ¸¸µé¾î¼ »ç¿ëÇÏ¸é¼ ÀÌ ³»¿ëÀ» ¿©·¯»ç¶÷¿¡°Ô ¾Ë·Á¾ß µÇ³ª ¸»¾Æ¾ß µÇ³ª¸¦ »ý°¢ÇØ º¸¾Ò´Âµ¥, ¿ª½Ã ¾Ë¸®°í, À̸¦ »ç¿ëÇϽô ºÐÀÌ ÁÖÀÇÇØ¼ »ç¿ëÇÏ´Â °ÍÀÌ ¿ÇÀ» °ÍÀ̶ó°í »ý°¢µÇ¾î ÀÌ·¸°Ô ´º½º±×·ì¿¡ ¿Ã¸³´Ï´Ù. ÀÌ¹Ì ½Ã½ºÅÛÀ» °¡Áö°í °è½Å ºÐÀÇ °æ¿ì¿¡´Â ±× Ä«µå¿¡ ¸Â°Ô »ç¿ëÇϰí, »õ·Î ±¸ÀÔÇϽô ºÐÀ̶ó¸é Ä«µåÀÇ RAMDACƯ¼º°ú ¸ð´ÏÅÍÀÇ »ç¾çÀ» °ËÅäÇÏ¿© ±¸ÀÔÇϽôµ¥µµ µµ¿òÀÌ µÉ ¼ö Àֱ⸦ ¹Ù¶ø´Ï´Ù.
<p>
¿ÜÁ¦ ¸ð´ÏÅÍÀÇ °æ¿ì ¼öÆòÁ֯ļö°¡ ¹«·Á 110KHz±îÁö Áö¿øÇÏ´Â 21ÀÎÄ¡ ¸ð´ÏÅ͵µ ÀÖ´õ±º¿ä, ÀÌ·¯ÇÑ Á¦Ç°ÀÇ °æ¿ì ÃÖ´ë ÇØ»óµµ 2048x1536¿¡¼ 68HzÀÇ ¼öÁ÷Á֯ļö¸¦ ¾òÀ» ¼ö Àִµ¥µµ, 1280x1024Á¤µµ±îÁö¸¸ »ç¿ëÇÑ´Ù¸é ¹°·Ð ÈÁúÀº ÁÁ°ÚÁö¸¸ ¸ð´ÏÅÍÀÇ »ç¾çÀ» ³î¸®´Â °á°ú°¡ ¾Æ´Ò±î »ý°¢µË´Ï´Ù.
<p>
¾ÕÀ¸·Î ³ª¿À´Â ºñµð¿À Ä«µåµéÀÌ RAMDAC¼Óµµ°¡ ÃÖ´ë 350MHz±îÁö °£´Ù°í ÇÏ´Ï, °íÇØ»óµµ·ÎÀÇ ¹ßÀüÀº ³¡¾øÀÌ À̾îÁú °Í °°½À´Ï´Ù. À©µµ±×¿¡¼´Â ÇØº¼¼ö ¾ø´Â XÀ©µµ¿ìÀÇ ÀåÁ¡ÀÌ ¾Æ´Ñ°¡ »ý°¢µÇ´Â±º¿ä (¹°·Ð °ø°³¿ë ¼ÒÇÁÆ®¿þ¾îÀ̱⠶§¹®¿¡ °¡´ÉÇÏ´Ù°í ÇÒ ¼ö ÀÖÁÒ.)
<p>
from Marzio Lee
<sect>±âŸ
<sect1> ÆíÁýÀÚ, Âü¿© ¹æ¹ý
<p>
º» ¹®¼ÀÇ ÆíÁýÀÚ´Â
ÀÓ ÀºÀç <htmlurl url="mailto:eunjea@kldp.org"
name="eunjea@kldp.org">ÀÔ´Ï´Ù.
¼öÁ¤ÇÒ »çÇ×, ¶Ç´Â ÀÌ ÇÁ·ÎÁ§Æ®¿¡ Âü¿©ÇÏ½Ç ºÐÀº <url url="http://kltp.kldp.org/" name="ÇÑ±Û ¸®´ª½º ÆÁ ÇÁ·ÎÁ§Æ®"> ·Î ¹æ¹®ÇÏ½Ã¸é µÇ°Ú½À´Ï´Ù.
<sect1> ÁÖÀÇ»çÇ×
<p>
º» ¹®¼´Â ¸®´ª½º »ç¿ë»óÀÇ °£´ÜÇÑ ÆÁ, ÈùÆ®µéÀ» ¸ð¾Æ ³õÀº ¹®¼ÀÔ´Ï´Ù.
¹®¼³»¿ëÁß ¾î¶² ºÎºÐµéÀº ¿©·¯ºÐÀÇ ¸®´ª½º »ó¿¡¼ ¶È°°ÀÌ ÀÛµ¿ÇÏÁö
¾ÊÀ»¼öµµ ÀÖÀ»°ÍÀÔ´Ï´Ù.
±×·²¶§´Â ÇØ´ç ÇÏ¿ìÅõ¸¦ Àо¼¼¿ä ;-)
<sect1> ÀúÀÛ±Ç
<p>
º» ¹®¼´Â GPLÀ» µû¸¨´Ï´Ù.
<sect1> µµ¿òÁֽŠºÐµé
<p>
ÀÌ ¹®¼¿¡ Á÷Á¢,°£Á¢ÀûÀ¸·Î µµ¿òÁֽЏðµç ºÐµé²² °¨»çµå¸³´Ï´Ù.
±×¸®°í ¸®´ª½º ÇѱÛÈ¿¡ Èû¾²½Ã´Â ¸ðµç ºÐµé, KLDPÀÇ °ü¸®ÀÚ ±Ç¼ø¼±´Ô,
ÇÑ±Û µµÅ¥¸àÆ® ÇÁ·ÎÁ§Æ®¿¡ °øÇå ÇϽЏðµç ºÐµé,
¸¶Áö¸·À¸·Î ±â¼÷»ç ·ë ¸ÞÀÌÆ®¿´´ø ¸í ¼öÁø °ú Ait chitt Yamna.
</article>
|
Love is in the offing. Be affectionate to one who adores you. |











