Fedora 8安装后的详细配置


安装好Fedora 8,请进行一下的详细配置:

安装flash插件

安装rar

安装eva

添加软件源livna

rpm -ivh http://rpm.livna.org/livna-release-8.rpm

加速yum

yum install yum-fastestmirror yum-presto

yum配置文件

yum的设置文件为/etc/yum.conf,如果网络不通畅,可以在/etc/yum.conf文件中修改timeout参数,将timeout时间设置得稍微长一点。

yum中可以通过修改文件来屏蔽软件源:

修改/etc/yum.repos.d/XXX.repo,把其中的enable=1改为enable=0

指定或去掉软件源的mirror:

可以在baseurl中将比较慢的mirror去掉

你的yum镜像的速度测试记录文件:

/var/cache/yum/timedhosts.txt

yum Existing lock 错误的解决办法

如果系统启动的时候, yum 出现Existing lock /var/run/yum.pid: another copy is running as pid 3380. Aborting. 可以用下面的办法解决:

可以直接输入/etc/init.d/yum-updatesd stop

也可以 rm -f /var/run/yum.pid

主要原因就是yum在自动更新只要关掉它就可以了

安装apt

apt的安装需要以下软件包:

apt-devel-0.5.15lorg3.93-2.fc8

apt-0.5.15lorg3.93-2.fc8

fedora-package-config-apt-8-1

但是在实际安装的时候,如果已经设置好了yum的源,可以直接输入:

yum install apt

这样就可以了,很简单。

apt的使用

很喜欢使用apt-get时候系统的那句提示:This APT has Super Cow Powers(本apt具有超级牛力!),很有意思。

主要命令如下:

update - Retrieve new lists of packages

upgrade - Perform an upgrade

install - Install new packages (pkg is libc6 not libc6.rpm)

remove - Remove packages

source - Download source archives

build-dep - Configure build-dependencies for source packages

dist-upgrade - Distribution upgrade, see apt-get(8)

clean - Erase downloaded archive files

autoclean - Erase old downloaded archive files

check - Verify that there are no broken dependencies

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 下一页

相关内容