The rhel-network-install-setup guide provides essential information for managing networking, troubleshooting, and setting up repositories for offline installation on Red Hat Enterprise Linux (RHEL)
- Check Network Interfaces
- View NetworkManager Connections
- Manage Network Connections
- Modify Connections
- Device Information
2.Network Troubleshooting Commands
3.Repository Setup for Offline Installation
Displays all network interfaces and their IP addresses. ip a or ifconfig
Shows statistics for network interfaces, including RX (received packets) and TX (transmitted packets).
Lists all available network connections.
Displays the status of devices managed by NetworkManager.
nmcli con up # Activates a specified connection. nmcli con down # Deactivates a specified connection. Examples:
Activates the connection named "con1".
Deactivates the connection for the "con1" interface.
Turns off networking.
Turns on networking.
nmcli con add con-name 'home' type ethernet ipv4.addresses 192.168.0.111/24
Modify
Activates the "home" connection
Displays details of the "home" connection
you can modify this by above modify command
Shows detailed information about all devices.
Displays detailed information for the "ens160" device.
you don't modify it
Disables the "ens160" device.
Enables the "ens160" device.
ping
The ping command in Linux is used to test the connectivity between your system and another system (host) over a network. When you use ping with an IP address, it sends packets of data to that IP address and waits for a response. This helps you check if the target machine is reachable and measures the time it takes for the packets to travel back and forth
Traces the path to Google, showing each hop and its latency.
Navigate to the cdrom Device
Creates a directory for mounting the CD-ROM.
Mounts the CD-ROM to the "/install" directory.
In the case,you don't find BaseOs and AppOs files then mount /dev/sr1 /install
⚠ Note: The mount is temporary and will be lost after a reboot. To persist the files:
Opens a file to configure repositories.
vim redhat.repo
Installs the Nginx web server.
Installs Node.js
Removes Node.js