\documentclass[letterpaper]{article}
\nonstopmode
\akai
\usepackage{linuxdoc-sgml}
\usepackage{qwertz}
\usepackage{url}
\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage[english]{babel}
\usepackage{epsfig}
\usepackage{null}
\def\addbibtoc{
\addcontentsline{toc}{section}{\numberline{\mbox{}}\relax\bibname}
}%end-preamble
\setcounter{page}{1}
\title{¤¤¤å Linux WWW HOWTO }
\author{­ìµÛ§@ªÌ: Mr. Poet, {\ttfamily \onlynameurl{poet@linuxports.com}}\\ 
Ä¶ªÌ: ¤ý¥@´ë¡£Wang, Shyh-Chyu¡¤}
\date{v0.85, 21 August 1999}
\abstract{¥»¤å±Ô­z¡A¬°¤F´£¨Ñ¥þ²y¸ê°Tºô¡£WWW¡¤ªº¦UºØªA°È¡A¦bLinux¤Wªº³]©w¸ê°T¡£¥]¬A³]©w¦øªAºÝ¤Î¥Î¤áºÝµ{¦¡¡¤¡C¥»½gHOWTOªº¥Øªº¡A¤£¬O¦b´£¨Ñ¤@¥÷¸Ô²Óªº¤â¥U¡A¦Ó¬O¦b´£¨Ñ¤@¥÷·§²¤ªº±Ô­z¡A¨Ã´£¨Ñ¦p¦ó¥h§ä¨ì¶i¤@¨B¸ê°Tªº¤è¦V¡C}


\begin{document}
\maketitle
\tableofcontents

\section{«e¨¥\label{Intro}}



¬°¤F°l¨D¤@­Ó¯u¥¿{\itshape ¾Õªøºô»Úºô¸ô\/}ªº¾Þ§@¨t²Î¡A³\¦h¤H¦]¦Ó¶}©l¸Õ¥ÎLinux¡C
¥t¥~¡A¤S¦³¤@¨Ç¾Ç°|.¡B¤j¾Ç¡B«DÀç§Q¨Æ·~¡B¤Î¤@¨Ç¤p«¬¥ø·~¡C¥L­Ì§Æ±æ«Ø¥ß¤@­Óºô¯¸¡A
¤S¤£»Ý­n¤°»ò¸g¶O¡C³o´N¬O WWW-HOWTO ­ì©lªº¥Øªº¡C¥»¤å¥ó¥D­n±Ô­z¦p¦ó¬°ºô»Úºô¸ô
¤¤³Ì¥D­nªº{\itshape ¥þ²y¸ê°Tºô¡£World  Wide Web¡¤\/}³]©w¦øªAºÝ¤Î¥Î¤áºÝµ{¦¡¡C

¤å¤¤ªº»ù®æ¤@«ß¥H¬üª÷­pºâ¡C¨Ã°²³]§AªºLinux¬O«Ø¥ß¦bIntelªº¥­¥x¤W¡C¦pªG§A¨Ï¥Î¨ä¥L
¥­¥x¡A«ü¥O¤Î²£¥Íªºµ²ªG¥i¯à·|¤£¤@¼Ë¡C§A¥i¸g¥Ñ³\¦h³sµ²¨Ó¤U¸ü¦¹¤å¥ó¡A¦pªG¥i¯à½Ð¾¨
¶q¸g¥Ñ¬M®g¯¸¨Ó¤U¸ü¡A¨Ã«O¯d¤@¥÷¦b§Aªº¥D¦øªA¾¹¤W¡C




\subsection{µÛ§@ÅvÁn©ú}

¥»¤å¥óªºµÛ§@Åv (c) 1999 ÄÝ©ó Mr. Poet¡C

¥»¤å¥óªºµÛ§@Åv (c) 1999 ÄÝ©ó¥»¤å¥ó­ì©l§@ªÌ Peter Dreuw¡C¡£0.8ª©«eªº©Ò¦³¤å¥ó¡¤

¥»¤å¥ó¬°¦Û¥Ñ³nÅé¤å¥ó¡A¦b¤£¹H¤Ï¦Û¥Ñ³nÅé¨ó·|µo¦æªºGNU General Public Licence¡£²Ä¤Gª©©Î
¥ô¦ó¡m°Ñ¦Ò§Aªº·N¨£«áªº¡n«áÄòª©¥»¡¤¤U¡A¥i¥H¦Û¥Ñ½Æ»sµo¦æ©Î§ï¼g¡C

