Skip to main content

Posts

Showing posts from June, 2020

Managing software packages with yum on RHEL 8

1. Register Red Hat Enterprise server for support To gain tech support and full access to the repositories on Red Hat Network(RHN), you will register your server under your Red Hat account. One Red Hat account can associate with multiple servers, depending on the number of licenses you have. Your server will need the entitlement/subscription to access the software repositories on RHN. You can subscribe from either purchasing a subscription for RHEL, or Red Hat Developer program and its subscription Reference:  https://developers.redhat.com/articles/getting-red-hat-developer-subscription-what-rhel-users-need-know/ The subscription-manager tool is used to manage the subscription, the common usage includes: Register the server with Red Hat account: subscription-manager register List available subscription subscription-manager list --available Attach a subscription to the server subscription-manager attach --auto This will attach all the subscriptio...

Configuring Network on RHEL 8

1. Validate Network Configuration 2. Configure Network Networking is managed by a service called NetworkManager. It reads the network card configuration scripts located at /etc/sysconfig/network-scripts.  Each network card can have one or many connections. The commands to configure network are nmtui and nmcli . Another way is a GUI tool called nm-connection-editor . nmtui is text based UI with limited options. nmcli has rich features and you don't need to memorize. Here are nice ways to check it out. man -1 nm-settings  : to check user command man -5 nm-settings  : to check file formats and conventions man nmcil-examples : to find examples Example: nmcli con show|add|mod|up... nmcli dev show... 3. Set up Hostname and Name Resolution To view or change the hostname, a few options are: Use nmtui Use hostnamectl hostnamectl status hostnamectl set-hostname Edit /etc/hostname To set hostname resolution, you can use DNS and edit /etc/hosts....