Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ CentOS static IP network configuration     - Linux Shell Scripting multithreading (Programming)

- Use Ansible to bulk manage remote servers (Server)

- Linux server network penetration testing (Linux)

- Drawing from the Android source code analysis View (Programming)

- Linux alpine use the command line to access Gmail (Linux)

- Fedora 20 users install the Mate 1.8 desktop (Linux)

- Linux environment variable settings and save places (Linux)

- ORA-04091 and Compound Trigger (Oracle 11g) (Database)

- Linux stand-alone OGG synchronous Oracle 11g DB test (Database)

- Apache Tomcat integration and resin (Server)

- Linux AS4 VPN server in conjunction with a firewall perfect (Linux)

- Installation Atom text editor on Mint Ubuntu / Linux (Linux)

- Hackers is how the invasion and control of Things devices? (Linux)

- After you change the GRUB boot disk partition repair (Linux)

- MySQL DATE_FORMAT () function (Database)

- Oracle 11g RAC manually playing GI PSU patch ( (Database)

- Java multi-threaded shared communications variables (Programming)

- Linux Getting Started tutorial: Experience VirtualBox Virtual Machine chapter (Linux)

- How do you access Dropbox Linux command line (Linux)

- Teach you self-built Linux firewall free (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:

- The array of C language (Programming)
- CentOS minimal network is unavailable resolved (Linux)
- Why you can have JavaScript string method (Programming)
- Redmine Installation (Linux)
- Linux system monitoring, top command of the diagnostic tool Detailed (Linux)
- Linux Hard Disk Partition and file system management (Linux)
- MySQL IO SSD attempt at optimization (Database)
- React Getting Started Tutorial (Linux)
- Win7 used Eclipse to connect the virtual machine in Ubuntu Hadoop2.4 (Server)
- Storm basic framework for analysis (Programming)
- Installation Sublime Text 3 (Build 3065) text editor in Ubuntu (Linux)
- RHEL6.4 one key installation Redmine (Linux)
- PostgreSQL Stream Configuration (Database)
- Ubuntu users install the Download Manager software Xdman 5.0 (Linux)
- xCAT error Unable to dispatch hierarchical sub-command to NORESOLUTION: 3001 (Linux)
- 17 How to install the Ubuntu 14.04 and Linux Mint Kodi14 (XBMC) (Linux)
- PostgreSQL export table structure information (Database)
- SQL Server 2012 failover looksalive check and is alive check (Database)
- SUSE Firewall Configuration (Linux)
- Copy files between two Linux hosts (Linux)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.