RHEL
Jump to navigation
Jump to search
Postinstall
Subscription
After installing RHEL, we cannot use yum just yet:
This system is not yet registered.
We have to register the system first:
$ subscription-manager register Registering to: subscription.rhsm.redhat.com:443/subscription Username: xxxx Password: The system has been registered with ID: eed6c0d8-da03-4349-9cf8-d8c2c994e558
But we're not quite there yet, as we don't have any active subscriptions yet:
$ subscription-manager list
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
Product Name: Red Hat Enterprise Linux Server
Product ID: 69
Version: 7.4 Beta
Arch: x86_64
Status: Not Subscribed
Status Details: Not supported by a valid subscription.
Starts:
Ends:
$ yum search iotop
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is registered with an entitlement server, but is not receiving updates.
You can use subscription-manager to assign subscriptions.
Warning: No matches found for: iotop
Subscribe with:
$ subscription-manager attach
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status: Subscribed
Now that we're subscribed, we can actually install software.
Network
root@rhel0# cat /etc/sysconfig/network-scripts/ifcfg-eth0 BOOTPROTO=dhcp DEVICE=eth0 ONBOOT=yes HWADDR=08:00:27:EE:55:CF NM_CONTROLLED=no root@rhel0# cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=rhel0 root@rhel0# service network restart
Upgrade
In-Place upgrades were not supported in earlier versions[1] and while a clean install is still the recommended way of upgrading[2] an In-Place upgrade is now possible and supported on some platforms.[3]
TBD