歡迎您光臨本站 註冊首頁

記安裝Fedora8體會

←手機掃碼閱讀     火星人 @ 2014-03-25 , reply:0

今天為了安裝這個Linux,費了Yum一下午加晚上的時間,期間問題太多了,我又是新手來著(雖然以前安裝過很多次Linux)。我碰到了一個很奇怪的問題,不過最終還是被我解決了。

首先,我是硬碟安裝的方式安裝FC的,起先裝Ubuntu 7.10,因為看網上的網友都說Ubuntu易用性好,搞得我也是躍躍欲試,結果安裝的時候錯誤百出,不知道為什麼,安裝文件下載好了,MD5也對過沒錯,但就是問題百出阿,最後連Desktop都裝不上去,也就意味著是純文本界面下的Ubuntu,不是圖形界面的,納悶。

故而轉向Fedora 8,因為之前裝過Fedora 7,我想是很簡單的事。

簡單是簡單,Windows下設置好,重啟,很自然地裝下去了(只不過FC 8設置有略不同),我裝了很多開發軟體,FC8打包了很多開發軟體,這跟FC7最大的不同了,另外一點就是FC8的見面更加簡潔明快,讓人愛不釋手,大有當年剛使用XP時代的興奮感,之所以簡潔,我想FC8的開發者們是有用意的,因為FC8集成了Windows文件伺服器,意味著不用向以前那樣自己去Mount vfat Windows文件系統了,一裝好,就直接可以訪問Windows分區了,多方便,因為這個便利,很多Ubuntu的都紛紛回到了FC的懷抱(FC學Ubuntu的,所以說競爭好啊)。

下面說說Yum碰到的問題,裝好FC8后,就重啟了,等著它自己載入,看著那清爽的啟動界面正興奮的時候,結果,到了啟動細節那塊時,突然關機,機器一點聲音也沒有,接著過了2-3秒后自動開機,我試過兩次,都是這樣,於是就懷疑是不是硬體驅動沒裝好,所以又找了另外一個網址下載了FC8,再裝,問題依舊。

於是到ChinaUnix.net論壇求助,半天沒人回復,只好自己找問題,Google了一下,有類似的提問,有的回答說FC8內核有點問題,要更新,然後不少人又說不知道怎麼更新,我也不知道。

我想FC7我裝成功過,硬體驅動應該沒問題,電源問題?於是到BIOS下查看,disable了ACPI選項,保存重啟,FC8反而更加出錯了,問題不在這裡,又進BIOS,重新開始ACPI電源管理項,然後我看到EIST選項,想到我的CPU是Pentium Core E2140,是Core Duol的精簡版,好像沒有EIST功能,但是我的主板是昂大P35D的,它支持這個選項,我是無意中把他啟動的,反正Windows下沒出錯,所以也沒在意。disable后,保存重啟,成功了,終於進入了Fedora Core 8了!

上次FC7裝了沒怎麼用,原因是撥號程序怎麼也沒裝成功。這次看FC8,安裝還挺順利(後面我會附上教程)。撥號成功了,但是卻不能瀏覽網頁,FireFox一打開要半天才能響應,QQ也上不去,奇怪的是,我用ifconfig能夠看到撥號的IP,用adsl-status也說連接上了,但是就是上不了,這跟撥號不撥號一個樣,又是一頓狂測試。試了不知道多少邊,重啟了不知道多少邊,還是不行,火了,重啟安裝rp-pppoe-3.5,重新設置,重啟,一開FireFox,成功了,能上網了,這下可好了!

附上Yum我的安裝過程:
2008年1月21日,Yum在Fedora 8下試驗成功!
1.先安裝rp-pppoe-3.5.tar.gz, 在終端中解壓和安裝:

#tar zxvf rp-pppoe-3.5.tar.gz

進入解壓目錄執行

#sh ./go

2.重啟 reboot -n

3.重啟完成後,進行adsl撥號程序安裝(用路由器的可以省去這一步)

在終端中輸入: #pppoe-setup

Welcome to the Roaring Penguin ADSL client setup. First, I will run some checks on your system to make sure the PPPoE client is installed properly… Looks good! Now, please enter some information:

USER NAME
>;>;>; Enter your PPPoE user name (default XXX): 在這裡輸入ADSL用戶名

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 ethn, where 『n』 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):直接回車

DNS
Please enter the IP address of your ISP』s primary DNS server. If your ISP claims that 『the server will provide 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 即自動獲得DNS

PASSWORD
>;>;>; Please enter your PPPoE password:輸入ADSL密碼
>;>;>; Please re-enter your PPPoE password:再輸入一次

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,可自選,英文水平有點的都懂

** Summary of what you entered **
Ethernet Interface: eth0
User name: XXX
Activate-on-demand: No
DNS: Do not adjust
Firewalling: MASQUERADE
>;>;>; Accept these settings and adjust configuration files (y/n)?這裡輸入y即可,輸入n就是重頭設置過。

配置完成!

啟動撥號命令:/sbin/ifup ppp0
停止網路命令:/sbin/ifdown ppp0
查看網路狀態:/sbin/pppoe-status

命令太複雜?呵呵,Yum告訴你有更簡單的。

啟動撥號命令:adsl-start
停止網路命令:adsl-stop
查看網路狀態:adsl-status

[火星人 ] 記安裝Fedora8體會已經有360次圍觀

http://coctec.com/docs/linux/show-post-167229.html