Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS static IP network configuration     - RedHat Linux 6.4 installation RTL8188CUS wireless network card driver (Linux)

- Use web2py + uWSGI + Nginx Web server built on Linux (Server)

- Common DDOS attacks (Linux)

- How to use Android Studio development / debugging Android source code (Linux)

- C ++ sequence containers basics summary (Programming)

- How to install the latest version of the Eclipse in Ubuntu 14.04 (Linux)

- Linux set to select the appropriate level of security of the network according to deployment (Linux)

- Oracle RMAN backups of the control file backup (Database)

- Linux system started to learn: how to view the contents of the seed on the Linux file (Linux)

- Android determine the device network connection status, and determine the connection (Programming)

- On the design of Oracle database backup (Database)

- Extended VMware Ubuntu root partition size (Linux)

- How to configure AWStats in Ubuntu Server (Server)

- Installation salt-minion on RHEL5 (Linux)

- Git delete files (Linux)

- Ubuntu Server security risk checks (Linux)

- VirtualBox snapshots (Linux)

- C # asynchronous delegates (Programming)

- How to achieve the MySQL Oracle table associated with the two operations update (Database)

- CentOS 6.5 platform offline compile and install PHP5.6.6 (Server)

 
         
  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:      
 
- sudo command scenario analysis (Linux)
- Category prevent DoS attacks against Linux (Linux)
- CentOS 5.5 install ntop (Linux)
- Spring + MyBatis Multi data source switching (Database)
- Linux host system monitoring implement the cgi (Server)
- Safety testing Unix and Linux server entry succinctly (Linux)
- xargs Detailed description (Linux)
- Ubuntu modify DNS restart loss problem (Linux)
- Using the Linux folder wc statistics number of lines of code for all files (including subdirectories) (Linux)
- Android working with Volley Comments (Programming)
- Android imitation UC browser scroll up and down functions (Programming)
- Awk include binding capacity larger than the specified size of all files directory (Linux)
- MySQL TIMESTAMP and DATETIME (Database)
- Fedora 22 Server how to upgrade to Fedora 23 Beta Server (Linux)
- Open container cluster management system architecture and components introduced Kubernetes (Server)
- Use virt-manager to create and manage virtual machines (Linux)
- Oracle bdump file soaring (Database)
- Linux kernel compilation, the configuration of the motor drive (Programming)
- C # how to generate a folder or file automatically rename (Programming)
- Linux Shell debugging (Programming)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.