生活随笔
收集整理的這篇文章主要介紹了
svn安装
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1:安裝
[root@localhost yum.repos.d]# yum install subversion
已加載插件:fastestmirror, refresh-packagekit, security
設置安裝進程
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.Eg. </html>/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
錯誤:Cannot find a valid baseurl for repo: base
通過
[root@localhost yum.repos.d]# wget www.baidu.com
--2015-08-26 13:41:07-- http://www.baidu.com/
正在解析主機 www.baidu.com... 180.97.33.108, 180.97.33.107
正在連接 www.baidu.com|180.97.33.108|:80... 已連接。
已發出 HTTP 請求,正在等待回應... 302 Moved Temporarily
位置:http://192.168.13.252/webAuth/index.htm?www.baidu.com/ [跟隨至新的 URL]
--2015-08-26 13:41:07-- http://192.168.13.252/webAuth/index.htm?www.baidu.com/
正在連接 192.168.13.252:80... 已連接。
已發出 HTTP 請求,正在等待回應... 200 OK
長度:4305 (4.2K) [text/html]
正在保存至: “index.html”100%[==========================================================================>] 4,305 --.-K/s in 0s 2015-08-26 13:41:07 (485 MB/s) - 已保存 “index.html” [4305/4305])
查index.html 發現,上網需要認證,取消即可
[root@localhost ~]# yum install subversion
已加載插件:fastestmirror, refresh-packagekit, security
設置安裝進程
Loading mirror speeds from cached hostfile* base: mirror.bit.edu.cn* extras: mirrors.aliyun.com* updates: mirrors.pubyun.com
base | 3.7 kB 00:00
base/primary_db | 4.6 MB 00:16
extras | 3.4 kB 00:00
extras/primary_db | 27 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 1.3 MB 00:04
解決依賴關系
--> 執行事務檢查
---> Package subversion.x86_64 0:1.6.11-15.el6_7 will be 安裝
--> 處理依賴關系 perl(URI) >= 1.17,它被軟件包 subversion-1.6.11-15.el6_7.x86_64 需要
--> 執行事務檢查
---> Package perl-URI.noarch 0:1.40-2.el6 will be 安裝
--> 完成依賴關系計算依賴關系解決====================================================================================================================軟件包 架構 版本 倉庫 大小
====================================================================================================================
正在安裝:subversion x86_64 1.6.11-15.el6_7 updates 2.3 M
為依賴而安裝:perl-URI noarch 1.40-2.el6 base 117 k事務概要
====================================================================================================================
Install 2 Package(s)總下載量:2.4 M
Installed size: 12 M
確定嗎?[y/N]:y
下載軟件包:
(1/2): perl-URI-1.40-2.el6.noarch.rpm | 117 kB 00:00
(2/2): subversion-1.6.11-15.el6_7.x86_64.rpm | 2.3 MB 00:05
--------------------------------------------------------------------------------------------------------------------
總計 413 kB/s | 2.4 MB 00:05
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Importing GPG key 0xC105B9DE:Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org>Package: centos-release-6-6.el6.centos.12.2.x86_64 (@anaconda-CentOS-201410241409.x86_64/6.6)From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
確定嗎?[y/N]:y
運行 rpm_check_debug
執行事務測試
事務測試成功
執行事務正在安裝 : perl-URI-1.40-2.el6.noarch 1/2 正在安裝 : subversion-1.6.11-15.el6_7.x86_64 2/2 Verifying : perl-URI-1.40-2.el6.noarch 1/2 Verifying : subversion-1.6.11-15.el6_7.x86_64 2/2 已安裝:subversion.x86_64 0:1.6.11-15.el6_7 作為依賴被安裝:perl-URI.noarch 0:1.40-2.el6 完畢!
2:安裝httpd
[root@localhost svn]# yum -y install httpd
已加載插件:fastestmirror, refresh-packagekit, security
設置安裝進程
Loading mirror speeds from cached hostfile* base: mirror.neu.edu.cn* extras: mirrors.btte.net* updates: mirrors.163.com
解決依賴關系
--> 執行事務檢查
---> Package httpd.x86_64 0:2.2.15-39.el6.centos will be 升級
---> Package httpd.x86_64 0:2.2.15-47.el6.centos will be an update
--> 處理依賴關系 httpd-tools = 2.2.15-47.el6.centos,它被軟件包 httpd-2.2.15-47.el6.centos.x86_64 需要
--> 執行事務檢查
---> Package httpd-tools.x86_64 0:2.2.15-39.el6.centos will be 升級
---> Package httpd-tools.x86_64 0:2.2.15-47.el6.centos will be an update
--> 完成依賴關系計算依賴關系解決====================================================================================================================軟件包 架構 版本 倉庫 大小
====================================================================================================================
正在升級:httpd x86_64 2.2.15-47.el6.centos updates 830 k
為依賴而更新:httpd-tools x86_64 2.2.15-47.el6.centos updates 77 k事務概要
====================================================================================================================
Upgrade 2 Package(s)總下載量:907 k
下載軟件包:
(1/2): httpd-2.2.15-47.el6.centos.x86_64.rpm | 830 kB 00:02
(2/2): httpd-tools-2.2.15-47.el6.centos.x86_64.rpm | 77 kB 00:00
--------------------------------------------------------------------------------------------------------------------
總計 226 kB/s | 907 kB 00:04
運行 rpm_check_debug
執行事務測試
事務測試成功
執行事務正在升級 : httpd-tools-2.2.15-47.el6.centos.x86_64 1/4 正在升級 : httpd-2.2.15-47.el6.centos.x86_64 2/4 清理 : httpd-2.2.15-39.el6.centos.x86_64 3/4 清理 : httpd-tools-2.2.15-39.el6.centos.x86_64 4/4 Verifying : httpd-tools-2.2.15-47.el6.centos.x86_64 1/4 Verifying : httpd-2.2.15-47.el6.centos.x86_64 2/4 Verifying : httpd-2.2.15-39.el6.centos.x86_64 3/4 Verifying : httpd-tools-2.2.15-39.el6.centos.x86_64 4/4 更新完畢:httpd.x86_64 0:2.2.15-47.el6.centos 作為依賴被升級:httpd-tools.x86_64 0:2.2.15-47.el6.centos 完畢!
總結
以上是生活随笔 為你收集整理的svn安装 的全部內容,希望文章能夠幫你解決所遇到的問題。
如果覺得生活随笔 網站內容還不錯,歡迎將生活随笔 推薦給好友。