Fedora eth0及repositories設置

1. 網口:eth0   IP爲:192.168.1.28  網關:192.168.1.1
輸入以下命令:
ifconfig eth0 inet 192.168.1.28 netmask 255.255.255.0
route add default gw 192.168.1.1

2.root登陸。

3.如果yum無法連接到repositories,可以進行以下操作:
編輯/etc/yum.repos.d/fedora.repo 和 /etc/yum.repos.d/fedora-updates.repo文件。去掉第一個#baseurl 的" # ”, 在第一個mirrorlist開頭 添加" # "。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章