After installing RHEL/CentOS 7 minimal, You may not able to connect network in that machine. This will happen because Ethernet interfaces are not enabled by default.
This guide explain you to setup network on RHEL/CentOS 7.
Setup network on CentOS 7 minimal
First, type “nmcli d” command in your terminal for quick list ethernet card installed on your machine:
Type “nmtui” command in your terminal to open Network manager. After opening Network manager chose “Edit connection” and press Enter (Use TAB button for choosing options).
Now choose you network interfaces and click “Edit”
Choose “Automatic” in IPv4 CONFIGURATION and check Automatically connect check box and press OK and quit from Network manager.
Reset network services:
service network restart
Now your server will get IP Address from DHCP .
If you want to set a static IP address see How to configure static ip address on CentOS 7.
[box type=”note” align=”” class=”” width=””]See also:
- Howto install ifconfig on CentOS 7 Linux
- 15 ip Command Examples for Linux Users
- Setup network on Ubuntu 18.04