¥»HOWTOªºµo¦æ¡A¥u´Á±æ¯à°÷¬O¤@¥÷¦³¥Îªº¸ê®Æ¡A¦Ó¨S¦³ªþ±a¥ô¦óªº«OÃÒ¡C¹ï¥ô¦ó°Ó·~¦æ¬°¤£Áô§t¥ô¦ó
«OÃÒ¡A¹ï¥ô¦ó¯S©wªº¥Øªº¤]¤£«OÃÒµ´¹ï²Å¦X¡C¬ÛÃö²Ó¸`½Ð°Ñ¦ÒGNU General Public Licence¡C

­n¨ú±o¤@¥÷GNU General Public License¡A½Ð¨Ó«Hµ¹¦Û¥Ñ³nÅé¨ó·|¡£Free Software Foundation¡¤¡A
¦a§}¡GInc., 675 Mass Ave, Cambridge, MA 02139, USA.¡C

¤å¥ó¤¤©Ò´£¨ìªºµù¥U°Ó¼Ð¡AÂk¦U¦Û¾Ö¦³ªÌ©Ò¦³¡C



­ìµÛ§@¤º®e(Origional Copyright)¡G

This document is Copyright (c) 1999 by Mr. Poet

This document is Copyright (c) 1997 by Wayne Leister. The original author of
this document was Peter Dreuw.(All versions prior to 0.8)



This HOWTO is free documentation; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version. 



This document is distributed in the hope that it will be useful, but without
any warranty; without even the implied warranty of merchantability or
fitness for a particular purpose. See the GNU General Public License for
more details. 



You can obtain a copy of the GNU General Public License by writing to the
Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 

Trademarks are owned by there respective owners.






\subsection{ÅªªÌ·N¨£}

Åwªï©Ò¦³ªº·N¨£¡Aµ§ªÌ¨Ã«D¸U¨Æ³q¡A¦³¨Ç¸ê®Æ¨Ó·½ÁÙ¬O¤@¨ÇÆZÄêªººô¯¸¡A²¨©¿¿ù»~
¦b©ÒÃø§K¡C¦ý¦b¤Ï¬M¿ù»~«e¡A½Ð¥ý¤ñ¹ï¤@¤U³Ì·sª©¥»¡C¤]³\§A©Òµo²{ªº°ÝÃD¡A¤w¸g¦b
¤U¤@ª©¤¤­q¥¿¤F¡C¡£¤U¤@¬q§i¶D§A¦p¦ó¨ú±o³Ì·sª©¥»¡¤¡C
ÅªªÌ·N¨£½Ð±H¦Ü
\onlynameurl{poet@linuxports.com}.




\subsection{³Ì·sª©¥»}

³Ì·sª©¥»¥i¸g¥Ñ¤U­±ªº¥Ã¤[ºô§}¤¤¨ú±o¡G
\onlynameurl{Website}. 








\section{¦p¦ó³]©w¥þ²y¸ê°Tºô¥Î¤áºÝ³nÅé (Antiquated)}

\begin{quotation}
½Ðª`·N!¥»³¹¦Û1997¦~¨Ó¡A¤@ª½³£ÁÙ¥¼­×§ï¹L¡C¥¦©Ò¥H«O¯d¤U¨Ó¡A¥u¬O­n§i¶D§A¥H
«eªº§@ªk¡C©Ò¦³¦³ÃöLinuxªº³nÅé¡A³£¬O¨Ó¦ÛNetscape¤ÎLynx¡C¥¦­Ì¤]¬OLinux¤W³Ì¥D­nªº
ÂsÄý¾¹¡A¦pªG§AÁÙ¨S¦³³o¨ÇÂsÄý¾¹¡A¨º»ò»°§Ö¨Ì·Ó¬ÛÃö³¹¸`ªº½u¯Á¥h¤U¸ü§a¡I
\end{quotation}


¤U­±³¹¸`¤¶²Ð¦p¦ó³]©w¥þ²y¸ê°TºôÂsÄý¾¹¡C¦pªG§A»{¬°¬Y­ÓÂsÄý¾¹­È±o¤@ÃD¡A«o¤£¦b¨ä¤¤¡A
½Ð´f©ó½ç±Ð¡C¦b³o¤@ª©¥»¤¤¡A¥u¦³¬Y¨ÇÂsÄý¾¹¦³³æ¿Wªº³¹¸`¡C¦ý¬O¦b·§½×¤¤¡A·|ºÉ¶q§t»\©Ò
¦³¥i¥H§ä±o¨ìªºÂsÄý¾¹¡C¬Y¨Ç¥D­nÂsÄý¾¹¦pªG¯uªº­È±o²Ó»¡¡A¤]·|¦b¥¼¨Ó¥tÅP³¹¸`¥[¥H¤¶²Ð¡C

¡u·§­z¡v¬O¥Î¨Ó´£¨Ñ§A¤@¨Ç¸ê°T¡AÀ°§U§A¨M©w­n¥Î¤°»òÂsÄý¾¹¡C¡u²Ó»¡¡v°w¹ï¨C¤@ÂsÄý¾¹¡A
²Ó­z¦p¦ó¥h¦w¸Ë¡B³]©w¤ÎºûÅ@¡C

¨Æ¹ê¤W¡A¥­±`·í§Ú¤£·Q©ñ¥XX-Window/Netscape³o­Ó©ÇÃ~¥X¨Ó·o³J®É¡A§Ú¥u¥ÎLynx¡C




\subsection{·§­z}

\begin{description}
\item[\ref{netscape} {(Navigator/Communicator)}] \mbox{}

Navigator¬O¥»¤å¤¤°ß¤@¦bLinux¤W¤ä´©§¹¾ãHTML¥\¯àªºÂsÄý¾¹¡C¨Ò¦p¡AFrame¡BJava¡B
Javascript¦Û°Ê§ó·s¡B¤ÎLayersªº¥\¯à¡C¥¦ÁÙ¥i¥H¦¬µonews¤Îmail¡C¦ý¬O¡A¥¦¹ï¹q¸£¸ê·½
¤]³\¤Ó¹³¤@°¦³g°ýªº½Þ¡A¦Y±¼¤@¤j°ïCPU time¤Î°O¾ÐÅé¡C¦Ó¥B¡AÁÙ¦bµwºÐ¤¤³]§Ö¨úªÅ¶¡¡A
®ö¶OµwºÐªÅ¶¡¡C

²{¦bNetscape¤D¬O¤@OpenSourceªº³nÅé¡A¥i¥H±q
\onlynameurl{ftp.netscape.com}¤U¸ü¡C



\item[\ref{lynx} {(Lynx)}] \mbox{}

Lynx¬O³Ì¤pªºÂsÄý¾¹¡C¬°¤@¦Û¥Ñ³nÅé­ì©lµ{¦¡¡A¥i¨Ì·ÓGNUªºpublic licence¨ú±o¡CÁöµM¬O
¥H¤å¦r¬°¥D¡A¦ýLynxÁÙ¬O¦³ÆZ¦h¯S®í¥\¯à¡C²{¦b¤w¥i¤ä´©table¡Bcolor¡£«Dcurses¡¤¤Îframe¡C

\begin{quotation}
Lynx¤ä´©ªºframe¥\¯à:
\end{quotation}


\begin{quotation}
Lynx¥u¤ä´©³¡¥÷ªºframe¥\¯à¡C¤@¥¹µo²{¤Fframe¡A¥¦·|Åªframeªº¼ÐÃD¡AÅã¥Ü¦¨³sµ²¡C³o±`±`¦b»y·N¤WÅý¤H»~¸Ñ¡C
\end{quotation}
 



\item[Kfm] \mbox{}

Kfm¬°K Desktop Environment¡£KDE¡¤ªº¤@³¡¥÷¡CKDE¬O¦bX-Windows¤Wªº¤@­Ó¨t²Î¡C´£¨Ñ¤@¨Ç
¹³drag and drop¡Bsound¡Btrashcan¤Îlook and feelªº¥\¯à¡CKfm¬OK file manager
¡A¤]¬OÂsÄý¾¹¡C¥Î¨Ó·íÂsÄý¾¹®É¡A¥i¥H¤ä´©frame¡Btable¡Bftp¤U¸ü¡AÀË¬dtar¤å¥ó®w¡£Archieve¡¤
µ¥µ¥¡E¡E¡E¡C²{¦bªºª©¥»¬°1.1.1¦Ó1.1.2§Y±N±Ò¥Î¡CÁöµM¦b¨S¦³KDE¤U¡A¥i¥H¨Ï¥ÎKfm¡A¦ýKDEªº¨ç
¦¡®wÁÙ¬O­n¦³¡CKDE¤ÎKfmªº²Ó¸`¡A½Ð°Ñ¦Ò\nameurl{http://www.kde.org}{}¡C



\item[\ref{emacs} {(Emacs)}] \mbox{}

Emacs¬O­Ó¸U¯àªºµ{¦¡¡C¬O¤å¥ó³B²z¾¹¡B¬Onews¾\Åª¾¹¡B¬OMail¾\Åª¾¹¡B¤]¬OÂsÄý¾¹¡C­n¾Ç²ß¨Ï¥Î
Emacs¡A¤@¶}©l®É¡A­n¾ÇªºªF¦è¹ê¦b¤Ó¦h¤F¡A¦]¬°§A¥²¶·¥h¾Ç©Ò¦³«öÁäªº¥\¯à¡C¦ÓX-Windowsªºª©
¥»´N®e©ö±o¦h¤F¡A¦]¬°¤j³¡¥÷ªº¥\¯à³£¦b¿ï³æ¤¤¡C¦ý¬O¦³¤@­Ó¯ÊÂI¡A§Y¥¦¥D­n¬O¥H¤å¦r¼Ò¦¡¬°¥D
¡C¡£µù¡G¦bX-Windows¤¤¡AEmacs¥i¥Hµe¹Ï¡C¡¤Emacs¤]¬O¦Û¥Ñ³nÅé¡A­ì©lµ{¦¡¥i¨Ì¾ÚGNUªº
public licence¨ú±o¡C



\item[NCSA Mosaic] \mbox{}

Mosaic¬OIllinois¤j¾ÇªºNCSA¡£National Center for Supercomputing Application¡¤µo
®iªºX-WindowsÂsÄý¾¹¡GNCSA´¿ªá¥|¦~®É¶¡¦b³o­Ó¶}µo­p¹º¡A²{¦b¤wÂà²¾ª`·N¤O¨ì¨ä¥¦­p¹º¡A©Ò¥HMosaic
¤w¸gµL¤H§ó·s¡C¦]¬°¥¦ªº­ì©lµ{¦¡¡A¬°¦Û¥Ñ³nÅé¡A¦pªG¦³¤H·Q·d­Ó­p¹º¡A¶}µo¦b«D°Ó·~¥Î³~¤WªºÂsÄý¾¹¡A
Mosaic¹ï¥¦¨Ó»¡¥i¯àÆZ­È±o¦Ò¼{ªº¡C



\item[Amaya] \mbox{}

Amaya¬O¬°¤FW3CªºHTML3.2¼Ð·Ç©Ò¶}µoªºX-WindowsÆ[©À³]­p¥Î³~ÂsÄý¾¹¡A©Ò¥H¥i¤ä´©©Ò¦³HTML3.2
¼Ð·Ç¡C¥¦¤]¤ä´©HTML4.0ªº³¡¥÷¼Ð·Ç¡CTable¡Bform¡B¥Î¤áºÝimage map¡Bput  publishing¡Bgif¡B
jpeg¤Îpng¹Ï§Î³£¥i¤ä´©¡C¤£¦ý¥i·íÂsÄý¾¹¡A¤]¥i·í½s¿è¤u¨ã¡C³Ì·sª©¥»¬°1.0  betaª©¡C1.1  beta
ª©ÁÙ¦b§@¤º³¡´ú¸Õ¡A¤£¤[´N¥i¶}©ñ¨Ï¥Î¡C

¬ÛÃö²Ó¸`°Ñ¦Ò\nameurl{http://www.w3.org/Amaya/}{}¡C

Amaya¥i±q\nameurl{ftp://ftp.w3.org/pub/Amaya-LINUX-ELF-1.0b.tar.gz}{}¤U¸ü¡C



\item[Qweb] \mbox{}

Qweb¬O¥t¤@­ÓX-Windowsªº°ò¥»ÂsÄý¾¹¡CTable¡Bform¡B¤Î¦øªA¾¹image map³£¥i¤ä´©¡C³Ì·sª©¥»¬°
1.3ª©¡C

¬ÛÃö²Ó¸`°Ñ¦Ò\nameurl{http://sunsite.auc.dk/qweb/}{}¡C

¨Ó·½ÀÉ¥i±q\nameurl{http://sunsite.auc.dk/qweb/qweb-1.3.tar.gz}{}¨ú±o¡C

¤]¥i±q\nameurl{http://sunsite.auc.dk/qweb/qweb-1.3-1.i386.rpm}{}¨ú±oRedHatªºRPMÀÉ¡C



\end{description}


µ§ªÌ«ØÄ³©Ò¦³ÂsÄý¾¹ªº¨Ï¥ÎªÌ¥u¨Ï¥ÎNetscape  4.x¡ALynx©ÎNetscape 5.x Alpha¡C¥L­Ì¬O¦b
Linux¤¤¡A°ß¤@¤ä´©¤j³¡¥÷¥\¯àªºÂsÄý¾¹¡C­Ó¤H«ØÄ³¨Ï¥ÎNetscape 5.x Alpha¡C¥¦ÁöµM¥u¬O
Alphaª©¡A¦ý·¥¦w©w¥B¤ñ4.xª©§ó¯à¤ä´©¦UºØ¼Ð·Ç¡C








\section{Lynx\label{lynx}}

Lynx¬O¤@­Ó²{¦³ªº»´¥©«¬ÂsÄý¾¹¡C¦]¬°¥u®i¥Ü¤å¦r¡A¥¦¤£·|¦Y±¼¤Ó¦h½u¸ô¼eÀW¡£bandwith¡¤¡A
¤]¤£·|¦Y±¼¤Ó¦h¨t²Î¸ê·½¡C¥i¦b¥ô¦óÅã¥Ü¤è¦¡¡B¥ô¦ó²×ºÝ¾÷©Îxterm¤¤®i¥Ü¡C°õ¦æ³o­Ó¤pÂsÄý
¾¹¡A§A¨Ã¤£¶·­n{\itshape X Windows ¨t²Î\/}©Î¦h¾lªº¨t²Î°O¾ÐÅé¡C




\subsection{¦p¦ó¨ú±o¡H}

¤j³¡¥÷ªºLinux®M¥ó¤¤¡A´N¤w¸g¦³Lynx¤F¡C§i¶D§A¦p¦ó½sÄ¶¡B¦w¸Ë¡A¥i¯à¹ï§A¨Ó»¡¨S¤°»ò·N¸q¡C
³Ì·sª©¥»¬°2.8.2ª©¡A¥i¥Ñ\nameurl{http://www.slcc.edu/lynx/fote/}{}¨ú±o¡A¤]¥i±q¥ô¦ó
¹³\onlynameurl{ftp://sunsite.unc.edu under /pub/Linux/apps/www/broswers/} 
ªºLinux  FTP¦øªA¾¹©Î¬M®g¯¸¨ú±o¡C

¬ÛÃö²Ó¸`¡A¥i¸Õ¸Õ¤U¦Cºô¯¸¡G
\begin{description}
\item[Lynx Links] \mbox{}

\nameurl{http://www.crl.com/~subir/lynx.html}{}

\item[Lynx Pages] \mbox{}

\nameurl{http://lynx.browser.org}{}

\item[Lynx Help Pages] \mbox{}

\nameurl{http://www.crl.com/~subir/lynx/lynx_help/lynx_help_main.html}{} 
(the same pages you get from lynx --help and typing ? in lynx)

\end{description}


µù¡GLynx  help  page³Ìªñ¾E²¾¡A¦pªG§A¦b¨Ï¥ÎÂÂª©Lynx¡A½Ð±Nlynx.cfg¡£¦b/usr/lib¤¤¡¤¤¤
ªº¦a§}§ï¬°¤W­z¦a§}¡C



Lynx³Ì¯S®íªº³B¡A¤j·§¬O¥¦ªºbatch  mode  retrieval¡C§A¥i¥H¼g¤@­Óshell  script¡A¥Î{\itshape http\/}, 
{\itshape FTP\/}, {\itshape gopher\/}, {\itshape WAIS\/}, {\itshape NNTP\/}©Î{\itshape file://\/}¨Ó§ì¤@­ÓÀÉ®×¡B¤å¥ó®w¡£Archieve¡¤
©ÎÃþ¦üªºªF¦è¡AµM«áÁÙ¥i¦s¦bºÏºÐ¤¤¡C§AÁÙ¥i¥u¥Ñ{\itshape -post\_data\/}¿ï¶µ¨Ó§ì¼Ð·Ç¿é¤J¸ê®Æ¡A¦b
batch mode¤¤¶ñ¼gHTML form¡C

Lynxªº¨ä¾l¥\¯à¡A½Ð°Ñ¦ÒLynxªºhelp¤Îman page¡C¦pªG§Aµo²{Lynxªº¨ä¥L¥\¯à¡A¦Ó¥B»{¬°¥¦«D±`­È±o
¼g¤J¥»¤å¥ó¤¤¡A½Ð¤£§[½ç±Ð¡C






\section{Emacs-W3\label{emacs}}

Emacs¦³³\¦h¤£¦Pªº´Ú¦¡¡C³Ì¨üª`¥Øªº¬OGNU Emacs¤ÎxEmacs¡CGNU Emacs¬O³Ì¦­ªºEmacs¡A¥ÑFree 
Software Fundation¶}©ñ¨Ï¥Î¡C¥D­n¥H¤å¦r¬°¥D¡A¦ý¥i¦bX-Windows¤¤°õ¦æ¡CXemacs¡£¥¿¦¡¦WºÙ¬°
Lucid Emacs¡¤¥u¯à¦bX-Windows¤¤°õ¦æ¡C¥¦ÁÙ¦³³\¦h©MX-Windows¦³Ãöªº¥\¯à¡£¸û¦nªº¥Ø¿ýµ¥¡E¡E¡E¡¤¡C




\subsection{¦p¦ó¨ú±o¡H}



¤j³¡¥÷Linux®M¥ó§t¦³GNU Emacs¡C

GNU Emacsªº³Ì·sª©¥»¬°19.34¡C¨S¦³ºô¯¸¡A¦ý¦³FTP¯¸\nameurl{ftp://ftp.gnu.ai.mit.edu/pub/gnu/}{}¡C

³Ì·sª©ªºXEmacs¬O20.2ª©¡CFTP¯¸¦b\nameurl{ftp://ftp.xemacs.org/pub/xemacs}{}¡C

¬ÛÃö¸ê°T°Ñ¦Ò\nameurl{http://www.xemacs.org}{}¡C

¨âªÌ³£¥i¥H¥Ñ
\onlynameurl{ftp://sunsite.unc.edu under /pub/Linux/apps/editors/emacs/} ¨ú±o¡C

¤@¥¹¦w¸Ë¤FGNU Emacs¤ÎXEmacs¡A´N¦³¤FW3ÂsÄý¾¹¡C

Emacs¨Ï¥ÎEmacs Lisp¨t²Î¡A´X¥G§t»\©Ò¦³ªºÂsÄý¾¹¥\¯à¡C¥¦¥D­n¥H¤å¦r¼Ò¦¡¬°¥D¡A¦ý¬O¦b
X Windows¨t²Î¤U¡A¦Ü¤ÖÁÙ¥i¥H®i¥Ü¹Ï§Î¡C

­nÅýXEmacs±Ò°Ê¥¦ªºW3¼Ò¦¡¡AÂI¿ï'apps'¡A¦A¿ï'brows the web'¡C

§Ú¨S¦³¥Î¹LEmacs¡A¦pªG¦³¤Hª¾¹D«ç¼Ë±Ò°Ê¥¦ªºW3¼Ò¦¡¡A§Ú¥i¥H§â¥¦¥[¶i³o­Ó¤å¥ó¤¤¡C¤W
­z¸ê®Æ¤j³£§ÛÅ§¦Û­ìµÛ¡A¦pªG§Aµo²{¥ô¦ó¿ù»~¡A©Î§Æ±æ¥[¤J¨Ç¤°»òÃD§÷¡A½Ð¤£§[½ç±Ð¡C








\section{Netscape Navigator/Communicator\label{netscape}}




\subsection{¦UºØª©¥»¤Î¿ï¶µ}

Netscape  Navigator¬°¥þ²y¸ê°TºôÂsÄý¾¹¤§¤ý¡C¥L´X¥G¤Q¶µ¥þ¯à¡C­Y¬O´«¤@­Ó¨¤«×¡A¥L«o
¬O°Ù»k°O¾ÐÅé¤Î¨t²Î¸ê·½³ÌÄY­«ªºµ{¦¡¡C

¥¦¦³3ºØ¤£¦Pª©¥»¡G

Netscape Navigator ¥]§tÂsÄý¾¹¡Bnetcaster(push client)¤Î°ò¥»ªºmailµ{¦¡¡C

Netscape Communicator ¥]§tÂsÄý¾¹¡Bºô¸ô¤å¥ó½s¿è¾¹¡B¸û¥ý¶iªºmailµ{¦¡¡Bnews¾\Åª¾¹¡B
netcast¡£push client¡¤¤Î¤@°ïºô¸ô·|Ä³¤u¨ã¡C

Netscape Communicator Pro¥]§t Netscape  Communicatorªº©Ò¦³¥\¯à¡A¥~¥[¤@°ï¤é¾ä¡B
IBM²×ºÝ¾÷¼ÒÀÀ¥\¯à¤Î»·ºÝ¨t²ÎºÞ²z¥\¯à¡£¨t²ÎºÞ²z­û¥i«Ý¦b¦Û¤vªº®à­±¡£desktop¡¤¡A§ó·s
´X¤d¥÷»·¤è¾÷¾¹¤¤ªº Netscape ¡¤¡C

°£¤F¤W­z¤T­Óª©¥»¥~¡AÁÙ¦³¨â­Ó¿ï¶µ­È±oª`·N¡C

­º¥ý¦³§¹¾ã¦w¸Ë¤Î°ò¥»¶·­×¨D¦w¸Ë¡C§¹¾ã¦w¸Ë¥i¥H¦w¸Ë©Ò¦³¥\¯à¡F¦Ó°ò¥»¦w¸Ë¥u¦w¸Ë¨¬¥HÅý
§A¨Ï¥Îªº¥\¯à¡C¦p¦³¥²­n§AÁÙ¥i¥H¤U¸ü¨ä¥L¤¸¥ó¡£¦p¦h´CÅé¤ä´©¤Înetcaster¡¤¡C§A¥i¥Î
Netscape´¼¼z¦w¸Ë¤u¨ã¨Ó¦w¸Ë¡£¦w¸Ë«á¿ï'help'¡÷'software updates'¡¤¡C¦ý¬O²{¦bLinux¤W
ªº NetscapeÁÙ¥¼¤ä´©§¹¾ã¦w¸Ë¡C

²Ä¤G¿ï¶µ¬°¤º¾Pª©©Î¥~¾Pª©¡C¦b¬ü¥[¦a°Ï¡A§A¥i¥H¨Ï¥Î¤º¾Pª©¡A¦Ó128 bit¥[±Kªº¦w¥þ¶Ç¿é¡£SSL¡¤
ªº±j¤j¥\¯à¡C§_«h¡A§A¥u¦³40 bit¥[±K¯à¡C¦b¬ü¥[¥H¥~¡A¥u¤¹³\¨Ï¥Î¦¹¤@ª©¥»¡C

Netscape  Navigator / Communicator / Communicator Proªº³Ì·sª©¬°4.6.1¡CLinux¥u¾Ö¦³
¨âºØ¤£¦Pª©¥»¡C¨ä¤@·f°tÂÂª©¡£1.2¨t¦C¡¤®Ö¤ß¨t²Î¡£kernels¡¤,¥t¤@·f°t·sª©¡£2. x¡¤¡C¦p
ªG§AÁÙ¨S¦³°ª©ó2.0ª©ªº®Ö¤ß¨t²Î¡Aµ¹§A¤@­Ó¨}¤ßªº«ØÄ³¡A§Ö§Ö¤É¯Å§a¡I·sª©¥»¤w¦³¤F³\¦h§ïµ½¡C

NetscapeÁÙ¦³betaª©¡C¦pªG´ú¸Õ¥Îbetaª©¡A³q±`¦³¤@­Ó¤ëªº¸Õ¥Î´Á¡C

¤]¥i¥H¸Õ¤@¤U5.0 alphaª©¡C¥¦¥i±qMozilla­p¹º
\onlynameurl{www.mozilla.org}¤U¸ü¡C

§A¤]¥i¥H¸Õ¤@¤U±q\onlynameurl{www.mozilla.org}¤U¸üªº
5.0 alpha¡C§Ú­Ó¤H«D±`«ØÄ³¨Ï¥ÎNetscape 5¡C¥¦¬O§Ú©Ò¨£¹L³Ì¦³¼u©Ê¡B³Ì¦w©wªºÂsÄý¾¹¡C




\subsection{¦p¦ó¨ú±o}



¨ú±oNetscape³nÅé³Ì¦nªº¤èªk¡A´N¬Oª½±µ¨ì¥L­Ìªººô¯¸ 
\nameurl{http://www.netscape.com/download/}{}¡C¸Ó¯¸¦³¿ï³æ¡A±a§A§¹¦¨¿ï¾Ü¡C¥¦·|°Ý§A
§AªºLinuxª©¥»¬°¦ó¡A³o®É§A­n¥Î®Ö¤ß¨t²Îªºª©¥»¨Ó¦^µª¡£²{¦b¤j³¡¥÷¤H³£¥Î2.0ª©¡¤¡C¦pªG§A¤£½T
©w§AªºLinuxª©¥»¬°¦ó¡A¥i¥Î«ü¥O'cat /proc/version'¨Ó¬d§Aªºª©¥»¡C¦¹¯¸¬°°ß¤@¨ú±o¤º¾Pª©ªººô¯¸¡C

¦pªG§A­n¥~¾Pª©¡A¥i±qNetscape  FTP¦øªA¾¹¤U¸ü¡C³o¨ÇFTP¯¸ÁÙ§ó·sªº«Ü§Ö¡C¨Ò¦p»¡¡A§Úªì¼g¦¹
¤å¥ó¡A¨ä¤¤ÁÙ¨S¦³Linuxªºnon-beta 4.03ª©¡A²{¦b¤w¸g¦b¯¸¤W¤F¡C¤U¦C¬°³s¨ì¤ä´©Linux 2.0¤Î
2.2ªººô§}¡G

Netscape Navigator 4.6.1¦b
\nameurl{ftp://ftp.netscape.com/pub/communicator/4.6/shipping/english/unix/linux20/navigator_standalone/navigator-v403-export.x86-unknown-linux2.0.tar.gz}{}¡C

Netscape Communicator 4.6.1 for Linux 2.0 (kernel)¦b
\nameurl{ftp://ftp.netscape.com/pub/communicator/4.6/shipping/english/unix/linux20/base_install/communicator-v403-export.x86-unknown-linux2.0.tar.gz}{}¡C

¦ý¦³·sª©¥»®É¡A¥L­ÌªºURL¥i¯à·|§ó§ï¡C¦pªG§A³s¤£¤W¡A¥i¸Õ¸Õ¤U¦CªºFTP¯¸¡G
\nameurl{ftp://ftp.netscape.com/pub/communicator/}{}¡C

³o¨Ç¯¸¦³®É·|¶ë¨®¡C³Ì¦n¬D«D¦yºÝ®É¶¡©Î¬M®g¥x¨Ó¤U¸ü¡C¦Ó¥BÁÙ­n¦³ªø´Á§Ü¾Ôªº¤ß²z·Ç³Æ¡A¦]
¬°¤å¥ó®w¡£Archieve¡¤³£¤£¤p¡CNavigator´X¥G¦³8 megs¡ACommunicator °ò¥»¦w¸Ë¦³10 megs¡C




\subsection{¦w¸Ë}

¥»¸`»¡©ú¦p¦ó¦w¸Ë Netscape  Navigator  Communicator ¤Î Communicator  Pro¡C

­º¥ý¡A¦b¼È¥Îªº¥Ø¿ý¤¤¥´¶}¡£unpack¡¤¤å¥ó®w¡£Archieve¡¤¡A°õ¦æ
{\ttfamily ns-install} script (type {\ttfamily ./ns-install})¡AµM«á³]©w³sµ²¡A³s±µ
{\ttfamily /usr/local/netscape/netscape}¨ì{\ttfamily /usr/local/bin/netscape}
(type {\ttfamily ln -s /usr/local/netscape/netscape /usr/local/bin/netscape})¡C
³Ì«á³]©w¨t²ÎÀô¹ÒÅÜ¼Æ¡A±N{\ttfamily \$MOZILLA\_HOME}§ï¬°
{\ttfamily /usr/local/netscape}¡AÅýNetscape¥i¥H§ä¨ì¦Û¤vªºÀÉ®×¡C¦pªG§A¥Îbash¬°§Aªº
shell¡AÁÙ­n½s¿è{\ttfamily /etc/profile}¨Ã¥[¤J¡G

\begin{tscreen}
\begin{verbatim}
MOZILLA_HOME="/usr/local/netscape"
export MOZILLA_HOME
\end{verbatim}
\end{tscreen}


¤@¥¹¦w¸Ë§¹²¦¡A¥L­Ì´N¥i¥H¶}©l¥Î´¼¼z§ó·s¥\¯à¨Ó§@³°Äò§ó·s¤F¡C¥Îªk¬O¡A¥´¶}Netscape
¨ì'help'¡÷'software updates'¡A§Y¥i¶}©l§ó·s¡C §Y¨Ï¥u¦w¸Ë¤F°ò¥»¦w¸Ëª©¡A§AÁÙ¥i¥H±q¥¦¥h¦w
¸Ë¨ä¥L¤¸¥ó¡C

µù¡G¤W­z¨BÆJ¨Ã¤£¯à²¾°£ÂÂª©Netscape¡A§A­n¥Î¤â°Ê¤è¦¡ ²¾°£Netscape(version 3)ªº°õ¦æÀÉ¤Î
¨äJava classÀÉ¡C








\section{³]©w¥þ²y¸ê°Tºô¦øªA¾¹}

¥»³¹¸`§t»\¤£¦Phttp¦øªA¾¹³nÅé®M¥ó¡A¤Î¤@¨Ç¦øªA¾¹¤u¨ã¡£¨Ò¦p¤@¨ÇCGIªºscript»y¨¥¡¤¡C²{¦b
¥«­±¤W¦³´X¤QºØºô¸ô¦øªA¾¹¡A¦ý¥»¤å¥u§t»\¨ä¤¤¤@¨Ç¥\¯à§¹¾ãªº¦øªA¾¹¡C¥t¥~¡A¤]¦]¬°¦³¨Ç¬O°Ó
¥Î²£«~¡A§ÚµLªk¤@¤@¸Õ¥Î¡C¤å¤¤¤j³¡¥÷¸ê®Æ¬O¥Î¤@¨Çºô­¶ªº¤º®e«÷«÷´ê´ê¥X¨Óªº¡A¦p¦³¿ù»~¡A¦b©ÒÃø
§K¡C©|½Ð´f©ó½ç±Ð¡C

¦p­nÁA¸Ñhttpªº¾÷¨î¡A½Ð°Ñ¦Ò¡u«áÄò¡v¤@³¹¤¤ªº°Ñ¦Ò¤å¥ó¡C

§Ú­Ó¤H¸û·R¥ÎApache¦øªA¾¹¡C¥¦ªº¥\¯à§¹¾ã¦Ó¥B¬O¦Û¥Ñ³nÅé¡I¤£¦n·N«ä¡C¥»¤å¨Æ¹ê¤W¶É¦VApache¡C
©Ò¥H§Ú¶°¤¤¤õ¤O¦bApache¤W¡A¦Ó¤£¬O¨Ì³¹¸`¤¶²Ð¦UºØ¦øªA¾¹¡C¥H«á¡A§Ú¥i¯à·|§â¨ä¥L¦øªA¾¹¯Ç¤J
¤å¤¤¡C








\subsection{·§­z}

\begin{description}
\item[Cern httpd] \mbox{}

Cern httpd¬O¥@¤W³Ì¦­ªº¥þ²y¸ê°Tºô¦øªA¾¹¡C¥ÑEuropean Laboratory for Particle Physics
¡£CERN¡¤µo®i¡C²{¦b¤w¨S¤HºûÅ@¤F¡C¾Ú»¡¥¦¦³³\¦hÄY­«ªº¯äÂÎ¡A«ÜºC¦Ó¥B®ö¶O¨t²Î¸ê·½¡C¬ÛÃö
²Ó¸`°Ñ¦Ò\nameurl{http://www.w3.org/Daemon/Status.html}{}¡A
¤]¥i±q\nameurl{ftp://sunsite.unc.edu/pub/Linux/apps/www/servers/httpd-3.0.term.tpz}{}¤U¸ü¡C
(no it is not a typo, the extension is actually .tpz on the site; probably 
should be .tgz)



\item[NCSA HTTPd] \mbox{}

NCSA  Httpd ¬OApache¤§¤÷¡£¥¦«á¨Óµo®i¦¨¨âºØ¤£¦P¦øªA¾¹¡¤¡C©Ò¥H³]©wÀÉ©MApache·¥¬°¯«¦ü¡CNCSA
Httpd¬O¦Û¥Ñ³nÅé¡A­ì©lÀÉ®×¤]¥i¨ú±o¡CÁöµM§A¥i¥H±q¾\ÅªApache±o¨ì¬ÛÃöª¾ÃÑ¡A¦ý¥»¤å¨Ã¤£²Ó
­z³o¤@­Ó¦øªA¾¹¡CNCSA´¿¸g­·¦æ¤@°}¤l¡A¦ý·R¥ÎªÌ¤j³£¤wÂà¦VApache¤F¡CApache§ïµ½¤FNCSA¦ø
ªA¾¹ªº¤@¨Ç¯ÊÂI¡£¥¦­ÌªºConfiguration  files ¬Û¦P¡¤¡ANCSA  HttpdÅÜ¦¨¥u¦û¦³4.9\%ªº¦øªA
¾¹¥Î¤á¡£¸ê®Æ¨Ó·½1997¦~9¤ë
\nameurl{http://www.netcraft.com/survey/}{Netcraft survey}¡¤¡C¬ÛÃö²Ó¸`¡A°Ñ
¦Ò\nameurl{http://hoohoo.ncsa.uiuc.edu}{}¡C



\item[\ref{apache} {(Apache)}] \mbox{}

Apache¬°¦øªA¾¹¤§¤ý¡C Apache §t­ì©lÀÉ³£¬O¦Û¥Ñ³nÅé¡CApache¬O¥H¼Ò²Õ¤Æ³]­p¡A©Ò¥H·s¥\¯à
«Ü®e©ö¥[¤J¡A·¥¦³¼u©Ê¡A¦Ó¥B¦³³\¦hªº¥\¯à¡A¦UºØ¨t²Îªº¥Î¤á¦û¦³²v¹F55\%¡C¥@¤W¤w¦³3,928,112 
­ÓApache¦øªA¾¹¦b¹B§@¡£¸ê®Æ¨Ó·½1999¦~8¤ë
\nameurl{http://www.netcraft.com/survey/}{Netcraft survey}¡¤¡C¥¿¦¡
Apacheº|±¼¤FSSL¡A¦ý¦³¨â­Ó¨t²Î¸É¤F³o­Óº|¬}¡CStronghold¬OApache¤ä¨t¤¤ªº°Ó«~¡C¹s°â»ù
\$995¤¸¡F¸gÀÙ«¬\$495¤¸¡C¡£¸gÀÙ«¬©µ¥ÎApacheÂÂª©¡¤¡C¥¦¬O¶È¦¸©óNetscapeªº
«O¥þ¦øªA¾¹¡C¡£¸ê®Æ¨Ó·½
\nameurl{http://www.c2.net/products/stronghold}{C2 net} ¤Î
\nameurl{http://www.netcraft.com/survey/}{Netcraft survey}¡¤¡C
¬ÛÃö²Ó¸`°Ñ¦Ò\nameurl{http://www.c2.net/products/stronghold/}{}¡C¦]¬°¥¦
¬O¦b¬ü°ê°ê¥~¶}µoªº¡A©Ò¥H¦b¥þ²y³£¨ã¦³128 bit SSL¡C

Apache-SSL¹ê²{SSL¬°¤@¦Û¥Ñ³nÅé¡A¦ý¦b¬ü°ê¤£¥i¨Ï¥Î¦b°Ó·~¥Î³~¡£RSA¦b¬ü°ê¾Ö¦³SSL¬ì§Þªº±M
§Q¡¤¡C¦pªG³s±µfree  RSAREE  library¡A¥i¦b¬ü°ê§Q¥Î¦b«D°Ó·~¥Î³~¤W¡C

¬ÛÃö²Ó¸`°Ñ¦Ò\nameurl{http://www.algroup.co.uk/Apache-SSL/}{}¡C



\item[Netscape Fast Track Server] \mbox{}

Fast Track¥ÑNetscape¶}µo¡ALinuxª©¥»¦bCaldera¯¸¤W¤½¶}¡C¸Ó¯¸»¡ Fast Track'¥Î©ó'OpenLinux¡C
¤£ª¾¹D¬O»¡¥¦¥u¯à¦bCaldera OpenLinux¤W°õ¦æ¡AÁÙ¬O»¡¤]¯à¦b¨ä¥LLinuxª©¥»¤W°õ¦æ¡£¦pªG§Aª¾
¹Dªº¸Ü¡A½ÐE-mail§i¶D§Ú¡¤¡C Netscape¦øªA¾¹¥Î¤á¦û¦³²v¬°6.11\%¡£¸ê®Æ¨Ó·½1999¦~8¤ë
\nameurl{http://www.netcraft.com/survey/}{}¡¤¡C°â»ù295¤¸¡C·f°t¦¨ Caldera OpenLinux 
Standard distribution °â»ù\$399¤¸¡£±Ð¨|¥Î»ù®æ\$199.50¤¸¡¤¡C¸Óºô¯¸ÁnºÙ¡A¨ã¦³
Àu¨}¨t²ÎºÞ²z¤¶­±¡A¥i¦b¤Q¤ÀÄÁ¤º¦w¸Ë³]©w§¹¦¨¡C¥i¤ä´©40-bit SSL¡A¦ý¬O¦pªG­n§¹¾ã128-bit SSL
¥\¯à¡A´N¶·ÁÊ¶RNetscape Enterprise Server¡C¤£©¯ªº«Ü¡A³o¤@ª©¥»©|¤£¤ä´©Linux¡£¤ä´©Linuxªº
³Ì·sª©¥»¬°2.0ª©¡C3.0ª©¦³betaª©¡A¦ý©|¤£¤ä´©Linux ¡¤¡C

ÁÊ¶Rºô¸ôª©¨ì\nameurl{http://www.caldera.com/products/netscape/netscape.html}{}¡C

¬ÛÃö²Ó¸`°Ñ¦Ò\nameurl{http://www.netscape.com/comprod/server_central/product/fast_track/}{}¡C



\item[WN] \mbox{}

WN¦³³\¦h§l¤Þ¤Hªº¯S¦â¡C²Ä¤@¡A¥¦¤ñCERN¡B NCSA Httpd¤Î Apache¤p¡C¥¦ÁÙ¦³¤@¨Ç¤ä´©CGIªº
¤º«Ø¥\¯à¡C¥¦ÁÙ¯à¹B¥Î¥¦ªºfilter¥\¯à¡A§Ö³tÀ£ÁY/¸ÑÀ£ÁYÀÉ®×¡C¥¦ÁÙ¥i¥H©â¨úÀ£ÁYÀÉ¤¤ªº³¡¥÷
¶µ¥Ø¡C¥¦¸g¥ÑGNU public license ¶}©ñ¨Ï¥Î¡C³Ì·sª©¥»¬°2.08ª©¡C¬ÛÃö²Ó¸`°Ñ¦Ò
\nameurl{http://hopf.math.nwu.edu/}{}¡C



\item[AOLserver] \mbox{}

AOL  server¥Ñ¬ü°ê½u¤W¡£America Online¡¤©Ò¶}µo¡C§Ú¤£±o¤£©Ó»{¡A¬ü°ê½u¤W³]­pªº¦øªA¾¹
ªº¥\¯àªº½T«ÜÅå¤H¡C°£¤F¤ä´©¤@¨Ç¼Ð·Ç¥\¯à¥~¡A³o­Ó¦øªA¾¹ÁÙ¤ä´©¸ê®Æ®w³s±µ¡C¥¦¤¹³\­º­¶¥H
SQL¡£Structured Query Language¡¤«ü¥O¬d¸ß¸ê®Æ®w¡C¥i¥ÎODBC¡£Open Database Connectivity¡¤
¦s¨ú¸ê®Æ®w¡C¥t¥~ÁÙ¦³¤º«Ø¦¡·j´M¤ÞÀº¤ÎTCL scripting¡C¦pªGÁÙ¤£°÷¥Î¡A§A¥i¥H¥ÎC»y¨¥ªºAPI
¡£Application  Programming  Interface¡¤¥[¤J­Ó¤H³]­p¼Ò²Õ¡CÁÙ¦³¡IÁÙ¯à¤ä´©40-bit SSL¡C
³o¨Ç¥\¯à³£ÄÝ©ó¤@­Ó¦Û¥Ñ³nÅé¡C

¬ÛÃö²Ó¸`°Ñ¦Ò\nameurl{http://www.aolserver.com/server/}{}¡C



\item[CL-HTTP] \mbox{}

CL-HTTP´N¬OCommon Lisp Hypermedia Server¡C¦pªG§A¬OLispµ{¦¡³]­p®v¡A§A­nªº¦øªA¾¹
´N¬O³o¤@­Ó¤F¡C§A¥i¥H¥ÎLisp¼gCGI script¡CCL-HTTPÁÙ´£¨Ñ¥Hºô¯¸¬°¥Dªº³]©w¥\¯à¡A¨Ã¥B¤ä
´©©Ò¦³ªº¼Ð·Ç¡C¥¦¬O­Ó¦Û¥Ñ³nÅé¡A­ì©lµ{¦¡¤]¥i¨ú±o¡C

¬ÛÃö²Ó¸`°Ñ¦Ò\nameurl{http://www.ai.mit.edu/projects/iiip/doc/cl-http/home-page.html}{}¡C

\end{description}


¦pªG§A¬O¬°°Ó·~¥Øªº¬[³]ºô¯¸¡A§Ú«ØÄ³§A¨Ï¥ÎApache¡A¤]¦³¤H«ØÄ³Netscape¡A¦]¬°¥¦¸û©ö©ó
³]©w¡C¦pªG§Aªººô¯¸¥u¬O¹ï¤ºªº¸Ü¡A¥¦Åý§Aªººô¯¸¤ñ¸û¦³¼u©Ê¡C°£«D§Aªº»Ý¨D¥u¯à¥Ñ¨ä¥L¦ø
ªA¾¹¨Óº¡¨¬¡A¤£µM¡E¡E¡E¡£­ì¤å²¨º|¡¤¡C

¥H¤W¥u±Ô­z³¡¥÷¦øªA¾¹¡A¦pªG§A­n§¹¾ã¶µ¥Ø¡A¥i¬d¸ßNetcraftªººô¯¸¡G
\nameurl{http://www.netcraft.com/survey/servers.html}{} or Web Compare at
\nameurl{http://webcompare.internet.com}{}.








\section{Apache\label{apache}}

Apache³Ì·sª©¥»¬°1.3.9¡C¥¦ªº¥D­nºô¯¸¬°\nameurl{http://www.apache.org/}{}¡C
Apacheweek¤]¦³¤£¿ùªº¸ê®Æºô¯¸¬°¡G\nameurl{http://www.apacheweek.com/}{}¡C
Apacheªº¤å¥óÁÙ¦n°Õ¡I©Ò¥H§Ú¤£¥²¦A¦h¥[²Ó­z¦p¦ó³]©wApache¡C¥L­Ì¦bºô¯¸¤W¡A¤]¸ò
­ì©lµ{¦¡¦b¤@°_¡£HTML®æ¦¡¡¤¡CÁöµM¤]¦³¤@¯ë¤å¦rÀÉ®æ¦¡¡A¦ý¥HHTML®æ¦¡¸û¨Î¡Cµ¥
¨ìApache  Documentation  Project§¹¦¨«á¡A¥¦À³¸Ó·|§ó¦n¡C¦ý²{¦b¤j³¡¥÷ªº¤å¥ó
³£¥Ñ¥L­Ìªº¶}µoªÌ¦Û¦æ¼¶¼g¡C§Ú¨Ã¤£¬O­n§åµû¥L­Ì¡A¦ý¬O¦pªG¤£ÁA¸Ñ¨ä¤¤ªº³N»y¡A
ÁÙ¯u¤£ÁA¸Ñ³o¨Ç¤å¥ó¡C




\subsection{¦p¦ó¨ú±o}

RedHat ¡B Slackware ¤Î OpenLinux¤¤§Y¤w¸g¦³ Apache¡Cª©¥»¥i¯à¤£¬O³Ì·sªº¡A¦ý
¤G¦ì¤¸ÀÉµ´¹ï¥i¾a¡C¤£©¯ªº¬O¡A¦UºØª©¥»³£¨Ï¥Î¤£¦Pªº¥Ø¿ý¡C

­ì©lµ{¦¡¥i±q\nameurl{http://www.apache.org/dist/}{}¨ú±o¡C¤G¦ì¤¸ÀÉ¥i±q
\nameurl{ftp://sunsite.unc.edu/pub/Linux/apps/www/servers/}{}¨ú±o¡C¨Ï¥Î
RedHatªº¤HÁÙ¥i¥H±q\nameurl{ftp://ftp.redhat.com/pub/contrib/i386/}{}¨ú±oRPMÀÉ¡C

¦pªG§Aªº¦øªA¾¹¬O¥Î©ó°Ó·~¥Î³~¡A³Ì¦n¬O±qApacheªººô­¶¤U¸ü­ì©lµ{¦¡¦Û¦æ½sÄ¶¡C¤]
¥i¥H¨Ï¥Î¦p RedHat¡B Slackware©Î  OpenLinux¥»¨Ó´Nªþ±aªº¤G¦ì¤¸ÀÉ¡C¦pªG§A¥Î¨ä¥L°õ
¦æÀÉ¡A¨ä¤¤¥i¯à·|¦³Àb«È°½¥[ªº'«áªù'¡C¤]¥i¯à¦]¬°¤@¨Çpatch¤£°÷¦w©w¡A¦Ó³y¦¨·í¾÷¡C
¦pªG¦Û¦æ½sÄ¶¡A§AÁÙ¥i¥H´x´¤¹ê»Ú½sÄ¶¶i¥hªº¼Ò²Õ¡A§A¤]¥i¥H¨M©w­n©ñ¦b¨º¤@­Ó¥Ø¿ý¤¤¡C
½sÄ¶¨Ã¤£Ãø¡A¦Ó¥B±q½sÄ¶ªº¹Lµ{¤¤¡A§AÁÙ¯à¾Ç¨ì¦p¦ó¦¨¬°¯u¥¿ªºLinux¨Ï¥ÎªÌ;)






\subsection{½sÄ¶¤Î¦w¸Ë}

­º¥ý±N¤å¥ó®w¥´¶}¡£untar¡¤¡C©ñ¤J¤@¼È¦s¥Ø¿ý¤¤¡AµM«á¨ìsrc¥Ø¿ý¡C¦p­n¥[¤J¯S®í¼Ò²Õ¡A
´N¦b¦¹­×§ïconfigurationÀÉ®×¡£¥­±`¥D­nªº¼Ò²Õ¤w¸g¥[¤J¤F¡¤¡CµM«á°õ¦æ¦¹configuration 
shell script({\ttfamily ./Configure})¡C¶·½T©w¥¦¥¿½T±Ô­z§A¬O¦b¥ÎLinux¥­¥x¡A¦Ó¥B¥H
gcc¬°½sÄ¶¾¹¡C±µ¤U¨Ó¡A§A¥i¥H­×§ïhttp.h¨Ó§ïÅÜ¹w³]ªº¥Ø¿ý¡£©ñconfigÀÉ¡¤¹w³]¬°
{\ttfamily /usr/local/etc/httpd/}¡A§A¥i¯à·|¦Ò¼{Â²¤Æ¬°{\ttfamily /etc/httpd/}¡C¦øªA¾¹
ªº®Ú¥Ø¿ý¡£©ñHTML­º­¶¡¤¹w³]¬°{\ttfamily /usr/local/etc/httpd/htdocs/}¡A§A¤]¥i¯à¦Ò
¼{§ï¬°{\ttfamily /home/httpd/html}¡£³o­Ó¬ORedHatªº¹w³]¥Ø¿ý¡¤¡C¦pªG§A­n¨Ï¥Îsu-exec
¥Ø¿ý¡£°Ñ¦Ò«á­zªº¦U¶µ¥\¯à²Ó»¡¡¤¡A§A¤]¥i¥H¦Ò¼{Â²¤Æ¤§¡C¦øªA¾¹ªº¹w³]®Ú¥Ø¿ýÁÙ¥i¥H¥Î
configÀÉ¨Ó§ó§ï¡C¦pªGApacheµLªkÅª¨ìconfigÀÉ®É¡AÁÙ¬O¦bhttp.h¤¤©w¸q½sÄ¶«áªº®Ú¥Ø¿ý
¦ì¸m§a¡C¨ä¥Lªºªº¹w³]¥Ø¿ý³£¥²¶·¥ÎconfigÀÉ®×¨Ó­×§ï¡C³Ì«á¡A¦b¦¹°õ¦æmakeÀÉ¨Ó½sÄ¶
Apache¡C

¦pªG¦]¬°¿òº|includeÀÉ®×¡A¦Ó¦b½sÄ¶®É¥X°ÝÃD¡A¤U­±³o¨Ç¶µ¥Ø­È±oÀË¬d¤@¤U¡G½T©w¤w¦w¸Ë
¤F¾A¦X§Aªº®Ö¤ß¨t²Îª©¥»ªºKernel header¡£§YincludeÀÉ®×¡¤¡C¨ÃÀË¬d¤U­zªº³sµ²¬O¥¿½Tªº¡A
\begin{tscreen}
\begin{verbatim}
/usr/include/linux should be a link to /usr/src/linux/include/linux
/usr/include/asm should be a link to /usr/src/linux/include/asm
/usr/src/linux should be a link to the Linux source directory (ex.linux-2.0.30)
\end{verbatim}
\end{tscreen}

­n³sµ²ÀÉ®×¥i¥Î{\ttfamily ln -s}«ü¥O¡C³o©Mcp«ü¥O¬ÛÃþ¦ü¡A¥u¬O¥¦³sµ²¦Ó¤£¬O½Æ»s
¡£{\ttfamily ln -s source-dir destination-link}¡¤¡C

¦pªG¦b°õ¦æmake®É¨S¦³°ÝÃD¡A²{¦bªº¥Ø¿ý¤¤À³¦³­Ó¥shttpdªº°õ¦æÀÉ¡C§â¥¦²¾¨ìbin¥Ø¿ý¤¤¡C
{\ttfamily /usr/sbin}©Î{\ttfamily /usr/local/sbin}³£¥i¡C

¥t¥~±Nconf.¡Blogs¤Î icons¤T­Ó¦¸¥Ø¿ý±qsrc¥Ø¿ý½Æ»s¨ì¦øªA¾¹ªºhome¥Ø¿ý¡CµM«á±Nconf¦¸
¥Ø¿ý¤¤ªº¤T­ÓÀÉ®×¦WºÙ­×§ï¤@¤U¡A®³±¼¨ä¤¤ªº{\ttfamily -dist}¡A¡£¨Ò¡G±N
{\ttfamily httpd.conf-dist}§ï¦¨{\ttfamily /usr/local/sbin}¡¤¡C

Apache¤¤ÁÙ¦³¨Ç¤ä´©µ{¦¡¡C¥L­Ì³£¦b{\ttfamily support}¥Ø¿ý¤¤¡A³£­n¦U§O½sÄ¶¨Ã¦w¸Ë¡C¤j³¡¥÷³o
¨Çµ{¦¡³£¥i¥Î¸Ó¥Ø¿ý¡£§A°õ¦æ{\ttfamily configure} script®É¡A¤w½sÄ¶¦n¤F¡¤¤¤ªºmakefile¨Ó½sÄ¶¡C
§A¨Ï¥ÎApache®É¡A¨Ã¤£¤@©w­n¥Î¨ì³o¨Çµ{¦¡¡A¦ý¨ä¤¤¦³¨Ç¥i¥HÂ²¤Æ¨t²ÎºÞ²z­ûªº¤u§@¡C




\subsection{³]©w}

¦¹®É¦b{\ttfamily conf}¦¸¥Ø¿ý¤¤¡A§AÀ³¸Ó·|¦³¥|­ÓÀÉ®×¡C¨ä¤¤¡A{\ttfamily httpd.conf}¥Î¨Ó³]©w¦øªA¾¹
¦uÅ@¯«¡£port¸¹½X¡B¨Ï¥ÎªÌµ¥¡E¡E¡¤¡C{\ttfamily srm.conf}¥Î¨Ó³]©wroot documen  tree¡B 
special handleµ¥¡C¦Ó{\ttfamily access.conf}¥Î¨Ó³]©w°ò¥»¦s¨ú¡C³Ì«á¡A{\ttfamily mine.types}¥Î¨Ó§i
¶D¦øªA¾¹¡A¨º¤@­Ó©µ¦ùÀÉ®×¦W¥Nªí°eµ¹ÂsÄý¾¹¨º¤@ºØmine«¬¦¡¡C

¤@¥¹ÁA¸Ñ¨ä¤¤©Ç³N»y¡A§A´N·|µo²{³o¨Ç³]©wÀÉ¤¤¦³³\¦hªþ±a»¡©ú¡C¦b§A±Ò¥Î¦øªA¾¹¤§«e¡A¹ý
¹ý©³©³±oÅª¥¦¤@¹M¡C¨ä¤¤ªº¨C¤@­Ó¶µ¥Ø¦bApache¤å¥ó¤¤³£¦³»¡©ú¡C

{\ttfamily mine.types}ÀÉ®×¨Ã¤£¬O¯u¥¿ªº³]©wÀÉ¡C¦øªA¾¹¦b°e¸ê®Æµ¹ÂsÄý¾¹¤§«e¡A±N©µ¦ùÀÉ®×¦WÄ¶
¬°mine«¬¦¡¡C¤@¯ëªº mine«¬¦¡³£¤w¦b¦¹ÀÉ®×¤¤¤F¡A¤j¦h±¡ªp¤U¤£¶·­×§ï¦¹¤@ÀÉ®×¡C¥¼¨Ó¤@¨Ç
¤é¤l¥H«á¡A¦³¤@¨Ç·sªºmine«¬¦¡¶}µo¥X¨Ó¥H«á¡A¦¹®É¤~¯u¥¿­n­×§ï³o¤@ÀÉ®×¡C

°OµÛ¤@ÂI¡I¨C·í§A§ïÅÜ¤F³]©wÀÉ¡A´N¶·­«·s±Ò°ÊApache¡C¤£µM¤]­n¥Î{\ttfamily kill}°e¤@­ÓSIGNUP
°T¸¹¡A¨Ó±Ò°Ê·sªº³]©w¡C³o­Ó°T¸¹¬O­n°e¨ì¤÷µ{¦¡¦Ó¤£¬O¤lµ{¦¡¡C­n¬d¥X¤÷µ{¦¡ªº¥N¸¹¦³¨Ç
¤èªk¡A¤÷µ{¦¡ªº¥N¸¹¤@¯ë¸û¤p¡C¤÷µ{¦¡ªº¥N¸¹¤]¥i±qlog¦¸¥Ø¿ýªº{\ttfamily httpd.pid}ÀÉ®×¤¤¬d¨ì¡C
¦Ó¥B¦pªG§A°e{\ttfamily kill}µ¹¤lµ{¦¡¡A¤lµ{¦¡¦º¤F¡A¦Ó¤÷µ{¦¡¤S·|¥ß¨è²£¥Í¤@­Ó¤lµ{¦¡¡C

§Ú¤£·Q±aµÛ§A¤@¨B¤@¨B¦a¥h³]©wApache¡C§Ú·Q°w¹ï¤@¨Ç¯S®íªº®×¨Ò¡B¿ï¶µ¤Î¥\¯à¥[¥H»¡©ú¡C
±j¯P«ØÄ³¦n¦nÅª¤@ÅªApache¤å¥ó¤¤ªº«O¥þ³ZÂ¬¡C¥¦¥i¥H±q
\nameurl{http://www.apache.org/docs/mics/security_tips.html}{}¤U¸ü¡C




\subsection{«Ø¥ßµêÀÀºô¯¸¥D¾÷}

µêÀÀ¥D¾÷¥Î©ó¤@¥x¹q¸£¾Ö¦³¼Æ­Óºô°ì¦WºÙªº±¡ªp¡C¦Ñªº¤èªk¬Oµ¹¨C¤@µêÀÀ¥D¾÷¤@­Ó±M¥Îªº
IP¦ì§}¡C·sªº¤èªk¥u¥Î¤@­Ó¦@¥ÎªºIP¦ì§}¡A¦ý¬O¦pªGÂsÄý¾¹¤£¤ä´©HTTP 1.1«h¨S¦³¥Î¡C

§Ú«ØÄ³¡A¦pªG¬O¥Î¦b°Ó·~¤W¡A¥ý¥Î¦Ñ¤èªk¡Aª½¨ì¤H¤HªºÂsÄý¾¹³£¤ä´©HTTP 1.1®É¡A¦A§ï¥Î
·s¤èªk¡C¦Ó¥B¦Ñ¤èªkªº»¡©ú¤]¸û¦h¡C¨âºØ¤èªk³£¦³µêÀÀmail¥\¯à¡£³o¹ï¶Ü¡H¡¤¡A¦ý¥u¦³¦Ñ
¤èªk¤~¦³µêÀÀFTP¥\¯à¡C

¦pªG¥Î¦b¤p²ÕÂ´©Î­Ó¤Hºô­¶¡A§A¥i¦Ò¼{·sªº¤èªk¡C¥¦¥i¥H¬Ù¥h§A©ù¶QªºIP¦ì§}¡C

§AÁÙ¥i¥H¦b¦P¤@¦øªA¾¹²V¦X¨âºØ¤èªk¡C¬ÛÃö²Ó¸`°Ñ¦ÒApacheweek¡G
\nameurl{http://www.apacheweek.com/features/vhost}{}¡C




\subsubsection{±M¥ÎIP¦ì§}¡£IP based¡¤µêÀÀ¥D¾÷}

¥H¦¹¤@¤èªk¡A¨C¤@µêÀÀ¥D¾÷¦U¦³¤@­ÓIP¦ì§}¡C¨Ï¥Î¨C¤@½Ð¨D¡£request¡¤©Ò°e©¹¤§IP¦ì§}
¡AApache¤Î¨ä¥Lµ{¦¡¡A¨M©w­n¥Î¨º¤@­Óºô°ì¨Ó§¹¦¨ªA°È¡C³o­Ó¨BÆJ«D±`®ö¶OIPªÅ¶¡¡C¥H
§ÚªºµêÀÀºô°ì©Ò¦bªº¦øªA¾¹¨ÓÁ|¨Ò¡A¥L­Ì³£¦³35,000­ÓµêÀÀ±b¸¹¡A¤]´N¬O35,000­ÓIP¦ì§}
¡A¦ý§Ú¬Û«H¥u¦³¤£¨ì50­Ó¦øªA¾¹¬O¯u¥¿¦b¹B§@¡C

³]©w³oºØµêÀÀ¥D¾÷¦³¨â¤j¨BÆJ¡A²Ä¤@¬O³]©wLinux¡A¨Ï¥¦¯à±µ¨ü¨â­Ó¥H¤WªºIP¦ì§}¡C¨ä¦¸
¡A¬O³]©wApache¨Ï¥¦¤ä´©µêÀÀ¥D¾÷¥\¯à¡C

²Ä¤@¨BÆJ¡A³]©wLinux¡A¨Ï¥¦±µ¨ü¼Æ­ÓIP¦ì§}¡A³o­n«Ø¥ß¤@­Ó·sªº®Ö¤ß¨t²Î¡A´N¬O¨Ï¥¦¤ä
´©IP networking ¤ÎIP aliasing¡C¡£¦b2.0ª©¤Î¨ä«áªºª©¥»¡A³o¨BÆJ¸û®e©ö¡¤¡C½sÄ¶®Ö
¤ßªº»¡©ú¡A°Ñ¦Ò
\nameurl{http://sunsite.unc.edu/LDP/HOWTO/Kernel-HOWTO.html}{kernel howto}¡C

²Ä¤G¨BÆJ¡A­n³]©w¶}¾÷µ{§Ç¤¤ªº¤¶­±¡C¦pªG§A¥Îªº¬ORed Hat¡A¥i¥Î±±¨î¥x¨Ó³]©w¡C¥Î
root¥´¶}X-Windows¡A§AÀ³¸Ó¥i¥H¬Ý¨ì±±¨î¥x¡CÂùÀºNetwork configuration¡AÂI¿ï
interface panel¨Ã¿ï¾Ü§AªºNetwork card¡CÂI¿ï©³¤Uªºalias¡A¶ñ¤J¸ê®Æ¡AµM«áÂI¿ïdone¡C
¨C¤@µêÀÀ¥D¾÷³£­n¤@¤@³]©w¡C

¦pªG§A¤£¬O¥ÎRed Hat¡A§A´N­n¥Î¤â°Ê¤è¦¡¨Ó³]©w¡A¦b{\ttfamily /etc/rc.d}¥Ø¿ý¤¤ªº
{\ttfamily rc.local}ÀÉ®×¤¤¥[¤J«ü¥O¡C¨C¤@³]¬I³£­n¦³­Ó{\ttfamily ifconfig}¤Î{\ttfamily route}«ü¥O¡C
¦P¦W³]¬I¬°¤@¥D­n³]¬Iªº¦¸³]¬I¡C¨Ò¦p¡Geth0¡G1 ¡Beth0¡G2µ¥¡C¤U­z¬°³]©w¤@¦P¦W³]¬Iªº
¨Ò¤l¡G

\begin{tscreen}
\begin{verbatim}
ifconfig eth0:0 192.168.1.57
route add -host 192.168.1.57 dev eth0:0
\end{verbatim}
\end{tscreen}


ÁÙ¥i¥H¦bifconfig©R¥O¤¤¥[¤Jbroadcast address¤Înetmask¡C¦pªG¦³³\¦h¦P¦W¦a§}¡A¥i¥H¥Î
for loop¨ÓÂ²¤Æ©R¥OÀÉ¡C

¬ÛÃö²Ó¸`°Ñ¦Ò
\nameurl{http://sunsite.unc.edu/LDP/HOWTO/mini/IP-Alias.html}{IP alias mini howto}¡C

±µ¤U¨Ó´N¬O³]©wºô°ì¦WºÙ¦øªA¾¹¡£DNS¡¤¨Ó¬d¸ß³o¨Ç·sªººô°ì¡C¦pªG§A¨S¦³§Aªººô°ì¦WºÙ
¡A¥i¨ì\nameurl{http://www.internic.net}{Internic}µù¥U¡C¥i°Ñ¦ÒDNS-HOWTO¨Ó
³]©w§AªºDNS¡C

³Ì«á­n³]©wApache¨ÓÅý³o¨ÇµêÀÀºô°ì¥¿±`¤u§@¡C¨Ï¥Î{\ttfamily httpd.conf}³]©wÀÉ¡C¨ä¤¤¦³­Ó¨Ò
¤l¡A¥i¥H°Ñ¦Ò¡C©Ò¦³ªº«ü¥O³£©ñ¦b{\ttfamily virtualhost}«ü¥O¼ÐÃ±¤§¤º¡A¥ô¦ó«ü¥O³£¥i©ñ¤J¡C¤@
¯ë¨Ó»¡¡A­n³]©w¦U§Oªº®Ú¥Ø¿ý¡Ascript¥Ø¿ý¤ÎlogÀÉ®×¥Ø¿ý¡A¥u­n¥[¤J{\ttfamily virtualhost}¼ÐÃ±
¡A´N¥i¥H¤£Â_¥[¤J·sªºµêÀÀ¥D¾÷¡C

¦b¤@¨Ç·¥¯S®íªº±¡ªp¤U¡A¦pªG¬Y¤@­ÓµêÀÀ¥D¾÷»Ý­n¨Ï¥Î¬Y¤@«ü¥O¡A¦ý¤£©¯¥¦¤S¤£¯à©ñ¤Jµê
ÀÀ¥D¾÷ªº¼ÐÃ±¤¤¡A¨º´N¥u¦n¨Ï¥Î¤£¦P¦øªA¾¹¡CBindaddress«ü¥O§Y¬°¤@¨Ò¡C¨C¤@­Ó¦øªA¾¹³£
­n¦³¤£¦Pªº¦WºÙ¤Î³]©wÀÉ¡C¨C¤@¦øªA¾¹¥u­t³d¤@­Ó¥ÑBindaddress«ü¥O©Ò«ü©wªº¦ì§}¡Cµ²ªG
¨t²Î¸ê·½´N³Q¤j¤jªº®ö¶O±¼¤F¡C




\subsubsection{¦@¥ÎIP¦ì§}µêÀÀ¥D¾÷}

¦¹¬°«Ø¥ßµêÀÀ¥D¾÷ªº·s¤èªk¡C³æ¤@IP¦ì§}³Q±Ä¥Î¡A¦]¦ÓIP¦ì§}¬O¥Î¦b¯u¹ê¾÷¾¹¤W¡£¦Ó«Dµê
ÀÀ¥D¾÷¡¤¡C¦b¤W­z¨Ò¤l¤¤¡A30,000­ÓµêÀÀ¥D¾÷¥u·|¥Î±¼50­ÓIP¦ì§}¡£¨C¥x¾÷¾¹¤@­Ó¡¤¡C³o
­n·f°tHTTP1.1¨óÄ³¡AÂsÄý¾¹¦b°e¥X½Ð¨D®É¡A³qª¾¦øªA¾¹¥¦­n±µ¨ì¨º­Óºô¯¸¡C¦pªGÂsÄý¾¹
µLªk¤ä´©HTTP1.1¡A´N·|¥hÅª¦øªA¾¹ªº­º­¶¡A¨ä¤¤À³¦³¿ï³æ¨Ñ¿ï¾Ü­n¨Ï¥ÎªºµêÀÀ¥D¾÷¡C³o¼Ë
¤l¡A­ì¨Ó§A¥H¬°§A¾Ö¦³¦Û¤vªº¦øªA¾¹ªº¨ººØ·PÄ±¡A´N·|³Q¯}Ãa¤F¡C

³]©w¨BÆJ¤ñ©T©wIP¦ì§}ªº¤è¦¡®e©ö¡C§A¤´µM­n±qIntenicµù¥U§Aªººô°ì¦WºÙ¡AµM«á³]©wºô
°ì¦WºÙ¦øªA¾¹¡C¦ý¬Oºô°ì¦WºÙ¦øªA¾¹«o¬O­n«ü¨ì­ì¨Óºô°ì¦WºÙªºIP¦ì§}¡CApacheªº³]©w¤è
¦¡¤´µM¤£ÅÜ¡C¦]¬°§A¦bvirtualhost¼ÐÃ±¤º¨Ï¥Î¬Û¦PIP¦ì§}¡AApache´Nª¾¹D§AªºµêÀÀ¥D¾÷
­n¦@¥ÎIP¦ì§}¡C

°w¹ï¦Ñ¦¡ªºÂsÄý¾¹«h¦³´XºØ½Õ¾ã¤u§@­n°µ¡A§Ú¥u¤¶²Ð¨ä¤¤³Ì¨ÎªÌ¡C­º¥ý¶·±N§Aªº­º­¶¥Ø¿ý
³]¬°¤@­ÓµêÀÀ¥D¾÷¡£©T©wIP©Î¦@¥ÎIP¦ì§}¡¤¡C³o¼Ë¤l§Aªº­º­¶¥Ø¿ý´N¥i¥HÄË¥X¨Ó¥Î©ó³s±µ
¨ì¦U­ÓµêÀÀ¥D¾÷¤W¥h¡CµM«á´N¬O¬°¦Ñ¦¡ÂsÄý¾¹¶}¤@­Ó'«áªù'¡C§@ªk¬O¥Î{\ttfamily ServerPath}
«ü¥O¡A¬°¨C¤@­Ó{\ttfamily virtualhost}¼ÐÃ±¤ºªºµêÀÀ¥D¾÷©w¸q¸ô®|¡C¨Ò¦p¡A¦bwww.mysite.com
¤¤¥[¤@­Ó{\ttfamily ServerPath /mysite/}¡A¦ÑªºÂsÄý¾¹´N¥i¥H¥Îwww.mysite.com/mysite/
¦s¨ú¸Ó¥D¾÷ªº¸ê®Æ¡CµM«á¦b­º­¶¥Ø¿ý©ñ¤J¤@¹w³]­º­¶¡A¨ä¤¤¦n¦n¦aÄU¨Ï¥ÎªÌ§ï¥Î·sªºÂsÄý
¾¹¡A¨Ã¥B±ø¦C¸Ó¥D¾÷¤W¦U­Óºô¯¸ªº'«áªù'¡C¦p¦¹¤@¥¹¤@­Ó¦Ñ¦¡ÂsÄý¾¹Åª¨ì¦¹¯¸¡A´N·|Åã
¥Ü¤@­Ó­º­¶¡A§iª¾¦p¦ó³s¨ì¥¿½Tªººô­¶¡C¦Ó·s¦¡ÂsÄý¾¹«h¥iª½±µ³s¨ì¥¿½Tªººô­¶¡CÁÙ­nª`
·N¤@¥ó¨Æ¡A§Y§Aªº­º­¶¤¤ªº³sµ²¥²¶·©w¸q²M·¡¡C¦]¬°¨C¤@­¶³£¥i¥H¥H¨â­Ó¤£¦PªºURL¨Ó³sµ²
¡£¨Ò¦p¡Gwww.mysite.com©Mwww.mysite.com/mysite/¡¤¡C

§Æ±æ¨ì¦¹¬°¤î¡A§AÁÙ¯à«O«ùÀY¸£²M´·¡A²×¨s¤W­zªº¤º®e¨Ã¤£®e©ö·d²M·¡¡C·d¤£¦n¡A§A³Ì«á
ÁÙ¬O¨M©w¨Ï¥Î±M¥ÎIP¦ì§}¡C
¬ÛÃö¸ê®Æ¥i¥H±qApacheºô¯¸¨ú±o\nameurl{http://www.apache.org/manual/host.html}{}¡C

¦pªG¦³¤H¦³Ãö©ó¦@¥ÎIP¦ì§}ªº¸ê®Æ¡A½Ð§i¶D§Ú¡C§Ú·Qª¾¹D¨ì©³¦³¦h¤ÖÂsÄý¾¹¥i¤ä´©
HTTP 1.1¡C¦p¦³¤@¥÷²M³æ¦C¥X¥L­Ìªºª©¥»´N§ó¦n¡C




\subsection{CGI scripts}

¦³¨âºØ¤è¦¡Åý§Aªººô¯¸¥Î¤á¹B¥ÎCGI script¥\¯à¡C²Ä¤@ºØ¤è¦¡¬O¡A¥u­n¬OCGI script¡A¨ä
©µ¦ùÀÉ¦W§Y¬°{\ttfamily .cgi}¡C¥t¤@ºØ¤è¦¡¬O«Ø¥ß¤@script¦¸¥Ø¿ý¡£³q±`¥s{\ttfamily cgi-bin}¡¤¡C
¨âºØ¤è¦¡¤]¥i¨Ã¥Î¡C¤£½×¨Ï¥Î¨º¤@ºØ¤è¦¡¡A§Aªºscript¥²¶·³]¦¨¥i°õ¦æ¼Ò¦¡
¡£{\ttfamily chmod 711}¡¤¡C¦ý¬OÅý¥Î¤á¨Ï¥Îscript¦s¨ú¥i¯à·|¦³«O¥þªº­·ÀI¡A©Ò¥H¥ý­n²Ó¤ßªº
¬ã¨s¡C

§Ú­Ó¤H¤ñ¸û³ßÅw¨Ï¥Î²Ä¤@ºØ¤è¦¡¡A¤×¨ä¬O·íscript«Ü½ÆÂø®É¡C³oºØ¤è¦¡¤¹³\§âscript©ñ¦b
¥ô¦ó¥Ø¿ý¤¤¡C§Ú­Ó¤H³ß·R±Nscript©ñ¤J¬ÛÃö­º­¶¥Ø¿ý¤¤¡C¦pªG¤@­Óºô¯¸¦³³\³\¦h¦hªºscript
¡A¨º»ò±N¥L­Ì¤À´²¦w¸m¤ñ¶°¤¤¦b¤@­Ó¥Ø¿ý¤¤­n®e©ö¬Ý±o¦h¤F¡C¦Ó¥B³]©w¤]¤ñ¸ûÂ²³æ¡C­º¥ý
¦b{\ttfamily srm.conf}ÀÉ«á­±¶}±Ò¡£uncomment¡¤{\ttfamily .cgi}¼Ð¦¡¡AµM«áÀË¬d¬O§_¨C¤@¥Ø¿ýªº
{\ttfamily access.conf}ÀÉ¤¤³£¦³{\ttfamily option ExecCGI}©Î{\ttfamily All}¡C

«Ø¥ßscript¦¸¥Ø¿ý«h¸û¬°«O¥þ¡C§@ªk¬O¦b{\ttfamily srm.conf}ÀÉ¤¤¨Ï¥ÎscriptAlias«ü¥O¡C²Ä¤@
­Ó°Ñ¼Æ¬O¥N¦W¡£Alias¡¤,²Ä¤G­Ó°Ñ¼Æ¬O¯u¹ê¥Ø¿ý¡C¨Ò¦p«ü¥O
{\ttfamily ScriptAlias /cgi-bin/ /usr/httpd/cgi-bin/}©w¸q:
·í©I¥s¥Ø¿ý{\ttfamily /cgi-bin/}®É¡A¯u¥¿ªºscript¬O¦b{\ttfamily /usr/httpd/cgi-bin/}¤¤°õ¦æ¡C
¬°¤F«O¥þªº²z¥Ñ¡A¦b{\ttfamily access.conf}ÀÉ¤¤³]©w¸Ó¥Ø¿ýªº¯S©Ê¬°
{\ttfamily Options none¡AAllowOveride none}¡£¥u­n¶}±Ò¡£uncomment¡¤¸Ó¦æ§Y¥i¡¤¡C¦ý­nª`·N
¡A¤£­n§â¥¦³]¬°¥ô¦ó­º­¶ªº¦¸¥Ø¿ý¡C¨Ò¦p»¡¡A¦pªG§Aªº­º­¶¥Ø¿ý¬°
{\ttfamily /home/httpd/html/}¡A¤£­n³]¬°{\ttfamily /home/httpd/html/cgi-bin}¡A¦ý¥i¥H³]¬°
{\ttfamily /home/httpd/cgi-bin}¡C

¦pªG­n¤¹³\¥Î¤á¦³¦Û¤vªºscript¦¸¥Ø¿ý¡A¥i¥H¨Ï¥Î¼Æ­Ó{\ttfamily ScriptAlias}©R¥O¡C¦pªG¨Ï¥Îµê
ÀÀ¥D¾÷¡A«h¦b{\ttfamily virtualhost}¼ÐÃ±¤º©ñ¤J{\ttfamily ScriptAlias}©R¥O¡C¦³¤H¥i¥H§i¶D§Ú¤£¶·­n
¤@¤@¥[¤JScriptAlias©R¥Oªº¤èªk¶Ü¡H




\subsection{¨Ï¥ÎªÌºô­¶¥Ø¿ý}

¦³¨âºØ¤£¦P¤è¦¡¨Ó³]©w¨Ï¥ÎªÌªººô­¶¥Ø¿ý¡C²Ä¤@­Ó¤èªk¬O¦b¨Ï¥ÎªÌªººô­¶¥Ø¿ý¤U«Ø¥ß¤@­Ó
­Ó§Oªº¦¸¥Ø¿ý¡C¡£¤@¯ë¬°{\ttfamily public\_html}¡¤¡C²Ä¤G­Ó¤èªk¬O¡A¥t¥~¬°¨C¤@­Óºô­¶¥Ø¿ý«Ø
¥ß¤@­Ó¥Ø¿ý¾ð¡A¨âºØ¤èªk³£¶·¦b{\ttfamily access.conf}ÀÉ¤¤³]©w¦s¨ú¿ï¶µ¡C

²Ä¤@­Ó¤èªk¬OApache¹w³]ªº¤è¦¡¡C³oºØ¤èªk¬O¡A·í­nÅª{\ttfamily /\~{}bob/}ªººô­¶¡AApacheÅª
{\ttfamily public\_html}¥Ø¿ý¤¤bobªº­º­¶¥Ø¿ý¡C§@ªk¬O¦b{\ttfamily srm.conf}ÀÉ¤¤¥Î{\ttfamily UserDir}«ü¥O
¨Ó³]©w¡C¸Ó¥Ø¿ý¥²¶·¬Oworld¥iÅª¨ú¤Îworld¥i°õ¦æ¡C¦]¬°­nApache¨ÓÅª¨ú¨Ï¥ÎªÌªº¥Ø¿ý¡A¸Ó
¥Ø¿ý¥²¶·¬°world¥i°õ¦æ¡A©Ò¥H·|²£¥Í¤@¨Ç«O¥þªº­·ÀI¡C

