去掉rhel的註冊提示

 

[root@~ yum.repos.d]# yum list
Loaded plugins: fastestmirror, priorities, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile

由於 redhat的yum在線更新是收費的,如果沒有註冊的話不能使用,如果要使用,需將redhat的yum卸載後,重啓安裝,再配置其他源。

#rpm -qa | grep subscription-manager 然後移除那出現的幾項吧:

#yum remove subscription-manager-gnome     

#yum remove subscription-manager-firstboot     

#yum remove subscription-manager

然後可以去掉菜單裏面的註冊項

# yum remove rhn-setup-gnome


或者直接:
yum list subscription\*
yum remove subscription\* -y

wKiom1XX-ZbBd5MHAAHFT8elY2w269.jpg

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章