Linuxdoc Sgml/Public-Web-Browser
<!doctype linuxdoc system>
<article>
<title> The Linux Public Web Browser mini-HOWTO
<author> Donald B. Marti Jr., <url url="mailto:dmarti@best.com" name="dmarti@best.com">
<date> v0.3, 5 January 1998
<trans> ¿ªÀÚ : ÀÌÈ£¿¬ <url url="mailto:guru2k@kldp.org" name="guru2k@kldp.org">
<abstract>
±×µéÀÇ ¾î¶°ÇÑ ´É·ÂÀÌ È¥¶õµÇ¾úÀ»¶§ »ç¶÷µé¿¡°Ô À¥ Á¢±ÙÀ» Á¦°øÇÏ´Â
±âº»ÀûÀÎ »ý°¢ÀÌ ¿©±â¿¡ ÀÖ´Ù.
</abstract>
<toc>
<sect>Copyright and Disclaimer
<p>
(¿ªÀÚÁÖ : ÀÌÇÏÀÇ ºÎºÐÀº ÀúÀÛ±Ç °ü·Ã ºÎºÐÀ¸·Î ¹ø¿ªÀ» ÇÏÁö ¾Êµµ·Ï
ÇϰڽÀ´Ï´Ù.)
Copyright 1997 Donald B. Marti Jr. This document may be redistributed
under the terms of the Linux Documentation Project license.
This document currently contains information for Netscape Navigator
only, but I plan to add notes for other browsers too as I get the
necessary information. If you try this with a different browser,
please let me know.
</p>
<sect> ¼Ò°³
<p>
±×µéÀÇ ¾î¶°ÇÑ ´É·ÂÀÌ È¥¶õµÇ¾úÀ»¶§ »ç¶÷µé¿¡°Ô À¥ Á¢±ÙÀ» Á¦°øÇÏ´Â
±âº»ÀûÀÎ »ý°¢ÀÌ ¿©±â¿¡ ÀÖ´Ù.
ÀÌ ¼³Á¤Àº ¿ø·¡ Æ®·¹ÀÌµå ¼î¸¦ À§ÇØ Á¦°øÇÏ·Á°í Çß´Ù. ±×·¯³ª ±× °ÍÀº
ÄÄÇ»Å͸¦ º¸¾ÆÁÖÁö ¾Ê°í À¥ ºê¶ó¿ìÁ®¸¦ ´ç½ÅÀÌ ¿øÇÏ´Â ´Ù¸¥ °÷¿¡ ÀÀ¿ëÇÒ
¼ö ÀÖµµ·Ï ÇÒ ¼öµµ ÀÖ´Ù.
¾Æ·¡ÀÇ Áö½ÄÀº ´ç½ÅÀÇ ½Ã½ºÅÛÀ» ¹æÅºÀ̳ª °£´ÜÈ÷ ´Ù·ê ¼ö ÀÖ°Ô ¸¸µéÁö
¾Ê´Â´Ù.
</p>
<sect>½ÃÀÛÇϱâ Àü¿¡
<sect1> ´ç½ÅÀº ±×·¡ÇÈ ºê¶ó¿ìÁ®°¡ ÇÊ¿äÇÏ´Ù
<p>
ÀÌ ¹®¼´Â ´ç½ÅÀÌ ÀÌ¹Ì ´ç½ÅÀÇ ½Ã½ºÅÛ¿¡¼ ³Ý½ºÄÉÀÌÇÁ ³×ºñ°ÔÀÌÅÍ °°Àº
±×·¡ÇÈ ºê¶óÁÖÁ®¸¦ »ç¿ëÇÑ´Ù°í °¡Á¤ÇÑ´Ù. ´ç½ÅÀº ´ç½ÅÀÇ ±×·¡ÇÈ À¥
ºê¶ó¿ìÁ®¸¦ »ç¿ëÇϱâ À§Çؼ ÆÛ¹Ì¼ÇÀ» °¡Áö°í ÀÖ¾î¾ß ÇÑ´Ù. ´ç½ÅÀÌ
»ó¾÷¿ë ³Ý½ºÄÉÀÌÇÁ ³×ºñ°ÔÀÌÅ͸¦ »ç¿ëÇÏ·Á¸é, ´ç½ÅÀº Ä®µ¥¶ó¸¦ ÅëÇÏ¿©
ÀûÇÕÇÑ ¶óÀ̼¾½º¸¦ »ì ¼ö ÀÖ´Ù.
</p>
<sect1> ´ç½ÅÀº °èÁ¤À» Ãß°¡ ÇÒ ¼ö ÀÖ¾î¾ßÇÑ´Ù
<p>
´ç½ÅÀÌ ·çÆ®°¡ µÉ¼ö ¾ø´Ù¸é, ``guest'' °èÁ¤À» Ãß°¡Çϰí guestÀÇ È¨ µð·ºÅ丮ÀÇ
¼ÒÀ¯±ÇÀ» ÁÙ ¼ö ÀÖ´Â ½Ã½ºÅÛ °ü¸®ÀÚ°¡ µÇ¾î¾ß ÇÑ´Ù. ``¸¸µé±â ȤÀº ´ÙÀ½ÀÇ ÆÄÀÏ
¼öÁ¤''À» Çß´Ù¸é ´ÙÀ½ ÀÛ¾÷(``¸¸µé±â ȤÀº /home/guestÀÇ ´ÙÀ½ ÆÄÀÏÀÇ ¼öÁ¤'')
À» Ç϶ó.
</p>
<sect1> ´ç½ÅÀº À¥ ºê¶ó¿ì¡ ½ºÅ×ÀÌ¼Ç stand-alone¿ë httpd°¡ ÇÊ¿äÇÏ´Ù
<p>
´ç½ÅÀÌ ³×Æ®¿öÅ© ¿¬°áÀ» ÇÏÁö ¾Ê°í stand-alone¸¦ ½ÇÇàÇϱâ À§ÇÑ À¥ ºê¶ó¿ì¡
½ºÅ×À̼ÇÀ» ¼³Á¤Çß´Ù¸é, ´ç½ÅÀº httpd ÀÛ¾÷°ú À¥ ¹®¼À¸ÀÇ ¼³Ä¡¸¦ ÇØ¾ß¸¸ ÇÑ´Ù.
ÀÌ °æ¿ì¿¡ ½ÃÀÛÇ϶ó:
<verb>
lynx -dump http://localhost/
</verb>
´ç½ÅÀÇ ½Ã½ºÅÛÀÇ È¨ÆäÀÌÁöÀÇ ÅØ½ºÆ®¸¦ ¾ò¾î¾ß ÇÑ´Ù.
</p>
<sect> guest °èÁ¤ Ãß°¡Çϱâ
<p>
root·Î, guest¸¦ Ãß°¡Çϱâ À§Çؼ adduser¸¦ ½ÇÇàÇØ¶ó.
±× ÈÄ ´ÙÀ½À» ½ÇÇàÇ϶ó.
<verb>
passwd guest
</verb>
guest °èÁ¤ÀÇ ÆÐ½º¿öµå ¼³Á¤À» ÇØ¶ó. ``guest'' °°ÀÌ ½±°Ô ±â¾ïÇÒ ¼ö ÀÖ´Â
°ÍÀ¸·Î ÇØ¾ßÇÑ´Ù. ´ç½ÅÀº ÀÌ ¾ÏÈ£¸¦ »ç¶÷µé¿¡°Ô ¸»ÇÒ °ÍÀÌ´Ù. ÀÚ½ÅÀÇ ¾ÏÈ£¿Í
°°Àº °ÍÀ» ¾²Áö ¸»¶ó.
±× ÈÄ, guestÀÇ È¨ µð·ºÅ丮¸¦ ¸¸µé¾î¶ó. ´ÙÀ½À» ½ÇÇàÇ϶ó.
<verb>
chown me.mygroup /home/guest
</verb>
»ç¿ëÀÚ À̸§À» ``me'' ¿Í ±×·ì À̸§À» ``mygroup''·Î ´ë½ÅÇ϶ó. (·¹µåÇÞ
¸®´ª½º¿¡¼´Â °°Àº °ÍÀÌ µÉ °ÍÀÌ´Ù, ¸ðµç »ç¿ëÀÚ´Â ±×ÀÇ ÀÚ½ÅÀÇ ±×·ìÀÌ
ÀÖÀ» °ÍÀÌ´Ù.)
´ç½ÅÀº Áö±Ý ³ª¿À°í ÀÛ¾÷ÀÇ ³ª¸ÓÁö¸¦ ·çÆ®°¡ ¾Æ´Ñ »óÅ·ΠÇ϶ó.
</p>
<sect> ¸¸µé±â ȤÀº /home/guestÀÇ ´ÙÀ½ ÆÄÀÏÀÇ ¼öÁ¤
<sect1> ÆÄÀÏ À̸§: .bash_login
<p>
<code>
exec startx
</code>
ÀÌ °ÍÀº guest·Î ·Î±×¸° ÇßÀ»¶§ ·Î±×ÀÎ ¼ÐÀº X À©µµ¿ì ½Ã½ºÅÛÀ» ½ÃÀÛÇÒ °ÍÀ»
ÀǹÌÇÑ´Ù.
</p>
<sect1> ÆÄÀÏ À̸§: .Xclients
<p>
<code>
netscape
</code>
ÀÌ °ÍÀº X¸¦ ½ÃÀÛÇßÀ»¶§ guest´Â À¥ ºê¶ó¿ìÀú¸¦ À©µµ¿ì ¸Å´ÏÀú°¡ ¾Æ´Ñ »óÅ·Î
½ÇÇàÇÒ °ÍÀÌ´Ù. ´ç½ÅÀÌ ´Ù¸¥ À¥ ºê¶ó¿ìÀú¸¦ ¼±ÅÃÇß´Ù¸é ´Ù¸£°Ô ³ª¿Ã °ÍÀÌ´Ù.
.Xclients ÆÄÀÏÀº guest°¡ ½ÇÇàÇÒ ¼ö ÀÖ¾î¾ßÇÑ´Ù. ´ÙÀ½À» ½ÇÇà½ÃÄѶó.
<verb>
chmod 755 /home/guest/.Xclients
</verb>
ÀÌ·¸°Ô ¸¸µé¾î¶ó.
</p>
<sect1> ÆÄÀÏ À̸§: .xsession
<p>
<code>
#!/bin/sh
netscape
</code>
´ç½ÅÀÌ xdm(1)À» »ç¶÷ÀÌ ·Î±×ÀÎ ÇßÀ»¶§ »ç¿ëÇÑ´Ù¸é, º¸ÅëÀº ·Î±×ÀÎ Çß´Ù¸é
ÀÌ ÆÄÀÏÀº guest°¡ À¥ ºê¶ó¿ìÀú¸¦ ¾ò°Ô ¸¸µé °ÍÀÌ´Ù. .xession ÆÄÀÏÀº guest°¡
½ÇÇàÇÒ ¼ö ÀÖ¾î¾ß ÇÑ´Ù. ´ÙÀ½ÀÇ ÀÛ¾÷À» ÇØ¶ó.
<verb>
chmod 755 /home/guest/.xsession
</verb>
ÀÌ·¸°Ô ¸¸µé¾î¶ó.
</p>
<sect1> ÆÄÀÏ À̸§: .Xdefaults
<p>
<code>
! Disable drag-to-select.
*hysteresis: 3000
! Make visited and unvisited links the same color by default
*linkForeground: #0000EE
*vlinkForeground: #0000EE
Netscape.Navigator.geometry: =NETSCAPE_GEOMETRY
! Disable some of the keyboard commands.
*globalTranslations:
! Mouse bindings: make all mouse buttons do the same thing.
*drawingArea.translations: #replace \
<Btn1Down>: ArmLink() \n\
<Btn2Down>: ArmLink() \n\
<Btn3Down>: ArmLink() \n\
~Shift<Btn1Up>: ActivateLink() \
DisarmLink() \n\
~Shift<Btn2Up>: ActivateLink() \
DisarmLink() \n\
~Shift<Btn3Up>: ActivateLink() \
DisarmLink() \n\
Shift<Btn1Up>: ActivateLink() \
DisarmLink() \n\
Shift<Btn2Up>: ActivateLink() \
DisarmLink() \n\
Shift<Btn3Up>: ActivateLink() \
DisarmLink() \n\
<Btn1Motion>: DisarmLinkIfMoved() \n\
<Btn2Motion>: DisarmLinkIfMoved() \n\
<Btn3Motion>: DisarmLinkIfMoved() \n\
<Motion>: DescribeLink() \n\
</code>
ÀÌ ÆÄÀÏÀº ±ô¹ÚÀ̴ ű×, drag-to-select, ±×¸®°í ±×¿ÜÀÇ º¸µå ¸í·ÉÀ»
»ç¿ëÇÏÁö ¸øÇÏ°Ô ÇÑ´Ù. ¶ÇÇÑ ¸ðµç ¸¶¿ì½º ¹öưÀ» ¸Þ´º¹Ù °¨Ã߱⠰°Àº °ÍÀ»
ÇÏ°Ô ÇÑ´Ù. ±×¸®°í ¹æ¹® ÇÑ °÷°ú ÇÏÁö ¾ÊÀº °÷ÀÇ »öÀ» °°°Ô ÇÑ´Ù. ±×·¡¼
´Ù¸¥ ¹æ¹®ÀÚµéÀº ÁÁÀº ÆÄ¶õ»ö ¸µÅ©¸¦ ¾ò´Â´Ù. ´Ù¸¥ »ç¶÷µéÀº ÀÚÁÖ»öÀ¸·Î
°æ¸êÇÏÁö ¾Ê°Ô ÇÑ´Ù.
´ç½ÅÀº X Áö¿À¸ÞÆ®¸® ÆÄÀÏÀÇ NETSCAPE_GEOMETRY¸¦ ´ÙÀ½°ú °°ÀÌ º¯°æÇؾß
ÇÑ´Ù: XxY+0-0, X´Â ´ç½ÅÀÇ ½ºÅ©¸°ÀÇ °¡·Î Y´Â ¼¼·Î + 32. ÀÌ °ÍÀº ³Ý½ºÄÉÀÌÇÁ
¸Þ´º ¹Ù¸¦ ½ºÅ©¸°ÀÇ À§·Î À§Ä¡ÇÏ°Ô ÇÑ´Ù. ±×·¡¼ »ç¿ëÀÚ´Â »ê¸¸ÇÏÁö ¾ÊÀ» °ÍÀÌ´Ù.
¿¹¸¦ µé¸é, ´ç½ÅÀÇ ½ºÅ©¸°ÀÌ 800x600À̶ó¸é, Áö¿À¸ÞÆ®¸® °ªÀº 800x630+0-0ÀÌ
µÇ¾î¾ß ÇÒ °ÍÀÌ´Ù.
</p>
<sect> guest¸¦ À§ÇÑ .netscape µð·ºÅ丮 ¸¸µé±â
<p>
´ÙÀ½ÀÇ ÀÛ¾÷À» ¼öÇàÇ϶ó
<verb>
mkdir /home/guest/.netscape
chmod 777 /home/guest/.netscape
</verb>
guestÀÇ .netscape µð·ºÅ丮¸¦ ¸¸µé°í ±×°ÍÀ» ¾²±â °¡´ÉÀ¸·Î ¸¸µé¾î¶ó.
</p>
<sect> ½ÃÇèÇØº¸¶ó
<p>
·Î±× ¾Æ¿ôÇϰí, ±× ÈÄ guest·Î ·Î±×ÀÎ ÇØº¸¶ó.
</p>
<sect> ´Ù¸¥ °Í ¹Ù²Ù±â
<p>
´ç½ÅÀÌ guest°¡ ¸Þ´º¹Ù¸¦ »ç¿ëÇÏÁö ¸øÇÏ°Ô ÇÑ ÈÄ, ±×°ÍÀ» ¹Ù²Ù´Â °ÍÀÌ ÇÊ¿äÇϰųª,
ȤÀº guestÀÇ °ÍÀ» ´Ù¸¥ ÆÄÀÏ·Î º¹ÇÏ»ç±â À§ÇØ ´ç½Å ÀÚÀÎÀÇ ´Ù¸¥ °ÍÀ» ¹Ù²Ù·Á¸é
guestÀÇ ´Ù¸¥ °ÍÀ» ¼öµ¿À¸·Î ¹Ù²Ù¾î¾ß ÇÑ´Ù.
</p>
</article>
|
Man's horizons are bounded by his vision. |