²Ä¤GºØ¤èªk«h¸û®e©ö³]©w¡C¥u¦³{\ttfamily srm.conf}ÀÉ¤¤ªº{\ttfamily UserDir}«ü¥O»Ý­n³Q
­×§ï¡C®æ¦¡¦³«Ü¦hºØ¡A½Ð°Ñ¦ÒApacheªº¤å¥ó¡A§Ë²M·¡¦UºØ©w¸q¡C¦pªG·QÅý¨C£¸¨Ï¥ÎªÌ¦b¥Ø
¿ý{\ttfamily /home/httpd/}¤U¡A¦³¦Û¤vªº¥Ø¿ý¡A´N­n¨Ï¥Î«ü¥O{\ttfamily UserDir /home/httpd}¡C
¨º»ò·í{\ttfamily /\~{}bob/}³QÅª¨ú®É¡AÅª¨úªº¥Ø¿ý´N·|ÅÜ¬°{\ttfamily /home/httpd/bob/}¡C­Y
¬O­nÅýbobªº¥Ø¿ý¤U¥t¥[¤@­Ó¦¸¥Ø¿ý°µ¬°¥Lªº­º­¶¥Ø¿ý¡A´N¥Î
{\ttfamily UserDir /home/httpd/*/html}«ü¥O¡CÅª¨úªº¥Ø¿ý´NÅÜ¦¨
{\ttfamily /home/httpd/bob/html/}¡A¦P®É¤]«Ø¥ß¤@­Óscript¥Ø¿ý¡£¨Ò¦p¡G
{\ttfamily /home/httpd/bob/cgi-bin/}¡¤¡C




\subsection{Daemon¼Ò¦¡»PInetd¼Ò¦¡}

Apache¥i¦b¤U­z¨âºØ¼Ò¦¡¤U¹B§@¡C¨ä¤@¬°daemon¼Ò¦¡¡A¦b³o­Ó¼Ò¦¡¤UApache¤£°±¹B§@¡£
ApacheºÙ¤§¬°  standalong¡¤¡C¥t¤@¬°inetd super-server¡C

daemon¼Ò¦¡¤ñinetd¼Ò¦¡¦n¡CApache¥H¥¦¬°¹w³]¼Ò¦¡¡C¨Ï¥Îinetd¼Ò¦¡ªº°ß¤@±¡ªp¬O¡A·í¨Ï¥Î
²v«Ü§C®É¡A¨Ò¦p¤º³¡´ú¸Õscript¡B¤p«¬¥ø·~ªº°Ï°ìºô¸ôµ¥¡E¡E¡E¡CInetd¼Ò¦¡¥i¸`¬Ù°O¾ÐÅé
ªÅ¶¡¡A¦]¬°Apache¥u¦³·í¥²­n®É¤~¶}±Ò¡A¥­±`°O¾ÐÅé¤¤¥u¦³inetd daemon¡C

¦pªG§A¤£±`¨Ï¥ÎApache¡A¥i¥H¦Ò¼{Åý¥¦ºû«ù¦bdaemon¼Ò¦¡¡A¦Ó¥B¥u¦³¥²­n®É¤~±Ò°ÊApache¡C
¨º»ò§A¤£¦A»Ý­n®É¡A¥i¥H±þ±¼Apache¡£­n±þªº¬O¤÷µ{¦¡§Ç¦Ó¤£¬O¤lµ{§Ç¡¤¡C

­n³]©wInetd¼Ò¦¡¡A¦³¤@¨ÇÀÉ­n­×§ï¡C­º¥ý¬d¤@¤U{\ttfamily /etc/services}ÀÉ®×¡A¬Ý¤@¬Ý
http¬O§_¦s¦b¡A¦pªG¤£¦b¡A«h¥H¤U¦C¤è¦¡¥[¤J

\begin{tscreen}
\begin{verbatim}
http    80/tcp
\end{verbatim}
\end{tscreen}


¦bPort 79 ¡£finger¡¤ªº«á­±¤]³\­È±o¦Ò¼{¡CµM«á­×§ï{\ttfamily /etc/inetd.conf}ÀÉ®×¡A
¥[¤J

\begin{tscreen}
\begin{verbatim}
http    stream  tcp     nowait  root    /usr/sbin/httpd httpd
\end{verbatim}
\end{tscreen}


¦pªGApache¦b¤£¦P¦ì¸m¡A¸ô®|­nÀHApacheªº¥Ø¿ý¨Ó§ïÅÜ¡C²Ä¤G­Óhttp¤£¬Otypo¡A¥¦¥u¬O
inetd daemonªº»Ý¨D¡C¦pªG§A¤£¦A¨Ï¥Îinetd daemon¡A¨º´N§âÀÉ®×¤¤§A¤£·Q±Ò°ÊªºªA°È§ï¬°
µù¸Ñ¦æ¡£¹³FTP¡B finger¡B telnet¤Î¨ä¥L±`¥Î©óinetd daemonªºªA°È¶µ¥Ø¡¤¡C

¦pªG§A¦b¥Îinetd daemon,¥u­nµ¹¥¦¤@­ÓSIGHUP°T¸¹¡£¥Îkill©R¥O¡A°Ñ¦Òkillªºman page¡¤
©Î­«·s±Ò°Ê¨t²ÎÅý­×§ï¶µ¥Ø¥Í®Ä¡C¦pªG{\ttfamily inetd}¤£¦b¨Ï¥Î¡A¥i¥H¥H¤â°Ê¤è¦¡±Ò°Êªº¡C
¤]¥i¥H¥[¦binitÀÉ®×¡£¤]³\¬O{\ttfamily rc.local}ÀÉ¡¤¤¤¡A¨Ï±o¶}¾÷®ÉInetd¦Û°Ê±Ò°Ê¡C




\subsection{¶}©ñPut¤Îdelete©R¥O}

·sªººô­¶µo¦æ¤u¨ã¤ä´©¥Hhttp¤W¸üºô­¶¡£¦Ó¤£­­©ó¥ÎFTP¡¤¡C¨ä¤¤¦³ªº¬Æ¦ÜÁÙ¤£¤ä´©FTP
¤W¸ü¡CApache¤]¤ä´©http¤W¸ü¡A¦ý©Ò­n¥Îªºscript«h¨S¦³¥]§t¡A¦]¦Ó¤W¸ü©Ò¥Îªºscript
¥i¯à¦¨¬°«O¥þªº¤jº|¬}¡C¦b¼g©Î¥Î§O¤Hªºscript«e¡A½Ð¥ý·d²M·¡ª¬ªp¡C

¦pªG¦³¤Hª¾¹D¥ô¦ó¦¹Ãþªºscript¡A½Ð§i¶D§Ú¡C§Ú·|§â¥¦ªººô§}¯Ç¤J¡C

¬ÛÃö²Ó¸`°Ñ¦Ò Apacheweek \nameurl{http://www.apacheweek.com/features/put}{}¡C




\subsection{¨Ï¥ÎAuthentication/Access Control}

 
³o¬O§Ú³Ì³ß·Rªº¤@­Ó¥\¯à¡C¥¦Åý§A¤£¶·­n¥Î¨ìCGI script´N¥i¥H«OÅ@¥Ø¿ý©ÎÀÉ®×¡C¥¦ÁÙ
¥i¥H¨Ì¾Ú¥Î¤áªºIP¦ì§}©Îºô°ì¦WºÙ¨Ó¨M©w¥Î¤áªº¦s¨úÅv¡C³o¬O¤@ºØ§â¤£³t¤§«È­ç¥X¥Î¤á¦W
³æªº¦n¤èªk¡£¥u­n±qlogÀÉ®×¬d¥X¥¦­ÌªºIP¦ì§}¤Îºô°ì¦WºÙ§Y¥i¡¤¡C

­n³]©w Authentication¡A¥Ø¿ý¤¤{\ttfamily access.conf}ÀÉ®×¤¤¥²¶·­n¦³
{\ttfamily AllowOverrides Authconfig}¡C¦Ó³]©waccess control¡£¨Ï¥Îºô°ì¦WºÙ©ÎIP
¦ì§}¡¤¡A«h¥[¤JAllowOverrides Limit¡C

³]©w¥Ø¿ý¡A´N­n¦b¨ä¤¤©ñ¤J{\ttfamily .htaccess}ÀÉ®×¡C­n³]©w¨Ï¥ÎªÌªºAuthentication¡A
­n¥Î¨ì{\ttfamily .htpasswd}ÀÉ©Î¥~±a¤@{\ttfamily .htgroup}ÀÉ¡C³o¨â­ÓÀÉÁÙ¥i¥Ñ¼Æ­Ó
{\ttfamily .htaccess}ÀÉ¦@¥Î¡C

¬°¤F«O¥þªº²z¥Ñ¡A§Ú­Ó¤H«ØÄ³¡A¨C­Ó¨Ï¥ÎªÌ³£¦b¥L­Ìªºaccess.confÀÉ¨Ï¥Î¤U­z«ü¥O¡G

\begin{tscreen}
\begin{verbatim}
<files ~ "/\.ht">
order deny,allow
deny from all
</files>
\end{verbatim}
\end{tscreen}


¦pªG§A¤£¬O¨t²ÎºÞ²z­û¡A¦ý§Aªº¥Ø¿ý¤w¸g³]¬°AllowOverride Limit¡A§A¤´µM¥i¥H¦b
§Aªº .htaccessÀÉ®×¤¤¥[¤J³o¨Ç«ü¥O¡C¥L­Ì¥i¥H¨¾¤î§O¤H°½¿s§Aªºaccess control
ÀÉ®×¡£.htaccess ¡B.htpasswdµ¥¡¤¡C

Access control¥i¹B¥Î¦b³\¦h¤£¦Pªº¿ï¶µ¤ÎÀÉ®×«¬¦¡¡C³o¤w¶W¥X¥»¤åªº½dÃ¥¡C³]©w¨Ï¥Î
ªÌ Authenticationªº¸ê°T¡A½Ð°Ñ¦Ò
\nameurl{http://www.apacheweek.com/features/userauth}{}¡A©ÎNCSAªººô­¶
at \nameurl{http://hoohoo.ncsa.uiuc.edu/docs-1.5/tutorials/user.html}{}¡C




\subsection{su-exec}

su-exec¥\¯à¯à¥Hownerªº¦a¦ì°õ¦æCGI script¡C¥­±`³£¥Hºô­¶¦øªA¾¹¡£¤£¬O¤@¯ëªº¤H¡¤
ªº¦a¦ì¨Ó°õ¦æCGI script¡C¦]¦¹¡A¨Ï¥ÎªÌ¤£¶·±N¥L­ÌªºCGI scriptªº¦s¨ú¼Ò¦¡³]¬°world 
writable¡£³o¬O¤@­Óº|¬}¡¤¡C¦ý¬O¦pªG¤£¼ô±xsu-exec¡A§A¥i¯à·|·d¥X§ó¤jªºº|¬}¡C¥­±`
su-exec¦b°õ¦æ«e·|§@«O¥þÀË¬d¡A¦ý¦pªG³]©w¿ù»~¡A¤Ï¦Ó²£¥Í«O¥þªºº|¬}¡C

su-exec¤£¬O³]­pµ¹¥~¦æ¤H¥Îªº¡C¦pªG¨S¦³·d²M·¡¡A³Ì¦n¤£­n¥Î¡A¤£µM§A·d¥X¨Óªºº|¬}
¥i¥HÅý¨Ï¥ÎªÌ¨ã³Æroot¦s¨ú¯à¤O¡CµL½×¦p¦ó¤£­n­×§ïµ{¦¡¡A­nÅª³q©Ò¦³¬ÛÃö¤å¥ó¡C
su-exec¨º»òÃø³]©w¡A¬O¬G·N³]­p¥X¨ÓÅý¥~¦æ¤Hª¾Ãø¦Ó°h¡£¥þ³¡¤â°Ê¾Þ§@¡A¨S¦³makeÀÉ
¡A¤]¨S¦³¦w¸Ëscript¡¤¡C

su-exec¬O©ñ¦b{\ttfamily support}¥Ø¿ý¤¤¡C­º¥ý­n¬°¨t²Î­×§ï{\ttfamily suexec.h}ÀÉ¡AµM«á¥Î¤U­±ªº
©R¥O½sÄ¶su-execµ{¦¡

\begin{tscreen}
\begin{verbatim}
gcc suexec.c -o suexec
\end{verbatim}
\end{tscreen}


µM«á±Nsu-execªº¥i°õ¦æÀÉ½Æ»s¨ì¾A·íªº¥Ø¿ý¡CApacheªº¹w³]¥Ø¿ý¬°
{\ttfamily /usr/local/etc/httpd/sbin/}¡C¦p­n§ïÅÜ¹w³]¥Ø¿ý¡A¥i­×§ïApache­ì©lµ{¦¡¤¤
ªº{\ttfamily httph}¡A¦b­«·s½sÄ¶Apache¡CApache¥u·|·j´M¸Ó¥Ø¿ý¡A¦Ó¤£·|·j´M¸ô®|¡C¥t¥~­n
§âsu-execªº¨Ï¥ÎªÌ§ï¬°root({\ttfamily chown root suexec})¡A¨Ã¥B³]©wsuid bit
({\ttfamily chmod 4711 suexec})¡C³Ì«á­«·s±Ò°ÊApache¡C¦¹®ÉApacheÀ³¸Ó·|¦b¿Ã¹õ¤WÅã¥Ü
su-exec¥¿¦b¹B§@¡C

CGI script¤´­n³]¬°world executable¡C¥L­Ì¥i¥H¥HCGI script ownerªº¨­¥÷°õ¦æ¡C¦pªG
³]©w¥L­ÌªºSUID¡£set user id¡¤bit¡A«h¤£·|°õ¦æ¡C¦pªG¥L­Ìªº¥Ø¿ý¬°world©Î
group writable¡A¤]¤£·|°õ¦æ¡C¦pªGowner¬°system user ¡£root¡Bbinµ¥¡¤¤]¤£·|°õ¦æ¡C
¬ÛÃö«O¥þª¬ªp¡A°Ñ¦Òsu-execªº¤å¥ó¡C¦pªGÁÙ¦³°ÝÃD¡AÀË¬dsu-execªºlogÀÉ{\ttfamily cgi.log}¡C

¦bApacheªºinetd¼Ò¦¡¡Asu-exec¤£¹B§@¡A¥u¦³¦bdaemon¼Ò¦¡¤~¹B§@¡C¤U¤@ª©¥i¯à·|§ïµ½
¡A¦]¬°inetd¼Ò¦¡¤£·|¦A¥Î¨ì¤F¡C­nª±­ì©lµ{¦¡ªº¸Ü¡A´N­×§ïhttp.main.c¡C§A¥i¥H§R°£
¨ä¤¤¨Ï¥Îsu-exec wrapperªºApache«Å§i¡£¥¦¦b¨C­Ó¿é¥X¤§«e©~µM³£¦L¤@¦¸¡¤¡C

¦n¦nÅª¤@¤UApache¦³Ãösu-execªº¤å¥ó¡C¥L­Ì©Msu-execªº­ì©lµ{¦¡³£¦bApacheºô¯¸¤¤
\nameurl{http://www.apache.org/docs/suexec.html}{}¡C




\subsection{Imagemaps}

Apache¯à¥Î¨Ó³B²z¦øªA¾¹ºÝimagemaps¡CImagemaps¬Oºô¯¸¤Wªº¹Ï§Î¡A¨Ï¥ÎªÌÂI¿ï¹Ï§Î¤¤
¬Y­Ó¦ì¸m¡A¥i¥H¥Î¨Ó¨M©w­n³sµ²¨ì¨ºùØ¥h¡C­n±Ò°Êimagemaps¡A¥ý½T©wimagemap¼Ò¦¡¬O§_
¤w¦w¸Ë¡£¥¦¬O¹w³]­n¦w¸Ëªº¤@­Ó¼Ò¦¡¡¤¡CµM«á±N{\ttfamily srm.conf}ÀÉ¤¤ªº{\ttfamily .map} ¼Ð°O
¶}±Ò¡£uncomment¡¤¡C¦¹®É©Ò¦³¥H{\ttfamily .map}µ²§ÀªºÀÉ®×³£ÅÜ¦¨¤FimagemapÀÉ®×¡C
ImagemapÀÉ¥Î¤@­Ó¹Ï§Îªº¦U­Ó¦ì¸m³sµ²¨ì¤£¦Pªººô­¶¡CApache¥H¼Ð·ÇNCSA®æ¦¡¨Ï¥Î§ë¼v
¡£map¡¤ÀÉ¡C¤U­z¬°§ë¼vÀÉªº¤@¨Ò¡G

\begin{tscreen}
\begin{verbatim}
<a href="/map/mapfile.map">
<img src="picture.gif" ISMAP>
</a>
\end{verbatim}
\end{tscreen}


¨Ò¤¤¡A{\ttfamily mapfile.map}§Y¬°§ë¼vÀÉ¡C¦Ó{\ttfamily picture.gif}¬°ÂI¿ï¥Îªº¹Ï§Î¡C

¦³«Ü¦hµ{¦¡¥i¥Î¨Ó²£¥Í¯à»PNCSA§ë¼vÀÉ¦@¦sªºÀÉ®×¡A§A¤]¥i¥H¦Û¤v½s¼g¤@¤ä¡C¬ÛÃö²Ó
¸`½Ð°Ñ¦Ò¡GApacheweek \nameurl{http://www.apacheweek.com/features/imagemaps}{}¡C




\subsection{SSI/XSSI}

¦øªA¾¹ºÝ¥[¤J¡£SSI¡¤¥i¦bÀRºAªººô­¶¤¤¥H°ÊºA¤è¦¡¥[¤J¬Y¨Ç¤º®e¡C­n¥[¤Jªº¶µ¥Ø¦b
ºô­¶¤¤¥H»¡©ú¡£comment¡¤ªº¤è¦¡ªí¥Ü¡C¦øªA¾¹¥ý¸ÑªR³o¨Ç¶µ¥Ø¡AµM«á±N©Ò­nªº¤º®e
¥[¤J¡CSSI¥i¦bÀÉ®×¤¤¥[¤Jheader¤Îfooter¡A¤]¥i¥H¥[¤J³Ì«á­×§ï¤é´Á¡A¤]¥i°õ¦æ¨t
²Î©R¥O©ÎCGI script¡C¦pªG¨Ï¥Î©µ¦ù«¬¦øªAºÝ¥[¤J
¡£XSSI; eXtended Server Side Includes¡¤¡A¥i°µªº´N§ó¦h¤F¡C¥¦¥i
¥[¤JÅÜ¼Æ¤Î¬yµ{±±¨î¡£¦pif¡Belseµ¥¡¤¡C³oÂ²ª½´N¹³¤@­Ó¦b¨Ï¥Î¤@­Óµ{¦¡»y¨¥¡C

¦p­n¹ï¨C¤@­ÓHTMLÀÉ³£¥[¥H¸ÑªR¡A·|®ø¶O¤Ó¦h¨t²Î¸ê·½¡C©Ò¥H­n¦³­Ó¤èªk¨Ï¨º¨Ç¦³SSI
¶µ¥ØªºÀÉ®×¬Ý¨Ó¤£¤@¼Ë¡C¤@¯ëªº§@ªk¬O¡A§â³o¨ÇHTMLªº©µ¦ùÀÉ¦W§ï¬°{\ttfamily .stml}¡C

­n±Ò¥ÎSSI/XSSI¡A­º¥ý½T»{¬O§_¸Ó¥\¯àªº¼Ò¦¡¤w¸g¦w¸Ë¡CµM«á´N¥i­×§ï{\ttfamily srm.conf}
ÀÉ¡A¬°{\ttfamily .shml}«¬¦¡ªº{\ttfamily AddType}¤Î{\ttfamily AddHandler}¶}±Ò¡£uncomment¡¤¡C³Ì«á
¥Î{\ttfamily Options Includes}¨Ó©w¸q¨º¨Ç¥Ø¿ý¤USSI/XSSIÀÉ¥i¹B¦æ¡C³o¤@¨BÆJ¬O¦b
{\ttfamily access.conf}ÀÉ¤¤¡C¨º»ò©Ò¦³¨ã{\ttfamily .shtml}©µ¦ùÀÉ¦WªºÀÉ®×³£·|³Q¸ÑªR°õ¦æ
SSI/XSSI¡C

¥t¤@ºØ¦bºô­¶¤¤¥[¤J¤º®eªº¤è¦¡¬O¨Ï¥Î{\ttfamily XBitHack}«ü¥O¡C³o­Ó«ü¥O¤@¶}±Ò¡A¥¦·|
ÀË¬d¸ÓÀÉ®×¬O§_¬°user exectable¡C¦pªG¬O¡A¦Ó¥B¸Ó¥Ø¿ý¥Î{\ttfamily Options Includes}¶}
±Òªº¸Ü¡A¸ÓÀÉ®×´N³Qµø¬°SSIÀÉ®×¡C¦ý³oºØ¤è¦¡¥u¹ïmime «¬¦¡ªºtext/html
¡£{\ttfamily .html .htm}ÀÉ®×¡¤¦³®Ä¡C©Ò¥H¤£¬O³Ì¦nªº¤èªk¡C

¥ÎSSI¨Ó°õ¦æ¨t²Î©R¥O¤ÎCGI script¡A·|¾É­P¤@¨Ç«O¥þªº­·ÀI¡C©Ò¥H¦b
{\ttfamily access.conf}ÀÉ¤¤³Ì¦n¨Ï¥Î{\ttfamily Option IncludesNOEXEC}¦Ó¤£­n¥ÎOption Includes¡C
¨ä¥LSSI©R¥O«h¤£¶·­×§ï¡C

¬ÛÃö²Ó¸`°Ñ¦Ò­ì©lµ{¦¡ªþ±aªºApache mod-includes¤å¥ó¡C
¥i¥H±q\nameurl{http://www.apache.org/docs/mod/mod_include.html}{}¨ú±o¡C

SSI/XSSI¹ê²{ªº¬ÛÃö²Ó¸`°Ñ¦ÒApacheweek
\nameurl{http://www.apacheweek.com/features/ssi}{}.

¦³ÃöSSI©R¥Oªº¸ê°T¡A°Ñ¦ÒNCSA¤å¥ó
\nameurl{http://hoohoo.ncsa.uiuc.edu/docs/tutorials/includes.html}{}¡C

¦Ó¦³ÃöXSSI©R¥Oªº¸ê°T¡A°Ñ¦Ò
\nameurl{ftp://pageplus.com/pub/hsf/xssi/xssi-1.1.html}{}¡C




\subsection{¼Ò²Õ¨t²Î}

Apache¥i¥Î¼Ò²Õªº¤è¦¡¥[¤J¥ô¦óªF¦è¡C²{¦b¤w¦³ªº¼Ò²Õ«Ü¦h¡A¦ý¥u¦³¤@¯ë±`¥Îªº¼Ò²Õ
ªþ±a¦bApache®M¥ó¤¤¡C

­n¬d¬d¬ÝÁÙ¦³¨º¨Ç¼Ò²Õ¡A½Ð°Ñ¦ÒApache¼Ò²ÕÄ_®w
\nameurl{http://www.zyzzyva.com/module_registry/}{}¡C

¦Ó¦³Ãö¼Ò²Õ¤Æ³]­pªº¸ê°T¡A°Ñ¦Ò
\nameurl{http://www.zyzzyva.com/module_registry/reference/}{}¡C










\section{¦øªA¾¹¥t¶°}

©êºp¡I¥»³¹ÁÙ¨S¦³¼g¡C
§Ú­Ì±N°Q½×¡GmSQL¡B PHP/FI¡B cgiwrap¡B Fast-cgi¡B MS frontpage extentions...










\section{°Ï°ìºô¸ô¡£Intranet¡¤}

 

{\bfseries °Ï°ìºô¸ô}±q¦r­±¤W¨Ó¬Ý¡A¬O¦b¤½¥q©Î²ÕÂ´½dÃ¥¤º¨Ï¥Îºô»Úºô¸ôªº§Þ³N¡A¦Ó¤£¬O¥Î©ó¥þ²y©Ê
ªººô»Úºô¸ô¤W¡C¹B¥Î¦¹¤@§Þ³N¡A¥i¥H¨Ï¥Î³Ì¤Ö¸g¶O¡B³Ìµu®É¶¡¤Î³Ì¤Ö¾Þ§@¡A±N¤j¶q¸ê°T°e
¹F¦U­Ó­û¤u¡C¥»¤å¥óÂ²¤¶¦p¦ó¥Î²{¦³ªº·G»ù¤u¨ã©Î¦Û¥Ñ³nÅé¨Ó³]©w°Ï°ìºô¸ô¡C

§Ú­Ì°²³]§A¤w¸gª¾«ç¼Ë§âLinux¥ÎEthernet¥d³s¤WLAN¨Ã¦w¸Ë¤WTCP/IP¡C¤]°²³]§A¤w¦³Netware¡BWinNT
¤ÎMac¦U¨t²Îªº°ò¥»±`ÃÑ¡CNetware¦øªA¾¹ªº³]©w¨BÆJ¬O¥H3.1xª©¬°·Ç¡C§A¥i¥H¥ÎINETCFG¨Ó§¹¦¨¡C¦Ó
´£¨ì¥Î¤áºÝ®É¡A°²³]§A¬O¦b¨Ï¥Îwindows 3.1x¡B Windows for Workgroup ¡B Win95¡B WinNT©Î 
Apple PowerPC¡C

¤å¤¤ªº¨p¤Hºô¸ô¦a§}¡£RFC-1918¡¤¬O¥H172.16.0.0¤Î172.17.0.0¨ÓÁ|¨Ò¡C§A¥i¥H¿ï¾Ü¾A¦X©ó§Aªº³]©w¦a§}¡C
\begin{quotation}
\begin{verbatim}

       Linux       Netware      WFWG/WinNT
       Server      Server       Server
      172.16.0.1   172.16.0.2   172.16.0.3
         |           |           |    172.16.0.0
   ------+-----+-----+--------+--+--------------
               |              | 172.16.0.254
             W/S 1          Router
           172.16.0.5         | 172.17.0.254
                              |
                    ----------+-------+--------
               172.17.0.0             |
                                    W/S 2
                                  172.17.0.5
\end{verbatim}
\end{quotation}





\subsection{°ò¥»»Ý¨D}

¦w¸Ë«e­n¦³¤U¦C¦U¶µ³nÅé¡G
\begin{itemize}
\item HTTP¦øªA¾¹³nÅé¥i±qOneStep NCSA HTTPd 
\onlynameurl{http://hoohoo.ncsa.uiuc.edu/docs/setup/OneStep.html}¤U¸ü¡C
\item HTTP¦øªA¾¹³nÅé¥i±qOneStep NCSA HTTPd
\onlynameurl{HTTP://support.novell.com/} (The TCP/IP files are included with the client)¤U¸ü¡C
\item The Microsoft TCP/IP client ¥i±q
\onlynameurl{HTTP://www.microsoft.com/}¤U¸ü¡C
\item The Apple MacTCP client¥i±q
\onlynameurl{HTTP://www.apple.com/}¤U¸ü¡C
\item ÂsÄý¾¹¦p Netscape ¥i±q
\onlynameurl{HTTP://home.netscape.com/} or MS Internet Explorer at \onlynameurl{HTTP://www.microsoft.com/} or NCSA Mosaic from  \onlynameurl{http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/NCSAMosaicHome.html}¤U¸ü¡C
\end{itemize}





\subsection{¥»¤å¥óªº§ó·sª©¥»}

Linux Intranet Server HOWTOªº§ó·sª©¥»·|¤£©w´Á¦bcomp.os.linux.annonuce¤Î
comp.os.linux.help¤¤¶K¥X¡C¤]·|¤W¸ü¨ì¥]¬Asunsite.unc.eduªºLinux FTP ºô¯¸¡C

¥»¤å¥óªº³Ì·sª©¥»¬OHTML®æ¦¡¡A¥i±q
\onlynameurl{http://www.linuxports.com/}¨ú±o¡C




\subsection{ÅªªÌ·N¨£¤Ï¬M}

¦p¹ï¥»¤å¦³¥ô¦óºÃ°Ý©Î·N¨£¡A½Ð¨Ó«Hµ¹Mr.Poot¡A¨Ó«H¥ó¦a§}¬°\onlynameurl{poet@linuxports.com}¡C«ØÄ³¡B§åµû³£«ÜÅwªï¡C¦pªGµo²{¤å¤¤¦³¿ù»~¡A½Ð¤©§iª¾¡A
¨º»ò§Ú´N¥i¥H¦b¤U¤@ª©¤¤§ó¥¿¡CÁÂÁÂ¡I




\section{¦w¸ËHTTP¦øªA¾¹}

¤U¸ü¤F¦øªA¾¹®É¡A§A¦³¨â­Ó¿ï¾Ü¡G²Ä¤@«h¬O¤U¸ü­ì©lµ{¦¡¡A¦Û¦æ½sÄ¶¡C¥t¤@«h¬Oª½±µ¤U
¸ü¤w½sÄ¶¦nªº¤G¦ì¤¸ÀÉ¡C¤w½sÄ¶¦nªº¤G¦ì¤¸ÀÉ¦bNCSAºô¯¸¡A¾A©óLinux¡£ELF¡¤ª©¡A¦Ó¤£¾A
¥Î©óÂÂª©¡C




\subsection{¤U¸ü«e·Ç³Æ¤u§@}

NCSAªº¦øªA¾¹·|±aµÛ§A¤@¨B¤@¨B¥h§¹¦¨³]©w¿ï¶µ¡A¨Ã¬°§A·Ç³Æ¦UºØÀÉ®×¡C¦ý¦b¤U¸ü¤§«e¡A
½Ð·Ç³Æ¦n¦^µª¤U¦C°ÝÃDªºµª®×¡C




\subsubsection{¾Þ§@¨t²Î}

­º¥ý¡A§A­n¿ï¾Ü©Ò­n¤U¸üªº­ì©lµ{¦¡¡A©Î¨Ó¤U¸ü¤w¸g½s¦nªºª©¥»¡C¦pªG§Aªº¾Þ§@¨t²Î¤£¦b
¦C¥X¨t²Î¶µ¤¤¡A¨º³Ì¦nÁÙ¬O¤U¸ü­ì©lµ{¦¡¡A¦Û¦æ½sÄ¶¡C

­nª¾¹D§AªºLinuxªºª©¥»¡A¥ý¨ì©R¥O¦æ¡A¤U­Ó©R¥O

\begin{tscreen}
\begin{verbatim}
  linux:~$  uname -a
\end{verbatim}
\end{tscreen}


§AªºLinux·|¦^µª¹³¤U¦CªºªF¦è

\begin{tscreen}
\begin{verbatim}
   linux:~$  uname -a
   Linux linux 2.0.29 #4 Tue Sep 13 04:05:51 CDT 1994 i586
   linux:~$
\end{verbatim}
\end{tscreen}




¦b¦¹¨Ò¤¤¡ALinux§i¶D§A¡A¥¦ªºª©¥»¬°2.0.29ª©¡C

¨ä¾lªº°Ñ¼Æ¡A¥i¦b¤U¸ü«e©Î¤U¸ü«á¦b¥Ø¿ý{\ttfamily /usr/local/etc/httpd/conf}¤¤ªº
{\ttfamily srm.conf}ÀÉ¤¤­×§ï¡C{\ttfamily httpd.conf}ÀÉ®×¤¤¯u¹ê«ü¥O¦b¬A¸¹¤º¡C°ß¤@
ªº¨Ò¥~¬O{\ttfamily srm.conf}ÀÉ®×¤¤ªºDocumentRoot«ü¥O¡C




\subsubsection{µ{¦¡«¬¦¡¡£¦øªA¾¹«¬¦¡¡¤}

³o¬O¥Î¨Ó©w¸q§Aªº¹q¸£­n«ç¼Ë¹B§@HTTPd¦øªA¾¹¡A³Ì¦n¥Î{\tt\char`\"}standalone{\tt\char`\"}¡C¥¦·|
¨ÏHTTPd daemon«ùÄò¹B§@¡C¦pªG§A¿ï¾Ü¥Î{\tt\char`\"}inetd{\tt\char`\"}¹B§@HTTPd¡A¦øªA¾¹°õ¦æµ{¦¡
¥u¦b¥s¥Î®É¤~¸ü¤J°O¾ÐÅé¤¤¡A³o·|¨Ï¦øªA¾¹¹B§@³t«×´îºC¡C




\subsubsection{Port³s±µ¡£Port¡¤}

³o¬O¥Î¨Ó¨M©wHTTPd daemon·|±µ¨ì¨º­ÓPort¨Ó±µ¦¬HTTP½Ð¨D¡C¦pªG§A¯à¥H{\tt\char`\"}root{\tt\char`\"}
µn¡Aport«h¬°¹w³]­È80¡F§_«h¥i¦b1025»P65535¶¡¥ô¿ï¤@­Ó¸¹½X¡C




\subsubsection{¦øªA¾¹user¥N¸¹¡£user¡¤}

¦øªA¾¹¦b¦^µª½Ð¨D®É¡A·|¥H¦¹¤@user¥N¸¹ªºÅv­­¨Ó¦s¨úÀÉ®×¡C¥u¦³·í§Aªº¦øªA¾¹¬O¥H
{\tt\char`\"}standalone{\tt\char`\"}ªº¼Ò¦¡®É¡A¤~¶·¦^µª¦¹¤@¿ï¶µ¡C¦pªG§A¨S¦³rootÅv­­¡A´N¥H§Aªº
log name¨Ó¦^µª¡C¦pªG§A¬O¨t²ÎºÞ²z­û¡A§A¥i¥H¦Ò¼{¬°¥¦«Ø¥ß¤@­Óuser¡AµM«á§A¥i¥H±±¨î
¥¦ªºÀÉ®×¦s¨úÅv­­¡C




\subsubsection{¦øªA¾¹group¥N¸¹¡£Group¡¤}

¦øªA¾¹¦b¦^µª½Ð¨D®É¡A·|¥H¦¹¤@group¥N¸¹ªºÅv­­¨Ó¦s¨úÀÉ®×¡C»Puser¥N¸¹¤@¼Ë¡A¥u¦³·í
¦øªA¾¹¬O¥Îstandalone¼Ò«¬¨Ó°õ¦æ®É¤~¦³®Ä¡C



¦pªG§A¨S¦³rootÅv­­¡A´N¥H§Aªº¥D­ngroup¦WºÙ¨Ó¦^µª¡C­n¬d¸ß§Aªºgroup¦WºÙ¡A¦bLinux©R
¥O¦C¤¤ºV¤J{\bfseries groups}¡C




\subsubsection{¦øªA¾¹ºÞ²z­ûemail¦a§}¡£ServerAdmin¡¤}

·í¨Ï¥Î¦¹¤@¦øªA¾¹¥X°ÝÃD®É¡A¦¹¤@¦a§}¬O¥Î¨Ó³ø§i¿ù»~¥Îªº¡C¥u­n¨Ï¥Î§Aªº­Ó¤H¦a§}§Y¥i¡C




\subsubsection{¦øªA¾¹¥Ø¿ý¡£ServerRoot¡¤}

³o¬O¦øªA¾¹©Ò©ñ¦bªº¥Ø¿ý¡C¦pªG§A¦³rootÅv­­¡A«ØÄ³©ñ¦b{\ttfamily /user/local/etc/httpd}¡C
¦pªG§A¤£¯à¥Îrootµn¤J¡A¥i¿ï¾Ü§Aªºhome path¤Uªº¦¸¥Ø¿ý¡C­n¬d¸ß§Aªºhome¥Ø¿ý¡A¨Ï¥Î
{\bfseries pwd}©R¥O¡C




\subsubsection{HTMLÀÉ®×¦ì¸m¡£DocumentRoot¡¤}

³o¬O¦øªA¾¹´£¨ÑªºHTMLÀÉ®×ªº¦ì¸m¡C¹w³]ªº¦ì¸m¬°{\ttfamily /user/local/etc/httpd/htdocs}¡C
¦pªG§A¤£¬O¥Hrootµn¤J¡A¥i¨Ï¥Î«e­±user¥N¸¹ªºhome¥Ø¿ý¡A©Î§A¦Û¤vªºhome¥Ø¿ý¤Uªº¦¸¥Ø¿ý¡C



¦pªG§A¤´µM¦³ºÃ°Ý¡A¥i¥H¸Õ¸Õ¹w³]­È¡C²{¦b§AÀ³¸Ó¦^µª¤F¤W­z¦U¶µ°ÝÃD¡A´N¥i¥H±q
\onlynameurl{http://hoohoo.ncsa.uiuc.edu/docs/setup/OneStep.html}.  
¶}©l¤U¸üNCSA HTTPd¡C¦w¸Ë«eÅª¤@Åª
\onlynameurl{http://hoohoo.ncsa.uiuc.edu/docs/} 
¤¤ªºHTTPdÀÉ®×¡C¦pªG§A­n¦Û¦æ½sÄ¶µ{¦¡¡A¦b{\ttfamily support, src, cgi-src}¤T­Ó¥Ø¿ý¤¤
ªºmakefile³£­n­×§ï¡C¦pªG§Aªºª©¥»¥i§¹¥þ¤ä´©¡A¥u­n¦b³Ì¤W¼h¥Ø¿ý¤¤¡£¨Ò¡G
{\ttfamily /usr/local/etc/httpd}¡¤¡AºV¤J{\bfseries make Linux}§Y¥i¡C




\subsection{½sÄ¶HTTPd}

½sÄ¶¨Ã¤£Ãø¡A¥u­n¦b©R¥O¦C¤¤¿ï¨ì¦øªA¾¹®Ú¥Ø¿ý{\ttfamily make linux}§Y¥i¡C
{\bfseries µù¡G}pre-ELF Linux¨Ï¥ÎªÌ¶·¦b{\ttfamily portability.h}¤¤¶}±Ò¡£uncomment¡¤
{\ttfamily \#define NO\_PASS}¡A¨Ã¦b½sÄ¶HTTPd«e¦b{\ttfamily Makefile}¤¤³]©w
{\ttfamily DBM\_LIBS= -ldbm}¡C




\section{´ú¸ÕHTTPd}

¦w¸ËHTTPd«á¡A¥Hrootµn¤J¡A¨ÃºV¤J{\bfseries httpd \&}¡£°²³]§A¦w¸Ë¬°standalone¼Ò¦¡¡¤¡C
¨º»ò¦b{\bfseries ps}ªº±ø¨Ò¤¤´N¥i¬Ý¨ì¥¦¦b¹B¦æ¤F¡C³ÌÂ²³æªº´ú¸Õ¤è¦¡¬O¨Ï¥ÎTelnet¡C¦bLinuxªº©R
¥O¦C¤¤ºV¤J

\begin{tscreen}
\begin{verbatim}
   linux:~$  telnet 172.16.0.1 80
\end{verbatim}
\end{tscreen}


¨ä¤¤80«üªº¬OHTTPªºport¥N¸¹¡C¦pªG§A¥t³]¨ä¥L{\tt\char`\"}Port{\tt\char`\"}¥N¸¹¡A´NÀ³¸ÓºV¤J§A«ü©wªº¥N¸¹¡C
¿Ã¹õÀ³¥X²{

\begin{tscreen}
\begin{verbatim}
   Trying 172.16.0.1...
   Connected to linux.mydomain.
   Escape character is '^]'.
\end{verbatim}
\end{tscreen}


¦¹®É¡A¤£½×§AºV¤J¤°»òªF¦è¡AµM«áºV¤@¤UEnter¡A¿Ã¹õ³£À³¥X²{

\begin{tscreen}
\begin{verbatim}
   HTTP/1.0 400 Bad Request
   Date: Wed, 10 Jan 1996 10:24:37 GMT
   Server: NCSA/1.5
   Content-type: text/html

   <HEAD><TITLE>400 Bad Request < /TITLE> < /HEAD>
   <BODY><H1>400 Bad Request < /H1>
   Your client sent a query that this server could
   not understand.<P>
   Reason: Invalid or unsupported method.<P>
   < /BODY>
\end{verbatim}
\end{tscreen}




²{¦b¡A´N¥i¥H¥Î¨ä¥Lpc¤Wªº¥þ²yºô»Úºô¸ôÂsÄý¾¹¡A¨Ó³s¤W§Ú­Ìªº¦øªA¾¹¤F¡C




\section{³s½u¨ìLinux¦øªA¾¹}

½Ð¥ý°Ñ¦Ò\ref{Intro} {(Introduction)}¤@³¹¤¤¹Ï¥Üªº¦a§}¡C¨ä¤¤1¸¹¤u§@¯¸¡£W/S1¡¤
¦bºô¸ô172.16.0.0¤W¡A¥¦¥i¥Hª½±µ¦s¨ú
Linux¦øªA¾¹¡C¦Ó2¸¹¤u§@¯¸¡£W/S2¡¤¦bºô¸ô172.17.0.0¤W¡A¥²¶·¸g¥Ñ³q¹D¡£gateway¡¤¡£§Y¸ô¥Ñ¾¹¡¤
172.17.0.254¨Ó¦s¨úLinux box¡C·í³]©w¦bw/s2ªº¥Î¤á®É¡A­n´£¨Ñ³q¹Dªº¸ê°T¡CNetwareºÙ¤§¬°
¡¥ip\_router¡¦¡C



³oùØ¥ÎW/S2¨Ó»¡©ú¥Î¤á³]©wªº¤è¦¡¡C³]©wW/S1«h¥u­n§â¦a§}±q172.17.0.5§ï¬°172.16.0.5¡A¨Ã
©¿²¤³q¹D¡C



¦pªG§A¤£·|¥Î¨ì¸ô¥Ñ¾¹¡A¥i¸õ¹L¤U¤@¸`¨Ãª½±µ¨ì
\begin{itemize}
\item  ¦pªG¨Ï¥ÎNetware¡G\ref{SetupNW} {(Setup Netware Server)}¡C
\item  ¦pªG¨Ï¥Î·L³nclient¡G\ref{MSClient} {(Setup MS Windows Client)}¡C
\end{itemize}





\subsection{³]©wLinux¦øªA¾¹}

{\bfseries ¦pªG§A¨S¦³¸ô¥Ñ¾¹¡A¸õ¹L¥»¸`¡C}



­nÅý2¸¹¤u§@¯¸³s¨ì¦øªA¾¹¡A¶·³]©wLinux¦øªA¾¹¡A¨Ï¤§·Pª¾¸ô¥Ñ¾¹¡C­n³]©wLinux¦øªA¾¹¡A¶·¥Hrootµn¤J¡C
¦b©R¥O¦CºV¤J

\begin{tscreen}
\begin{verbatim}
   route add gw default 172.16.0.254
\end{verbatim}
\end{tscreen}


­n¦b¨C¦¸±Ò°ÊLinux¦øªA¾¹«á¨Ï¥Î³q¹D¡A¥i¦b{\ttfamily /etc/rc.d/rc.inet1}¤¤©w¸q³q¹D¦U¦æ§ï¬°
{\ttfamily GATEWAY = "172.16.0.254"}¡C½T©w¤@¤U¡A³o´X¦æ¤£¥i¼g¬°»¡©ú¦æ¡C



¥tÃþ§@ªk¡GÁÙ¥i¥H¦b¸ô¥Ñ¾¹¥t¤@ºÝ¥[¤J¥t¤@¸ô¥Ñ¾¹¡C«ü¥O¬°

\begin{tscreen}
\begin{verbatim}
   route add -net 172.17.0.0 gw 172.16.0.254
\end{verbatim}
\end{tscreen}


¦p­n¨ÏLinux¨C¦¸±Ò°Ê´N¥[¤J¸ô¥Ñ¾¹¡A«h±N«ü¥O¼g¤J{\ttfamily /etc/rc.d/rc.local}¡C








\subsection{³]©wNetware¦øªA¾¹\label{SetupNW}}

­n³]©wNetware¦øªA¾¹¡A­n¦³supervisorÅv­­¡A©Î¦Ü¤Ö¦³Console¾Þ§@­ûÅv­­¡C¦pªG¨âªÌ³£¤£µLªk¿ì
¨ì¡A´N¥u¦n½Ð§Aªº¨t²Î¾Þ§@­û¥N§A³]©w¤F¡C¦b¦øªA¾¹±Ò°ÊLANªºEthernet\_II frame type¡C§@ªk¬O
AUTOEXC.ncfÀÉ¤¤¼g¤J¡G
\begin{tscreen}
\begin{verbatim}
   load NE2000 frame=Ethernet_II name=IPNET
   load TCPIP
   bind IP to IPNET addr=172.16.0.2 mask=FF.FF.FF.0
\end{verbatim}
\end{tscreen}


§A¥i¨Ì·Ó§Aªº¹q¸£«¬ºA¨Ó¨M©w¸ü¤JNE2000 driver®Éªºslot©Îboard¥N¸¹¡C
(¨Ò¦p: load NE2000 slot=3 frame=.....)




\subsection{³]©wNetware Client\label{NWClient}}

¦bpc¤W¡A§A¥i¥ÎWin3.1¡BWFWG ©ÎWIN95¡C¦pªG§A­n¨Ï¥Î·L³n©ÎNovellªº32 bit Client¡A
«hWin95©M¦Ñ¦¡Windowsªº¦w¸Ë¤è¦¡·|¤£¤@¼Ë¡C¦pªG§A­n¥Î16 bit client¡A«h¦w¸Ë¤è¦¡¬Û¦P¡A¥u­n°Ñ
¦Òwindow 3.xªº¦w¸Ë»¡©ú§Y¥i¡C¦p­n¦w¸Ëwin95ªº32 bit clientª½±µ¸õ¦Ü
\ref{NWWin95} {(Windows 95 installation)}¡C




\subsubsection{Windows 3.x\label{NWWin}}

¦pªG­n¨Ï¥Îwin 3.1©ÎWFWG¡A¥i¥H¦w¸ËNetware Client¡£VLMs¡¤¤ÎÀHTCP/IPºÏ¤ù©Òªþªº¤@¨Ç¥~
¥[ÀÉ®×¡A§Y



TCPIP.exe, VTCPIP.386, WINSOCK.dll and WLIBSOCK.dll



ª`·N¡I³o­ÓWINSOCK.dllÀÉ»PWin95¤ÎTrumpetªºWINSOCK.dllÀÉ¤£¦P¡C¥ý¥ÎWindows¨Ó¦w¸Ë
Netware Client¡CµM«á½Æ»sVTCPIP.386¡BWINSOCK.dll ¤ÎWLIBSOCK.dll¨ì SYSTEM¥Ø¿ý¡A
½Æ»sTCPIP.exe¨ìNWCLIENT¥Ø¿ý¡C²{¦b­×§ïNWCLIENT¥Ø¿ý¤¤ªºSTARTNET.bat¬°
\begin{tscreen}
\begin{verbatim}
   lsl
   ne2000     ---> your network card driver
   c:\windows\odihlp.exe     ---->if you are using WFWG
   ipxodi
   tcpip        ---> add this line
   nwip         ---> if you use Netware/IP
   vlm
\end{verbatim}
\end{tscreen}




«Ø¥ß¤@­Ó¦¸¥Ø¿ý¡£¨Ò¦p»¡{\ttfamily $\backslash$NET$\backslash$TCP}¡¤¨Ã±q{\ttfamily /etc}½Æ»sHOSTS¡B
NETWORKS¡B PROTOCOLS¤Î SERVICES¨ìLinux¦øªA¾¹©ÎNetware¦øªA¾¹¤Wªº{\ttfamily SYS:ETC}
¥Ø¿ý¡C­×§ï½Æ»sªºHOSTSÀÉ¡A¥[¤J¤@¦æ´y­z·sªºLinux¦øªA¾¹¦p¤U¡C³o¼Ë¦bÂsÄý¾¹¤¤¥Î
{\ttfamily http¡G//linux.mydomain/}¨ÓÅª³o­Ó¦øªA¾¹ªº¤º®e¦Ó¤£¶·¥Î¨ì
{\ttfamily http¡G//172.16.0.1/}¡C
\begin{tscreen}
\begin{verbatim}
   127.0.0.1      localhost
   172.16.0.1      linux.mydomain
\end{verbatim}
\end{tscreen}




µM«á­×§ïNWCLIENT¥Ø¿ý¤¤ªºNET.cfgÀÉ¬°¡G
\begin{tscreen}
\begin{verbatim}
   Link Driver NE2000
       port 300
       int 3
       MEM D0000
       FRAME Ethernet_802.2

; ---- add these lines ----

      FRAME Ethernet_II

   Protocol TCPIP
      PATH TCP_CFG C:\NET\TCP
      ip_address  172.17.0.5
      ip_netmask  255.255.255.0
      ip_router   172.17.0.254     ---> ¦pªG§A­n¥Î³q¹D¨Ó³s±µHTTP¦øªA¾¹¡A«h
                                   ---> ¥[¤J³q¹Dªº¦a§}

   Link Support
      MemPool 6192       ---> ³Ì¤p­È¬°1024¡C¸Õ¸Õ¨ä¥L­È¬Ý¬Ý
      Buffers 10 1580    ---> ³o¸Ì¤]¯à§ï§ï

;---------------------------------
; ¦pªG¨Ï¥ÎNetware/IP¡A¥i¥H¥[¤W¤U­±´X¦æ¡C
;
   NWIP
      NWIP_DOMAIN_NAME  mydomain
      NSQ_BROADCAST   ON
      NWIP1_1 COMPATIBILITY   OFF
      AUTORETRIES     1
      AUTORETRY SECS  10

\end{verbatim}
\end{tscreen}

­×§ïWINDOWS¥Ø¿ý¤¤ªºSYSTEM.iniÀÉ¡A¨Ã¬°VTCPIP.386¥[¤J¤@¶µ¥Ø
\begin{tscreen}
\begin{verbatim}
   [386Enh]
   .....
   network=*vnetbios, vipx.386, vnetware.386, VTCPIP.386
   .....
\end{verbatim}
\end{tscreen}




­«·s¶}¾÷¡A°õ¦æSTARTNET.bat¡A²{¦b§A´N¥i¥H¶}©l¥Î§A³Ì³ß·RªºÂsÄý¾¹¨Ó¾\Åª§Aªººô­¶¤F¡C¦pªG§A¨Ï¥Î




\subsubsection{Windows 95\label{NWWin95}}

¥»¸`¤¶²Ð¦p¦ó¦bWin 95¤W¦w¸Ë32 bit  ¥Î¤áºÝ¡C­º¥ý­n¦w¸Ë¤U­z¦U¶µ¡G
\begin{tscreen}
\begin{verbatim}
  Netareºô¸ô¥Î¤áºÝ ¡£¥Ñ·L³n©ÎNovell´£¨Ñ¡¤
  ·L³nTCP/IP³q°T¨ó©w
  ºô¸ô¤¶­±¥d
\end{verbatim}
\end{tscreen}




­n¦w¸Ë³o¨Ç¶µ¥Ø¡B³æÀº¡B§Úªº¹q¸£¡B±±¨î¥x¡Bºô¸ô¡B¿ï'·s¼W'¡C²{¦b·|¥X²{¤@­Óµøµ¡¡AÅã¥Ü¥Î¤áºÝ¡B
¤¶­±¥d¡B³q°T¨ó©w¤ÎªA°È¡C

­n¬°Netwareºô¸ô¦w¸Ë¥Î¤áºÝ¡G
\begin{tscreen}
\begin{verbatim}
  1.ÂùÀº¥Î¤áºÝ
  2.³æÀºMicrosoft©ÎNetware Networks
  3.ÂùÀºClient for Netware Networks
\end{verbatim}
\end{tscreen}




­n¦w¸ËTCP/IP³q°T¨ó©w¡G
\begin{tscreen}
\begin{verbatim}
  1.ÂùÀº³q°T¨ó©w
  2.³æÀºMicrosoft
  3.ÂùÀºTCP/IP
\end{verbatim}
\end{tscreen}




Win 95¹w³]¦Û°Ê¦w¸Ë¤@¨Ç¨ä¾l³q°T¨ó©w¡C­n²¾°£³o¨Ç¹w³]­Èªº¸Ü¡A¥ý¿ïÂI¤§¡A¦A¿ïÂI'²¾°£'Áä§Y¥i¡C¤@¯ë¦Ó
¨¥¡AWin 95·|¦w¸ËMicrosoft NetBeui³q°T¨ó©w¤ÎIPX/SPX³q¥Î³q°T¨ó©w¡CNetBeui¥i§R°£¡C¦p­n
µn¤JNetware¦øªA¾¹¡A«hIPX/SPX³q°T¨ó©w¶·«O¯d¡C



­n³]©wTCP/IP¡AÂI¿ïProperties¡AÂI¿ïIP¦a§}
«öÁä
\begin{tscreen}
\begin{verbatim}
  Enter your IP address in the "Specify an IP address "
                        box as 172.17.0.5
  In the Subnet Mask box enter 255.255.255.0
\end{verbatim}
\end{tscreen}

ÂI¿ï³q¹DÁä
\begin{tscreen}
\begin{verbatim}
  Enter your gateway (router) address in the box New gateway
     as 172.17.0.254
  Click the Add button
\end{verbatim}
\end{tscreen}

²{¦b³q¹D¦a§}À³¥X²{¤w¦w¸Ë³q¹D¦p¤U¡C±µ¤U¨ÓÂI¿ï'½T©w'Áä¡C

²{¦b·|¦³°T®§µøµ¡¥X²{¡A­n¨D§A­«·s¶}¾÷¡C­«·s¶}¾÷«á¡A§A´N¥i¥H¶}©l¥ÎÂsÄý¾¹¨Ó±µ¤W§AªºHTTP¦øªA¾¹¤F¡C




\subsection{³]©w·L³n¥Î¤áºÝ\label{MSClient}}

¦pªG­n¨Ï¥Î·L³n¥Î¤áºÝ¨Ó¦s¨ú§Aªººô¯¸¡A¥»¸`§i¶D§A¬°¤U­z¨t²Î¦w¸ËTCP/IPªº²Ó¸`¸ê®Æ¡C¡@
\begin{itemize}
\item \ref{MSWFWG} {(Windows for Workgroups (WFWG))}
\item \ref{MSWin95} {(Windows 95)}
\item \ref{MSWinNT} {(Windows NT 4.0)}
\end{itemize}

{\bfseries µù¡G}­Y¤£·Q¥Î{\ttfamily http://172.16.0.1/}¦Ó­n¥Î
{\ttfamily http¡G//linux.mydowain/}¨ÓÅýÂsÄý¾¹¤Î¨ä¥Lºô»Úºô¸ô©R¥O©w§}Linux¦øªA¾¹¡A´N¶·­×§ï
{\ttfamily host}ÀÉ¡C¥t¥~¤]¥i¥H¦¹¬°¨ä¥L¥D¾÷¡£Netware¡BUnix¡BWinNT¡¤¥[¤J³]©w¦æ¡CWindows®a
±ÚªºHOSTSÀÉ¦b{\ttfamily $\backslash$WINDOWS}©Î{\ttfamily $\backslash$WINDOWS$\backslash$SYSTEM}¤¤¡A³o
¬O¥Ñ¥¦ªºª©¥»¦Ó©w¡C¦b¨ä¤¤¡A¬°Linux¦øªA¾¹¥[¤J¤@¦æ«ü¥O¦p¤U¡G
\begin{tscreen}
\begin{verbatim}
   127.0.0.1      localhost
   172.16.0.1     linux.mydomain

   172.16.0.2     netware.mydomain
   172.16.0.3     winNT.mydomain
   172.16.0.5     ws_1
\end{verbatim}
\end{tscreen}





\subsubsection{Windows for Workgroups\label{MSWFWG}}



¥»¸`¤¶²Ð¦p¦ó¦bWFWG¤W¦w¸Ë32 bit¥Î¤áºÝ¡C­º¥ý­n±q·L³n¤U¸üWindows©Ò¥ÎªºTCP/IPÅX°Ê¾¹¡C³Ì·sª©¥»
¬°3.11bª©¡A¥i±q
\onlynameurl{ftp://ftp.microsoft.com}©Î¨ä¥L
ºô¯¸¤U¸ü¦W¬°{\ttfamily tcp32b.exe}ªºÀÉ®×¡C­n½T©w¦b¸ü¤JTCP/IP-32 bitÅX°Ê¾¹¤§«e¤w¥ý¸ü¤J
Win32s¡C



¤@¥¹§â³o¨ÇTCP/IPÀÉ®×¦b¤@¼È¦s¥Ø¿ý¡£¨Ò{\ttfamily C:$\backslash$TEMP}¡¤¤¤¥´¶}«á¡A´N¨ì
{\ttfamily $\backslash$WINDOWS$\backslash$SYSTEM} ¥Ø¿ý¤¤§ä
¤@¥÷{\ttfamily OEMSETUP.INF}ÀÉ®×¡C¦pªG¦bªº¸Ü¡Aµ¹¥¦¤@­Ó¥t¥~ªºÀÉ¦W¡AµM«á±N¦¹
{\ttfamily OEMSETUP.INF}ÀÉ±q¼È¦s¥Ø¿ý½Æ»s¨ì{\ttfamily $\backslash$WINDOWS$\backslash$SYSTEM}¥Ø¿ý¤¤
¡C¦pªG¦b¨t²Î¤¤¤]¸ü¤J¤F¨ä¥¦ªºTCP/IP stacks¡A¦bÄ~Äò³]©w¤§«e¡A¥ý§â¥L­Ì²¾°£¡C



¶}±Òºô¸ô³]©w©ÎWindows³]©w/§ïÅÜºô¸ô³]©w¡G

\begin{tscreen}
\begin{verbatim}
        ÂI¿ïºô¸ô
        ÂI¿ï¦w¸ËMicrosoft Windows Networks¿ï¤ä´©·s¼Wºô¸ô¡£¦pªG°Ýªº¸Ü¡¤
        ¿ïÂI'½T©w'Áä
\end{verbatim}
\end{tscreen}


¦¹®É·|°Ý§Aºô¸ô¤¶­±¥d-¿ï­Ó¦X¾Aªºµª®×¡C¦pªG¨S°Ý§Aªº¸Ü¡A«h¡G
\begin{tscreen}
\begin{verbatim}
        ÂI¿ï¤¶­±¥dÁä
                ¿ï¤@¤¶­±¥d¡£¨Ò¡GNE2000¡¤
                ÂI¿ï'½T©w'Áä
        ÂI¿ï³q°T¨ó©wÁä
                ¿ïMS TCP/IP-32³q°T¨ó©w
                ÂI¿ï'½T©w'Áä
\end{verbatim}
\end{tscreen}


¦¹®É·|­n¨D§A³]©w¦UºØTCP/IP³q°T¨ó©w¡C¥i¥H¥ý¦b¤¶­±¥d¿ï³æ¤¤¿ïTCP/IP³q°T¨ó©w¡AµM«áÂI¿ï'½T©w'Áä¡C

\begin{tscreen}
\begin{verbatim}
1.¦bIP¦ì§}ªÅ®æ¤¤¶ñ¤J172.17.0.5
2.¦bSubnet MaskªÅ®æ¤¤¶ñ¤J255.255.255.0
3.¦bdefault gatewayªÅ®æ¤¤¶ñ¤J³q¹D¡£¸ô¥Ñ¾¹¡¤¦a§}¬°172.17.0.254
\end{verbatim}
\end{tscreen}


ÂI¿ï½T©w«á¡A¹q¸£·|­n¨D§A­«·s±Ò°Ê¡C­«·s±Ò°Ê«á¡A§A´N¥i¥H¥ÎÂsÄý¾¹¨Ó±µ¤W§AªºHTTP¦øªA¾¹¤F¡C




\subsubsection{Windows 95\label{MSWin95}}

¥»¸`¤¶²Ð¦p¦ó¦bWin 95¤W¦w¸Ë32 bit ¥Î¤áºÝ¡C­º¥ý­n¦w¸Ë¤U­z¦U¶µ¡G
\begin{tscreen}
\begin{verbatim}
        ·L³nºô¸ô¥Î¤áºÝ
        ·L³nTCP/IP³q°T¨ó©w
        ºô¸ô¤¶­±¥d
\end{verbatim}
\end{tscreen}




­n¦w¸Ë³o¨Ç¶µ¥Ø¡B³æÀº¡B§Úªº¹q¸£¡B±±¨î¥x¡Bºô¸ô¡B¿ï·s¼W¡C²{¦b·|¥X²{¤@­Óµøµ¡¡AÅã¥Ü¥Î¤áºÝ¡B¤¶­±¥d¡B
³q°T¨ó©w¤ÎªA°È¡C
­n¬°·L³nºô¸ô¦w¸Ë¥Î¤áºÝ¡G
To install the Client for Microsoft Networks:
\begin{tscreen}
\begin{verbatim}
  1.ÂùÀº¥Î¤áºÝ
  2.³æÀºMicrosoft
  3.ÂùÀºClient for Microsoft Networks
\end{verbatim}
\end{tscreen}




­n¦w¸ËTCP/IP³q°T¨ó©w¡G
\begin{tscreen}
\begin{verbatim}
  1.ÂùÀº³q°T¨ó©w
  2.³æÀºMicrosoft
  3.ÂùÀºTCP/IP
\end{verbatim}
\end{tscreen}




Win 95¹w³]¦Û°Ê¦w¸Ë¤@¨Ç¨ä¾l³q°T¨ó©w¡C­n²¾°£³o¨Ç¹w³]­Èªº¸Ü¡A¥ý¿ïÂI¤§¡A¦AÂI¿ï²¾°£Áä§Y¥i¡C¤@
¯ë¦Ó¨¥¡AWin 95·|¦w¸ËMicrosoft NetBeui³q°T¨ó©w¡C



­n³]©wTCP/IP¡AÂI¿ïProperties¡AÂI¿ïIP¦a§}«öÁä
\begin{tscreen}
\begin{verbatim}
  Enter your IP address in the "Specify an IP address "
                        box as 172.17.0.5
  In the Subnet Mask box enter 255.255.255.0
\end{verbatim}
\end{tscreen}

ÂI¿ï³q¹DÁä
\begin{tscreen}
\begin{verbatim}
  Enter your gateway (router) address in the box New gateway
     as 172.17.0.254
  Click the Add button
\end{verbatim}
\end{tscreen}

²{¦b³q¨ì¦a§}À³¥X²{¤w¦w¸Ë³q¹D¦p¤U¡C±µ¤U¨ÓÂI¿ï'½T©w'Áä¡C



²{¦b·|¦³°T®§µøµ¡¥X²{¡A­n¨D§A­«·s¶}¾÷¡C­«·s¶}¾÷«á¡A§A´N¥i¥H¶}©l¥ÎÂsÄý¾¹¨Ó±µ¤W§AªºHTTP¦øªA¾¹¤F¡C




\subsubsection{Windows NT\label{MSWinNT}}

¥»¸`¤¶²Ð¦p¦ó¦bWinNT 4.0¤W¦w¸Ë32 bit ¥Î¤áºÝ¡C
¥ý¶}±Ò±±¨î¥x/ºô¸ô
\begin{tscreen}
\begin{verbatim}
    Select the Adapter tab.
        Click Add to add a new adapter (if you don't have one)
\end{verbatim}
\end{tscreen}

¦¹®É·|°Ý§Aºô¸ô¤¶­±¥d¢w¿ï¤@­Ó¦X¾Aªºµª®×¡C±µ¤U¨Ó¿ï¾Ü³q°T¨ó©w
\begin{tscreen}
\begin{verbatim}
    Select the Protocols tab
        Click Add
        Select the TCP/IP protocol
        Click OK
\end{verbatim}
\end{tscreen}

¦¹®É·|­n¨D§A³]©w¦UºØTCP/IP³q°T¨ó©w¡C¥i¥H¥ý¦b¿ï³æ¤¤ÂI¿ï TCP/IP³q°T¨ó©w¡AµM«áÂI¿ï¦X¾Aªº«öÁä¡C
\begin{tscreen}
\begin{verbatim}
   Select the tab IP Address
      Mark the checkbox 'Specify an IP address'
      In the IP address box enter 172.17.0.5
      In the Subnet Mask box enter 255.255.255.0
      Enter your gateway (router) address in the box Default Gateway
          as 172.17.0.254
\end{verbatim}
\end{tscreen}

ÂI¿ï'½T©w'Áä«á¡A²{¦b·|¦³°T®§µøµ¡¥X²{¡A°Ý§A¬O§_­n­«·s¶}¾÷¡C­«·s¶}¾÷«á¡A§A´N¥i¥H¶}©l¥ÎÂsÄý¾¹¨Ó±µ
¤W§AªºHTTP¦øªA¾¹¤F¡C




\subsection{¦bMacintosh¤W³]©wTCP/IP\label{MacClient}}

¦pªG§A­n¥ÎMacintosh¦s¨ú§Aªººô¯¸¤Wªº¸ê®Æ¡A¥»¸`§i¶D§A¬°PowerMacs³]©wMacTCPªº²Ó¸`¡C

{\bfseries µù¡G}­Y¤£·Q¥Î{\ttfamily http://172.16.0.1/}¡A¦Ó­n¥Î
{\ttfamily http://linux.mydomain/}¨ÓÅýÂsÄý¾¹¤Î¨ä¥Lºô»Úºô¸ô©R¥O©w§}Linux¦øªA¾¹¡A
´N¶·­×§ï{\ttfamily hosts}ÀÉ¡C¦¹³BªºhostsÀÉ»PUnix¤W¥ÎªºhostsÀÉ¤£¦P¡C
Mac¨t²ÎªºhostsÀÉ¬O¨Ì¾ÚRFC-1035¼Ð·Ç¡C¥t¥~¤]¥i¥H¦¹¬°¨ä¥L¥D¾÷¡£Netware¡BUnix¡BWinNT¡¤
¥[¤J³]©w¦æ¡CMacOSªºHOSTSÀÉ¬O¦b{\ttfamily System folder}¤¤ªº
{\ttfamily Preference folder}¤¤¡C¦b¨ä¤¤¡A¬°Linux¦øªA¾¹¥[¤J¤@¦æ«ü¥O¦p¤U¡G
\begin{tscreen}
\begin{verbatim}
  linux.mydomain    A  172.16.0.1

  netware.mydomain  A  172.16.0.2
  winNT.mydomain    A  172.16.0.3
  ws_1              A  172.16.0.5
\end{verbatim}
\end{tscreen}





\subsubsection{MacTCP\label{MacTCP}}



¥»¸`»¡©ú¦p¦ó¦w¸ËMacTCP¡C­º¥ý­n±qApple¤½¥q¤U¸ü©Î±qInternet Connection CD¤ù¨ú±oMacTCP¡C
­n³]©wMacTCP¡AÂI¿ïApple Menu/±±¨î¥x/TCP/IP¡C¦b¿Ã¹õ¤W±N'Connect via¡G'ªº³]©w§ï¬°
'Ethernet'¡C



±N'Configure'³]©w¤º®e§ï¬°'Manually'¡C
\begin{tscreen}
\begin{verbatim}
  In the IP address box enter 172.17.0.5
  In the Subnet Mask box enter 255.255.255.0
  Enter your gateway (router) address in the box
    Router address as 172.17.0.254
\end{verbatim}
\end{tscreen}

¿ï'½T©w'¡AµM«á§A´N¥i¥H¥ÎÂsÄý¾¹¨Ó³s¤W§AªºHTTP¦øªA¾¹¤F¡C




\section{³]©w°Ï°ìºô¸ô}

¦pªG¦b¤£¦Pªº¥­¥x¤WµLªk¦@¥Î¸ê·½¡A°Ï°ìºô¸ô´N¤£ºâ§¹¾ã¡C°Ï°ìºô¸ô¥²¶·¯à¤ä´©¦UºØÀÉ®×¨t²Î¡A§Ú­Ì¤~¯à
¦s¨ú¦b¥L©Ò³s±µªº¨t²Î¤Wªº¸ê®Æ¡C¥»¤å¥ó»¡©ú¦p¦ó±NLinux³s¨ì¤U¦CªºÀÉ®×¨t²Î¡G
\begin{itemize}
\item \ref{NCPFS} {(NCP filesystem for Netware)}
\item \ref{SMBFS} {(SMB filesystem for Windows)}
\item \ref{NFS} {(NFS filesystem for Unix)}
\end{itemize}




³o¨ÇÀÉ®×¨t²Î¥i¥H½sÄ¶¨ìLinux®Ö¤ß¨t²Î¤¤¡A¤]¥i¥H¼Ò²Õªº¤è¦¡¥[¤J¡A¥þµøªºLinuxª©¥»¦Ó©w¡C¦pªG¤£²M
·¡¦p¦ó½sÄ¶®Ö¤ß¨t²Î¡A°Ñ¦ÒKernel HOWTO
\onlynameurl{http://sunsite.unc.edu/mdw/HOWTO/Kernel-HOWTO.html}¡C
¦³Ãö¥H¼Ò²Õ¤è¦¡¥[¤J®Ö¤ß¨t²Î¡A°Ñ¦ÒModule HOWTO 
\onlynameurl{http://sunsite.unc.edu/mdw/HOWTO/Module-HOWTO.html}¡C






\subsection{NCPFS\label{NCPFS}}

­Y­n¦bNetware¦øªA¾¹¤W¦@¥ÎÀÉ®×¡A°Ï°ìºô¸ô´N¥²¶·¯à¤ä´©NCP¡£ncpfs¡¤¡C1.2.x¤Î1.3.71¥H¤Wª©¥»
ªº®Ö¤ß¨t²Î¥i¤ä´©NCPFS¡CÁöµMµLªk¦s¨úNetware 4.x¤¤ªº¸ê®Æ®w¡A¦ý¥i¥H¨Ï¥Îbindery¡C¦pªG¨Ï¥Îªº
ª©¥»¬°Netware 4.x¡A¥i¥H¦b©R¥O¦C¤¤¥H{\ttfamily set Bindery Context}©R¥O¡A±Ò°Ê¯S©w
containerªºbindery¤ä´©¡G
\begin{tscreen}
\begin{verbatim}

  set Bindery Context = CORP.MYDOM;WEBUSER.MYDOM
\end{verbatim}
\end{tscreen}


¤W­±³o­Ó¨Ò¤l¤¤¡A¦³¨â­Ócontainer±Ò°Ê¤Fbindery¤ä´©¡C



­º¥ý±q¶§ª@ªººô¯¸\onlynameurl{ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/ncpfs.tgz}
¤U¸üNCPÀÉ®×¨t²Î¤u¨ã(²{¬°ncpfs-2.0.10)¡C






\subsubsection{¦w¸Ë}

­n¦w¸Ëncpfs¤u¨ã¡AºV¤J

\begin{tscreen}
\begin{verbatim}
   zcat ncpfs.tgz | tar xvf -
\end{verbatim}
\end{tscreen}


«h·|±N¬ÛÃöÀÉ®×¥´¶}¡A©ñ¤J¹w³]ªº¥Ø¿ý¤¤¡C³o­Ó¥Ø¿ý§Y¬°{\ttfamily ncpfs-2.0.10}¡C­n¶i¦æ¦w¸Ë¡A¥ý
¸õ¨ì³o­Ó¥Ø¿ý¤¤¡A¥ýÅª¤@¤U¨ä¤¤ªºREADME¤å¥ó¡C¦p¦³¥²­n¨Ì¨ä¤¤¤º®e­×§ï¤@¤UMakefileÀÉ¡C



ncpfsªº¦w¸Ë¨BÆJ¡Aµø®Ö¤ß¨t²Îªºª©¥»¦Ó©w¡C¦pªG¬O1.2ª©¡A¥u­nºV¤J'make'¡A¦AºV'make install'¡A
´N¥i¦w¸Ë¥i°õ¦æÀÉ¤Îman page¡C

¦pªG®Ö¤ß¨t²Î¬O1.3.71ª©©Î§ó·sªºª©¥»¡A¥i¯à´N­n­«·s½sÄ¶®Ö¤ß¨t²Î¡C³o¨Çª©¥»¤¤¦³ªº¥i¯à¦b
main source tree¤¤¤w¥]¬A¤Fncpfs¡C­nÀË¬d¬O§_¦³¥²­n­«·s½sÄ¶¡AºV¤J

\begin{tscreen}
\begin{verbatim}
   cat /proc/filesystems
\end{verbatim}
\end{tscreen}


¦^µªªº¨ä¤¤¤@¦æ¥i¯à»¡ncpfs¤w¸g¤ä´©¤F¡C



¦pªGncpfs¤£³Q¤ä´©¡A¥i¥H¦Ò¼{­«·s½sÄ¶®Ö¤ß¨t²Î©Î¥H¼Ò²Õ¤è¦¡¥[¤Jncpfs¡C­n­«·s½sÄ¶®Ö¤ß¨t²Î¡A
ºV¤J'make config'¡AµM«á·í¥¦°Ý§A



{\ttfamily The IPX protocol (CONFIG\_IPX) [N/y/?]}



®É¡A¦^µª'y'¡C±µ¤U¨Ó·|°Ý§A¬O§_­nfull internal net¡C¤@¥¹®Ö¤ß¨t²Î¦¨¥\¦w¸Ë«á¡A
­«·s¶}¾÷¡AÀË¬d{\ttfamily /proc/filesystems}¡A¦pªG¤@¤Á¶¶§Q¡A´N¥i¶}©l¦w¸Ëncpfs¤u¨ã¡C¸õ¦^­ì
¨Ó©ñ¸m¤U¸üªºncpfs¤u¨ãÀÉ®×ªº¥Ø¿ý¡AºV¤J'make'¡C½sÄ¶§¹¦¨«á¡A¦AºV¤J'make install'¨Ó¦w¸Ë¦U
ºØ¤u¨ã¤Îman page¡C






\subsubsection{±¾¤WNCPFSÀÉ®×¨t²Î}

¥ý¥Î¤U­±©R¥OÀË¬dÀÉ®×¨t²Î¬O§_¤w¦w¸Ë¦n
\begin{tscreen}
\begin{verbatim}
   ipx_configure --auto_interface=on --auto_primary=on

....µ¥10¬í¦AÁä¤J

   slist
\end{verbatim}
\end{tscreen}

¦¹®ÉÀ³¥i¬Ý¨ì¤@¦êNetware¦øªA¾¹¦C¤F¥X¨Ó¡C¨º»ò´N¥i¥H¶}©l¦bNetware¦øªA¾¹¤W¦@¥ÎÀÉ®×¤F¡C



°²³]±qMYDOM\_NW¦øªA¾¹ªºVOL1¡G¨÷¤¤ªº{\ttfamily $\backslash$home$\backslash$htmldocs}¥Ø¿ý¤W¦s¨ú
HTMLÀÉ®×¡A«ØÄ³§A¥ý¦b¦øªA¾¹¤W«Ø¥ß¤@­Ó¨Ï¥ÎªÌ±b¸¹¡£¨Ò¦p¡¤'EXPORT'µ¹¥¦¤@­Ó±K½X'EXP123'¡A
¨Ã³]©w¥L¦s¨ú¸Ó¥Ø¿ýªºÅv­­¬°SYSCON©ÎNWADMIN¡C



­º¥ý¦bLinuxªº¾÷¾¹¤W«Ø¥ß¤@¥Ø¿ý{\ttfamily /mnt/MYDOM\_NW}¡C­n±¾¤W¸ÓÀÉ®×¨t²Î¡AºV¤J

\begin{tscreen}
\begin{verbatim}
   ncpmount -S MYDOM_NW -U EXPORT -P EXP123 /mnt/MYDOM_NW
\end{verbatim}
\end{tscreen}


­nÀË¬d¥Ø¿ý{\ttfamily MYDOM\_NW/VOL1:$\backslash$HOME$\backslash$HTMLDOCS}¤¤ªºÀÉ®×¡AºV¤J

\begin{tscreen}
\begin{verbatim}
   ls /mnt/MYDOM_NW/vol1/home/htmldocs
\end{verbatim}
\end{tscreen}


¦p¦³¥ô¦ó§xÃø¡AÅª¤@¤UIPX HOWTO
\onlynameurl{http://sunsite.unc.edu/mdw/HOWTO/IPX-HOWTO.html} 
¡£¨Ï¥ÎNetwareÀÉ®×²Å¸¹¡¤¡A¥i¹ïIPX¨t²Î¦³§ó²`¤Jªº²z¸Ñ¡C




\subsection{SMBFS\label{SMBFS}}

­Y­n¦bWindows¦øªA¾¹¤W¦@¥ÎÀÉ®×¡A°Ï°ìºô¸ô´N¥²¶·¯à¤ä´©SMB¡£smbfs¡¤ÀÉ®×¨t²Î¡C



­º¥ý±q¶§ª@ªººô¯¸
\onlynameurl{ftp://sunsite.unc.edu/pub/Linux/system/filesystems/smbfs/smbfs.tgz}
¤U¸üNCPÀÉ®×¨t²Î¤u¨ã(²{¬°smbfs-2.0.1)¡C






\subsubsection{¦w¸Ë}

­n¦w¸Ësmbfs¤u¨ã¡AºV¤J

\begin{tscreen}
\begin{verbatim}
   zcat smbfs.tgz | tar xvf -
\end{verbatim}
\end{tscreen}


«h·|±N¬ÛÃöÀÉ®×¥´¶}¡A©ñ¤J¹w³]ªº¥Ø¿ý¤¤¡C³o­Ó¥Ø¿ý§Y¬°{\ttfamily smbfs-2.0.1}¡C­n¶i¦æ¦w¸Ë¡A¥ý
¸õ¨ì³o­Ó¥Ø¿ý¤¤¡A¥ýÅª¤@¤U¨ä¤¤ªºREADME¤å¥ó¡C¦p¦³¥²­n¨Ì¨ä¤¤¤º®e­×§ï¤@¤UMakefileÀÉ¡C



smbfsªº¦w¸Ë¨BÆJ¡Aµø®Ö¤ß¨t²Îªºª©¥»¦Ó©w¡C¦pªG¬O1.2ª©¡A¥u­nºV¤J'make'¦AºV'make install'´N¥i
¦w¸Ë¥i°õ¦æÀÉ¤Îman page¡C



¦pªG®Ö¤ß¨t²Î¬O2.0ª©©Î§ó·sªºª©¥»¡A¥i¯à´N­n­«·s½sÄ¶®Ö¤ß¨t²Î¡C³o¨Çª©¥»¤¤¦³ªº¥i¯à¦b
main source tree¤¤¤w¥]¬A¤Fsmbfs¡C­nÀË¬d¬O§_¦³¥²­n­«·s½sÄ¶¡AºV¤J

\begin{tscreen}
\begin{verbatim}
   cat /proc/filesystems
\end{verbatim}
\end{tscreen}


¦^µªªº¨ä¤¤¤@¦æ¥i¯à»¡smbfs¤w¸g¤ä´©¤F¡C



¦pªGsmbfs¤£³Q¤ä´©¡A¥i¥H¦Ò¼{­«·s½sÄ¶®Ö¤ß¨t²Î©Î¥H¼Ò²Õ¤è¦¡¥[¤Jsmbfs¡C­n­«·s½sÄ¶®Ö¤ß¨t²Î¡A
ºV¤J'make config'¡AµM«á·í¥¦°Ý§A¬O§_­n¥[¤JSMBÀÉ®×¨t²Î®É
¡A¦^µª'y'¡C¤@¥¹®Ö¤ß¨t²Î¦¨¥\¦w¸Ë«á¡A­«·s¶}¾÷¡AÀË¬d{\ttfamily /proc/filesystems}¥Ø¿ý¡A
¦pªG¤@¤Á¶¶§Q¡A´N¥iÄ~Äò¦w¸Ësmbfs¤u¨ã¡C¸õ¦^­ì¨Ó©ñ¸m¤U¸üªºsmbfs¤u¨ãÀÉ®×ªº¥Ø¿ý¡AºV¤J'make'¡C
½sÄ¶§¹¦¨«á¡A¦AºV¤J'make install'¨Ó¦w¸Ë¦UºØ¤u¨ã¤Îman page¡C






\subsubsection{±¾¤WSMBFSÀÉ®×¨t²Î}



¥ý°²³]WinNT¦øªA¾¹¥s'MYDOM\_NT'¦Ó¦@¥Îªº¥Ø¿ý¬°{\ttfamily C:$\backslash$PUB$\backslash$HTMLDOCS}¡A
¦@¥Î±b¸¹¬°'HTMLDOS'¡A¨S¦³±K½X¡C­º¥ý¦bLinuxªº¾÷¾¹¤W«Ø¥ß¤@¥Ø¿ý{\ttfamily /mnt/MYDOM\_NT}¡C
­n±¾¤W¸ÓÀÉ®×¨t²Î¡AºV¤J

\begin{tscreen}
\begin{verbatim}
   smbmount //MYDOM_NT/HTMLDOCS /mnt/MYDOM_NT -n
\end{verbatim}
\end{tscreen}


¦pªGµL®Ä¡A«hºV¤J
\begin{tscreen}
\begin{verbatim}
   smbmount //MYDOM_NT/COMMON /mnt/MYDOM_NT -n -I 172.16.0.3
\end{verbatim}
\end{tscreen}

­nÀË¬d¥Ø¿ý{\ttfamily bsol;bsol;MYDOM\_NT$\backslash$PUB$\backslash$HTMLDOCS}¤¤ªºÀÉ®×¡AºV¤J
\begin{tscreen}
\begin{verbatim}
   ls /mnt/MYDOM_NT
\end{verbatim}
\end{tscreen}

¡£¨Ï¥ÎWindowsÀÉ®×²Å¸¹¡¤






\subsection{NFS\label{NFS}}

­º¥ý­n¦³­Ó¯à¤ä´©NFSÀÉ®×¨t²Îªº®Ö¤ß¨t²Î¡C¥¦¥i¥H¬O­«·s½sÄ¶«á¤ä´©¡A©Î¥H¼Ò²Õ¤è¦¡¥[¤J¦Ó¤ä´©ªº¡C

¥ý°²³]¦³­Ó¤ä´©NFSªºUnix¥D¾÷¥s'MYDOM-UNIX'¡A¥¦ªºIP¦a§}¬°172.16.0.4¡C¥i¥H¥Î¤U­±ªº«ü¥O
ÀË¬d¥¦ªº¨º¨Ç¥Ø¿ý¬O¿é¥Xªº¡£¦@¥Îªº¡¤¡C

\begin{tscreen}
\begin{verbatim}

   showmount -e 172.16.0.4
\end{verbatim}
\end{tscreen}


¤@¥¹ª¾¹D¨º¨Ç¥Ø¿ý¬O¿é¥Xªº¡A§Y¥i¥H¤W±¾«ü¥O§â¥L­Ì±¾¤W§Aªº¨t²Î¡C«ØÄ³§A¦b'/mnt'¤U«Ø¥ß¤@­Ó¥Ø¿ý
'MYDOM\_UNIX'¡£¨Ò¡¤¡A¥O¥¦¬°§Aªº¤W±¾ÂI

\begin{tscreen}
\begin{verbatim}

   mount -o rsize=1024,wsize=1024 172.16.0.4:/pub/htmldocs /mnt/MYDOM_UNIX
\end{verbatim}
\end{tscreen}


¨ä¤¤ªºrsize¤Îwsizeµø§AªºÀô¹Ò½Õ¾ã¡C

¦pªG¦³§xÃø¡AÅª¤@¤UNFS HOWTO 
\onlynameurl{http://sunsite.unc.edu/mdw/HOWTO/NFS-HOWTO.html} 
¡A¥i¹ïNFS¨t²Î¦³§ó²`¤Jªº²z¸Ñ¡C






\section{¦s¨úºô¯¸¸ê®Æ\label{AccessHTML}}

¬JµM¤w¸g³]©w¦n¤FHTTP¦øªA¾¹¡B¥Î¤áºÝ¤S±NLinux¦øªA¾¹»P¨ä¥L³s¦b¤@°_¡A¬°¤F¯à¥ÎÂsÄý¾¹¦s¨ú³o¨Ç±¾¤W
¤FªºÀÉ®×¨t²Î¡A§Ú­ÌÁÙ­nµy¥[½Õ¾ã¡C




\subsection{¦s¨ú¤W±¾ªºÀÉ®×¨t²Î}

­nÅýHTML­º­¶¤¤ªº³s±µ¡A¦¨¥\ªº³s±µ¨ì¤W±¾ªº¥Ø¿ý¤¤¡A¦³¨âºØ¤èªk¡G
\begin{itemize}
\item ¦bDocument Root ¡£{\ttfamily /usr/local/etc/httpd/htdocs}¡¤¤¤«Ø¥ß³s±µ¨ì¤W
±¾ªº¥Ø¿ý
\begin{tscreen}
\begin{verbatim}
   ln -s /mnt/MYDOM_NW/vol1/home/htmldocs netware
                     or

   ln -s /mnt/MYDOM_NT    winNT
                     or

   ln -s /mnt/MYDOM_UNIX    unix
\end{verbatim}
\end{tscreen}
\item ­×§ï{\ttfamily /usr/local/etc/httpd/conf}¤¤ªº{\ttfamily srm.conf}ÀÉ®×
\end{itemize}


\begin{tscreen}
\begin{verbatim}
  # Alias fakename realname
  Alias /icons/     /usr/local/etc/httpd/icons/

  # alias for netware server
  Alias /netware/   /mnt/MYDOM_NW/vol1/home/htmldocs/
  Alias /winNT/     /mnt/MYDOM_NT/
  Alias /unix/      /mnt/MYDOM_UNIX
\end{verbatim}
\end{tscreen}

µM«á­«·s±Ò°ÊHTTPd¡C¦p­n³s¨ìNetware¦øªA¾¹¤WªºÀÉ®×¡A¥Î
{\ttfamily http://linux.mydomain/netware/index.htm}¡C¨ä¾l¨t²Î¥H¦¹Ãþ±À¡C




\subsection{³s½u¨ìºô»Úºô¸ô}

§AÁÙ¥i¥HÅý§Aªº°Ï°ìºô¸ô³s½u¨ìºô»Úºô¸ô¤W¡A§Q¥Îºô»Úºô¸ôªº¥©§®¸ê°T¦s¨úE-Mail¡C¬ÛÃö³s½u²Ó¸`½Ð°Ñ
¦ÒISP Hookup HOWTO 
\onlynameurl{http://sunsite.unc.edu/mdw/HOWTO/ISP-Hookup-HOWTO.html} 
¤ÎDiald mini HOWTO
\onlynameurl{http://sunsite.unc.edu/mdw/HOWTO/mini/Diald} for setting up these connections¡C




\subsection{¨ä¾l¥Î³~}

HTTP¦øªA¾¹ÁÙ¥i¥H¥Î©ó¿ì¤½«Ç¡A³z©ú¤Æ¦s¨ú¨ä¥L¦øªA¾¹ªºÀÉ®×¡C©Ò¦s¨úªºÀÉ®×¥i¥H¬OWord¡B
Lotus spreadsheets©Î½ÆÂøªº¸ê®Æ®w¡C

³o¶µ§Þ³N¥i¹B¥Î¦b¡G

\begin{itemize}
\item ¤½¥q¤å¥óµo¤å¥]¬A³Ì·s®ø®§¡B¦~«×³ø§i¡B¦a¹Ï¡B¤½¥q³]¬I¡B»ù®æªí¡B²£«~¸ê°T¤Î¥ô¦ó¦³¥Îªº¤½¥q¤å¥ó¡C

\item ¦s¨ú¥i·j´M¸ê®Æ¨Ò¦p¤j®a±`¬d¸ßªº¹q¸ÜÃ¯¡C¸ê®Æ¥i«Ø¦b¬M®g¯¸¤¤¡£¥HCGI scriptªº¤è¦¡¡¤¡Aºô¯¸¦øªA¾¹¥i°µ
¬°¤@³s¨ìback-end pre-existing©Î·sÀ³¥Î³nÅéªº³q¹D¡C¤]´N¬O»¡¡A¥u¨Ï¥Î¼Ð·Ç¦s¨ú¾÷¾¹¡A
¸ê®Æ¥i¸g¥ÑÂ²³æªºµ{§Ç¼sªxªº§Q¥Î¡C¤]´N¬O»¡¡A¹³ORACLE¤ÎSYBASE¥i¥ÎRDMMS¨Ó§@¬°´£¨Ñ¤Î
®É¸ê°Tªº¤¶­±¡C¤U¦C¬°¬ÛÃöªººô­¶¡G

-Web Access- \onlynameurl{http://cscsun1.larc.nasa.gov/\~{}beowulf/db/web\_access.html}
-CGI gateway- \onlynameurl{HTTP://www.w3.org/hypertext/WWW/RDBGate/Overview.html}

\item ¤½¥q/³¡ªù/­Ó¤H­º­¶·í¤½¥q¤å¤Æº¥º¥¶i¨B¨ì¡A¤£¤î¨C¤@³¡ªù¦³¤u§@¥ô°È¡A¨C­Ó­Ó¤H³£¦³¤@¤u§@¥ô°È®É¡A°Ï°ìºô¸ô¥i
¥Î¨Ó³qª¾¦U³¡ªù©Î¦U¤H³Ì·s¸ê°T¡C±j¤O·j´M¤ÞÀº¡AÁÙ¥i¥H¥Î¨Ó¬d¸ß¨C­Ó­û¤u¨C¤Ñ¹ï¦U­Ó°ÝÃDªº¸Ñ
¨M¤è®×¡C

\item Â²³æGroupwareÀ³¥Î³nÅé§Q¥ÎHTMLªí®æ¡Aºô¯¸¥i´£¨ÑÃ±¨ì¡BÀËµø¤ÎÂ²³æ®Éµ{ªí¡C



\item ³nÅéµo¦æ¨t²ÎºÞ²z­û¥i¥H§Q¥Î°Ï°ìºô¸ô¡A§â³nÅé¤Î³Ì·s¸ê®Æ¡A¸g¥Ñ¤½¥qºô¸ô°e¨ì«È¤á¤â¤¤¡C³o¥ó­n
¨D¥i¥Ñ'Java'¨Ó§¹¦¨¡A¦]¬°¥¦¤£¥u¥i¥H¶Ç°e¼Æ¾Ú¤ÎÀ³¥Îµ{¦¡¡AÁÙ¥i¥H¥Î¨Ó²£¥Í­qÁÊªºobject¡A
¨Ã«O«ù¹Bºâ³z©ú¤Æ¡C¸û·sª©¥»ªºLinux¥i¥H¦³¸û¦nªºªí²{¡A¦]¬°¥L­Ì¤º«Ø¤ä´©Java¡C

«H¥ó

\item «H¥óÀHµÛ¶V¨Ó¶V¦h¤H¶}©l¨Ï¥Î¨ã³Æ¼Ð·Ç¦ÓÂ²³æªº¤è¦¡ªþ¤W¦³ÀÉ®×¡BÁn­µ¡Bµø®Ä¤Î¨ä¾l¦h´CÅéªº­Ó¤H
«H¥ó¨t²Î¡A«H¥óº¥º¥¦¨¬°Â²³æ¦Ó¹ê»Úªº³q°T¤è¦¡¡C«H¥ó¹ê½è¤W¬O­Ó¤H¤§¶¡©Î­Ó¤H»P¤@­Ó¤p²ÕÂ´¤§
¶¡ªº³q°T¤è¦¡¡CLinux¤W¦³¨Ç¤u¨ã¥i¥Î¨Ó³]©w¦p{\bfseries sendmail¡Bpop3d¡Bimapd}ªº
E-mail¨t²Î¡C



\item ¨Ï¥ÎªÌ¤¶­±°Ï°ìºô¸ô§Þ³N¶i¨B±o¦p¦¹¯«³t¡A¥H¦Ü©ó¥Î©óHTMLªº¤u¨ã¥i¥H¥Î¨Ó§â§Ú­Ì©M¨t²Î¶¡ªº¤¶­±¹ý©³§ï
Æ[¡C§Q¥ÎHTML¡A§A¥i¥H«Ø¥ß¤@­Ó¥u³Q­Ó¤H·Q¹³¤O­­¨îªº¨Ï¥ÎªÌ¤¶­±¡C³Ì´Îªº¦a¤è¬O¡A³o¨Ç¨BÆJ¤S
«D±`ªºÂ²³æ¡C¥u­nÂI¤@¤UHTMLªº¶W³sµ²¡A¥i¥H¸õ¨ì¥t¤@­Ó­º­¶¡A¥i¥H«öÅT¤@Án¹a¡A¥i¥H¶]¤@­Ó
¶]¤@¦~¤~°±¤îªºµ{§Ç¡A©Î¥ô¦ó¨ä¥L¹q¸£¥i¥H°µ¨ìªº¨Æ¡C

\end{itemize}





\section{¨ä¥L¥i¥H¿ì¨ìªº¨Æ}

¤U¦C¬°¥t¥~¤@¨Ç¥i¥HÅý§AªºLinux °Ï°ìºô¸ô¦øªA¾¹§@ªº¨Æ¡C¨ä¤¤©Ò´£¨ìªº³nÅé³£¬O¦Û¥Ñ³nÅé¡C
\begin{itemize}
\item §Q¥ÎWin 95/NT¤¤'ºô¸ô¤WªºªÚ¾F'¨Ó¬d¬ÝLinux¦øªA¾¹¡G¶·³]©wNBT¦øªA¾¹¦¨WINS«¬¦¡
ªº¦øªA¾¹¡C°Ñ¦ÒSAMBAºô­¶
\onlynameurl{http://lake.canberra.edu.au/pub/samba/samba.html}¡C
\item ¦b°Ï°ìºô¸ô¤W«Ø¥ß·j´M¤ÞÀº¡C°Ñ¦Ò¡@ht://Dig at \onlynameurl{http://htdig.sdsu.edu/}¡C
\item ³]©wlocal reflector¨Ó¨Ï¥ÎCUSeeMe¡C°Ñ¦Ò¥L­Ìªººô­¶\onlynameurl{http://cu-seeme.cornell.edu/}¡C
\item ³]©wºô¸ô·|Ä³«Ç¡C¨Ï¥Î\onlynameurl{http://thecity.sfsu.edu/COW/}ªºCOW¡C
\item ¶}³]¤@­ÓSQL¸ê®Æ®w¡C°Ñ¦ÒSQLºô­¶\onlynameurl{http://Hughes.com.au/}¡C
\item ¦bNetware¦øªA¾¹¤W³]©wFTP¡BGopher¡BFinger¡BBootp¦øªA¾¹¡C°Ñ¦Ò\onlynameurl{http://mft.ucs.ed.ac.uk/}¡C
\item ¼ÒÀÀNetware¦øªA¾¹¡C°Ñ¦Ò\onlynameurl{ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/}¤¤ªºNCP¤u¨ã¡C
\end{itemize}

¦pªG§AÁÙª¾¹D¨ä¥L¥i¥H¦bLinux°Ï°ìºô¸ô¦øªA¾¹¤Wª±ªºªFªF¡A½ÐE-Mailµ¹§Ú¡C




\section{°^Äm¤Îª©Åv¡£Credits and Legalities¡¤}






\subsection{·PÁÂ¡£Thanks¡¤}

ÁÂÁÂNCSA¤H­û´£¨Ñªº¨ô¶V¤å¥ó¡C·PÁÂDavid Anderson¤Î¨ä¥L¸Õ¥Î¹L¥»¤å¥ó¨Ã¨Ó«Hªº¤@¨Ç¤H¡CÁÂÁÂ
Romel Flores´£¨Ñ¦³ÃöNetware/IPªº²Ó¸`¡C






\subsection{µÛ§@Åv¸ê°T¡£Copyright information¡¤}

¥»¤å¥ó¨ã¦³ª©Åv\copyright{}1999$\{$Poet$\}$ and Linux Ports¡A¥u¯à¦b¤U¦C±ø¥ó¤Uµo¦æ¡G

\begin{itemize}
\item Linux HOWTO¤å¥ó¥i¥H³¡¥÷©Î§¹¾ã½Æ»s¡B´²§G¡B¥i¥H§Q¥Î¦UºØ´CÅé¡£¹êª«©Î¹q¤l¤è¦¡¡¤¡A¦ý¥²¶·
«OÃÒ­ìª©Åv¤´«O¯d¦b©Ò¦³¤å¥ó¤W¡C¨ã°Ó·~¥Øªºªºµo¦æ¬O¤¹³\ªº¡A¤]¬O³Q¹ªÀyªº¡A¦ý¦bµo¦æ«eÀ³¥ý³qª¾­ì§@ªÌ¡C
\item ¤£½×¬Oª½±µÂ½Ä¶¡B¶¡±µ°Ñ¥Î©Î¬O¶°¤å¦¨¥U¡A¥u­n¬O¥Î¨ìLinux HOWTO¤å¥ó¡A¥»µÛ§@ÅvÁn©ú¤@«ß¦³®Ä
¡C¤]´N¬O»¡¡A¤@¥¹§A°Ñ¥Î¤FHOWTOªº¤º®e¡A´N¤£¯à¹ï§Aªº²£«~ªþ¥[¥ô¦óµo¦æªºÅv­­¡C¦b¬Y¨Ç¯S®í±ø¥ó¤§¤U¡A
­Y¬O§A·Q¨ú±o¬Y¨Ç¤£¹H¤Ï¤W­z³W©wªºÅv§Q¡A½Ð¸g¥Ñ¤U­z¦a§}»PLinux HOWTO¾ã¦XªÌ³sµ¸¡C
\item ¦pªG¦³¥ô¦óºÃ°Ý¡A½Ð»PLinux¾ã¦XªÌTim Bynum³sµ¸¡A¦a§}¬°
\onlynameurl{linux-howto@sunsite.unc.edu}¡C
¥i¥Îfinger¬d¸ß¹q¸Ü¸¹½X¡A¥Îsnail¬dE-Mail¦a§}¡C
\end{itemize}


­ìµÛ§@¤º®e(Origional Copyright Information)¡G
This document is copyrighted \copyright{} 1999 $\{$Poet$\}$ and LinuxPorts, it is 
distributed under the following terms:

\begin{itemize}
\item Linux HOWTO documents may be reproduced and distributed in whole or 
in part, in any medium physical or electronic, as long as this copyright 
notice is retained on all copies. Commercial redistribution is allowed and 
encouraged; however, the author
would like to be notified of any such distributions.
\item  All translations, derivative works, or aggregate works incorporating 
any Linux HOWTO documents must be covered under this copyright notice.  That 
is, you may not produce a derivative work from a HOWTO and impose additional 
restrictions on its¡@distribution. Exceptions to these rules may be granted 
under certain conditions; please contact the Linux HOWTO coordinator at the 
address given below.
\item  If you have questions, please contact Tim Bynum, the Linux HOWTO 
coordinator, at 
\onlynameurl{linux-howto@sunsite.unc.edu}  
Finger for phone number and snail mail address.
\end{itemize}











\section{¶i¤@¨B¾\Åª}






\subsection{O'Reilly \& Associates Books}

­Ó¤H¤p¤pªº«ØÄ³ O'Reilly \&®Ñ§½µo¦æªº§Þ³N®Ñ¥Ø¿W¨B¥þ²y¡C¥L­Ì¥D­n¥X«~¦³Ãöºô»Úºô¸ô¡B
Unix¤Îµ{¦¡¼¶¼gªº®Ñ¥Ø¡C¨ä¤¤©¹©¹¦³³\¦h¨Ò¤l¡AÅª§¹¤§«á´NÄYµMÅÜ¦¨¤F­Ó±M®a¡C¥u­nÅª§¹¥L­Ì®Ñ¥Øªº¤@¥b¡A
¤£½×¹J¨ì¤°»ò°ÝÃD¤]³£¤£¦A©È©È¤F¡C¦Ó¥B¡A®Ñ¤¤ªº¯º®Æ¤]¤ñ¸û¦h¡C

¦³¦Wªº®ÑÅn¬AHTML¡BPERL¡BCGIµ{¦¡¡BJava¡BJavascript¡BC/C++¡BSendmail¡BLinuxµ¥µ¥¡A
¼Æ¤§¤£ºÉ¡C¹ï©óÅÜ¤Æ¸û§Öªº¶µ¥Ø¡£¦pHTML¡¤´X¥G¨C¥b¦~´N¼W­q¤@¦¸¡C­nª¾¹D³Ì·s°ÊºA½Ð°Ñ¦Ò¥L­Ìªººô¯¸
\nameurl{http://www.ora.com/}{O'Reilly \& Associates}
¡A©Î¨ì³Ìªñªº®Ñ§½¬d¸ß¡C

°O±o¡A¦pªG®Ñ¥Ö¤W¨S¦³O'Reilly \& Associates¡A¨º´Nµ´¹ï¤£¬O¥L­Ì¥X«~ªº®ÑÄy¡C




\subsection{Internet Request For Comments (RFC)}

\begin{itemize}
\item RFC1866 written by T. Berners-Lee and D. Connolly, 
"Hypertext Markup Language - 2.0", 11/03/1995
\item RFC1867 writtenm by E. Nebel and L. Masinter, 
"Form-based File Upload in HTML", 11/07/1995
\item RFC1942 written by D. Raggett, 
"HTML Tables", 05/15/1996
\item RFC1945 by T. Berners-Lee, R. Fielding, H. Nielsen, 
"Hypertext Transfer Protocol -- HTTP/1.0", 05/17/1996. 
\item RFC1630 by T. Berners-Lee, 
"Universal Resource Identifiers in WWW: A Unifying Syntax for the 
Expression of Names and Addresses of Objects on the Network as used 
in the World-Wide Web", 06/09/1994
\item RFC1959 by T. Howes, M. Smith, "An LDAP URL Format", 06/19/1996 
\end{itemize}




\end{document}
