Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ CentOS static IP network configuration     - Bash How to read a file line by line (Programming)

- Hadoop 2.6.0 stand-alone / pseudo-distributed installation (Server)

- Do not find ifconfig eth0 and IP address under CentOS6.5 (Linux)

- Five useful commands to manage file types and system time in linux (Linux)

- How to override the plain text files and directories soft connection in linux (Linux)

- phpinfo (): like phpinfo as a Python script (Programming)

- Zabbix using Omsa monitor hardware information of Dell server (Server)

- What happens after the MySQL disk space is full (Database)

- How to modify the Linux NIC eth1 to eth0 (Linux)

- Modify Linux terminal prompt path length (Linux)

- MySQL5.6.17 compiler installation under CentOS (Database)

- Mac OS X 10.10 Yosemite compiling OpenJDK 9 (Linux)

- configuration ssh without password under Linux (Linux)

- Android SDK Manager can not update the domestic solutions (Linux)

- CentOS7 installed VMware 10 (Linux)

- Android HTTP request with Get Information (Programming)

- Linux User Management (Linux)

- PostgreSQL log classification and management (Database)

- Efficient running Linux virtual machine Six Tips (Linux)

- Ubuntu install perfectly handsome terminal Guake 0.8.1 (Linux)

  CentOS static IP network configuration
  Add Date : 2017-03-26      
  CentOS static IP network configuration

(1) Add the Gateway in the / etc / sysconfig / network file:


(2) modify / etc / sysconfig / network-scripts / ifcfg-em1 file to read as follows, in the paper the other line can remain unchanged:

DEVICE = em1
ONBOOT = yes
BOOTPROTO = static
DNS1 =

(3) Configure /etc/resolv.conf to read as follows:


(4) to restart the network card configuration to take effect:

ifdown em1
ifup em1

(5) to test whether the network configuration is successful:

- Ubuntu 15.10 15.04 14.10 14.04 Install Ubuntu Tweak (Linux)
- Setting up Linux machine through a proxy firewall (Linux)
- CentOS install Redis (Database)
- Oracle GoldenGate Installation and Configuration Tutorial Introduction (Database)
- How to install OpenOffice Ubuntu or Linux Mint (Linux)
- Father of Python: Why Python zero-based index (Programming)
- CentOS6 installed Tomcat (Server)
- RabbitMQ installation, configuration, monitoring (Linux)
- Java reflection mechanism explained in detail and Method.invoke explanation (Programming)
- Magical Virtualbox under Ubuntu (Linux)
- Nginx installation configuration Zabbix (Server)
- Lazarus IDE Start Basics Tutorial (Linux)
- Help you make Git Bisect (Linux)
- SSH without password Definitive Guide (Linux)
- Java open source monitoring platform Zorka basic use (Linux)
- To install Gitolite in Ubuntu / Fedora / CentOS (Linux)
- Java regular expression syntax (Programming)
- Linux some lessons learned about network security (Linux)
- Linux shell script debugging (Linux)
- Let you Fun Ubuntu desktop eleven weapon (Linux)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.