\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 Intranet ËÅ·þÆ÷ HOWTO (ÄÚ²¿ÍøÂ·ËÅ·þÆ÷HOWTO)}
\author{×÷Õß:
Pramod Karnad, {\ttfamily \onlynameurl{karnad@indiamail.com}}\\ 
ÒëÕß:
Ð»À¥ÖÐ HSIEH Kun-Chung, Ì¨Íå ÖÐ»ªÃñ¹ú Taiwan, Republic of China (NOT People's Republic of China)
{\ttfamily (\onlynameurl{linuxer.bbs@cis.nctu.edu.tw})}}
\date{1997Äê8ÔÂ7ÈÕ, v2.11°æ·­ÒëÍê³ÉÈÕÆÚ: ÖÐ»ªÃñ¹ú 87Äê 10ÔÂ 10ÈÕ¹úÇìÈÕ}
\abstract{±¾ÎÄ¼þÖ¼ÔÚËµÃ÷ÈçºÎÊ¹ÓÃ  Linux  À´ÉèÁ¢Ò»ÄÚ²¿ÍøÂ·ËÅ·þÆ÷À´Óë   Unix¡¢Netware¡¢NT ÒÔ¼° Windows Á¬½ÓÔÚÒ»Æð¡£Òò´Ë£¬Ö»ÒªÓë Linux ÏµÍ³Á¬½ÓÉÏ£¬  Äã»¹ÄÜÌá¹©ºÍËùÓÐÆäËûÆ½Ì¨Í¸Ã÷µÄ´æÈ¡¡£  ²¢Ìá¹©ÁËÏêÏ¸½âËµÈçºÎÊ¹ÓÃNCSA ËÅ·þÆ÷À´Éè¶¨ HTTP£¬ ÒÔ¼°ÈÃ Novell¡¢ Microsoft µÄ Windows3.1¡¢WFWG¡¢ Win95 ¼° WinNT Ê¹ÓÃ TCP/IP ¿Í»§¶Ë³ÌÊ½À´Á¬½ÓÉÏ£¬ ÔÚ Apple µÄPowerMac ÉÏÊ¹ÓÃ MacTCP À´Á¬½Ó¡£}


\begin{document}
\maketitle
\tableofcontents

\section{¼ò½é\label{Intro}}

¼òµ¥µØËµ£¬{\bfseries  ÄÚ²¿ÍøÂ· } ×î¸öÃèÊöÐÔ´Ç»ãÓÃÀ´ÔÚ¹«Ë¾×éÖ¯ÄÚ¼ÜÉèÍø
¼ÊÍøÂ·£¬¶ø²»ÊÇÎªÁËÓëÈ«ÇòÍø¼ÊÍøÂ·µÄÍâ²¿Á¬½Ó¡£Õâ¸öÊµ¼Ê²Ù×÷ÔÚÒÔ×îÐ¡µÄ
³É±¾¡¢Ê±¼äºÍÀÍÁ¦»¨·ÑÏÂÀ´ÊµÏÖÈÃÒ»¸ö×éÖ¯½«É¢²¼ÔÚÍâµÄ×ÊÑ¶×ÊÔ´ÓÃÒ»¸ö×îÍ¸Ã÷µÄ·½Ê½À´´«ËÍ
¸øÃ¿Ò»¸ö¸öÌåÔ±¹¤¡£±¾ÎÄ¼þÒÑ¾¡¿ÉÄÜµØÊ¹ÓÃ¼ò
µ¥µÄ´Ê»ãÀ´½âËµÈçºÎÊ¹ÓÃÄÇÐ©»¨·Ñ²»¶à»ò¸ù±¾¾ÍÃâ·ÑµÄÒÑÓÐµÄ¹¤¾ßÀ´ÉèÁ¢ÄÚ
²¿ÍøÂ·µÄ·½·¨¡£

±¾ÎÄ¼þµÄÐ´·¨ÊÇÔÚ¼ÙÉèÄãÒÑ¾­¶®µÃÈçºÎ°²×°  TCP/IP µ½ÄãµÄ Linux ËÅ·þÆ÷
ÉÏ²¢Ê¹ÓÃÒÒÌ«ÍøÂ·¿¨½«ËüÁ¬½ÓÉÏÄãµÄÇøÓòÍøÂ·¡£²¢ÇÒ»¹¼ÙÉèÄãÒÑ¾­ÓÐ
Netware¡¢WinNT ÒÔ¼° Mac ÏµÍ³µÄ»ù±¾µÄÖªÊ¶¡£Netware ËÅ·þÆ÷µÄ½¨¹¹¼ºÔÚ
»ù±¾µÄ 3.1x °æ±¾ÉÏÖ¸³öÁË¡£ÄãÒ²¿ÉÒÔÊ¹ÓÃ INETCFG to achieve ÏàÍ¬µÄ½á
¹û¡£  ÔÚ¿Í»§¶ËÎÒÃÇ½«¸÷±ðÌÖÂÛÊ¹ÓÃ   Windows   3.1x¡¢  Windows   for
Workgroups ¼° Win95¡¢WinNT ÒÔ¼°Æ»¹ûµçÄÔµÄ Apple PowerMac¡£

ÎÒÔÚ´ËÊ¹ÓÃË½ÈËÍøÂ·Î»Ö· (RFC-1918) µÄ 172.16.0.0 ¼° 172.17.0.0 Ö»ÊÇ
ÓÃÀ´×öÀý×Ó¡£    Äã¿ÉÒÔÊ¹ÓÃÕë¶ÔÄúµÄ½¨¹¹µÄÊÊµ±Î»Ö·¡£
\begin{quotation}
\begin{verbatim}

       Linux       Netware      WFWG/WinNT
       ËÅ·þÆ÷      ËÅ·þÆ÷       ËÅ·þÆ÷
      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{ÐèÒªÊ²÷á}

ÔÚÄú¡õÊÔ°²×°Ö®Ç°ÐèÒªÓÐÒÔÏÂµÄÈíÌå¡£
\begin{itemize}
\item HTTP ËÅ·þÆ÷ÈíÌå£¬¿É´Ó OneStep NCSA HTTPd Downloader \onlynameurl{http://hoohoo.ncsa.uiuc.edu/docs/setup/OneStep.html} ÍøÒ³ÖÐÏÂÔØ¡£
\item  Novell Netware Client ¿ÉÓÉ
\onlynameurl{HTTP://support.novell.com/} ÏÂÔØ(TCP/IP µµ°¸ÒÑ°üº¬ÔÚ¿Í»§¶Ë)¡£
\item Microsoft TCP/IP client ¿ÉÓÉ
\onlynameurl{HTTP://www.microsoft.com/} ÏÂÔØ
\item Apple MacTCP client ¿ÉÓÉ
\onlynameurl{HTTP://www.apple.com/} ÏÂÔØ
\item WWW ä¯ÀÀÆ÷£¬ÏñNetscape ¿ÉÓÉ \onlynameurl{HTTP://home.netscape.com/}
ÏÂÔØ£¬Î¢ÈíµÄ IE ¿ÉÓÉ \onlynameurl{HTTP://www.microsoft.com/} ÏÂÔØ
¡¢ NCSA Mosaic ÓÉ  \onlynameurl{http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/NCSAMosaicHome.html} ÏÂÔØ
\end{itemize}





\subsection{±¾ÎÄ¼þµÄ×îÐÂ°æ±¾}

×îÐÂµÄ     Linux     ÄÚ²¿ÍøÂ·ËÅ·þÆ÷      HOWTO      »á¶¨ÆÚµØ²¼¸æÔÚ
comp.os.linux.announce ÒÔ¼° comp.os.linux.help ÉÏ¡£ Ò²»á±»ÉÏ´«µ½Ðí
¶àµÄ Linux FTP ËÅ·þÆ÷ÉÏ£¬Õâ°üº¬ sunsite.unc.edu¡£



±¾ÎÄ¼þµÄ×îÐÂ HTML ¸ñÊ½µÄ°æ±¾¿ÉÔÚ \onlynameurl{http://www.inet.co.th/cyberclub/karnadp/http.html} ÉÏÕÒµ½¡£




\subsection{»ØÓ¦}

Èç¹ûÄúÓÐÕë¶Ô±¾ÎÄ¼þµÄÈÎºÎÎÊÌâÓë½¨Òé£¬ Çë²»Òª¿ÍÆø£¬¼Ä·âÐÅÀ´¸ø Pramod
Karnad£¬  email   \onlynameurl{karnad@indiamail.com}¡£ºÜ»¶Ó­ÄúµÄ½¨Òé¡¢ÆÀÂÛ»òÀ´ÐÅ¡£Èç¹ûÄúÔÚ
±¾ÎÄ¼þÖÐÕÒµ½´íÎóµÄµØ·½£¬ÈÃÎÒÄÜÔÚÏÂ¸ö°æ±¾ÉÏ°ÑËü¸üÕý¡£Ð»Ð» !




\section{°²×° HTTP ËÅ·þÆ÷}

µ±ÄãÏÂÔØËÅ·þÆ÷ÈíÌåÊ±£¬ÄãÓÐÁ½¸öÑ¡Ôñ: È¡ÓÃÔ­Ê¼³ÌÊ½µµÔÙ×Ô¼ºÀ´±àÒëËü£¬
»òÊÇÈ¡ÓÃÒÑ¾­±àÒëºÃµÄ¶þ½øÎ»Ö´ÐÐµµ¡£ ÒÑ±àÒëºÃµÄ¸ø  Linux (ELF °æ±¾ )
ÓÃµÄ¶þ½øÎ»µµ¿ÉÒÔÔÚ NCSA ÉÏÈ¡µÃ£¬ËüÃÇ¶¼·Ç¾ÉµÄ°æ±¾Å¶!




\subsection{ÏÂÔØÇ°µÄ×¼±¸¹¤×÷}

ÔÚ NCSA µÄËÅ·þÆ÷»áµ¼ÒýÄã×ö½¨¹¹Ñ¡ÏîµÄ²½Öè²¢ÎªÄãÁÏÀíÐí¶àµµ°¸¡£µ«ÔÚÄú
¡õÊÔÒªÏÂÔØ HTTPd Ç°ÇëÏÈ»Ø´ðÏÂÁÐÎÊÌâ




\subsubsection{×÷ÒµÏµÍ³}

Ê×ÏÈ£¬Äã±ØÐëÑ¡ÔñÊÇÒªÏÂÔØÔ­Ê¼³ÌÊ½µµ°¸ÄØ? »¹ÊÇÒÑ±àÒëºÃµÄÈíÌå¡£Èç¹ûÄã
µÄÏµÍ³²¢Ã»³öÏÖÔÚÑ¡µ¥ÉÏ£¬ÄÇ÷áÄú¾Í±ØÐëÈ¡»ØÄÚ¶¨µÄÔ­Ê¼µµ°¸£¬ÔÙ×Ô¼º±àÒë
Ëü¡£



Òª¼ì²éÄãµÄ Linux µÄ°æ±¾£¬Çë»Øµ½ÄãµÄ Linux ÃüÁîÁÐÉÏ´òÈë

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

Ëü»á»ØÓ¦ÏñÏÂÃæµÄÄÚÈÝ
\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}


ÊÇ Linux is 2.0.29 °æ±¾¡£

ÆäËûµÄ²ÎÊý¿ÉÒÔÔÚÏÂÔØÇ°À´Ö¸¶¨£¬»òÊÇÒÔÐÞ¸ÄÔÚ {\ttfamily /usr/local/etc/httpd/conf}
Ä¿Â¼ÄÚµÄ {\ttfamily srm.conf}  µµ°¸À´½¨¹¹¡£  ÔÚ{\ttfamily httpd.conf}µµ°¸ÄÚËù
ÔØÃ÷µÄÊµ¼ÊÄ¿Â¼»áÏÔÊ¾ÔÚ¡õÍ·¡£Î¨Ò»µÄÀýÍâÊÇ{\ttfamily srm.conf}µµ°¸ÄÚµÄÖ±½ÓµÄDocumentRoot¡£




\subsubsection{´¦ÀíÀàÐÍ (ËÅ·þÆ÷ÀàÐÍ)}

ÕâÏîÊÇÀ´Ö¸¶¨ÄãµÄ»úÆ÷»áÔõ÷áµØÖ´ÐÐÄãµÄ  HTTPd  ËÅ·þÆ÷¡£ ×îºÃµÄ·½·¨ÊÇ
{\tt\char`\"}standalone{\tt\char`\"}¡£ÕâÑù¿ÉÈÃ HTTP ¾«ÁéÒ»Ö±µØÖ´ÐÐ¡£Èç¹ûÄúÑ¡ÔñÔØ
Èë HTTPd ÔÚ {\tt\char`\"}inetd{\tt\char`\"} ÄÚ£¬ËÅ·þÆ÷µÄ¶þ½øÎ»Âë»áÔÚÃ¿Ò»´ÎµÄÐèÇó
Ê±±»ÖØÔØÈë¼ÇÒäÌåÄÚ£¬ÕâÑù¿ÉÄÜ»á¼õÂýÄãµÄËÅ·þÆ÷¡£




\subsubsection{Á¬½Ó²º (²º)}

ÕâÏîÖ¸¶¨ÄúµÄ»úÆ÷µÄÄÄÒ»¸ö²º»á±»  HTTPd  ¾«ÁéÊ¹ÓÃÀ´  bind  to ¼°ñöÌý
HTTP ÇëÇó¡£Èç¹ûÄã¿ÉÒÔÇ©×÷³É {\tt\char`\"}root{\tt\char`\"}£¬ÇëÊ¹ÓÃÄÚ¶¨Öµ 80¡£ »ò
ÕßÇëÔÚ 1025 µ½ 65535 Ö®¼äÌôÑ¡Ò»¸ö¡£




\subsubsection{ËÅ·þÆ÷Ê¹ÓÃÕßÊ¶±ð (Ê¹ÓÃÕß)}

ÕâÊÇËÅ·þÆ÷ÔÚ´ð¸²ÒªÇóÊ±¸Ä±ä³ÉÎªµÄ¼°Êµ¼Ê×÷ÓÃµÄµµ°¸Ê±ËùÐèµÄÊ¹ÓÃÕßÊ¶±ð¡£
Ö»ÓÐÄã½«ËÅ·þÆ÷µ± {\tt\char`\"}¶ÀÁ¢µ¥»ú{\tt\char`\"}Ê±²ÅÐèÒª»Ø´ðÕâ¸öÎÊÌâ¡£Èç¹ûÄã
Ã»ÓÐ root µÄÊÚÈ¨£¬Ö»ÐèÊ¹ÓÃÄãµÄÇ¨ÈëÃû³Æ¼´¿É¡£Èç¹ûÄãÊÇÏµÍ³¹ÜÀíÔ±£¬
Äã¿ÉÄÜ»áÏë½¨Á¢Ò»¸öÌØ±ðµÄÊ¹ÓÃÕßÀ´ÈÃÄã¿ØÖÆµµ°¸ÏµÍ³µÄÊÚÈ¨¡£




\subsubsection{ËÅ·þÆ÷Èº×éÊ¶±ð (Èº×é)}

ÕâÊÇÈº×éÊ¶±ðÃû³Æ£¬ËÅ·þÆ÷»áÔÚ»ØÓ¦ÐèÇó¼°ÔÚÕâÐ©µµ°¸¶¯¼þÊ±¸Ä±ä³ÉËüÃÇ¡£
ËüºÍËÅ·þÆ÷Ê¹ÓÃÕßÊ¶±ðÃû³ÆÓÐµãÏàÍ¬£¬¶øÇÒÖ»ÓÐÔÚÄã¶À×ÔÖ´ÐÐËÅ·þÆ÷Ê±²Å¿É
ÒÔÊ¹ÓÃ¡£



Èç¹ûÄãÃ»ÓÐ root µÄÈ¨ÏÞ£¬ ÇëÊ¹ÓÃÄãµÄÖ÷ÒªÈº×éµÄÃûÒå¡£ Äã¿ÉÒÔÔÚ Linux
µÄÃüÁîÁÐÖÐ´òÈë {\bfseries groups} µÃÖªÄúµÄÈº×éÃû³Æ¡£




\subsubsection{ËÅ·þÆ÷¹ÜÀíÔ±µç×ÓÓÊ¼þµØÖ· (ËÅ·þÆ÷  Admin)}

ÕâÊÇµ±Ê¹ÓÃÕßÒª±¨¸æÔÚËÅ·þÆ÷ÉÏÓÐÄÄÐ©ÎÊÌâÊ±Òª¼Äµç×ÓÓÊ¼þ×ö±¨¸æµÄµØÖ·¡£
Äã¿ÉÒÔÌîÉÏÄãµÄ¸öÈËµÄ e-mailµØÖ·¡£




\subsubsection{ËÅ·þÆ÷Ä¿Â¼µÄÎ»ÖÃ (ËÅ·þÆ÷Root)}

ÕâÊÇÖ¸ËÅ·þÆ÷Î»ì¶ÄãµÄÏµÍ³µÄÄÄ¸öµØ·½¡£Èç¹ûÄãÓÐ root µÄÈ¨ÏÞ£¬ÇëÈÃËü¾Í
ÒÀÕÕËüËù½¨ÒéµÄµØµã {\ttfamily /usr/local/etc/httpd} ÄÚ¡£ Èç¹ûÄãÎÞ·¨ÒÔ
root µÄÉí·ÝÇ©Èë£¬ÇëÔÚÄãµÄ home Ä¿Â¼ÄÚÑ¡ÔñÒ»¸ö´ÎÄ¿Â¼¡£Äã¿ÉÒÔÊ¹ÓÃind
out the path of your home directory with the {\bfseries pwd} command.




\subsubsection{HTML µµ°¸µÄÎ»ÖÃ (DocumentRoot)}

Õâ¶ùÊÇ±»ËÅ·þÊ¹ÓÃµÄ     HTML     µµ°¸±»·ÅÖÃµÄµØµã¡£    ÄÚ¶¨µÄÎ»ÖÃÊÇ
{\ttfamily /usr/local/etc/httpd/htdocs}¡£È»¶øÄã¿ÉÒÔ°ÑËüÉè¶¨³ÉÄãÔÚËÅ·þ
Æ÷Ê¹ÓÃÕßÊ¶±ðÃû³ÆÄÚµÄÌØ±ðµÄÊ¹ÓÃÕßµÄ home Ä¿Â¼£¬»òÊÇÄãµÄ home Ä¿Â¼ÄÚ
µÄÒ»¸ö×ÓÄ¿Â¼ (¼ÙÈçÄãÎÞ·¨Ç¨Èë³ÉÎª root µÄ»°£©¡£



Èç¹û²»ÏþµÃ£¬ÇëÊ¹ÓÃÄÚ¶¨Öµ¡£ÏÖÔÚÄãÒÑ¾­ÓÐÉÏÃæÎÊÌâµÄ´ð°¸ÁË£¬Äã¾Í¿ÉÒÔ
´Ó \onlynameurl{http: //hoohoo.ncsa.uiuc.edu/docs/setup/OneStep.html} ÏÂÔØ NCSA HTTPd¡£
ÔÚ°²×°Ç°ÄãÓ¦¸ÃÔÄ¶Á·ÅÔÚ \onlynameurl{http: //hoohoo.ncsa.uiuc.edu/docs/}
ÄÚµÄ HTTPd ÎÄ¼þ¡£Èç¹ûÄã¼Æ»­±àÒëÖ´ÐÐÂë£¬ÄÇÄãÐèÒªÐÞ¸ÄÔÚ{\ttfamily support,  src, cgi-src}
Èý¸öÄ¿Â¼ÄÚµÄÃ¿Ò»¸ö makefiles µµ¡£Èç¹ûÄãµÄ Linux °æ±¾ÒÑ¾­Ö§Ô®ÁË£¬ÄÇ÷áÄãÖ»Ðè
ÔÚ×îÉÏ¶ËµÄÄ¿Â¼ÉÏÖ´ÐÐ{\bfseries make  linux}¡£(Èç {\ttfamily /usr/local/etc/httpd})




\subsection{±àÒë HTTPd}

ÕâºÜ¼òµ¥£¬  Ö»ÒªÔÚËÅ·þÆ÷µÄ   root  Ä¿Â¼ÄÚµÄÃüÁîÁÐÉÏ¼üÈë   {\ttfamily make
linux} ¼´¿É¡£  {\bfseries  ×¢: } ÔÚ±àÒëÇ°£¬pre-ELF Linux µÄÊ¹ÓÃÕß
(Ã»ÓÐ  ELF  ¹¦ÄÜµÄ  Linux)  Ðë½«  {\ttfamily portability.h}  µµ°¸ÄÚµÄ
{\ttfamily \#define         NO\_PASS}          ÁÐµÄ×¢½â·ûºÅÄÃµô²¢ÇÒÉè¶¨
{\ttfamily Makefile} ÄÚµÄ {\ttfamily DBM\_LIBS= -ldbm}¡£




\section{²âÊÔ HTTPd}

ÔÚÄã°²×°Íê HTTPd áá£¬ÒÔ root Ç¨Èë£¬²¢´òÈë {\bfseries httpd \& } ¼´
¿ÉÖ´ÐÐËü¡£   (¼ÙÉèÄãÔÚ¶ÀÁ¢µÄÏµÍ³ÉÏ°²×°ºÃÁË    )   ÏÖÔÚÄãÓ¦¸Ã¿ÉÒÔÔÚ
{\bfseries ps} µÄÁÐ±íÉÏ¿´µ½Ëü¡£×î¼òµ¥µÄ²âÊÔ HTTPd µÄ·½·¨ÊÇÊ¹ÓÃ Telnet
¡£ÔÚ Linux ÃüÁîÁÐ¡õ¼üÈë

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

ÔÚÕâ¡õ 80 ÊÇ HTTP µÄÄÚ¶¨²º¡£Èç¹ûÄã½« {\tt\char`\"}Port{\tt\char`\"} Éè¶¨³ÉÆä²»Í¬
µÄ²ººÅ£¬ÄÇ¾Í»»ÉÏËü°É¡£ÄãÓ¦¸Ã»áµÃµ½Ò»¸öÏñÏÂÃæµÄ»ØÓ¦
\begin{tscreen}
\begin{verbatim}
Trying 172.16.0.1...
   Connected to linux.mydomain.
   Escape character is '^]'.
\end{verbatim}
\end{tscreen}

ÏÖÔÚ£¬ Èç¹ûÄã¼üÈëÈÎºÎ×ÖÔª²¢°´  Enter ¼ü£¬ ÄãÓ¦¸Ã»áµÃµ½ÏñÏÂÃæµÄ»ØÓ¦
\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}


ÏÖÔÚÎÒÃÇÒÑ×¼±¸ºÃÊ¹ÓÃÁíÒ»Ì¨µçÄÔ¼°ÍøÒ³ä¯ÀÀÆ÷À´ÓëÕâÌ¨ËÅ·þÆ÷ÏàÁ¬½ÓÁË¡£




\section{Á¬ÉÏ Linux ËÅ·þÆ÷}

Çë²Î¿¼ÔÚ  \ref{Intro} {(Introduction)} ÕÂ½Ú¡õµÄÍ¼Ê¾£¬ÄÇ¡õÓÐ±»Ê¹ÓÃµÄ¶¨Ö··½°¸¡£ Workstation 1
(W/S1) ÔÚÍøÂ·  172.16.0.0 ÉÏ²¢ÇÒ¿ÉÒÔÖ±½Ó´æÈ¡µ½ Linux ËÅ·þÆ÷¡£¶ø Workstation 2 (W/S2) ÔÚÍøÂ· 172.17.0.0 ÉÏ
ÇÒÐèÒªÊ¹ÓÃÍ¨Ñ¶Õ¢(Â·ÓÉÆ÷) 172.17.0.254 À´´æÈ¡ Linux »úÆ÷¡£Õâ¸öÍ¨Ñ¶Õ¢×ÊÑ¶Ö»ÓÐÔÚ½¨¹¹ W/S2 Õâ¸ö¿Í»§¶ËÊ±
²ÅÐèÒª¡£Netware »á°ÑÍ¨Ñ¶Õ¢µ±³É'ip\_router'¡£



ÎÒÊ¹ÓÃ W/S2 À´ÃèÊö¿Í»§¶ËµÄÉè¶¨¡£ ÒªÉè¶¨ W/S1 Ö»Ðè½«Î»Ö· 172.17.0.5 ¸Ä±äÎª 172.16.0.5 ²¢ÇÒ
²»Òª¹ÜËùÓÐÓëÍ¨Ñ¶Õ¢£¯Â·ÓÉÆ÷µÄÁ¬½á¡£

Èç¹ûÄãÃ»ÓÐÂ·ÓÉÆ÷£¬ÏÖÔÚ¿ÉÒÔÌø¹ýÕâÕÂ½Ú
\begin{itemize}
\item \ref{SetupNW} {(Setup Netware Server)} Èç¹ûÄãÊ¹ÓÃ Netware ËÅ·þÆ÷¡£
\item \ref{MSClient} {(Setup MS Windows Client)} Èç¹ûÄãÊ¹ÓÃ Microsoft Client¡£
\end{itemize}





\subsection{Éè¶¨ Linux ËÅ·þÆ÷}

{\bfseries Èç¹ûÄãÃ»ÓÐrouterµÄ»°£¬¿ÉÒÔÌø¹ýÕâÒ»ÕÂ¡£}

Äã±ØÐë½¨¹¹ Linux  ËÅ·þÆ÷È¥°ìÊ¶Â·ÓÉÆ÷À´ÈÃ Workstation 2 Óë Web ËÅ·þÆ÷ÏàÁ¬½Ó¡£ÎªÁË
ÉèÁ¢ Linux ËÅ·þÆ÷Äã±ØÐëÇ©Èë³ÉÎª root¡£ÔÚËÅ·þÆ÷µÄÃüÁîÁÐÌáÊ¾ÏÂÖ´ÐÐ

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

ÒªÔÚÃ¿Ò»´ÎÄã¿ªÆôÕâÌ¨Linux ËÅ·þÆ÷Ê±Ê¹ÓÃÕâ¸öÍ¨Ñ¶Õ¢µÄ»°£¬Ö»ÒªÐÞ¸Ä {\ttfamily /etc/rc.d/rc.inet1} ½«
º¬ÓÐÍ¨Ñ¶Õ¢¶¨ÒåµÄÄÇÐÐ¸ü¸Ä³É {\ttfamily GATEWAY = "172.16.0.254"}¼´¿É¡£ÇëµÃÇ°ÃæÃ»ÓÐ×¢½â·ûºÅÅ¶ !

»òÕßÊÇ: Äã¿ÉÒÔÓÉÁíÒ»±ßµÄÂ·ÓÉÆ÷À´¸Ä±äÍøÂ·¡£ÀýÈç
\begin{tscreen}
\begin{verbatim}
   route add -net 172.17.0.0 gw 172.16.0.254
\end{verbatim}
\end{tscreen}

ÏëÃ¿Ò»´Î¿ª»úÊ±Ê¹ÓÃÕâÌõÍ¨µÀÇë½«Õâ¸öÃüÁî¼ÓÈëÄãµÄ {\ttfamily /etc/rc.d/rc.local} µµ°¸¡õ¡£






\subsection{½¨¶¨ Netware ËÅ·þÆ÷\label{SetupNW}}

ÎªÁËÄÜ¹»Éè¶¨ Netware ËÅ·þÆ÷£¬ ÄãÐèÒªÓÐ Supervisor ÔÊÐíÈ¨»òÖÁÉÙÒ²Òª
ÓÐ¿ØÖÆÌ¨ Console µÄ²Ù×÷È¨¡£ Èç¹ûÕâÐ©Äã¶¼Ã»ÓÐ£¬ÇëÎÊÄãÃÇµÄÍøÂ·¹ÜÀíÔ±
¿´¿´ÊÇ·ñÄÜ°ïÄã×öÉè¶¨¡£ ÔÚËÅ·þÆ÷ÉÏ´òÈëÒÔÏÂÃüÁî»òÊÇ½«ËüÃÇ°üº¬µ½ AUTOEXEC.ncf
µµ¡õ¼´¿É¿ªÆôÍøÂ·ÉÏµÄ Ethernet\_II µÄ frame ÀàÐÍ¡£

\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}


ÔÚÔØÈë NE2000  µÄÇý¶¯³ÌÊ½Ê±£¬ ÄãÒ²ÐíÐèÒªÒÀÕÕÄãµÄ»úÆ÷µÄ½¨¹¹À´Ö¸¶¨²å
²Û»ò°å×ÓµÄºÅÂë¡£ (ÀýÈç: load NE2000 slot=3 frame=.....)




\subsection{Éè¶¨ Netware ¿Í»§¶Ë\label{NWClient}}

ÔÚÒ»Ì¨µçÄÔÉÏ£¬ Äã¿ÉÒÔÑ¡ÔñÊ¹ÓÃ Win3.1¡¢WFWG »òÊÇ Win95¡£ Èç¹ûÄãÊ¹ÓÃ
Microsoft  »ò Novell  µÄ 32 Î»Ôª¿Í»§¶Ë³ÌÊ½£¬ ¶Ôì¶ÔÚ Win95 »òÔçÆÚµÄ
windows ÉÏµÄ°²×°²½Öè¾Í²»Í¬ÁË¡£Èç¹ûÄãÒªÊ¹ÓÃ 16 Î»ÔªµÄ¿Í»§¶Ë³ÌÊ½£¬ÄÇ
÷áÄÇÐ©²½Öè¾ÍÒ»ÑùÁË¡£ Äã¿ÉÒÔ²Î¿¼ Windows 3.x °²×°Ö¸Ê¾¡£¹Øì¶ÔÚ Win95
ÉÏÃæ°²×°  32 Î»Ôª¿Í»§¶Ë³ÌÊ½£¬ ÇëÌøµ½ \ref{NWWin95} {(  °² ×°Windows 95)}¡£




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

Èç¹ûÄãÊ¹ÓÃ Win3.1 »ò WFWG¡£Äã¾Í¿ÉÒÔ°²×° Netware Client (VLMs) ÒÔ¼°
ºÍ TCP/IP ´ÅÆ¬·ÅÔÚÒ»ÆðµÄÆäËûµµ°¸£¬ÈçÏÂ



TCPIP.exe¡¢VTCPIP.386¡¢WINSOCK.dll ºÍ WLIBSOCK.dll

¸½´øÒ»Ìá WINSOCK.dll  µµ°¸Óë Win95 ¼° Trumpet ÄÚËùÌá¹©µÄÄÇ¸öÊÇ²»Í¬
µÄ¡£  °²×°ÓÐÖ§Ô®  windows  µÄ  Netware  Client¡£  ½«  VTCPIP.386¡¢
WINSOCK.dll ¼° WLIBSOCK.dll ¿½±´µ½ SYSTEM Ä¿Â¼ÄÚ£¬TCPIP.exe ¿½±´µ½
NWCLIENT Ä¿Â¼ÄÚ¡£ÏÖÔÚÐÞ¸Ä·ÅÔÚ NWCLIENT ÄÚµÄ STARTNET.bat

\begin{tscreen}
\begin{verbatim}
   lsl
   ne2000     ---> ÄãµÄÍøÂ·¿¨Çý¶¯³ÌÊ½
   c:\windows\odihlp.exe     ---->Èç¹ûÄãÊ¹ÓÃ WFWG µÄ»°
   ipxodi
   tcpip        ---> Ôö¼ÓÕâÒ»ÐÐ
   nwip         ---> Èç¹ûÄãÊ¹ÓÃ Netware/IP µÄ»°
   vlm
\end{verbatim}
\end{tscreen}


½¨Á¢Ò»¸ö×ÓÄ¿Â¼ (Èç ) {\ttfamily $\backslash$NET$\backslash$TCP}£¬ ´ÓÄãµÄ Linux ËÅ
·þÆ÷µÄ {\ttfamily /etc} Ä¿Â¼»òÊÇÄãµÄ Netware ËÅ·þÆ÷µÄ {\ttfamily SYS: ETC}
ÄÚ¿½±´ HOSTS¡¢ NETWORKS¡¢PROTOCOLS ÒÔ¼° SERVICES ¡£ ¾­ÓÉÐÞ¸Ä¿½±´µÄ
HOSTS µµ°¸À´Ôö¼ÓÒ»ÐÐ¸øÄãµÄÐÂ Linux ËÅ·þÆ÷¡£ ÕâÑù¿ÉÒÔÊ¹ÄãÊ¹ÓÃÄãµÄÍø
Ò³ä¯ÀÀÆ÷¿´ÄãµÄ Linux ËÅ·þÆ÷Ê±ÓÉ {\ttfamily http://172.16.0.1/} ¸ÄÎª
{\ttfamily http://linux.mydomain/}¡£

\begin{tscreen}
\begin{verbatim}
   127.0.0.1      localhost
   172.16.0.1      linux.mydomain
\end{verbatim}
\end{tscreen}


ÐÞ¸ÄÔÚ NWCLIENT Ä¿Â¼ÄÚµÄ NET.cfg µµ°¸
\begin{tscreen}
\begin{verbatim}
   Link Driver NE2000
       port 300
       int 3
       MEM D0000
       FRAME Ethernet_802.2

; ---- Ôö¼ÓÕâ¼¸ÐÐ ----

      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     ---> Èç¹ûÄã±ØÐëÊ¹ÓÃÄãµÄÍ¨Ñ¶Õ¢²ÅÄÜÁ¬½Óµ½ÄãµÄHTTP ËÅ·þÆ÷²ÅÐè¼ÓÉÏÕâÐÐ

   Link Support
      MemPool 6192       ---> ×îÐ¡ÖµÊÇ 1024¡£¿ÉÊÔ¿´¿´²»Í¬µÄÖµ
      Buffers 10 1580    ---> ÕâÒ²¿ÉÒÔ×Ô¼ºµ÷Õû

;---------------------------------
; Èç¹ûÄãÊ¹ÓÃ Netware/IP £¬¿ÉÒÔ¼ÓÈëÕâ¼¸ÐÐ
;
   NWIP
      NWIP_DOMAIN_NAME  mydomain
      NSQ_BROADCAST   ON
      NWIP1_1 COMPATIBILITY   OFF
      AUTORETRIES     1
      AUTORETRY SECS  10

\end{verbatim}
\end{tscreen}

±àÐÞ WINDOWS Ä¿Â¼ÄÚµÄ SYSTEM.ini µµ°¸²¢Îª VTCPIP.386¼ÓÉÏÕâÒ»ÐÐ¡£

\begin{tscreen}
\begin{verbatim}
   [386Enh]
   .....
   network=*vnetbios, vipx.386, vnetware.386, VTCPIP.386
   .....
\end{verbatim}
\end{tscreen}


ÖØÐÂ¿ª»ú£¬Ö´ÐÐ STARTNET.bat¡£ ÏÖÔÚÄã¿ÉÒÔÊ¹ÓÃÄã×îÏ²»¶µÄÍøÒ³ä¯ÀÀÆ÷À´
´æÈ¡ÄãµÄÍøÒ³ÁË¡£  Èç¹ûÄãÊ¹ÓÃ  Trumpet  Winsock  µÄ»°£¬  Äã²»ÐèÇ©Èë
Netware ¡õÃæÒÔ¼°Ö´ÐÐ TCPMAN¡£




\subsubsection{Windows 95\label{NWWin95}}

±¾ÕÂ½Ú½âÊÍÈçºÎÔÚ Win95 ÉÏ°²×° 32 Î»ÔªµÄ¿Í»§¶Ë³ÌÊ½¡£ Ê×ÏÈÄã±ØÐë°²×°
ÏÂÁÐµÄÈíÌå

\begin{tscreen}
\begin{verbatim}
   Client for Netware Networks (À´×Ô Microsoft »ò Novell¶¼¿ÉÒÔ)
   Microsoft TCP/IP Protocol
   Network Adapter
\end{verbatim}
\end{tscreen}


Òª°²×°ÕâÐ©ÏîÄ¿£¬°´ÎÒµÄµçÄÔ¡ú¿ØÖÆÌ¨¡úÍøÂ·£¬°´ÐÂÔö¡£ÏÖÔÚÄãÓ¦¸ÃÊÇÔÚ
Ò»¸öÏÔÊ¾¿Í»§¶Ë¡¢½éÃæ¿¨¡¢Ð­¶¨¼°·þÎñµÄÊÓ´°¡õ¡£
°²×° the Client for Netware Networks:
\begin{tscreen}
\begin{verbatim}
  1. ÔÚ¿Í»§¶Ë°´(»¬Êó)Á½ÏÂ
  2. ÔÚ Microsoft »ò Novell ÉÏ°´Ò»ÏÂ
  3. ÔÚ Client for Netware Networks °´Á½ÏÂ
\end{verbatim}
\end{tscreen}


°²×° TCP/IP Ð­¶¨:
\begin{tscreen}
\begin{verbatim}
  1. ÔÚÐ­¶¨ÉÏ°´Á½ÏÂ
  2. °´ Microsoft Ò»ÏÂ
  3. °´ TCP/IP Á½ÏÂ
\end{verbatim}
\end{tscreen}


Windows 95 ±¾Éí»á×Ô¶¯°²×°¼¸¸ö²»Í¬µÄÐ­¶¨¡£Ö¸ÏòËûÃÇ²¢°´ÒÆ³ýÅ¥½«ËûÃÇÒÆ³ý¡£Ò»°ãÀ´Ëµ
Win95 »á°²×° Microsoft NetBeui Ð­¶¨ÒÔ¼°IPX/SPX ÏàÈÝÐ­¶¨¡£Äã¿ÉÒÔÉ¾³ý NetBEUI Ð­¶¨£¬
µ«Èç¹ûÄãÏëÇ©Èëµ½ Netware ËÅ·þÆ÷£¬ÄÇÄã»áÐèÒª IPX/SPX Ð­¶¨¡£

°´ TCP/IP Ò»ÏÂÉè¶¨Ëü£¬ °´ÄÚÈÝ£¬°´ IP Î»Ö·Ò»À¸
\begin{tscreen}
\begin{verbatim}
  ÔÚ "Ö¸¶¨ IP Î»Ö· " ¶Ô»°ºÐÖÐÊäÈëÄãµÄ IP Î»Ö· 172.17.0.5
  ÔÚ×ÓÍøÂ·ÊüÕÖ¶Ô»°»°ÖÐÊäÈë 255.255.255.0
\end{verbatim}
\end{tscreen}

Ñ¡È¡Í¨Ñ¶Õ¢
\begin{tscreen}
\begin{verbatim}
  ÔÚÐÂÕ¢µÀ¶Ô»°ºÐ¡õÊäÈëÄãµÄÍ¨Ñ¶Õ¢(Â·ÓÉÆ÷)Î»Ö· 172.17.0.254
  °´ÐÂÔöÅ¥
\end{verbatim}
\end{tscreen}

ÏÖÔÚÍ¨Ñ¶Õ¢Î»Ö·Ó¦¸ÃÔÚÍ¨Ñ¶Õ¢¶Ô»°ºÐÄÚÁË¡£°´È·¶¨

Äã»á¿´µ½ÒªÄãÖØÐÂÆô¶¯ÏµÍ³µÄÑ¶Ï¢£¬ÕÕ×ö£¬ÏÖÔÚÄãÓ¦¸Ã¿ÉÒÔÊ¹ÓÃä¯ÀÀÆ÷Á¬½Óµ½ÄãµÄ HTTP ËÅ·þÆ÷¡£




\subsection{Éè¶¨ Microsoft Client\label{MSClient}}

Èç¹ûÄãÊ¹ÓÃ Microsoft Client À´´æÈ¡ÄãµÄÍøÂ·£¬ÄÇ÷áÕâÕÂ¼´ÔÚËµÃ÷ÈçºÎ°²
×° TCP/IP µ½

\begin{itemize}
\item \ref{MSWFWG} {(Windows for Workgroups (WFWG))}
\item \ref{MSWin95} {(Windows 95)}
\item \ref{MSWinNT} {(Windows NT 4.0)}
\end{itemize}

{\bfseries   ¸½×¢:  }  ÒªÈÃÄãµÄÍøÒ³ä¯ÀÀÆ÷»òËùÓÐµÄÄÚ²¿ÍøÂ·ÃüÁîÔÚ¿´ÄãµÄ
Linux   ËÅ·þÆ÷Ê±ÊÇÒÔ   {\ttfamily http:  //linux.mydomain/}    À´´úÌæ
{\ttfamily http://172.16.0.1/}¡£ Äã¿ÉÒÔ¾­ÓÉÐÞ¸Ä {\ttfamily hosts} µµ°¸À´
Ôö¼ÓÒ»ÐÐ¸øÄãµÄÐÂ Linux ËÅ·þÆ÷¡£ Äãµ±È»Ò²¿ÉÒÔÔö¼Ó¸ü¶àµÄÌõÄ¿¸øÃ¿Ò»¸ö
ÄãµÄÆäËûµÄÖ÷»ú hosts (Netware¡¢ Unix¡¢ WinNT)¡£ Windows ¼Ò×å»á°ÑËüµÄ
HOSTS µµ°¸·ÅÔÚ   {\ttfamily $\backslash$WINDOWS}  »ò {\ttfamily $\backslash$WINDOWS$\backslash$SYSTEM} ÄÚ£¬
¶Ë¿´ËüµÄ°æ±¾¡£ÐÞ¸ÄÕâ¸öµµ°¸²¢¼ÓÉÏÒ»ÐÐµ½ÄãµÄ Linux ËÅ·þÆ÷³ÉÎª£º

\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}}

±¾ÕÂÔÚ½âÊÍÈçºÎÔÚ WFWG ÉÏ°²×° 32bit µÄ¿Í»§¶Ë¡£Ê×ÏÈÄã±ØÐëÏÂÔØÓÉ Microsoft ËùÌá¹©µÄWindows°æ TCP/IP Çý¶¯³ÌÊ½
×îÐÂµÄ°æ±¾ÊÇ 3.11b £¬Äã¿ÉÒÔÓÉ \onlynameurl{ftp://ftp.microsoft.com} »òÊÇ
ÆäËûÍøÕ¾¡õÏÂÔØ {\ttfamily tcp32b.exe}¡£ÇëÈ·¶¨ÄãÔÚ¡õÊÔÔØÈëTCP/IP-32bitµÄÇý¶¯³ÌÊ½Ç°ÔØÈëWin32s ¡£

½« TCP/IP µµ°¸Õ¹¿ªµ½ÁÙÊ±´æ·ÅÄ¿Â¼¡õ (Èç {\ttfamily C:$\backslash$TEMP})£¬¼ì²éÄãµÄ {\ttfamily $\backslash$WINDOWS$\backslash$SYSTEM}
Ä¿Â¼¡õÓÐ·ñ {\ttfamily OEMSETUP.INF}¡£Èç¹ûÓÐ£¬¸ÄËüÃÇµÄÃû×Ö¡£ÏÖÔÚ´Ó TEMP Ä¿Â¼¡õ¿½±´ {\ttfamily OEMSETUP.INF} µµ
µ½ {\ttfamily $\backslash$WINDOWS$\backslash$SYSTEM} Ä¿Â¼¡£Èç¹ûÄãÒÑÔØÈëÆäËûµÄ TCP/IP ¶Ñµþµ½ÄãµÄÏµÍ³ÁË£¬Çë
ÔÚÄã¼ÌÐøÇ°ÒÆ³ýËüÃÇ¡£

¿ªÆôÍøÂ·Éè¶¨»òÊÇ Windows Éè¶¨/¸ü¸ÄÍøÂ·Éè¶¨
\begin{tscreen}
\begin{verbatim}
    °´Ò»ÏÂ Networks Å¥
    °´Ò»ÏÂ Install Microsoft Windows Network.
      Ñ¡ÔñÖ§ support for additional networks (Èç¹ûÐèÒªµÄ»°)
    °´È·¶¨
\end{verbatim}
\end{tscreen}

ÏµÍ³»áÌáÊ¾ÄãÐèÒªÑ¡ÔñÒ»¸öÊÊµ±µÄÍøÂ·¿¨¡£Èç¹ûÃ»ÓÐÌáÊ¾µÄ»°£¬ÄÇ÷áÄãÓ¦¸Ã
\begin{tscreen}
\begin{verbatim}
     °´Ò»ÏÂ Adapter Å¥
         Ñ¡ÔñÒ»ÕÅ¿¨ (Èç NE2000)
         °´È·¶¨
     °´Ò»ÏÂ Protocol Å¥
         Ñ¡Ôñ MS TCP/IP-32 Ð­¶¨
         °´È·¶¨
\end{verbatim}
\end{tscreen}

ÏµÍ³»áÌáÊ¾ÒªÄã½¨¹¹ TCP/IP Ð­¶¨µÄÒ»¶Ñ×ÊÁÏ¡£ÔÚÈÎºÎÊ±ºòÄúÏëÒªÖØÐÂ½¨¹¹
ÕâÏî×ÊÁÏ£¬Äã¿ÉÒÔÑ¡Ôñ TCP/IP Ð­¶¨áá£¬ÔÙ°´Ò»ÏÂÄÚÈÝ¼´¿É×öÐÞ¸Ä¡£
\begin{tscreen}
\begin{verbatim}
   ÔÚ IP Î»Ö·¶Ô»°ºÐ¡õÊäÈë 172.17.0.5
   ÔÚ×ÓÍøÂ·ÕÚÕÖ¶Ô»°ºÐÄÚÊäÈë 255.255.255.0
   ÔÚÄÚ¶¨Í¨Ñ¶Õ¢¶Ô»°ºÐÖÐÊäÈëÄãµÄÍ¨Ñ¶Õ¢ (router) Î»Ö·Îª 172.17.0.254
\end{verbatim}
\end{tscreen}

°´È·ÈÏ¡£Äã»á¿´µ½Ò»¸öÖØÐÂÆô¶¯µÄÑ¶Ï¢¡£Ë³ÖøÒâ×ö£¬ÄãÏÖÔÚÆð¾Í¿ÉÒÔÊ¹ÓÃä¯
ÀÀÆ÷À´Á¬½Óµ½ÄãµÄ HTTP ËÅ·þÆ÷ÁË¡£




\subsubsection{Windows 95\label{MSWin95}}

±¾ÕÂ½Ú½âÊÍÈçºÎÔÚ Win95 ÉÏ°²×° 32 Î»ÔªµÄÎ¢Èí¿Í»§¶Ë³ÌÊ½¡£ Ê×ÏÈÄã±ØÐë
°²×°ÏÂÁÐµÄÈíÌå
\begin{tscreen}
\begin{verbatim}
   Client for Microsoft Networks
   Microsoft TCP/IP Protocol
   Network Adapter
\end{verbatim}
\end{tscreen}


Òª°²×°ÕâÐ©ÏîÄ¿£¬ÔÚ°´Á½ÏÂÎÒµÄµçÄÔ¡ú¿ØÖÆÌ¨¡úÍøÂ·£¬°´Ôö¼Ó¡£ÄãÏÖÔÚ»áÔÚ
Ò»¸öÏÔÊ¾Öø¿Í»§¶Ë³ÌÊ½¡¢¿ØÖÆ¿¨¡¢Ð­¶¨ÒÔ¼°·þÎñÏîÄ¿µÄÒ»¸öÊÓ´°ÉÏ¡£Òª°²×°
Î¢ÈíÍøÂ·¿Í»§¶Ë³ÌÊ½:
\begin{tscreen}
\begin{verbatim}
  1. ÔÚ Client ÏîÄ¿ÉÏ°´Á½ÏÂ
  2. °´Ò»ÏÂ Microsoft
  3. ÔÚ Client for Microsoft NetworksÏîÄ¿ÉÏ°´Á½ÏÂ
\end{verbatim}
\end{tscreen}


°²×° TCP/IP Ð­¶¨:
\begin{tscreen}
\begin{verbatim}
  1. ÔÚ Protocol ÉÏ°´Á½ÏÂ
  2. °´Ò»ÏÂ Microsoft
  3. ÔÚ TCP/IP ÉÏ°´Á½ÏÂ
\end{verbatim}
\end{tscreen}


Windows 95 ÄÚ¶¨»á×Ô¶¯µØ°²×°Êý¸öÐ­¶¨ÔÚ¡õÍ·¡£ Ö»ÒªÔÚ°´Ò»ÏÂËüÃÇ£¬ÔÙ°´
ÏÂÒÆ×ß°´Å¥¼´¿É½«ËüÃÇÒÆ×ß¡£ µäÐÍµØ Win95  »á°²×° Microsoft  NetBeui
Ð­¶¨¡£

½¨¶¨ TCP/IP ÇëÔÚ TCP/IP ÉÏ°´Ò»ÏÂ£¬°´ÏÂÄÚÈÝ£¬°´ÏÂ  IP Î»Ö·µÄ±í¸ñ:

\begin{tscreen}
\begin{verbatim}
  ÔÚ " Ö¸¶¨Ò»¸ö IP Î»Ö· " ÉÏ¼üÈëÄãµÄ IP Î»Ö·;
                        ·½¿éÄÚÎª 172.17.0.5
  ÔÚ×ÓÍøÂ·ÕÚÕÖ·½¿éÄÚ¼üÈë 255.255.255.0
\end{verbatim}
\end{tscreen}

Ñ¡È¡ Gateway µÄ±í¸ñ:
\begin{tscreen}
\begin{verbatim}
  ÔÚÐÂÍ¨Ñ¶Õ¢·½¿éÄÚ¼üÈëÄãµÄÍ¨Ñ¶Õ¢(×ªËÍÆ÷)Î»Ö·³ÉÎª 172.17.0.254
  °´ÏÂÐÂÔö°´Å¥
\end{verbatim}
\end{tscreen}

ÏÖÔÚÍ¨Ñ¶Õ¢Î»Ö·Ó¦¸Ã»á³öÏÖÔÚÒÑ°²×°µÄÍ¨Ñ¶Õ¢·½¿éÄÚ¡£°´ÏÂÈ·ÈÏÅ¥¡£

Äã»á¿´µ½Ò»¸öÖØÐÂÆô¶¯µÄÑ¶Ï¢¡£Ë³ÖøÒâ×ö£¬ÄãÏÖÔÚÆð¾Í¿ÉÒÔÊ¹ÓÃä¯ÀÀÆ÷À´Á¬
½Óµ½ÄãµÄ HTTP ËÅ·þÆ÷ÁË¡£




\subsubsection{Windows NT\label{MSWinNT}}

±¾ÕÂ½Ú½âÊÍÈçºÎÔÚ WinNT 4.0 ÉÏ°²×° TCP/IP ¿Í»§¶Ë³ÌÊ½¡£ ¿ªÊ¼¡ú¿ØÖÆÌ¨
¡úÍøÂ·
\begin{tscreen}
\begin{verbatim}
    Ñ¡Ôñ¿ØÖÆ¿¨±í¸ñ
        °´ÏÂÐÂÔöÀ´Ôö¼ÓÒ»¸öÐÂµÄ¿ØÖÆ¿¨ (Èç¹ûÄãÃ»ÓÐ°ë¸öµÄ»°)
\end{verbatim}
\end{tscreen}

ÏµÍ³»áÌáÊ¾ÒªÄãÑ¡Ò»¸öÊÊµ±µÄÍøÂ·¿ØÖÆ¿¨£­Ñ¡Ò»¸öºÏÊÊµÄ¡£½ÓÖø¼ÓÈëÐ­¶¨¡£
\begin{tscreen}
\begin{verbatim}
    Ñ¡ÔñÐ­¶¨±í¸ñ
        °´ÐÂÔö
        Ñ¡Ôñ TCP/IP Ð­¶¨
        °´È·ÈÏ
\end{verbatim}
\end{tscreen}

ÏµÍ³»áÌáÊ¾ÒªÄã½¨¹¹ TCP/IP Ð­¶¨µÄÒ»¶Ñ×ÊÁÏ¡£ÔÚÈÎºÎÊ±ºòÄúÏëÒªÖØÐÂ½¨¹¹
ÕâÏî×ÊÁÏ£¬Äã¿ÉÒÔÑ¡Ôñ TCP/IP Ð­¶¨áá£¬ÔÙ°´Ò»ÏÂÄÚÈÝ¼´¿É×öÐÞ¸Ä¡£
\begin{tscreen}
\begin{verbatim}
   Ñ¡Ôñ IP Î»Ö·±í¸ñ
      ÔÚ'Ö¸¶¨ IP Î»Ö·'ÏîÄ¿ÉÏ´ò¹´
      ÔÚ IP Î»Ö·¶Ô»°ºÐ¡õÊäÈë 172.17.0.5
      ÔÚ×ÓÍøÂ·ÕÚÕÖ¶Ô»°ºÐÄÚÊäÈë 255.255.255.0
      ÔÚÄÚ¶¨Í¨Ñ¶Õ¢¶Ô»°ºÐÖÐÊäÈëÄãµÄÍ¨Ñ¶Õ¢ (router) Î»Ö·Îª 172.17.0.254
\end{verbatim}
\end{tscreen}

°´È·ÈÏ¡£Äã»á¿´µ½Ò»¸öÖØÐÂÆô¶¯µÄÑ¶Ï¢¡£Ë³ÖøÒâ×ö£¬
ÄãÏÖÔÚÆð¾Í¿ÉÒÔÊ¹ÓÃä¯ÀÀÆ÷À´Á¬½Óµ½ÄãµÄ HTTP ËÅ·þÆ÷ÁË¡£




\subsection{ÔÚ Macintosh ÄÚÉèÁ¢ TCP/IP\label{MacClient}}

Èç¹ûÄãÊ¹ÓÃ Macintosh ×öÎª´æÈ¡ÄãµÄÍøÂ·µÄ¡£ ÄÇ÷á£¬±¾ÕÂ¾ÍÊÇÔÚËµÃ÷ÈçºÎ
ÔÚ PowerMac ÉÏ°²×° MacTCP¡£

{\bfseries ¸½¼Ç: }ÒªÈÃÄãÔÚÊ¹ÓÃ WWW ä¯ÀÀÆ÷Ê±¼°ËùÓÐµÄÄÚ²¿ÍøÂ·ÃüÁîÊ±Ê¹ÓÃ {\ttfamily http://linux.mydomain/}
À´´úÌæ {\ttfamily http://172.16.0.1/} À´Á¬ÉÏËÅ·þÆ÷¡£ÄãÐèÒªÐÞ¸Ä
{\ttfamily hosts} µµ¡£ËüµÄ¸ñÊ½ºÍÊ¹ÓÃ Unix ÉÏµÄ²»Í¬¡£ Mac µÄhosts µµÊÇÒÔ RFC-1035ÎªÖ÷¡£Äã¿ÉÒÔ¼ÓÉÏÄãµÄ
ÆäËûÖ÷»ú (Netware, Unix, WinNT)¡£ MacOS ½«ËüµÄ HOSTS µµ·ÅÔÚ
{\ttfamily System folder}µÄ{\ttfamily Preferences folder} Ö®ÏÂ¡£ÐÞ¸ÄÕâ¸öµµ°¸²¢ÎªÄãµÄ
Linux ËÅ·þÆ÷¼ÓÉÏ£º
\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}}

ÕâÒ»ÕÂ½ÚÖ¼ÔÚËµÃ÷ÈçºÎ°²×° MacTCP¡£ Ê×ÏÈ£¬ Äã±ØÐëÏÈ´Ó Apple ÄÇ¶ùÏÂÔØ
MacTCP µµ°¸»òÊÇ´ÓÍø¼ÊÍøÂ·µÄÁ¬½á CD À´°²×°Ëü¡£ Òª½¨¹¹ MacTCP£¬ ÇëÔÚ
Apple  Menu/ Control  Panels/  TCP/IP  ¡õ°´Ò»ÏÂÀÏÊó¼ü£¬ ÔÚÓ©Ä»¡õ¸Ä
'Connect  via: ' µÄÖµ³ÉÎª  'Ethernet'¡£

¸Ä±ä 'Configure'
Éè¶¨³ÉÎª 'Manually' 
\begin{tscreen}
\begin{verbatim}
  ÔÚ IP address ¶Ô»°ºÐ¡õÊäÈë 172.17.0.5
  ÔÚ Subnet Mask ¶Ô»°ºÐ¡õÊäÈë 255.255.255.0
  ÔÚÍ¨Ñ¶Õ¢¡õÊäÈëÄãµÄÍ¨Ñ¶Õ¢ (Â·ÓÉÆ÷) Î»Ö·Îª 172.17.0.254
\end{verbatim}
\end{tscreen}

°´È·ÈÏ¡£ÄãÏÖÔÚÆð¾Í¿ÉÒÔÊ¹ÓÃä¯ÀÀÆ÷À´Á¬½Óµ½ÄãµÄ HTTP ËÅ·þÆ÷ÁË¡£






\section{ÉèÁ¢ÄÚ²¿ÍøÂ·}

ÎÞ·¨Óë²»Í¬µÄ¹¤×÷Æ½Ì¨·ÖÏí×ÊÔ´µÄ»°¾Í²»ÄÜËãÊÇÒ»¸öÍêÕûµÄÄÚ²¿ÍøÂ·ÁË¡£Äã
ÐèÒªÖ§Ô®ÆäËûµµ°¸ÏµÍ³£¬ ²ÅÄÜ´æÈ¡ËûÃÇ¡õÍ·ËùÌá¹©µÄ×ÊÁÏ¡£ ±¾ÎÄ¼þÌá¹©ÁË
Linux  ÓëÏÂÃæ´ó¼Ò¶úÊìÄÜÏêµÄµµ°¸ÏµÍ³Á¬½ÓµÄ·½·¨¡£
\begin{itemize}
\item \ref{NCPFS} {(NetwareµÄNCP µµ°¸ÏµÍ³ )}
\item \ref{SMBFS} {(Windows µÄ SMB µµ°¸ÏµÍ³ )}
\item \ref{NFS} {(Unix µÄ NFS µµ°¸ÏµÍ³ )}
\end{itemize}


ÒÀÕÕ Linux µÄ°æ±¾²»Í¬£¬ÕâÐ©µµ°¸ÏµÍ³¶¼¿É±»±àÒëµ½ Linux ºËÐÄÄÚ»òÊÇ¼Ó
³ÉÄ£×é¡£ Èç¹ûÄã²¢²»ÊìÏ¤±àÒëºËÐÄ£¬ Äã¿ÉÒÔ²Î¿¼ Kernel HOWTO \onlynameurl{http://sunsite.unc.edu/mdw/HOWTO/Kernel-HOWTO.html}
ÒÔ¼° Module HOWTO \onlynameurl{http://sunsite.unc.edu/mdw/HOWTO/Module-HOWTO.html}
ÓÐÈç¹û°ÑÄ£×éÓëºËÐÄÒ»Æð×ö±àÒë¡£








\subsection{NCPFS\label{NCPFS}}

Òª°Ñ Netware ËÅ·þÆ÷µÄµµ°¸·ÖÏí³öÀ´µÄ»°£¬Äã»áÐèÒªÓÐ¶Ô NCP (ncpfs) µÄ
Ö§Ô®¡£ NCPFS ÓëºËÐÄ 1.2.x ¼° 1.3.71  °æ (º¬ ) ÒÔááµÄºËÐÄÅäºÏÊ¹ÓÃ¡£
ËûÎÞ·¨ÓëÈÎºÎÔçÆÚµÄ 1.3.x ºËÐÄÏàÅäºÏÊ¹ÓÃ¡£ËüÔÚ Netware 4.x ÉÏÎÞ·¨´æ
È¡ NDS ×ÊÁÏ¿â£¬µ«¿ÉÊ¹ÓÃ²á¼®¡£Èç¹ûÄúÊ¹ÓÃ Netware 4.x Äã¿ÉÒÔÔÚÖ÷¿ØÌ¨
ÉÏÊ¹ÓÃ {\ttfamily Set Bindery Context} ÃüÁîÀ´´ò¿ªÌØ¶¨ÈÝÆ÷¶Ô²á¼®µÄÖ§Ô®
:
\begin{tscreen}
\begin{verbatim}

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

ÔÚÉÏÃæµÄÀý×ÓÖÐÓÐÁ½¸öÈÝÆ÷ÒÑ±»´ò¿ª¶Ô²á½åµÄÖ§Ô®¡£

Äã¿ÉÒÔ´Ó Sunsite À´ÏÂÔØ NCP µµ°¸ÏµÍ³µÄ¹«ÓÃ³ÌÊ½£¬ Ê¹ÓÃ URL \onlynameurl{ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/ncpfs.tgz}
(Ä¿Ç°Îª ncpfs-2.0.10)¡£






\subsubsection{°²×°}

Òª°²×° ncpfs ¹«ÓÃ³ÌÊ½£¬Ö´ÐÐ
\begin{tscreen}
\begin{verbatim}
   zcat ncpfs.tgz | tar xvf -
\end{verbatim}
\end{tscreen}

À´°ÑËùÓÐµµ°¸½âµ½Ëü×Ô¼ºµÄÄ¿Â¼ÄÚ¡£ÔÚÕâ¸öÀý×Ó¡õÄã»áµÃµ½{\ttfamily ncpfs-2.0.10}
Ä¿Â¼£¬ ÔÚ¼ÌÐø°²×°Ç°¸Ä±äÄ¿Â¼µ½Õâ¸ö ncpfs Ä¿Â¼ÄÚ¡£ÈçÓÐÐèÒªÇëÔÄ¶Á
README ²¢ÐÞ¸Ä Makefile µµ°¸¡£



°²×° ncpfs È¡¾öì¶ÄãÊ¹ÓÃµÄºËÐÄÊÇÄÄ¸ö°æ±¾µÄ¡£ÔÚºËÐÄ 1.2 ÉÏ£¬ÄãÖ»ÐèÖ´
ÐÐ 'make'¡£½ÓÖø 'make install' ¾Í»á°²×°¿ÉÖ´ÐÐµµÒÔ¼° man Ò³ÁË¡£



Èç¹ûÄãÊ¹ÓÃºËÐÄ 1.3.71 »òÒÔááµÄ°æ±¾£¬Äã¾ÍµÃÖØÐÂ±àÒëÄãµÄºËÐÄÁË¡£ÔÚÕâ
Ð©ºËÐÄÉÏ£¬ncpfs µÄºËÐÄ²¿·ÝÒÑ¾­±»°üº¬ÔÚÖ÷ÒªµÄÔ­Ê¼³ÌÊ½Ê÷¡õÍ·ÁË¡£Ïë¿´
¿´ÊÇ·ñÄãµÄºËÐÄÐèÒªÖØÐÂ±àÒë£¬ÇëÖ´ÐÐ
\begin{tscreen}
\begin{verbatim}
   cat /proc/filesystems
\end{verbatim}
\end{tscreen}

Ëü»áÏÔÊ¾³öÒ»ÐÐËµºËÐÄÈÏµÃ ncpfs¡£

Èç¹û ncpfs Ã»ÓÐ³öÏÖ£¬Äã¿ÉÒÔÖØÐÂ±àÒëºËÐÄ»òÊÇ¼ÓÉÏ ncpfs Ä£×é¡£ÈôÒªÖØ
ÐÂ±àÒëºËÐÄ£¬ ÄãÐëÖ´ÐÐ 'make config'£¬µ±ËüÎÊÄã



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

¼òµ¥»Ø´ð 'y'¡£½ÓÏÂÀ´Äã»á±»ÎÊµ½ÊÇ·ñÐèÒªÍêÕûµÄÄÚ²¿ÍøÂ·£¬ÄãÒ²Ðí²»Ðè¡£
µÈµ½ºËÐÄ³É¹¦µØ±»°²×°ÁË£¬ÖØÐÂ¿ª»ú£¬È»áá¼ì²é{\ttfamily /proc/filesystems}¡£
Èç¹ûÈ«²¿¶¼Ã»ÎÊÌâ£¬ÔÙ½ÓÖø°²×° ncpfs ¹«ÓÃ³ÌÊ½¡£ ¸Ä±äÄ¿Â¼µ½×°ÖøÄãÏÂÔØ
µÄ  ncpfs  µµ°¸µÄÄ¿Â¼ÄÚ£¬ Ö´ÐÐ  'make'¡£ ÔÚ±àÒëÍê³ÉááÔÙÖ´ÐÐ  'make
install' À´°²×°ÆäËûµÄ¹«ÓÃ³ÌÊ½Óë man Ò³¡£






\subsubsection{¹ÒÉÏNCPFS}

¼ì²é°²×°£¬ÇëÖ´ÐÐ
\begin{tscreen}
\begin{verbatim}
   ipx_configure --auto_interface=on --auto_primary=on

...µÈ¸ö10ÃëÔÙÖ´ÐÐ

   slist
\end{verbatim}
\end{tscreen}

ÄãÓ¦¸Ã¾Í¿ÉÒÔ¿´µ½ Netware ËÅ·þÆ÷µÄÒ»´®ÁÐ±í¡£ÎÒÃÇÒª¿ªÊ¼´Ó Netware ËÅ
·þÆ÷ÉÏ·ÖÏíµµ°¸ÁË¡£

¼ÙÉèÎÒÃÇÐèÒª´ÓËÅ·þÆ÷     MYDOM\_NW     ÄÚµÄ´Åµú     VOL1:    ¡õ´æÈ¡
{\ttfamily $\backslash$home$\backslash$htmldocs} Ä¿Â¼ÄÚµÄ HTML µµ°¸¡£ÎÒÍÆ¼öÄãÔÚÕâ
Ì¨ËÅ·þÆ÷ÉÏ½¨Á¢¸öÐÂÊ¹ÓÃÕß (Èç ) 'EXPORT'£¬ ÃÜÂëÎª 'EXP123' ¸øÄÇÐ©Äã
ÔÊÐíËûÃÇÊ¹ÓÃ SYSCON »ò NWADMIN ÕÊºÅÀ´´æÈ¡Õâ¸öÄ¿Â¼µÄÈËÊ¹ÓÃ¡£

ÔÚ  Linux  »úÆ÷ÉÏ½¨Á¢¸öÐÂ  {\ttfamily /mnt/MYDOM\_NW}  Ä¿Â¼¡£ ÏÖÔÚÖ´ÐÐ
\begin{tscreen}
\begin{verbatim}
   ncpmount -S MYDOM_NW -U EXPORT -P EXP123 /mnt/MYDOM_NW
\end{verbatim}
\end{tscreen}

Òª¹ÒÉÏ netware µµ°¸ÏµÍ³¡£Ö´ÐÐ
\begin{tscreen}
\begin{verbatim}
   ls /mnt/MYDOM_NW/vol1/home/htmldocs
\end{verbatim}
\end{tscreen}

¾Í»áÁÐ³öÔÚ  {\ttfamily MYDOM\_NW/VOL1:  $\backslash$HOME$\backslash$HTMLDOCS}   ÄÚ
µÄËùÓÐµµ°¸ (Ê¹ÓÃ Netware  µµ°¸±íÊ¾·¨ )¡£ Èç¹ûÄãÓÐÈÎºÎÎÊÌâ£¬ ÇëÔÄ¶Á
IPX HOWTO ÔÚ \onlynameurl{http://sunsite.unc.edu/mdw/HOWTO/IPX-HOWTO.html} »áÓÐ¸ü¶àÏê
Ï¸µÄ×ÊÑ¶¡£






\subsection{SMBFS\label{SMBFS}}

ÈôÒª·ÖÏíµµ°¸µ½ Windows ËÅ·þÆ÷ÉÏ£¬ÄãÐèÒªÓÐ SMB (smbfs)Ö§Ô®²ÅÐÐ¡£

ÄãÐèÒª´ÓSunsiteÉÏÔØÈëSBMµµ°¸ÏµÍ³¹«ÓÃ³ÌÊ½ \onlynameurl{ftp://sunsite.unc.edu/pub/Linux/system/filesystems/smbfs/smbfs.tgz} (currently smbfs-2.0.1)¡£




\subsubsection{°²×°}

Òª°²×° smbfs ¹«ÓÃ³ÌÊ½£¬¼üÈë
\begin{tscreen}
\begin{verbatim}
   zcat smbfs.tgz | tar xvf -
\end{verbatim}
\end{tscreen}

½«ËùÓÐµÄµµ°¸½âµ½Ëü×Ô¼ºµÄÄ¿Â¼ÄÚ¡£ÔÚÕâÀý×Ó¡õ»á²úÉúÒ»¸ö {\ttfamily smbfs-2.0.1}
Ä¿Â¼£¬ÔÚ½ÓÖø°²×°Ç°°ÑÄ¿Â¼¸Äµ½Õâ¸ö smbfs Ä¿Â¼ÉÏ¡£ÓÐÐèÒªÇëÔÄ¶Á README
¼°±àÐÞ Makefile¡£

°²×° smbfs È¡¾öì¶ÄãÊ¹ÓÃµÄºËÐÄÊÇÄÄ¸ö°æ±¾µÄ¡£ÔÚºËÐÄ 1.2 ÉÏ£¬ÄãÖ»ÐèÖ´
ÐÐ 'make'¡£ ½ÓÖø 'make install' ¾Í»á°²×°¿ÉÖ´ÐÐµµÒÔ¼°manÒ³ÁË¡£

Èç¹ûÄãÊ¹ÓÃºËÐÄ 2.0 »òÒÔááµÄ°æ±¾£¬Äã¾ÍµÃÖØÐÂ±àÒëÄãµÄºËÐÄÁË¡£ ÔÚÕâÐ©
ºËÐÄÉÏ£¬smbfs µÄºËÐÄ²¿·ÝÒÑ¾­±»°üº¬ÔÚÖ÷ÒªµÄÔ­Ê¼³ÌÊ½Ê÷¡õÍ·ÁË¡£Ïë¿´¿´
ÊÇ·ñÄãµÄºËÐÄÐèÒªÖØÐÂ±àÒë£¬ÇëÖ´ÐÐ
\begin{tscreen}
\begin{verbatim}
   cat /proc/filesystems
\end{verbatim}
\end{tscreen}

Ëü»áÏÔÊ¾³öÒ»ÐÐËµºËÐÄÈÏµÃ smbfs¡£

Èç¹û smbfs Ã»ÓÐ³öÏÖ£¬Äã¿ÉÒÔÖØÐÂ±àÒëºËÐÄ»òÊÇ¼ÓÉÏ smbfs Ä£×é¡£ÈôÒªÖØ
ÐÂ±àÒëºËÐÄ£¬ ÄãÐëÖ´ÐÐ 'make config'£¬µ±ËüÎÊÄãÒª¼ÓÉÏ SMB µµ°¸ÏµÍ³Ö§
Ô®Ê±»Ø´ð   yes¡£   µÈµ½ºËÐÄ³É¹¦µØ±»°²×°ÁË£¬  ÖØÐÂ¿ª»ú£¬   È»áá¼ì²é
{\ttfamily /proc/filesystems}¡£ Èç¹ûÈ«²¿¶¼Ã»ÎÊÌâ £¬ÔÙ½ÓÖø°²×°smbfs¹«ÓÃ
³ÌÊ½¡£¸Ä±äÄ¿Â¼µ½×°ÖøÄãÏÂÔØµÄ smbfs µµ°¸ÉÏ£¬Ö´ÐÐ 'make'¡£ÔÚ±àÒëÍê³É
ááÔÙÖ´ÐÐ  'make  install' À´°²×°ÆäËûµÄ¹«ÓÃ³ÌÊ½ÓëmanÒ³¡£




\subsubsection{¹ÒÉÏ SMBFS}

ÔÚÎÒÃÇµÄÀý×ÓÖÐ£¬ÈÃÎÒÃÇ¼ÙÉè WinNT ËÅ·þÆ÷¾Í½Ð×ö 'MYDOM\_NT'£¬Ëü·ÖÏíÁË
ËüµÄÄ¿Â¼ {\ttfamily C:$\backslash$PUB$\backslash$HTMLDOCS} ÒÔÒ»¸öÃ»ÓÐÃÜÂëµÄÃû×Ö½Ð
'HTMLDOCS'¡£ ÔÚ Linux »úÆ÷ÉÏ½¨Á¢Ò»¸öÐÂµÄ {\ttfamily /mnt/MYDOM\_NT} Ä¿
Â¼£¬ÏÖÔÚÖ´ÐÐÏÂÁÐÃüÁî 
\begin{tscreen}
\begin{verbatim}
   smbmount //MYDOM_NT/HTMLDOCS /mnt/MYDOM_NT -n
\end{verbatim}
\end{tscreen}


Òª¹ÒÉÏ  SMB (windows  ·ÖÏíµÄ ) µµ°¸ÏµÍ³¡£ Èç¹ûÕâÑùÎÞ·¨¹¤×÷ÇëÊÔ¿´¿´
\begin{tscreen}
\begin{verbatim}
   smbmount //MYDOM_NT/COMMON /mnt/MYDOM_NT -n -I 172.16.0.3
\end{verbatim}
\end{tscreen}


Ö´ÐÐÏÂÃæÃüÁî
\begin{tscreen}
\begin{verbatim}
   ls /mnt/MYDOM_NT
\end{verbatim}
\end{tscreen}

½«»áÁÐ³öËùÓÐÔÚ  {\ttfamily bsol;bsol;MYDOM\_NT$\backslash$PUB$\backslash$HTMLDOCS}
ÄÚµÄµµ°¸ÁÐ±í (Ê¹ÓÃ Windows µµ°¸±íÊ¾·¨)¡£






\subsection{NFS\label{NFS}}

Ê×ÏÈÄãÐèÒªÒ»¸öÒÑ±àÒëºÃÔÚ¡õÍ·»òÓÐ¿ÉÓÃµÄNFSµµ°¸ÏµÍ³Ä£×éÔÚºËÐÄÄÚ¡£

¼ÙÉèÄãÓÐ¸ö  Unix Ö÷»úÖ´ÐÐÖø  NFS£¬ Ãû×Ö½Ð×ö MYDOM\_UNIX£¬ IP Î»Ö·Îª
172.16.0.4¡£ Äã¿ÉÒÔ¾­ÓÉ´òÈëÒÔÏÂÃüÁîÀ´Êä³ö (·ÖÏí ) Õâ¸öÖ÷»ú£¬¾Í¿ÉÒÔ
¼ì²éÄ¿Â¼ÁË¡£
\begin{tscreen}
\begin{verbatim}

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

Ò»µ©ÎÒÃÇÖªµÀÊä³öµÄÄ¿Â¼ÊÇ¿ÉÒÔ¾­ÓÉÊäÈëÊÊµ±µÄ  mount ÃüÁî¼´¿É°ÑËüÃÇ¸ø
¹ÒÉÏ¡£ ÎÒÍÆ¼öÄãÔÚ '/mnt'  Ä¿Â¼ÏÂ½¨Á¢Ò»¸ö×ÓÄ¿Â¼  (Èç ) 'MYDOM\_UNIX'
À´×öÎªÄãµÄ¹ÒÉÏµã¡£
\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 ¿ÉÒÔÒÀ¿¿ÄãµÄÊ¹ÓÃ»·¾³×ö¸Ä±äµÄ¡£

Èç¹ûÄãÓÐÈÎºÎÎÊÌâÇëÔÄ¶ÁÔÚ \onlynameurl{http://sunsite.unc.edu/mdw/HOWTO/NFS-HOWTO.html}  ÄÚµÄ  NFS
HOWTO £¬¡õÍ·ÓÐ¶Ô NFS ÏµÍ³µÄÉîÈë½éÉÜ¡£






\section{´æÈ¡ÍøÂ·\label{AccessHTML}}

ÏÖÔÚÎÒÃÇÒÑ½¨ºÃ HTTP ËÅ·þÆ÷¡¢ ¿Í»§¶ËÒÔ¼°°Ñ Linux ËÅ·þÆ÷ÓëÆäËûµÄËÅ·þ
Æ÷ÏàÁ¬½áÁË£¬ ÎÒÃÇÐèÒªÔÚ Linux ËÅ·þÆ÷ÉÏ×öÒ»Ð©Ð¡Ð¡µÄµ÷Õû²ÅÄÜ´ÓÍøÒ³ä¯
ÀÀÆ÷ÉÏ´æÈ¡ÕâÐ©ÒÑ¹ÒÉÏµÄµµ°¸ÏµÍ³¡£




\subsection{´æÈ¡Ò»¸öÒÑ¹ÒÉÏµÄµµ°¸ÏµÍ³}

Òª´æÈ¡ÔÚÄãµÄHTMLÍøÒ³ÖÐÒÑ¹ÒÉÏµÄÄ¿Â¼µÄ·½·¨ÓÐ¶þ¸ö:
\begin{itemize}
\item ÔÚ DocumentRoot ({\ttfamily /usr/local/etc/httpd/htdocs}) ÄÚ½¨Á¢Ò»¸öÁ¬½áÀ´Ö¸ÏòÒÑ¹ÒÉÏµÄÄ¿Â¼£¬ÈçÏÂ:
\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} µµ°¸£¬²¢¼ÓÉÏÒ»¸öÐÂ alias¡£
\end{itemize}


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

  # alias for netware ËÅ·þÆ÷
  Alias /netware/   /mnt/MYDOM_NW/vol1/home/htmldocs/
  Alias /winNT/     /mnt/MYDOM_NT/
  Alias /unix/      /mnt/MYDOM_UNIX
\end{verbatim}
\end{tscreen}

ÔÙÖØÐÂÆô¶¯ÄúµÄ HTTPd¡£¾­ÓÉ²Î¿¼ {\ttfamily http://linux.mydomain/netware/index.htm}
Äã¾Í¿ÉÒÔ´æÈ¡ÔÚ netware ËÅ·þÆ÷ÉÏµÄÎÄ¼þÒòÎª netware µÄµµ°¸ÒÔ¼°ºÍÆäËû
µÄÏµÍ³Ö®±íÊ¾·½Ê½ÏàÍ¬¡£




\subsection{Á¬ÉÏ Íø¼ÊÍøÂ·}

Äã¿ÉÒÔºÜÈÝÒ×µØ½«ÄãµÄÄÚ²¿ÍøÂ·ÓëÍø¼ÊÍøÂ·À´ÊÕ·¢ E-Mail ÒÔ¼°´æÈ¡Ðí¶à²»
´íµÄ×ÊÑ¶¡£ÎÒ¼Æ»­ÔÚÎ´À´¸Ä°æÊÇ½«Ð´Ò»¸ö¼òµ¥µÄ±Ê¼ÇÀ´½éÉÜÔõ÷á×ö¡£Ï¸½Ú¿É
ÒÔ´Ó ISP Hookup HOWTO (Á¬ÉÏ ISP) ÉÏµÃµ½½âËµ \onlynameurl{http://sunsite.unc.edu/mdw/HOWTO/ISP-Hookup-HOWTO.html}  »¹
ÓÐ Diald mini HOWTO (²¦½Ó ) \onlynameurl{http://sunsite.unc.edu/mdw/HOWTO/mini  /Diald}
½ÌÄãÈçºÎÉè¶¨ÕâÐ©Á¬½Ó¡£




\subsection{ÆäËûµÄÓÃ´¦}

HTTP  ËÅ·þÆ÷ÔÚ°ì¹«ÊÒÖÐ¿É±»ÓÃÀ´Ìá¹©¶Ô²»Í¬ËÅ·þÆ÷ÄÚµÄ¶à¸öµØµãÓëÄ¿Â¼µÄ
Í¸´æÈ¡×ÊÑ¶¡£ÕâÐ©×ÊÁÏ¿ÉÒÔÊÇ Word ÄÚµÄ¼òµ¥ÎÄ¼þ¡¢Lotus µÄÊÔËã±í£¬»òÊÇ
¸´ÔÓµÄ×ÊÁÏ¿â¡£ 

  ÕâÖÖ¼¼ÊõµÄÓ¦ÓÃÍ¨³£ÈçÏÂËùÁÐ:

\begin{itemize}
\item ³ö°æ¹«Ë¾ÎÄ¼þ
ÕâÐ©ÎÄ¼þ¿ÉÒÔÊÇÐÂÎÅ¸å¡¢Äê¶È±¨¸æ¡¢µØÍ¼¡¢¹«Ë¾Éè±¸¡¢±¨¼Û±í¡¢²úÆ·×ÊÑ¶½é
ÉÜÒÔ¼°ÈÎºÎ¶Ô¹«Ë¾ÓÐ¼ÛÖµµÄÎÄ¼þ¡£

\item ´æÈ¡¿ÉÑ°ÕÒµ½µÄÄ¿Â¼
Ïñ¿ìËÙ´æÈ¡¹«Ë¾µç»°ºÅÂë²¾µÄ¹¦ÄÜ¡£ Õâ¸ö×ÊÁÏ¿ÉÒÔ¾­ÓÉ CGI ÃüÁîÊÖ¸åÀ´Ó³
ÖÆµ½ÍøÕ¾ÉÏ£¬  ÍøÕ¾ËÅ·þÆ÷¿ÉÒÔµ±³ÉÒ»¸öáá¶ËÒÑ´æÔÚµÄ»òÐÂµÄÓ¦ÓÃ³ÌÊ½Ö®¼äµÄÍ¨Ñ¶Õ¢µÀ¡£
Ò²¾ÍÊÇËµ£¬Ê¹ÓÃÏàÍ¬µÄ±ê×¼´æÈ¡»úÖÆÊ±£¬×ÊÑ¶¾Í¿É±»¹ã·ºÇÒ¿ÉÓÃ¼òµ¥µÄ·½·¨¼´¿É±»ÖÆ×÷¡£ÕâÒâÎ¶ÖøËü¿ÉÒÔ±»Ê¹ÓÃÀ´
½¨Á¢Ò»¸öÓë RDBMS µÄ½éÃæ£¬ ¾ÍÏñ ORACLE ºÍ SYBASE ÊÇÓÃÀ´²úÉú¼´Ê±×ÊÑ¶
Ò»Ñù¡£  Õâ¶ùÓÐÒ»±íÁÐµÄÁ¬½áµ½ÏñÕâÑùµÄÍøÕ¾¡£

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



\item ¹«Ë¾/²¿ÃÅ/¸öÈËµÄÍøÒ³ÏñÔÚ×éÖ¯ÄÚ²¿µÄÎÄ»¯ÒÑ¾­¸Ä±äµ½¼¸ºõÃ¿¸ö²¿ÃÅ¶¼Ïò×Ô¼ºµÄÎôÈÕµÄ×´Ì¬Ç°½ø¡£
ÄÚ²¿ÍøÂ·¼¼ÊõÌá¹©ÁËÒ»¸ö¸ø²¿ÃÅ»ò¸öÈË¹µÍ¨×îÐÂ×ÊÑ¶µÄÀíÏëÃ½
½é¡£¹¦ÄÜÇ¿´óµÄ¡õÑ°ÒýÇæÌá¹©ÎÒÃÇÑ°ÕÒÄÇÐ©ÖªµÀÃ¿Ìì×öÉúÒâÊ±Ëù²úÉúµÄÒ»Á¬
´®ÎÊÌâÖ®½â´ðµÄÍÅÌå»ò¸öÈËµÄÒ»¸ö¹¤¾ß¡£



\item ¼òµ¥µÄ Groupware Ó¦ÓÃ³ÌÊ½ÓÐÁË HTML ¸ñÊ½µÄÖ§Ô®£¬ÍøÕ¾ÄÜÌá¹©Ìî±í¡¢Òâ¼ûµ÷²éÒÔ¼°¼òµ¥µÄÅÅ³Ì¹¦ÄÜ¡£

\item ÈíÌå¹©Ó¦¹ÜÀíÕßÄÜ¹»Ê¹ÓÃÄÚ²¿ÍøÂ·¾­ÓÉ¹«Ë¾ÍøÂ·À´´«µÝÊ¹ÓÃÕßËùÐèÒªµÄÈíÌåºÍ¸üÐÂ°æ
¡£Õâ¿ÉÒÔÊ¹ÓÃ  'Java' À´×ö£¬ËüÔÊÐí which  allows  the creation  and
transparent  distribution  of objects  on-demand  rather than just
data or applications.  ÕâÔÚ¸üÐÂµÄÓÐÄÚ½¨¶Ô  Java Ö§Ô®µÄ Linux  °æ±¾
ÉÏ½«»á¸üÈÝÒ×¡£

\item ÐÅ¼þÓÉì¶ÈËÓëÈË¼ä×ªÒÆµ½ÔËÓÃÄÚ²¿ÍøÂ·ÓÊ¼þ²úÆ·Óë±ê×¼ÇÒ¼òÒ×µÄð¤ÌùÉÏÎÄ¼þ¡¢Éù
Òô¡¢  Ó°ÏñÒÔ¼°ÆäËûµÄ¶àÃ½Ìå×ÊÑ¶£¬  µç×ÓÓÊ¼þÒÑ¾­±»ÍÆÕ¹³ÉÎªÒ»¸ö¼òµ¥¡¢
de facto µÄÍ¨Ñ¶·½Ê½ÁË¡£ ÈËÓëÈË¼ä¡¢¸öÈËÓëÐ¡ÍÅÌå¼äµÄÓÊ¼þÍ¨Ñ¶ÊÇºÜÖØÒª
µÄ¡£  ÔÚ  Linux  Æ½Ì¨ÉÏÓÐºÜ¶àµÄ¹«ÓÃÈíÌå¿ÉÒÔÊ¹ÓÃÀ´ÉèÁ¢Ò»¸ö   E-mail
ÏµÍ³£¬ÀýÈç {\bfseries sendmail¡¢pop3d¡¢imapd}¡£



\item Ê¹ÓÃÕß½éÃæÄÚ²¿ÍøÂ·¿Æ¼¼Èç´ËµØ¿ìËÙ½ø²½£¬ ¿ÉÒÔÊ¹ÓÃµÄ¹¤¾ß£¬ÌØ±ðÊÇ HTML£¬ÄÜºÜ¿ìµØ
¸Ä±äÒÔÇ°ÎÒÃÇÁ¬½ÓÆäËûÏµÍ³µÄ·½·¨¡£Ê¹ÓÃ HTML Äã¿ÉÒÔÉèÁ¢Ò»¸öÖ»ÓÐ´´Á¢Õß
µÄÏëÏñÁ¦²Å»áÓÐÏÞÖÆµÄ½éÃæ¡£ Ê¹ÓÃÄÚ²¿ÍøÂ·¿Æ¼¼µÄ×îÃÀÀöµÄµØ·½¾ÍÊÇ " Ëü
ºÜ¼òµ¥ "¡£´Ó HTML µÄ³¬Á¬½áÉÏ°´Ò»ÏÂ¾Í¿ÉÒÔµ½ÁíÒ»Ò³¡¢Ëü¿ÉÒÔ·¢³ö¾¯¸æ¡¢
Ö´ÐÐÒ»¸öÕûÄêµÄ³ÌÊ½»òÊÇÈÎºÎµçÄÔ³ÌÊ½ÄÜ×öµÄÊÂ¡£

\end{itemize}





\section{¸ü¶àÐèÒª×öµÄÊÂ}

ÒÔÏÂÊÇ Linux ÄÚ²¿ÍøÂ·ËÅ·þÆ÷µÄÆäËûÓÐÈ¤Ó¦ÓÃ¡£ ÔÚÏÂÃæËùÌáµ½µÄËùÓÐÈíÌå
²»ÊÇÃâ·Ñ¾ÍÊÇ¹²ÏíÈíÌå¡£
\begin{itemize}
\item Ê¹ÓÃ Win95/NT ¡õµÄÍøÂ··¼ÁÚÀ´ä¯ÀÀ Linux ËÅ·þÆ÷£»½« WINS Éè¶¨³ÉÏñ NBT ËÅ·þÆ÷Ò»Ñù¡£ÏêÇéÇë¿´ SAMBA ÍøÕ¾t \onlynameurl{http://lake.canberra.edu.au/pub/samba/samba.html}
\item ÔÚÄãµÄÄÚ²¿ÍøÂ·¡õÊµ×÷Ò»¸öËÑÑ°ÒýÇæ¡£Á¬½áµ½ ht://Dig ÍøÒ³ \onlynameurl{http://htdig.sdsu.edu/}
\item Ê¹ÓÃ CUSeeMe À´ÉèÁ¢Ò»¸ö local reflector¡£ËûÃÇÔÚ Cornell µÄÍøÒ³\onlynameurl{http://cu-seeme.cornell.edu/}
\item ÉèÁ¢Ò»¸öÍøÂ·»áÒé¡£¿ÉÊ¹ÓÃ COW £¬ÍøÒ³ÔÚ \onlynameurl{http://thecity.sfsu.edu/COW/}
\item ²¿ÖÃÒ»¸ö SQL ×ÊÁÏ¿â£¬Çë²Î¿¼ mSQL µÄÍøÒ³ \onlynameurl{http://Hughes.com.au/}
\item ÔÚ Netware ËÅ·þÆ÷ÉÏÉèÁ¢ FTP,Gopher,Finger,Bootp ËÅ·þÆ÷¡£²Î¿¼ÍøÒ³ \onlynameurl{http://mft.ucs.ed.ac.uk/}
\item Ä£Äâ³ÉÒ»¸ö Netware ËÅ·þÆ÷¡£²é¿´Ò»ÏÂ NCP Utilities µÄÍøÒ³ \onlynameurl{ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/}
\end{itemize}

Èç¹ûÄã·¢ÏÖÆäËû Linux ÄÚ²¿ÍøÂ·ËÅ·þÆ÷µÄÓÐÈ¤Ê¹ÓÃ·¨£¬ ÇëÒ»¶¨Òª¸æËßÎÒÅ¶
¡£




\section{¸ÐÐ»ÓëºÏ·¨ÐÔ}






\subsection{¸ÐÐ»}

¸ÐÐ»ÔÚ NCSA ¡õµÄÅóÓÑÌá¹©ÁËÕâ÷á°ôµÄÎÄ¼þ£¬ David Anderson ÒÔ¼°ÆäËûËù
ÓÐµÄÅóÓÑÊÔÑéÁË±¾ HOWTO µÄÄÚÈÝ²¢Ëµ³öËûÃÇµÄÆÀÓï¡£
¹Øì¶ Netware/IP  ÉÏµÄÏ¸½ÚÊÇÓÉ Romel Flores (rom@mnl.sequel.net) Ëù
ÔÞÖú¡£ 






\subsection{°æÈ¨×ÊÑ¶}

±¾ÎÄ¼þ°æÈ¨Êôì¶ \copyright{} 1996,1997 Äê Pramod Karnad ÏÈÉú£¬ ±ØÐëÔÚÒÔÏÂ
µÄÌõ¼þÏÂ²ÅÄÜ±»É¢²¼Ê¹ÓÃ:

\begin{itemize}
\item Linux HOWTO ÎÄ¼þ¿ÉÒÔÈ«²¿»òÒ»²¿·ÖµØÒÔÈÎºÎµÄÊµÌåÃ½½é»òµç×ÓÐÎÊ½
µØ±»ÖØÖÆ»òÉ¢²¼£¬Ö»ÒªÕâ·Ý°æÈ¨ÉùÃ÷ÔÚËùÓÐµÄ¿½±´ÉÏ±»±£ÁôÏÂÀ´¡£ÉÌÒµÐÔµÄ
ÔÙÉ¢²¼Ê¹ÓÃÊÇ±»ÔÊÐíÓë¹ÄÀøµÄ£»È»¶ø£¬×÷ÕßÏ£ÍûÔÚÑùµÄÉ¢²¼Ê¹ÓÃÇ°ÄÜ±»Ô¤ÏÈ
±»¸æÖª¡£
\item  ËùÓÐµÄ·­Òë¡¢ÑÜÉúµÄ×÷Æ·£¬ »òÈÎºÎÓÐ¹Øì¶¼¯½áÈÎºÎµÄ Linux HOWTO
ÎÄ¼þµÄÐÐÎª¶¼±ØÐëÔÚÕâ¸ö°æÈ¨ÏÂÀ´×ö¡£ Ò²¾ÍÊÇËµ£¬Äã²»ÄÜ´ÓÒ»·Ý HOWTO ÎÄ
¼þ¶øÑÜÉú³öÁíÒ»·Ý×÷Æ·áá¾ÍÏÞÖÆ¶Ôì¶ËüµÄ±»É¢²¼Ê¹ÓÃÈ¨¡£ÔÚÕâÐ©ÌõÎÄÒÔÍâÖ»
ÒªÔÚ±ØÒªµÄÌõ¼þÏÂÒà±»ÔÊÐíÊ¹ÓÃ£» ÇëÓë Linux HOWTO µÄÁ¬ÂçÈËÒÔÏÂÃæ¸½ÉÏ
µÄµØÖ·À´Á¬Âç¡£
\item   Èç¹ûÄúÓÐÈÎºÎÎÊÌâ£¬ ÇëÓë Tim Bynum Á¬Âç£¬ ËüÊÇ Linux  HOWTO
µÄÁ¬ÂçÈË£¬ ¼Äµ½\onlynameurl{linux-howto@sunsite.unc.edu} Èç¹û¾õµÃÓÃ¼ÄÐÅµÄ·½Ê½Ì«ÂýÄÇ÷á¾Í
ÎÊËûµÄµç»°°É¡£
\end{itemize}


áá¼Ç:



ÒëÕß°´: ÈôÄú·¢ÏÖ±¾ÎÄ¼þÄÚÈÝÓÐ·­Òë²»Ë³³©»ò´íÎóµÄµØ·½£¬ÇëÄúÀ´ÐÅ¸æËßÎÒ£¬ÒÔ×ö¸üÕý£¬Ð»Ð»¡£
{\ttfamily \onlynameurl{linuxer.bbs@cis.nctu.edu.tw}}¡£
Òë×¢£ºÕâ·ÝÎÄ¼þµÄÖÐÎÄ°æ¿ÉÔÚ\nameurl{http://www.linux.org.tw/CLDP/}{}ÏÂÈ¡µÃ¡£



\end{document}
