CentOS 7 Configuration

Network Setup

/etc/sysconfig/network-scripts/ifcfg-enp×××

TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=enp0s8
UUID=7bf81d3a-2384-4623-9523-f7a235caf326
DEVICE=enp×××
ONBOOT=yes
DNS1=192.168.0.1
IPADDR=192.168.0.×××
PREFIX=24
GATEWAY=192.168.0.1
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_PRIVACY=no

/etc/init.d/network restart

Hostname

/etc/hostname

home.lluo.ca

LAMP Server

https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-6