RHCSA - Manage Basic Networking

Hostnames A hostname is a unique alphanumeric label that is assigned to a node to identify it on the network. FQDN: the name of the host and the DNS domain in which the host resides (e.g. server1.example.com) Hosts can contact one another based on hostnames by setting up hostname resolution using DNS. show hostname There are mutiple ways to view the hostname: $ hostname TechyNotes $ uname -n TechyNotes $ cat /etc/hostname TechyNotes $ nmcli general hostname TechyNotes $ hostnamectl --static TechyNotes Curious about the --static option?...

October 16, 2023 Â· Wissam

RHCSA - Managing Software

dnf / yum command YUM used to be an acronym for Yellowdog Updater Modified, DNF is the revolution of YUM and it stands for Dandified YUM. in RHEL 9 the yum command is just a symbolic link to dnf. To search for a package: dnf search <package_name> To search what package provides a specific file use whatprovides or just provides option : dnf whatprovides /usr/bin/ls dnf provides */ssh to get more information about a package: dnf info <package_name> To install a package (you need root privileges to install and remove packages): dnf install <package_name> You can install an rpm package on your file system or from a URL: dnf install ~/Downloads/filename....

October 15, 2023 Â· Wissam