Centos 7 Minimal Network Set Up

After installing the minimal install of Centos 7 the Ethernet adapter might not be on. To see the Ethernet interfaces run “nmcli d” this will list the Ethernet interfaces.

To activate an interface run the Network Manager command “nmtui” which will bring up a little GUI. Go to Activate a connection and find the Ethernet interface that you have plugged in. You can also change your hostname and set up the protocols for Static or DHCP.

Other Network Commands

Another way to change the “Hostname” of the server or computer is to edit the hostname file using vim or nano the file is located in /etc/ and the name of the file is hostname so the command would look like

#nano /etc/hostname

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s