出 处: 172.26.112.122
发信人: dazi (老夫子), 信区: Linux 标 题: 轻轻松松安装Linux (9) (fwd) 发信站: 火树银花第一站 (Wed Jun 4 02:19:00 1997) , 转信
Subject: 轻轻松松安装 Linux (9) (fwd) lights (转寄) X-Forwarded-By: dazi (迷茫的老夫子) X-Disclaimer: 华南木棉站 对本信内容恕不负责。
寄信人: [email protected] 标 题: 轻轻松松安装 Linux (9) (fwd) 发信站: 华南理工大学 BBS木棉站 日 期: Fri Sep 13 17:25:42 1996
*** Forwarded file follows ***
发信人: hawdog (哈巴狗), 信区: Linux 标 题: 轻轻松松安装 Linux (9) 日 期: Thu Sep 12 23:02:43 1996
□□ Skip Skip LILO installation and exit this menu □ □□ View View your current /etc/lilo.conf □ □□ Help Read the Linux Loader HELP file □ □ ___________________________________________________________________ _______________________________________________________________________ □ < OK > <Cancel> _______________________________________________________________________ 以下安装程式侦测到 /dev/hda1 有 DOS分割区, 我们就回答该分 割区作为启动之用。 << 画面 4-78 >> ________________________ SELECT DOS PARTITION _________________________ □ These are possibly DOS partitions. They will be treated □ as such if you install them using this menu. □ □ Device Boot Begin Start End Blocks Id System □ /dev/hda1 * 1 1 1000 127491+ 6 DOS 16-bit >=32M □ □ Which one would you like LILO to boot? □ ____________________________________________________________________□ □□dev/hda1 □ □ ____________________________________________________________________□ □ □ □ □ □ □ ________________________________________________________________________ □ < OK > <Cancel> ________________________________________________________________________ 同样的, 以下我们也给这DOS分割区取一个代码, 这里我们取名为 dos (大小写无关系)。 << 画面 4-79 >>
________________ SELECT PARTITION NAME __________________ □ Now you must select a short, unique name for this □ partition. You'll use this name if you specify a □ partition to boot at the LILO prompt. 'DOS' might not □ be a bad choice. THIS MUST BE A SINGLE WORD. □ ______________________________________________________□ □责os □ □ ______________________________________________________□ __________________________________________________________ □ < OK > <Cancel> __________________________________________________________
又回到这画面, 现在我们就可以把反白移动到 Install 这一行, 真正执行 LILO Install。
<< 画面 4-80 >> __________________________ LILO INSTALLATION __________________________ □ LILO (the Linux Loader) allows you to boot Linux from your hard □ drive. To install, you make a new LILO configuration file by □ creating a new header and then adding at least one bootable □ partition to the file. Once you've done this, you can select the □ install option. Alternately, if you already have an /etc/lilo.conf, □ you may reinstall using that. If you make a mistake, you can always □ start over by choosing 'Begin'. Which option would you like? □ ___________________________________________________________________ □□ Begin Start LILO configuration with a new LILO header □ □□ Linux Add a Linux partition to the LILO config file □ □□ OS/2 Add an OS/2 partition to the LILO config file □ □□ DOS Add a DOS partition to the LILO config file □ □□ Install Install LILO □ □□ Recycle Reinstall LILO using the existing lilo.conf □ □□ Skip Skip LILO installation and exit this menu □ □□ View View your current /etc/lilo.conf □ □□ Help Read the Linux Loader HELP file □ □ ___________________________________________________________________ _______________________________________________________________________ □ < OK > <Cancel> _______________________________________________________________________
我们接著可以在萤幕上看到下面这讯息。
<< 画面 4-81 >> ______________________________________ □ □ Installing the Linux Loader... □ ______________________________________ 设定网路
紧接著设定 LILO 之後, 我们要进行网路的设定。
<< 画面 4-82 >> __________________ CONFIGURE NETWORK? ___________________ □ Would you like to configure your network? □ __________________________________________________________ □ < Yes > < No > __________________________________________________________ 下面讯息稍微阅读一下, 尤其不要忘记, 当您系统建议起来後, 随时还可以用 netconfig 命令重新设定网路。
<< 画面 4-83 >> ______________________ NETWORK CONFIGURATION _______________________ □ □ Now we will attempt to configure your mail and TCP/IP. This □ process probably won't work on all possible network □ configurations, but should give you a good start. You will be □ able to reconfigure your system at any time by typing: □ □ netconfig □ ____________________________________________________________________ □ < OK > ____________________________________________________________________ 以下首先回答您这部 Linux的主机名称, 在这里, 笔者将之取名为 linux3, 注意, hostname 加上 domain name 就是您机器的完整网路 名称。 通常假如您在台湾学术网路的话, 这名称要在学校的 nameserver 注册, 至於在台湾非学术网路部份, 可以透过 [email protected] 的服务来注册 (也就是那些 *.org.tw、 *.com.tw 及 *.gov.tw 等等), 假如是公司内部网路, 则无须登记。
<< 画面 4-84 >> __________________________ ENTER HOSTNAME __________________________ □ First, we'll need the name you'd like to give your host. Only □ the base hostname is needed right now. (not the domain) □ □ Enter hostname: □ ________________________________________________________________□ □□linux3 □ □ ________________________________________________________________□ ____________________________________________________________________ □ < OK > <Cancel> ____________________________________________________________________ 以下回答该机器所在网路之 domain name, 以下我回答 uuserv.net.tw。
<< 画面 4-85 >> ________________________ ENTER DOMAINNAME _________________________ □ Now, we need the domain name. Do not supply a leading '.' □ □ Enter domain name for linux3: □ ________________________________________________________________□ □| uuserv.net.tw □ □|________________________________________________________________□ ____________________________________________________________________ □ < OK > <Cancel> |____________________________________________________________________ 下面询问是否是单机网路, 也就是说假如该机器没配备有网路卡, 也没有透过串列通讯界面 (比方SLIP/PPP) 或 平行通讯界面 (PLIP) 连接网路, 底下就回答 Yes, 假如想上网路, 则回答 No。
<< 画面 4-86 >>
__________________________ LOOPBACK ONLY? __________________________ □ If you only plan to use TCP/IP through loopback, then your □ IP address will be 127.0.0.1 and we can skip a lot of the □ following questions. □ □ Do you plan to ONLY use loopback? ____________________________________________________________________ □ < Yes > < No > ____________________________________________________________________ 假如上一个画面回答 No, 您接著就会看到以下画面。 以下回答 该机器的 IP 地址, 注意, 假如这机器要连上 Internet的话, 这 IP 不可以乱定, 因为 Internet上的 IP 地址是不可以重复的。 至於是 内部网路的话, 可以任意选用以下的 IP。 10.0.0.0 ~ 10.255.255.255 172.16.0.0 ~ 172.31.255.255 192.168.0.0 ~ 192.168.255.255
注意, 假如您在台湾学术网路的话, 往下的资料, 通常您要询问 贵校的计算机中心才可获得, 否则, 找一个网路前辈问看看。
<< 画面 4-87 >> ____________________ ENTER LOCAL IP ADDRESS _____________________ □ Enter your IP address for the local machine. Example: □ 111.112.113.114 □ Enter IP address for linux3 (aaa.bbb.ccc.ddd): □ ______________________________________________________________□ □□92.168.1.149 □ □|______________________________________________________________□ __________________________________________________________________ □ < OK > <Cancel> |__________________________________________________________________ 假如有 Gateway的话, 填到底下。
<< 画面 4-88 >> ____________________ ENTER GATEWAY ADDRESS ____________________ □ Enter your gateway address, such as 111.112.113.1 □ □ If you don't have a gateway on your network, you can enter □ your own IP address. □ □ Enter gateway address (aaa.bbb.ccc.ddd): □ ___________________________________________________________ □□92.168.1.150 □ □ ___________________________________________________________ _______________________________________________________________ □ < OK > <Cancel> _______________________________________________________________ 底下填入 Netmask。
<< 画面 4-89 >> ________________________ ENTER NETMASK ________________________ □ Enter your netmask. This will generally look something □ like this: 255.255.255.0 □ Enter netmask (aaa.bbb.ccc.ddd): □ ___________________________________________________________ □□55.255.255.0 □ □ ___________________________________________________________ _______________________________________________________________ □ < OK > <Cancel> _______________________________________________________________ 以下询问是否有 nameserver, 内部私有网路可以回答 No, 至於 想上 Internet的机器, 则一定要有 (此处是指定一部 Name server 提供不机器的需要的 IP<-> Domain name 转换服务, 而不是说要设 立自己的一部 Name server。 对大部分人来说, 没有必要有自己的 Name server)。
<< 画面 4-90 >> ______________ USE A NAMESERVER? _______________ □ Will you be accessing a nameserver? ________________________________________________ □ < Yes > < No > ________________________________________________ Internet 上负责把 IP 转 Domain name (或反过来) 的服务, 就 是由 nameserver负责, 以下把距您最近的一部 nameserver的 IP 填 入。
<< 画面 4-91 >> ________________________ SELECT NAMESERVER __________________________ □ Here is your current IP address, full hostname, and base hostname: □ 192.168.1.149 linux3.uuserv.net.tw linux3 □ □ Please give the IP address of the name server to use. □ You can add more Domain Name Servers by editing /etc/resolv.conf. □ □ Name Server for domain uuserv.net.tw (aaa.bbb.ccc.ddd): □ __________________________________________________________________□ □□39.175.249.15 □ □ __________________________________________________________________□ ______________________________________________________________________ □ < OK > <Cancel> ______________________________________________________________________ << 画面 4-92 >>
__________________ NETWORK SETUP COMPLETE ____________________ □ □ Your networking software has now been configured. □ _______________________________________________________________ □ < OK > _______________________________________________________________
以上, 基本网路设定已经妥当。 接下来, 我们要设定电子邮件服 务系统 (sendmail), 这里的设定只适用在 Slackware Linux 2.02 以 後的版本, 之前的版本无须此道操作。
接下来进行到画面 4-93, 这里所遇到的, 是 selection 萤幕剪 贴 (只在 Console有效) 程式, 这里问说, 是否要在系统一开机时就 执行该程式, 使得随时可以有剪贴功能 (类似 DOS常驻功能)。 笔者 建议这里回答 No, 之後假如发现有用到, 随时执行该程式即可。
<< 画面 4-93 >> ________________ SELECTION 1.5 CONFIGURATION _________________ □ Selection is a program that allows you to do cut and paste □ on the virtual consoles using a mouse. If you choose to □ have it run at boot time, the line: □ □ selection -t ms & □ □ will be added to the end of your /etc/rc.d/rc.local. □ □ Running selection with a bus mouse can cause problems with □ XFree86 2.0. If XFree86 2.0 refuses to start and complains □ that it cannot open the mouse then you might want to comment □ the line out of /etc/rc.d/rc.local. Would you like to add □ □ selection -t ms & □ □ to /etc/rc.d/rc.local so that selection will load at boot □ time? □ _______________________________________________________________ □ < Yes > < No > _______________________________________________________________
以下主要有三个选择, 假如您的机器摆在 直接 Internet连线, 这时您可以选择 SMTP+BIND, 假如内部 TCP/IP 网路, 可以选用SMTP , 至於想透过 UUCP通讯, 则选择 UUCP。 安装软体在自动拷贝恰当 的设定档, 并摆在 /etc/sendmail.cf。
<< 画面 4-94 >> ______________________ SENDMAIL CONFIGURATION ______________________ □ Sendmail requires a configuration file (/etc/sendmail.cf). Three □ versions are provided: TCP/IP with a nameserver, TCP/IP without □ a nameserver, and UUCP. If none of these proves suitable, you □ can make your own (look in /usr/src/sendmail). It probably won't □ hurt to try one of these, though. □ ________________________________________________________________□ □□ SMTP+BIND Connected to the net with nameserver access □ □□ SMTP Connected to a network with no nameserver □ □□ UUCP Use UUCP for mail transmission □ □□ SKIP Do not install /etc/sendmail.cf □ □ ________________________________________________________________□ ____________________________________________________________________ □ < OK > <Cancel> ____________________________________________________________________ 最後填入时区, 如画面 4-95 的说明。 读者若在台湾的话, 移动 往下方向键, 一直到 ROC, 之後按 <Enter> 键做选择。 请读者特别 留意, 是用放向键移动反白, 不是用空白键。
<< 画面 4-95 >> ______ TIMEZONE CONFIGURATION _______ □ Select one of the following □ timezones: □ __________________________________□ □□ Australia/LHI □ □□ Australia/NSW □ □□ Australia/North □ □□ Australia/Queensland □ □□ Australia/South □ □□ Australia/Tasmania □ □□ Australia/Victoria □ □□ Australia/West □ □□ Australia/Yancowinna □ □□ Brazil/Acre □ □□ Brazil/DeNoronha □ □□ Brazil/East □ □□ Brazil/West □ □□ Mexico/BajaSur □ □□ Mexico/General □ □□ MET □ □□ □ □□ ... (画面省略) □ □□ ... □ □□ □ □□ NZ □ □□ Navajo □ □□ PRC □ □□ Poland □ □□ ROC □ □ ____^Y□+)_________________________ ______________________________________ □ < OK > <Cancel> ______________________________________
<< 画面 4-96 >>
___________________ REPLACE /etc/fstab? ____________________ □ You already have an /etc/fstab on your install □ partition. If you were just adding software, you □ should probably keep your old /etc/fstab. If you've □ changed your partitioning scheme, you should use the □ new /etc/fstab. Do you want to replace your old □ /etc/fstab with the new one? __________________________________________________________ □ < Yes > < No > __________________________________________________________ 画面 4-96应该是您执行 CONFIGURATION阶段所看到的最後一个画 面, 假如您没有看到这画面, 就表示一定哪里出问题了, 最好您能够 重新执行一遍 CONFIGURATION, 否则通常您也没有办法正常开机进入 系统。 尤其对於安装交大云观 CD-ROM III Linux Plug and Play, 想直接由 CD-ROM 跑 Linux的朋友来说, 若您没有看到画面 4-96 更 新 /etc/fstab 的动作, 您将完全无法启动机器来 Plug & Play :-)
以上终於大公告成, 恭喜您, 您就此拥有一部完整的多工多使用 者作业系统, 而且支援完整的 TCP/IP 网路功能。 这里我提一些建议 给新手朋友, 不要期望第一次就可以安装一部没有瑕疵的 Linux 系统 ,照笔者经验, 很多新手们问一些奇奇怪怪的问题, 这类的问题有很多 都是起因於安装过程的错误。 最後, 回到主服务画面, 底下我们可以 <EXIT> 离开, 之後用 reboot 指令重新开机, 且注意, 用刚刚您造出来的系统开机磁片来启 动。 << 画面 4-97 >>
______________ Slackware Linux Setup (version FD-2.0.2) ______________ □ Welcome to Slackware Linux Setup. □ Select an option below using the UP/DOWN keys and SPACE or ENTER. □ Alternate keys may also be used: '+', '-', and TAB. □ __________________________________________________________________□ □□HELP Read the Slackware Setup HELP file □ □□KEYMAP Remap your keyboard if you're not using a US one □ □□QUICK Choose quick or verbose install mode [now: VERBOSE] □ □□MAKE TAGS Experts may customize tagfiles to preselect packages □ □□ADDSWAP Set up your swap partition(s) □ □□TARGET Set up your target partitions □ □□SOURCE Select source media □ □□DISK SETS Decide which disk sets you wish to install □ □□INSTALL Install selected disk sets □ □□CONFIGURE Reconfigure your Linux system □ □□EXIT Exit Slackware Linux Setup □ □ __________________________________________________________________□ □_____________________________________________________________________ □ < OK > <Cancel> ______________________________________________________________________ * 作者: 曾瑞源 著作权声明 * * [email protected] * * * * 任何个人都可未经授权自行列印阅读, 这里「个人」指任何人, * * 「自行列印」指的是非删改作者原作情况下, 自行由电脑印表机 * * 列印。本著作权规范不限制您列印数量, 但凡商业性出版使用、 * * 转排版印刷都不被允许。 * * * * 关於本著作物(电子书)的转发行规定, 您被鼓励将之摆放在任何 * * Internet FTP档案库上 Gopher/WWW站、或者任何联盟的PC BBS * * 站台, 作者欢迎并感激您愿意如此做, 因为这样做受益的朋友必 * * 然会更多。最後, 本版权声明是本著作的一部份, 任何将本声明 * * 与本著作分离的动作已经侵权并违法。其它未定事宜, 或您认为 * * 本版权声明有不合时宜之处, 请联络作者。我再次感谢您读我, * * 再见。 * * *
-- m;31m※ 来源:.火树银花第一站 www.dg.gnet.cn.[FROM: 202.116.80.17]m -- ************************************************************************* * janes(新丁)------电脑的新丁,网上的新丁 * 网上的朋友欢迎一聚! * * ----------------------------------------------------------------------* * EMAIL:(INTERNET):[email protected] * * (G-NET): [email protected] * * *************************************************************************
※ 来源: 网日情怀 bbs.mm.gnet.cn [FROM: 172.30.65.243]
|
|