Linux

Configure a static IP address in CentOS 7

Posted on

To view the IP address on a Linux machine, we can use either of the following commands from a terminal. NOTE: The first command is deprecated and should not be used if possible. ifconfigip a Option 1: Edit configuration files The first option is to edit the files under /etc/sysconfig/network-scripts. These files exist for each […]