Skip to content

Instantly share code, notes, and snippets.

View xxjapp's full-sized avatar

Xia Xionjun xxjapp

View GitHub Profile
@xxjapp
xxjapp / Linux Static IP
Created June 1, 2017 16:09 — forked from fernandoaleman/Linux Static IP
How To Configure Static IP On CentOS 6
## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static