Fedora11,我的使用小结(源)

//在工作开始之前,这样做一下方便
su root


现打开网络连接,要看到可以上网哦
ifconfig eth0 192.168.11.2 netmask 255.255.255.0
vi /etc/sysconfig/network-syscript/ifcfg-eth0
可以加上

GATEWAY=192.168.11.1
//DNS
vi /etc/resolv.conf
nameserver 202.96.128.166
nameserver 202.96.128.86
//上面是广州电信的DNS
这样应该就可以上网了。
=====下面加一个源
vi /etc/yum/repo.d/sjtu.repo
[Fedora-ftp.sjtu.edu.cn]
name=Fedora 11 - i386
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/11/Fedora/i386/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-
gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[Everything-ftp.sjtu.edu.cn]
name=Everything 11 - i386
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/11/Everything/i386/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[updates-ftp.sjtu.edu.cn]
name=Fedora updates
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/updates/11/i386/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

保存后
更新源缓存

yum makecache
yum update
安装软件仓库
rpm -ivh rpmfusion-free-release-stable.noarch.rpm
rpm -ivh rpmfusion-nonfree-release-stable.noarch.rpm
这两个东西我有,可是不能上传,给个网址把
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
安装图形界面吧
yum install yumex
//自动选择最快的源
yum install yum-fastestmirror

源部分就到这里把

你可能感兴趣的:(职场,休闲,Fedorall)