totty.com.cn
未注册HTTP/1.0 200 OK 访问时间:2011年08月10日 17:58:47 服务器:Apache/2 语言环境:PHP/5.3.2-1ubuntu4.9 X-Pingback: http://www.totty.com.cn/xmlrpc.php 动作:Accept-Encoding 连接:关闭 类型:text/html; charset=UTF-8 网站编码:UTF-8
home关于我 " 人可乂' …… " 外形粗糙的闷骚型文艺青年 10Apr RedHat AS4 Yum安装 消灭0回复互联网 & 程序 & 用户体验Apr 10th, 2011totty RedHat AS4 Yum安装 linux_tech 2009-06-08 17:58:22 阅读321 评论0 字号:大中小 订阅 默认安装AS4的python,最好不要下载最新的源码包编译,因为这个是顺利安装yum的前提. 需要下载一下.rpm,并安装 [root@localhost ~]# wget http://dag.wieers.com/rpm/packages/yum/yum-2.4.2-0.4.el4.rf.noarch.rpm [root@localhost ~]# rpm -ivh yum-2.4.2-0.4.el4.rf.noarch.rpm warning: yum-2.4.2-0.4.el4.rf.noarch.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 error: Failed dependencies: python-elementtree is needed by yum-2.4.2-0.4.el4.rf.noarch python-sqlite is needed by yum-2.4.2-0.4.el4.rf.noarch urlgrabber is needed by yum-2.4.2-0.4.el4.rf.noarch [root@localhost ~]# wget http://dag.wieers.com/rpm/packages/python-elementtree/python-elementtree-1.2.6-7.el4.rf.i386.rpm [root@localhost ~]# wget http://dag.wieers.com/rpm/packages/sqlite/sqlite-2.8.17-1.el4.rf.i386.rpm [root@localhost ~]# wget http://dag.wieers.com/rpm/packages/sqlite/sqlite-devel-2.8.17-1.el4.rf.i386.rpm [root@localhost ~]# wget http://dag.wieers.com/rpm/packages/python-sqlite/python-sqlite-1.0.1-1.2.el4.rf.i386.rpm [root@localhost ~]# wget http://dag.wieers.com/rpm/packages/python-urlgrabber/python-urlgrabber-2.9.7-1.2.el4.rf.noarch.rpm [root@localhost ~]# rpm -ivh python-elementtree-1.2.6-7.el4.rf.i386.rpm [root@localhost ~]# rpm -ivh sqlite-2.8.17-1.el4.rf.i386.rpm [root@localhost ~]# rpm -ivh sqlite-devel-2.8.17-1.el4.rf.i386.rpm [root@localhost ~]# rpm -ivh python-sqlite-1.0.1-1.2.el4.rf.i386.rpm [root@localhost ~]# rpm -ivh python-urlgrabber-2.9.7-1.2.el4.rf.noarch.rpm [root@localhost ~]# rpm -ivh yum-2.4.2-0.4.el4.rf.noarch.rpm 安装按照顺序即可 [root@localhost ~]# yum You need to give some command usage: yum [options] < update | install | info | remove | list | clean | provides | search | check-update | groupinstall | groupupdate | grouplist | groupinfo | groupremove | makecache | localinstall | erase | upgrade | whatprovides | localupdate | resolvedep | shell | deplist > options: -h, –help show this help message and exit -t, –tolerant be tolerant of errors -C run entirely from cache, don’t update cache -c [config file] config file location -R [minutes] maximum command wait time -d [debug level] debugging output level -e [error level] error output level -y answer yes for all questions –version show Yum version and exit –installroot=[path] set install root –enablerepo=[repo] enable one or more repositories (wildcards allowed) –disablerepo=[repo] disable one or more repositories (wildcards allowed) –exclude=[package] exclude package(s) by name or glob –obsoletes enable obsoletes processing during updates –noplugins disable Yum plugins 接下来就要配置yum库了 [root@localhost ~]# vi /etc/yum.repos.d/as4-base.repo #released bases [base] na
© 2010 - 2020 网站综合信息查询 同IP网站查询 相关类似网站查询 网站备案查询网站地图 最新查询 最近更新 优秀网站 热门网站 全部网站 同IP查询 备案查询
2025-05-13 14:09, Process in 0.0918 second.