編輯 /etc/sysconfig/selinux 這個檔案
將 SELINUX=enforcing 改成 SELINUX=disabled ,
重開機就可以了!
搜尋此網誌
2015年6月24日 星期三
2015年6月23日 星期二
2015年6月21日 星期日
註冊 Redhat Linux
subscription-manager register
Username: email adress
Password: password
The system has been registered with ID: 8d1eef8f-f44a-42bd-b423-4197c3c20082
再次執行 yum,若出現如下指令表示已經註冊但還沒有套用可用的授權訂閱。
Loaded plugins: product-id, security, subscription-manager
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can
use subscription-manager to assign subscriptions.
Setting up Update Process
No Packages marked for Update
查看可用訂閱。
subscription-manager list --available
[root@localhost tmp]# subscription-manager list --available
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
Subscription Name: 30 Day Red Hat Enterprise Linux Server Self-Supported Evaluation
Provides: Red Hat Container Images Beta
Red Hat Beta
Red Hat Enterprise Linux Atomic Host Beta
Oracle Java (for RHEL Server)
Red Hat Container Images
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Atomic Host
SKU: RH00065
Contract: 10719296
Pool ID: 8a85f9814df266ee014dfb931cfc2854
Available: 2
Suggested: 1
Service Level: Self-Support
Service Type: L1-L3
Subscription Type: Instance Based
Ends: 07/16/2015
System Type: Physical
使用 subscribe 參數訂閱可用的 Pool。
subscription-manager subscribe --pool=8a85f9814df266ee014dfb931cfc2854
Successfully attached a subscription for: 30 Day Red Hat Enterprise Linux Server Self-Supported
Evaluation
完成!
Username: email adress
Password: password
The system has been registered with ID: 8d1eef8f-f44a-42bd-b423-4197c3c20082
再次執行 yum,若出現如下指令表示已經註冊但還沒有套用可用的授權訂閱。
Loaded plugins: product-id, security, subscription-manager
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can
use subscription-manager to assign subscriptions.
Setting up Update Process
No Packages marked for Update
查看可用訂閱。
subscription-manager list --available
[root@localhost tmp]# subscription-manager list --available
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
Subscription Name: 30 Day Red Hat Enterprise Linux Server Self-Supported Evaluation
Provides: Red Hat Container Images Beta
Red Hat Beta
Red Hat Enterprise Linux Atomic Host Beta
Oracle Java (for RHEL Server)
Red Hat Container Images
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Atomic Host
SKU: RH00065
Contract: 10719296
Pool ID: 8a85f9814df266ee014dfb931cfc2854
Available: 2
Suggested: 1
Service Level: Self-Support
Service Type: L1-L3
Subscription Type: Instance Based
Ends: 07/16/2015
System Type: Physical
使用 subscribe 參數訂閱可用的 Pool。
subscription-manager subscribe --pool=8a85f9814df266ee014dfb931cfc2854
Successfully attached a subscription for: 30 Day Red Hat Enterprise Linux Server Self-Supported
Evaluation
完成!
訂閱:
文章 (Atom)