![Install Qmail On Centos 7 Change Static Ip Install Qmail On Centos 7 Change Static Ip](/uploads/1/2/5/6/125642301/493658995.jpg)
In this small tutorial i will explain how to configure static ip address on CentOS 7 minimal. First, need to edit the set up for the ethernet. Let’s start with editing “ /etc/sysconfig/network-scripts/ifcfg-enp0s3″ file: vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 HWADDR=08:00:27:6C:FF:91 TYPE=Ethernet BOOTPROTO= static DEFROUTE=yes PEERDNS=yes PEERROUTES=yes IPV4FAILUREFATAL=no IPADDR= 192.168.0.88 IPV6INIT=yes IPV6AUTOCONF=yes IPV6DEFROUTE=yes IPV6PEERDNS=yes IPV6PEERROUTES=yes IPV6FAILUREFATAL=no NAME=enp0s3 UUID=ea68db6e-461e-427d-b9a8-bfcf6e1a4fc6 ONBOOT= yes Save and exit.
This article discusses how to change the hostname using the hostnamectl command on a server running CentOS 7. In CentOS 7, hostname control is handled with the hostnamectl command. With this command, you can update three different hostnames--the static, transient, and pretty.