Skip to content

倪之帅 Victor 个人主页

  • Home
  • Tech
    • Linux
    • LNMP
    • Mac
    • Mobile
    • Products
    • SMS
  • My Music

Month: October 2015

May 16, 2018 / Linux

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 NAME=”System eth0″ UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03 IPADDR=192.168.1.44 NETMASK=255.255.255.0 ## Configure Default Gateway # vi /etc/sysconfig/network NETWORKING=yes HOSTNAME=centos6 GATEWAY=192.168.1.1 ## Restart Network Interface # /etc/init.d/network restart ## Configure DNS Server # vi /etc/resolv.conf nameserver 8.8.8.8 # Replace with your nameserver ip nameserver 192.168.1.1 # Replace with your nameserver ip

Continue Reading

Categories

  • Linux
  • LNMP
  • Mac
  • Mobile
  • Products
  • SMS
  • Uncategorized
  • VPS
  • 原创
  • 技术

Recent Posts

  • 宝塔php 7.2 安装 mcrypt 扩展
  • 9 Best Free FTP Server Software
  • Mysql database copy command
  • Updating CMake from 2.8.11 to 3.6.2 or Newer Version on CentOS Linux
  • SMS server Gammu for CentOS 7

Archives

  • October 2018
  • May 2018
  • April 2018
  • March 2018
  • July 2016
  • June 2016
  • April 2016
  • November 2015
  • October 2015
  • May 2015
  • April 2015
  • February 2015
  • January 2015
  • December 2014
  • October 2014
  • August 2014
  • April 2014
  • June 2011
  • June 2010
  • May 2010
  • April 2010
  • May 2006
  • November 2005
  • December 2004
  • June 2004
  • March 2003
  • October 2002
  • January 2001
  • March 2000
© 2019 倪之帅 Victor 个人主页