fedora/linux yum源详细设置
时间:2023-11-27 14:40:39 点击:442

  经过艰苦的奋斗,终于搞定了fedora系统从安装到3D特效(本人安装的是fedora 11),为了方便后来的linuxer,特留下本人的全过程以供参考。以下步骤有的来自于google搜索,有部分来自于嘉佑中文博客(https://img.ytdonghua.net/images/20221208/nufuy1tgzqk

  1.添加rpm fusion源

  rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

  2.导入rpm fusion仓库的密钥

  rpm --import https://img.ytdonghua.net/images/20221208/qc0cswbqliz

  3.修改密钥文件

  gedit /etc/yum.conf

  在打开的文件尾部添加下面几行:

  [atrpms]

  name=Fedora Core $releasever - $basearch - ATrpms

  baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable

  gpgkey=https://img.ytdonghua.net/images/20221208/iexe2hhxbn1

  gpgcheck=1

  4.添加adobe软件仓并导入密钥

  rpm -ivh linuxdownload.adobe.com/linux/i386/adobe-release-i386-1.0-1.noarch.rpm“>http://linuxdownload.adobe.com/linux/i386/adobe-release-i386-1.0-1.noarch.rpm

  rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

  5.添加上海交大的yum 源

  vim /etc/yum.repos.d/sjtu.repo #不喜欢用vim 的人请用gedit

  在打开的文件中添加如下行:

  [fedora]

  name=Fedora $releasever - $basearch

  failovermethod=priority

  baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/releases/$releasever/Everything/$basearch/os/

  http://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/os/

  ftp://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/os/

  ftp://ftp.cuhk.edu.hk/pub/Linux/fedora/releases/$releasever/Everything/$basearch/os/

  enabled=1

  gpgcheck=1

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

  [updates]

  name=Fedora $releasever - $basearch - Updates

  failovermethod=priority

  baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/updates/$releasever/$basearch/

  http://ftp.sjtu.edu.cn/fedora/linux/updates/$releasever/$basearch/

  ftp://ftp.cuhk.edu.hk/pub/Linux/fedora/updates/$releasever/$basearch/

  enabled=1

  gpgcheck=1

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

  然后保存退出。

  6.更新缓存

  yum makecache

  7.更新yum插件,以加快下载速度

  yum install yum-presto -y

  yum -y install yum-fastestmirror

  8.下载axel插件(此插件使yum可以多线程下载文件,以达到更快的速度),下为全过程,每行为一条单独的命令:

  cd axel/trunk

  ./configure

  make && make install

  svn co http://cnfreesoft.googlecode.com/svn/trunk/axelget/ /etc/yum/axelget

  cd /etc/yum/pluginconf.d/

  ln -s /etc/yum/axelget/axelget.conf

  cd /usr/lib/yum-plugins/

  ln -s /etc/yum/axelget/axelget.py

  cd /home/Wolf

  rm -rf axel

  9注意:以下两行命令为卸载fedora 11自带的播放器(该播放器非常令本人不爽,故卸载,各位可根据本人喜好决定要不要卸载)

  yum remove rhythmbox -y

  yum remove totem -y

  10.顺便下载几个音乐播.放器(vlc播放器,mplayer播放器)

  yum install ffmpeg -y

  yum install vlc -y

  yum install mplayer smplayer -y

  11.安装firefox的Flash插件

  yum install flash-plugin -y

  12.呃,本人使用五笔输入法,故需要执行以下步骤,如用拼音可跳过:

  yum install ibus-table ibus-table-wubi -y

  重启ibus,右键->汉语->五笔 点选“添加“

  再选中拼音,点“删除“

  好了,至此结束

  转载:http://blog.csdn.net/nini1109/archive/2009/09/23/4583597.aspx

展开 ↓

最新游戏更多

最新软件更多

  • 玩家推荐
  • 游戏攻略

峰溢下载站 Copyright(C) 2008- ytdonghua.net All Rights Reserved!

闽ICP备2023006282号-2| 免责声明