当前位置:首页 > 服务器类 > Linux服务器 > > 菜鸟RedHatFedoraCore2安装手记

菜鸟RedHatFedoraCore2安装手记

点击次数:27 次 发布日期:2008-11-29 15:42:24 作者:源代码网
源代码网推荐
源代码网推荐
源代码网推荐  从网上下载fedora core2 的安装光盘
源代码网推荐  http://www.linuxsir.com/bbs/showthread.php?s=&threadid=109335&perpage=15&pagenumber=1
源代码网推荐  
源代码网推荐  用md5sum命令验证完整性:# md5sum <filename>
源代码网推荐  
源代码网推荐  强烈建议安装前先看看release note,对新版本有哪些变化,硬件需求心里先有个谱,免得安装的时候出错。 比如,新版的fedora万全安装6.9G,我的硬盘分区不够,就不能选择完全安装;又如,asus的P4P800系列主板暂时安装不了fc2等。
源代码网推荐  
源代码网推荐  硬盘安装有多种方式──光盘引导,软驱引导,grub引导等,具体地可以参考论坛上的置顶贴,北南老大给咱们新手早就指好路了
源代码网推荐  Grub安装:http://www.linuxsir.org/bbs/showthread.php?s=&postid=164822
源代码网推荐  加载iso文件# mount /path/FC2-i386-disc1.iso /mnt/cdrom
源代码网推荐  拷贝vmlinuz,initrd.img 到/boot目录下
源代码网推荐  # cp /mnt/cdrom/isolinux/initrd.img /boot/initrd-fc2setup.img
源代码网推荐  # cp /mnt/cdrom/isolinux/vmlinuz /boot/vmlinuz-fc2setup
源代码网推荐  修改grub.conf,添加:
源代码网推荐  title Fedora core 2 Setup
源代码网推荐  root (hd0,6)
源代码网推荐  kernel /boot/vmlinuz-fc2setup root=/dev/hda7
源代码网推荐  initrd /boot/initrd-fc2setup.img
源代码网推荐  重新启动选择该项,就可安装。
源代码网推荐  硬盘安装:http://www.linuxsir.org/bbs/showthread.php?s=&threadid=71740
源代码网推荐  光盘目录~/images下的diskboot.img是fat格式的引导文件映象,如果有优盘,系统又支持,可以用rawrite,hdcopy等将它写入优盘引导;
源代码网推荐  
源代码网推荐  
源代码网推荐  我有刻录机,可擦写盘,又不想刻盘,所以选择了光盘引导进行硬盘安装:
源代码网推荐  在fedora core 1下加载第一张安装光盘
源代码网推荐  # mount /mnt/WinE/fc2/FC2-i386-disc1.iso /mnt/cdrom -o loop
源代码网推荐  #在光盘目录~images/下的boot.iso可以用来制作引导光盘
源代码网推荐  利用k3b刻录映象文件功能,刻录出引导盘。
源代码网推荐  将原来系统里需要备份的文件、目录备份,以减少损失。比如用户主目录# tar czvf ./backup.tgz ~/你的主目录/。
源代码网推荐  
源代码网推荐  重启系统,设置为光驱启动,将引导盘放入光驱,出现安装界面,安装直接回车;询问安装过程的语言,选择中文,提示找到安装介质前是英文;
源代码网推荐  出现菜单寻找iso文件,上边是分区/dev/hda1....下面是文件名/目录,选择iso文件位置,我的就是/dev/hda6, fc2/回车,开始安装;
源代码网推荐  安装程序自动找到/dev/hda7的fedora core1,选择全新安装;
源代码网推荐  分区选择手动分区,自动分区会自作主张,除非是只装这一个系统,一般不要选择;
源代码网推荐  配置网卡,如果不是小区宽带等在lan内上网的情况,手动分配地址就行,比如我有两个网卡,eth0接adsl上网,192.168.1.6/255.255.255.0(设为与modem默认同一网段),eth1接内网192.168.0.1/255.255.255.0/网关192.168.0.1,主机地址就设为localhost.localdomain就行;
源代码网推荐  选择安装模式的时候看自己的情况,想省事又有空间,就完全安装,定制安装最好把开发工具都选上:开发工具/内核开发(fc2的内核有问题,安装nvidia驱动要编译内核)/x软件开发/gnome开发/kde开发;
源代码网推荐  接下来就让机器自己劳动吧,有40分钟就差不多装完了。
源代码网推荐  安装完成,重新启动,出现grub启动引导菜单,如果是多系统,会看到其他的选项,如我是双系统,fedora core (2.6.5-1.358)下面还有一个other,就是windows,如果选它,就由ntloader引导进入windows;
源代码网推荐  
源代码网推荐  第一次进入fc2,是gnome桌面;
源代码网推荐  
源代码网推荐  首先修改/etc/inittab,将id:5:initdefault:改为id:3:initdefault:
源代码网推荐  
源代码网推荐  修改/boot/grub/grub.conf,将title other改为 windows xp/2000/2003等,其他不用动;
源代码网推荐  linux不在主分区可以这样,如果是主分区,那么启动windows,还要激活分区,在grub.conf里windows那一段添加为
源代码网推荐  title windows XXX
源代码网推荐  rootnoverify (hd0,x)
源代码网推荐  makeactive
源代码网推荐  chainloader +1
源代码网推荐  boot (可以不加)
源代码网推荐  
源代码网推荐  修改/etc/fstab/
源代码网推荐  建立目录/mnt/WinXP /mnt/WinD /mnt/WinE
源代码网推荐  #mkdir /mnt/WinXP
源代码网推荐  #mkdir /mnt/WinD
源代码网推荐  #mkdir /mnt/WinE
源代码网推荐  改变权限#chmod 777 /mnt/WinD /mnt/WinE
源代码网推荐  添加windows分区的加载信息如:
源代码网推荐  /dev/hda1 /mnt/WinXP ntfs auto,ro,nls=cp936,uid=1000,gid=1000,umask=000 0 0
源代码网推荐  /dev/hda5 /mnt/WinD vfat umask=0,rw,iocharset=cp936 0 0
源代码网推荐  /dev/hda6 /mnt/WinE vfat umask=0,rw,iocharset=cp936 0 0
源代码网推荐  我这里的设置跟有些兄弟说的不一样,还是加了cp936的项,而且文件名读取正常;相反,如果不加,倒是乱码。
源代码网推荐  
源代码网推荐  添加xdsl连接:
源代码网推荐  图形工具# system-config-network,新建xdsl>填写网卡、供应商、账户、密码即可;
源代码网推荐  用adsl-setup# adsl-setup,按照提示一步步填写即可;
源代码网推荐  ====================================================================
源代码网推荐  Welcome to the ADSL client setup. First, I will run some checks on
源代码网推荐  your system to make sure the PPPoE client is installed properly...
源代码网推荐  
源代码网推荐  
源代码网推荐  LOGIN NAME
源代码网推荐  
源代码网推荐  Enter your Login Name (default root): ( 填写账户名)
源代码网推荐  
源代码网推荐  INTERFACE
源代码网推荐  
源代码网推荐  Enter the Ethernet interface connected to the ADSL modem
源代码网推荐  For Solaris, this is likely to be something like /dev/hme0.
源代码网推荐  For Linux, it will be ethX, where "X" is a number.
源代码网推荐  (default eth0): (上网用的网卡接口,默认eth0)
源代码网推荐  
源代码网推荐  Do you want the link to come up on demand, or stay up continuously?
源代码网推荐  If you want it to come up on demand, enter the idle time in seconds
源代码网推荐  after which the link should be dropped. If you want the link to
源代码网推荐  stay up permanently, enter "no" (two letters, lower-case.)
源代码网推荐  NOTE: Demand-activated links do not interact well with dynamic IP
源代码网推荐  addresses. You may have some problems with demand-activated links.
源代码网推荐  Enter the demand value (default no): (是按需拨号,还是持续连接;按需拨号,填写空闲时间,如60(秒);默认持续连接)
源代码网推荐  
源代码网推荐  DNS
源代码网推荐  
源代码网推荐  Please enter the IP address of your ISP"s primary DNS server.
源代码网推荐  If your ISP claims that "the server will provide dynamic DNS addresses",
源代码网推荐  enter "server" (all lower-case) here.
源代码网推荐  If you just press enter, I will assume you know what you are
源代码网推荐  doing and not modify your DNS setup.
源代码网推荐  Enter the DNS information here: (域名解析服务器,可以填server,自动寻找;也可以直接填地址)
源代码网推荐  
源代码网推荐  PASSWORD
源代码网推荐  
源代码网推荐  Please enter your Password:
源代码网推荐  Please re-enter your Password: (输入口令并确认)
源代码网推荐  
源代码网推荐  USERCTRL
源代码网推荐  
源代码网推荐  Please enter "yes" (two letters, lower-case.) if you want to allow
源代码网推荐  normal user to start or stop DSL connection (default yes): (用户控制,yes允许普通用户启动、关闭连接;默认yes)
源代码网推荐  
源代码网推荐  FIREWALLING
源代码网推荐  
源代码网推荐  Please choose the firewall rules to use. Note that these rules are
源代码网推荐  very basic. You are strongly encouraged to use a more sophisticated
源代码网推荐  firewall setup; however, these will provide basic security. If you
源代码网推荐  are running any servers on your machine, you must choose "NONE" and
源代码网推荐  set up firewalling yourself. Otherwise, the firewall rules will deny
源代码网推荐  access to all standard servers like Web, e-mail, ftp, etc. If you
源代码网推荐  are using SSH, the rules will block outgoing SSH connections which
源代码网推荐  allocate a privileged source port.
源代码网推荐  
源代码网推荐  The firewall choices are:
源代码网推荐  0 - NONE: This script will not set any firewall rules. You are responsible
源代码网推荐  for ensuring the security of your machine. You are STRONGLY
源代码网推荐  recommended to use some kind of firewall rules.
源代码网推荐  1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
源代码网推荐  2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
源代码网推荐  for a LAN
源代码网推荐  Choose a type of firewall (0-2)防火墙规则,0-无有,1-基本工作站,2-局域网网关;一般选1就行)
源代码网推荐  
源代码网推荐  Start this connection at boot time
源代码网推荐  
源代码网推荐  Do you want to start this connection at boot time?
源代码网推荐  Please enter no or yes (default no): (是否随系统启动,如果包月yes)
源代码网推荐  
源代码网推荐  ** Summary of what you entered **
源代码网推荐  
源代码网推荐  Ethernet Interface: eth0
源代码网推荐  User name: *********
源代码网推荐  Activate-on-demand: No
源代码网推荐  DNS addresses: Supplied by ISP"s server
源代码网推荐  Firewalling: STANDALONE
源代码网推荐  User Control: yes
源代码网推荐  Accept these settings and adjust configuration files (y/n)? (是否接受这些设置,并调整配置文件)
源代码网推荐  
源代码网推荐  Adjusting /etc/sysconfig/network-scripts/ifcfg-ppp0
源代码网推荐  Adjusting /etc/ppp/chap-secrets and /etc/ppp/pap-secrets
源代码网推荐  
源代码网推荐  
源代码网推荐  Congratulations, it should be all set up!
源代码网推荐  
源代码网推荐  Type "/sbin/ifup ppp0" to bring up your xDSL link and "/sbin/ifdown ppp0"
源代码网推荐  to bring it down.
源代码网推荐  Type "/sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0"
源代码网推荐  to see the link status. (配置完成,启
源代码网推荐
源代码网推荐
源代码网推荐
源代码网推荐
源代码网供稿.
网友评论 (0)
会员中心
服务器类
本站推荐
服务器类之精华