yum 失敗(This system is not registered with RHN.)解決方法(14.11最新)
使用RedHat 系統線上安裝時提示This system is not registered with RHN.如下:
[[email protected] ~]# yum install httpd
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package httpd available.
Nothing to do
解決方案:
1.解除安裝redhat自帶的yum元件
[[email protected] ~]# rpm -qa|grep yum|xargs rpm -e --nodeps
2.安裝CentOS的yum包 (新地址)
[[email protected] ~]# wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-4.el5.i386.rpm
[[email protected] ~]# wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm
[[email protected] ~]# wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-3.2.22-40.el5.centos.noarch.rpm
[[email protected] ~]# rpm -ivh *.rpm
warning: yum-3.2.22-37.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
Preparing... ########################################### [100%]
1:yum-metadata-parser ########################################### [ 33%]
2:yum-fastestmirror ########################################### [ 67%]
3:yum ########################################### [100%]
3. 下載更新源,並存放在系統目錄中
[[email protected] ~]# wget http://www.linuxidc.com/files/2011/05/06/CentOS-Base.repo
[[email protected] ~]#mv CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo
4.生成快取並進行安裝
[[email protected] ~]# yum makecache
[[email protected] ~]# yum install xxx (你要裝的軟體名)
附言:對不起大家 我操作上述後還是失敗了,linux我不太熟悉. 又補充了下列操作後成功
解決辦法:
需要先新增EPEL(Extra Packages for Enterprise Linux) repository: |
然後yum install git
就能安裝了。
然後就可以了。大家可以試試
相關推薦
yum 失敗(This system is not registered with RHN.)解決方法(14.11最新)
使用RedHat 系統線上安裝時提示This system is not registered with RHN.如下: [[email protected] ~]# yum install httpd Loaded plugins: rhnplugin, s
解決Redhat yum出現This system is not registered with RHN的方案
article repos 大學 nbsp get linu 中國 roo 國外 最近博主在學習Linux,菜鳥級別的的選手連裝個Chrome都覺得難,悲了個催的……百度了很多教程,大多是類似的。博主的配置是在VM8下搭建的RHEL5.3 (Tikanga)版本,不知道什麽
redhat替換yum源時redhat.repo無法刪除或禁用的問題提示:This system is not registered with an entitlement server.
redhat替換yum源時redhat.repo無法刪除或禁用的問題提示:This system is not registered with an entitlement server.You can use subscription-manager to register. 今天
Red Hat Enterprise 7.5 安裝後無法進入圖形界面 This system is not registered with an entitlement server. You can use subscription-manager to register.
rpm 2.0 轉載 scrip HA 匿名 rgs version 圖形界面 This system is not registered with an entitlement server. You can use subscription-manager to reg
Red Hat的yum替換為CentOS7的yum(解決:This system is not registered to Red Hat Subscription Management)
導讀:在使用redhat7的yum命令安裝軟體時,發現總是提示This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. 或
This system is not registered to Red Hat
yum安裝提示需要註冊yum安裝提示需要註冊 提示報錯如下:Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manage
使用vue時Module build failed: TypeError: this._init is not a function錯誤的解決方法
錯誤描述 整個專案目錄結構如下: src hello.vue main.js index.html package.json webpack.config.js package.json { "name": "test-typeof-vue",
推薦TED演講:20歲光陰不再來(Why 30 is not the new 20)
網易公開課 -1 兩個 dsm 未能 -a track mod popu 緣起 早上起來在電腦上看到“自強不息”群(群號)中駱宏給大家分享的視頻。“20歲光陰不再來”,利用短暫的時間瀏覽了一下。就像把這個TED視頻分享給很多其它的朋友。 一:網友
[轉]Linux下is not in the sudoers file解決方法
出現 aud 名稱 vim file brief order mage ima 來源: http://jingyan.baidu.com/article/2a1383284bb3e8074a134f2d.html 當我們使用sudo命令切換用戶的時候可能會遇到提示以
解壓報錯gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now的解決方法
方法 進行 二進制 error ble url src 是否 cat 在部署tomcat的環境搞JDK的時候出現這個問題。分享一下。 解壓命令:tar -zvxf memcached-1.4.34.tar.gz 遇到了一個問題, gzip: stdin: not
Linux下is not in the sudoers file解決方法解決記錄
https://www.cnblogs.com/lazzyk/p/6264012.html 參照文章 最近在學習linux,在某個使用者(xxx)下使用sudo的時候,提示以下錯誤:xxx is not in the sudoers file. This incident will be r
'with' is not allowed in strict mode.解決方法!
今天在最新的MyEclipse中匯入了一個包含有jquery-1.6.2.js的專案。 結果編譯器報錯:'with' is not allowed in strict mode. 原因:由於js在嚴格模式下不允許使用with關鍵字! 分析:with語句的作用是將程式碼的作用域設定到一個特
Linux中“is not in the sudoers file”解決方法
解決方案:首需要切換到root身份 $su -(注意有- ,這和su是不同的,在用命令"su"的時候只是切換到root,但沒有把root的環境變數傳過去,還是當前使用者的環境變數,用"su -"命令將環境變數也一起帶過去,就象和root登入一樣)然後$visudo &nbs
intermediate value is not a function報錯解決方法
在一個專案中引入了多個JS檔案,最開始並沒有問題,實際上線時,用到了gulp將其JS檔案合併壓縮,結果報錯,如下 (intermediate value)(intermediate value)(...) is not a function 這是glup配置相關合並壓縮的程
虛擬機器安裝Ubuntu 出現 The system is running in low-graphics mode解決方法
通常這種情況是由於ATI顯示卡引起的 按ctrl+alt+f1進行登入 登入完之後輸入以下: sudo apt-get update sudo apt-get install fglrx sudo reboot
svn: E155007: 'F:\XXX' is not a working copy directory 解決方法
ide: IDEA, 版本控制:svn 問題:在檢出專案的時候遇到svn: E155007錯誤 廢話不多說,直接上方法: 1. 主要思想:採用命令列模式; 2. 開啟terminal, 切換到要檢出專案
js $ is not function 的三種解決方法
將格式改成如下形式: 一 、 jQuery(document).ready(function(){ jQuery(function () { //code }); 二、 jQuery(document).ready(function($){ $(
Qt中 error: 'to_string' is not a member of 'std'解決方法
最近要使用到Qt5.5+OpenCV2.4.11,昨天花了一天時間在windows下配置好了Qt後,構建時報錯:'to_string' is not a member of 'std' 網上查了一下資料,要在.pro裡新增如下: CONFIG += C++11 重新構建
ubuntu 14.04出現The system is running in low-graphics mode解決方法
重啟以後出現這樣的介面,無法登陸到桌面,這種情況一般是由顯示卡引起的。對於14.04,其實release很久了,大部分情況不會出現沒有合適顯示卡驅動的情況(我的顯示卡就已經很老了),所以我猜測可能是升級的時候出現了錯誤,於是我試圖修復。 網上有一種解決方法:進入Ubunt
zlib編譯不過(Error A2070)解決方法(轉)
endif api 位置 round instr a20 letter courier new 原文轉自 http://dearymz.blog.163.com/blog/static/2056574200871010027435/ 1、zlib是個很牛的東東,從htt