📄 lsg42.htm
字号:
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<LINK REL="ToC" HREF="index.htm">
<LINK REL="Index" HREF="htindex.htm">
<LINK REL="Next" HREF="lsg43.htm">
<A NAME="I0"></A>
<H2>Linux System Administrator's Survival Guide lsg42.htm</H2>
<P ALIGN=LEFT>
<HR ALIGN=CENTER>
<P>
<UL>
<UL>
<UL>
<LI>
<A HREF="#E68E221" >Choosing a Connection Method</A>
<LI>
<A HREF="#E68E222" >Deciding What Services You Need</A>
<LI>
<A HREF="#E68E223" >Directly Connecting through a Gateway</A>
<LI>
<A HREF="#E68E224" >Connecting through Another Gateway</A>
<LI>
<A HREF="#E68E225" >Using a Service Provider</A>
<LI>
<A HREF="#E68E226" >Summary</A></UL></UL></UL>
<HR ALIGN=CENTER>
<A NAME="E66E48"></A>
<H1 ALIGN=CENTER>
<CENTER>
<FONT SIZE=6 COLOR="#FF0000"><B>Chapter 42</B></FONT></CENTER></H1>
<BR>
<A NAME="E67E51"></A>
<H2 ALIGN=CENTER>
<CENTER>
<FONT SIZE=6 COLOR="#FF0000"><B>Setting Up an Internet Site</B></FONT></CENTER></H2>
<BR>
<P>Linux is well suited for connecting to the Internet and using many of the Internet services. Earlier chapters looked at e-mail and USENET news; this chapter focuses on setting up your Linux machine as a server for FTP, Gopher, WAIS, and the World Wide Web. This chapter looks at the ways you can connect to the Internet. The following chapters then show you how to set up your Linux system as a server for four popular services.
<BR>
<P>If you only want to use your Linux system to access other servers, you don't have to worry about any of the material in the next four chapters (although you might want to read this chapter to find out how to connect to the Internet). On the other hand, sharing your system's resources with others, whether in a local area network, a small circle of friends, or the worldwide Internet community can be most of the fun.
<BR>
<P>If your Linux system is to offer services such as FTP, WWW, or Gopher to your local area network or to friends connecting by modem, but you don't want to provide Internet-wide access, you don't need to worry about connecting to the Internet. You still have to set up the server software, though.
<BR>
<BR>
<A NAME="E68E221"></A>
<H3 ALIGN=CENTER>
<CENTER>
<FONT SIZE=5 COLOR="#FF0000"><B>Choosing a Connection Method</B></FONT></CENTER></H3>
<BR>
<P>There are many different ways to connect to the Internet. Your choice of method depends primarily on your usage habits and the services you want access to. Although it may seem as though there is an overwhelming number of companies offering Internet access or services, there are really only four ways to connect to the Internet:
<BR>
<UL>
<LI><B>A direct connection to the Internet</B> This method uses a dedicated machine (a gateway) to connect into the Internet backbone. This method gives you full access to all services, but it is expensive to set up and maintain.
<BR>
<BR>
<LI><B>Connecting through someone else's gateway</B>—This method usually involves getting permission to use someone else's machine for full access to all Internet services.
<BR>
<BR>
<LI><B>Using a direct service provider</B> This method uses a specialty company's gateway that your machine can access to provide limited or full access to Internet services. All these companies do is act as a gateway to the Internet; they are not the same as on-line services. Usually, this type of service provider uses modem or dedicated telephone connections with high-speed lines to provide fast service.
<BR>
<BR>
<LI><B>Using an indirect service provider</B> This method involves using an on-line company (such as Delphi or CompuServe) to access some or all of the Internet's services. This method is usually suitable only for low-volume usage and doesn't take advantage of Linux at all.
<BR>
<BR>
</UL>
<P>It is rare to find a gateway that you can borrow for access of your own, unless you are willing to share the costs of the gateway. Most companies that have a gateway are reluctant to allow outsiders to use their system.
<BR>
<P>If you are part of a company or sharing the costs with a number of friends, on-line service providers seldom are able to offer the level of performance you need for support of e-mail, FTP, and other Internet services. In addition, most on-line services do not allow you to have your own domain name.
<BR>
<P>That leaves only a direct gateway to the Internet of your own or the use of a service provider. The choice between these two options usually comes down to an issue of the costs to connect both ways. Setting up your own gateway is expensive, but it may be cheaper than arranging accounts with a service provider if the volume of traffic is high. If you just want access for yourself or for a very small company, having your own dedicated gateway is probably too expensive. Setting up an account with a service provider is possible for individuals, but sometimes the costs and machine overhead are too high. Service providers are typically used by small companies, but you may want to use a service provider if you anticipate a high Internet usage.
<BR>
<BR>
<A NAME="E68E222"></A>
<H3 ALIGN=CENTER>
<CENTER>
<FONT SIZE=5 COLOR="#FF0000"><B>Deciding What Services You Need</B></FONT></CENTER></H3>
<BR>
<P>When deciding which method to use to access the Internet, one of the important items to consider is the type of services you want from the Internet. If all you need is e-mail, any kind of access will provide it, but some may be ridiculously expensive for what you get. As a starting point, decide which of the following services are necessary and which are less important:
<BR>
<TABLE BORDERCOLOR=#000040 BORDER=1 CELLSPACING=2 WIDTH="100%" CELLPADDING=2 >
<TR>
<TD VALIGN=top BGCOLOR=#80FFFF ><FONT COLOR=#000080>
e-mail
</FONT>
<TD VALIGN=top BGCOLOR=#80FFFF ><FONT COLOR=#000080>
Sending mail to and from other Internet users</FONT>
<TR>
<TD VALIGN=top BGCOLOR=#80FFFF ><FONT COLOR=#000080>
Telnet
</FONT>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -