สำหรับ CentOS 6 เมื่อติดตั้งเสร็จ จะใช้เป็นสิทธิ root เลย
ifconfig
system-config-network
vi /etc/sysconfig/network-scripts/ifcfg-eth0
Modify the file to look similar to the example below.
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=none
.
service network restart
ping 8.8.8.8
958 total views, 1 views today