CTO下载RedHatAS上安装yum与gcc .docx
-
资源ID:13046816
资源大小:36.70KB
全文页数:8页
- 资源格式: DOCX
下载积分:4.3金币
快捷下载
会员登录下载
微信登录下载
三方登录下载:
微信扫一扫登录
友情提示
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
|
CTO下载RedHatAS上安装yum与gcc .docx
精品名师归纳总结封面可编辑资料 - - - 欢迎下载精品名师归纳总结作者: PanHongliang仅供个人学习1. 安装 yumrootst #wget下载 yum 软件rootst # tar zxvf yum_forAS4.tar.gz yum_forAS4/yum_forAS4/CentOS-Base.repoyum_forAS4/python-elementtree-1.2.6-7.el4.rf.i386.rpm yum_forAS4/python-urlgrabber-2.9.7-1.2.el4.rf.noarch.rpm可编辑资料 - - - 欢迎下载精品名师归纳总结yum_forAS4/yum-2.4.2-0.4.el4.rf.noarch.rpm yum_forAS4/sqlite-2.8.16-1.2.el4.rf.i386.rpm yum_forAS4/python-sqlite-1.0.1-1.2.el4.rf.i386.rpm rootst # cd yum_forAS4rootst yum_forAS4# ls CentOS-Base.repopython-elementtree-1.2.6-7.el4.rf.i386.rpm python-sqlite-1.0.1-1.2.el4.rf.i386.rpmpython-urlgrabber-2.9.7-1.2.el4.rf.noarch.rpmsqlite-2.8.16-1.2.el4.rf.i386.rpm yum-2.4.2-0.4.el4.rf.noarch.rpmrootst yum_forAS4# rpm -ivh *.rpmwarning: python-elementtree-1.2.6-7.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6Preparing.# 100% 1:sqlite# 20%2:python-sqlite# 40%3:python-urlgrabber# 60%4:python-elementtree# 80%5:yum# 100%rootst yum_forAS4# cp CentOS-Base.repo /etc/yum.repos.d/执行如下命令导入GPG Key rootst yum_forAS4# rpm -import CentOS-4现在 yum 就可以使用了。2. 安装 gccrootst squid-2.5.STABLE10-20050727# ./configure -prefix=/usr/local/squid creating cache ./config.cachechecking for a BSD compatible install. /usr/bin/install -cchecking whether build environment is sane. yes checking for mawk. nochecking for gawk. gawkchecking whether make sets $MAKE. yeschecking whether to enable maintainer-specific portions of Makefiles. no checking for gcc. nochecking for cc. noconfigure: error: no acceptable cc found in $PATH注:这个是未安装gcc 编辑器的缘由rootst squid-2.5.STABLE10-20050727# yum install gcc-bash: yum: command not found 注:这个是未安装 yum 的缘由现在开头安装 gccrootst yum_forAS4# yum install gcc Setting up Install Process可编辑资料 - - - 欢迎下载精品名师归纳总结Setting up repositoriesupdate100% |=| 951 B00:00base100% |=| 1.1 kB00:00addons100% |=| 951 B00:00extras100% |=| 1.1 kB00:00Reading repository metadata in from local filesprimary.xml.gz100% |=| 158 kB00:02 update: # 511/511Added 511 new packages, deleted 0 old in 4.88 secondsprimary.xml.gz100% |=| 608 kB00:04 base: # 1591/1591Added 1591 new packages, deleted 0 old in 13.19 secondsprimary.xml.gz100% |=| 190 B00:00Added 0 new packages, deleted 0 old in 0.01 secondsprimary.xml.gz100% |=| 38 kB00:01 extras: # 172/172Added 172 new packages, deleted 0 old in 1.08 seconds Parsing package install argumentsResolving Dependencies-> Populating transaction set with selected packages. Please wait.-> Downloading header for gcc to pack into transaction set.gcc-3.4.6-10.i386.rpm100% |=| 44 kB00:01-> Package gcc.i386 0:3.4.6-10 set to be updated-> Running transaction check-> Processing Dependency: cpp = 3.4.6-10 for package: gcc-> Processing Dependency: libgcc >= 3.4.6-10 for package: gcc-> Processing Dependency: binutils >= 2.15.92.0.2-18 for package: gcc-> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-> Restarting Dependency Resolution with new changes.-> Populating transaction set with selected packages. Please wait.-> Downloading header for binutils to pack into transaction set.binutils-2.15.92.0.2-25.i 100% |=| 41 kB00:00-> Package binutils.i386 0:2.15.92.0.2-25 set to be updated-> Downloading header for libgcc to pack into transaction set.libgcc-3.4.6-10.i386.rpm 100% |=| 35 kB00:00-> Package libgcc.i386 0:3.4.6-10 set to be updated-> Downloading header for glibc-devel to pack into transaction set.glibc-devel-2.3.4-2.41.el 100% |=| 97 kB00:00-> Package glibc-devel.i386 0:2.3.4-2.41.el4_7.1 set to be updated-> Downloading header for cpp to pack into transaction set.cpp-3.4.6-10.i386.rpm100% |=| 37 kB00:00-> Package cpp.i386 0:3.4.6-10 set to be updated-> Running transaction check-> Processing Dependency: glibc = 2.3.4-2.41.el4_7.1 for package: glibc-devel可编辑资料 - - - 欢迎下载精品名师归纳总结-> Processing Dependency: glibc-headers = 2.3.4-2.41.el4_7.1 for package: glibc-devel-> Processing Dependency: glibc-headers for package: glibc-devel-> Restarting Dependency Resolution with new changes.-> Populating transaction set with selected packages. Please wait.-> Downloading header for glibc to pack into transaction set.glibc-2.3.4-2.41.el4_7.1. 100% |=| 129 kB00:00-> Package glibc.i686 0:2.3.4-2.41.el4_7.1 set to be updated-> Downloading header for glibc-headers to pack into transaction set.glibc-headers-2.3.4-2.41. 100% |=| 130 kB00:00-> Package glibc-headers.i386 0:2.3.4-2.41.el4_7.1 set to be updated-> Running transaction check-> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-> Processing Dependency: glibc-common = 2.3.4-2.41.el4_7.1 for package: glibc-> Processing Dependency: kernel-headers for package: glibc-headers-> Restarting Dependency Resolution with new changes.-> Populating transaction set with selected packages. Please wait.-> Downloading header for glibc-common to pack into transaction set.glibc-common-2.3.4-2.41.e 100% |=| 649 kB00:04-> Package glibc-common.i386 0:2.3.4-2.41.el4_7.1 set to be updated-> Downloading header for glibc-kernheaders to pack into transaction set.glibc-kernheaders-2.4-9.1 100% |=| 75 kB00:00-> Package glibc-kernheaders.i386 0:2.4-9.1.103.EL set to be updated-> Running transaction check Dependencies Resolved=PackageArchVersionRepositorySize=Installing:gcci3863.4.6-10base4.4 M Installing for dependencies:cppi3863.4.6-10base1.6 Mglibc-develi3862.3.4-2.41.el4_7.1 update1.9 M glibc-headersi3862.3.4-2.41.el4_7.1 update588 k glibc-kernheadersi3862.4-9.1.103.ELbase696 k Updating for dependencies:binutilsi3862.15.92.0.2-25base2.9 M glibci6862.3.4-2.41.el4_7.1 update6.0 Mglibc-commoni3862.3.4-2.41.el4_7.1 update16 M libgcci3863.4.6-10base64 k Transaction Summary=可编辑资料 - - - 欢迎下载精品名师归纳总结=Install5 PackagesUpdate4 PackagesRemove0 Packages Total download size: 34 M Is this ok y/N: y Downloading Packages:1/9: libgcc-3.4.6-10.i3 100% |=| 64 kB00:012/9: cpp-3.4.6-10.i386. 100% |=| 1.6 MB00:103/9: glibc-devel-2.3.4- 100% |=| 1.9 MB00:124/9: glibc-common-2.3.4 100% |=| 16 MB01:405/9: glibc-2.3.4-2.41.e 100% |=| 6.0 MB00:386/9: glibc-kernheaders- 100% |=| 696 kB00:037/9: glibc-headers-2.3. 100% |=| 588 kB00:058/9: binutils-2.15.92.0 100% |=| 2.9 MB00:189/9: gcc-3.4.6-10.i386. 100% |=| 4.4 MB00:24Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running TransactionUpdating : libgcc# 1/13 Installing: glibc-kernheaders# 2/13 Updating : glibc-common# 3/13 Updating : glibc 4/13warning: /etc/localtime created as /etc/localtime.rpmnewUpdating : glibc# 4/13Stopping sshd: OK Starting sshd: OK Updating : binutils# 5/13Installing: cpp# 6/13Installing: glibc-headers# 7/13Installing: glibc-devel# 8/13Installing: gcc# 9/13Cleanup: libgcc# 10/13Cleanup: glibc-common# 11/13Cleanup: glibc# 12/13Cleanup: binutils# 13/13Installed: gcc.i386 0:3.4.6-10Dependency Installed: cpp.i386 0:3.4.6-10 glibc-devel.i386 0:2.3.4-2.41.el4_7.1 glibc-headers.i386 0:2.3.4-2.41.el4_7.1 glibc-kernheaders.i386 0:2.4-9.1.103.EL Dependency Updated: binutils.i386 0:2.15.92.0.2-25 glibc.i686 0:2.3.4- 2.41.el4_7.1 glibc-common.i386 0:2.3.4-2.41.el4_7.1 libgcc.i386 0:3.4.6-10 Complete.rootst yum_forAS4#可编辑资料 - - - 欢迎下载精品名师归纳总结版权申明本文部分内容,包括文字、图片、以及设计等在网上搜集整理。版权为潘宏亮个人全部This article includes some parts, including text, pictures, and design. Copyright is Pan Hongliang's personal ownership.用户可将本文的内容或服务用于个人学习、争论或观看,以及其他非商业性或非盈利性用途,但同时应遵守著作权法及其他相关法律的规定,不得侵害本网站及相关权益人的合法权益。除此以 外,将本文任何内容或服务用于其他用途时,须征得本人及相关权益人的书面许可,并支付酬劳。Users may use the contents or services of this article for personal study, research or appreciation, and other non-commercial or non-profit purposes, but at the same time, they shall abide by the provisions of copyright law and other relevant laws, and shall not infringe upon the legitimate rights of this website and its relevant obligees. In addition, when any content or service of this article is used for other purposes, written permission and remuneration shall be obtained from the person concerned and the relevant obligee.可编辑资料 - - - 欢迎下载精品名师归纳总结转载或引用本文内容必需是以新闻性或资料性公共免费信息为使用目的的合理、善意引用,不得对本文内容原意进行曲解、修改,并自负版权等法律责任。Reproduction or quotation of the content of thisarticle must be reasonable and good-faith citation for theuse of news or informative public free information. Itshall not misinterpret or modify the original intention ofthe content of this article, and shall bear legal liabilitysuch as copyright.可编辑资料 - - - 欢迎下载