Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS static IP network configuration     - Web server security policy (Linux)

- Linux6.1 / 6.5 dual-NIC Binding (Linux)

- 12 Linux Process Management Commands (Linux)

- Ubuntu 14.04 to install Blender 2.71 (Linux)

- Oracle () trunc function usage (Database)

- Oracle 11g How dataguard master repository to Oracle single instance data recovery (Database)

- How to run Kali Linux 2.0 in Docker container (Linux)

- Ubuntu Backup and Recovery (Linux)

- Linux System Getting Started Tutorial: How to update outdated version of Ubuntu (Linux)

- Oracle Migration partition table (Database)

- Nginx server load balancing dual-system availability (Server)

- grub boot error resolution examples (Linux)

- Linux installed and tested the deployment of Kafka distributed cluster (Server)

- Plasma 5.4 How to install on Kubuntu 15.04 (Linux)

- Sorting algorithm of dichotomy (binary) insertion sort algorithm (Programming)

- Oracle 11g contraction table space error ORA-03297: file contains used data beyondrequested RESIZE value (Database)

- CentOS of NFS (Server)

- CentOS permanently banned from running in the background PackageKit (Linux)

- Deploy Mono 4 and Jexus 5.6 on CentOS7 (Server)

- Permissions and attributes of files and directories under Linux (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:

GATEWAY = 10.141.4.1

(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
NETMASK = 255.255.254.0
IPADDR = 10.141.4.36
DNS1 = 202.120.224.6
PEERDNS = yes

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

nameserver 202.120.224.6

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

ifdown em1
ifup em1

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

ping 202.120.224.6
     
         
       
         
  More:      
 
- grep command Detailed and relevant examples (Linux)
- Use Bosh deploy CloudFoundry problems encountered on OpenStack (Server)
- Ubuntu users to install voice switch instructs the applet (Linux)
- How to use awk command in Linux (Linux)
- How to install Zephyr Test Management Tools on CentOS 7.x (Server)
- How to use the character in C ++ without pressing the Enter key to enter the Show (Programming)
- pscp use Detailed Windows and Linux each file transfer tool (Linux)
- Linux Log Clear (Linux)
- Configure shared library PCRE (Linux)
- Use LKM change the default linux security level (Linux)
- The Java utility, JavaMail (Programming)
- Java interface (Programming)
- ethtool implementation framework and application in Linux (Linux)
- How do you turn on and off IPv6 address on Fedora (Linux)
- QBit development of micro-services (Server)
- Build your own Python coding environment (Linux)
- Android float ball and boot from the start (Programming)
- Install Web-based monitoring tool: Linux-Dash (Server)
- The security configuration of Linux (Linux)
- Under Ubuntu on how to use iptables firewall (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.