取消RHEL的注册提醒

使用RHEL做实验,但是总会时不时的在屏幕上弹出一个提醒你注册的窗口,特别影响心情。要不要去注册呢?不用啊,除非你钱多的没地方花了。注册了可以得到Redhat公司的技术支持和升级服务,除非是商业应用环境下花钱买个放心,否则根本用不到。能不能取消这个恼人的提醒呢,可以的。


[root@localhost yum.repos.d]# yum list all | grep subscription
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
subscription-manager.i386                  1.11.3-10.el5             installed  
subscription-manager-firstboot.i386        1.11.3-10.el5             installed  
subscription-manager-gui.i386              1.11.3-10.el5             installed  
subscription-manager-migration.i386        1.11.3-10.el5             RHEL-Server
subscription-manager-migration-data.noarch 2.0.10-1.el5              RHEL-Server

上面显示安装了几个与注册有关的包,卸掉这些包然后世界就清净了。


[root@localhost yum.repos.d]# yum remove subscription-manager

顺带在去除rhn-setup-gnome,这下就连管理里面都没有可以注册的选项了。

你可能感兴趣的:(linux)