November 13, 2014 - rob

CentOS7 – setup networking from minimal install

nmcli & nmtui

 

The NetworkManager text user interface (TUI) tool, nmtui, provides a text interface to configure networking by controlling NetworkManager

nmcli connection add type ethernet con-name connection-name ifname interface-name ip4 address gw4 address

More information about nmcli can be found here:  https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-Using_the_NetworkManager_Command_Line_Tool_nmcli.html

If you are using “minimal installation” then all other rpm for web development you need to install separately.

For status of your nic /ip as follow

ip a sh

This is how all servers should be setup. Absolutely bare bones and then add only the services/applications that define its role.

Linux