Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS network configuration 7, and set the host name and IP-bound problems     - Ubuntu and Derivatives users install the latest KKEdit 0.0.31 (Linux)

- ActiveMQ5.11.1 and JDK version matching relation (Linux)

- The array of C language (Programming)

- How to configure FirewallD in RHEL / CentOS 7 and Fedora in (Linux)

- Android Application Development: Genymotion can not start solving (Linux)

- How to use scientific data Docker quickly configure the development environment (Server)

- CentOS static IP network configuration (Linux)

- Linux device driver development small example --LED lights (Programming)

- Linux processes in memory and memory cgroup statistics (Linux)

- Create your own YUM repository (Linux)

- Oracle 11g on Linux system boot from the startup settings (Database)

- Installation CD audio file extraction tool Flacon (Linux)

- PHP 5.3 New Features Detail (Linux)

- Ubuntu under VirtualBox virtual machine serial port settings (Linux)

- Nginx Beginner Guide (Server)

- C ++ hash function (Programming)

- MySQL various log summary (Database)

- Use SecureCRT to transfer files between Linux and Windows (Linux)

- Merge Sort (Programming)

- Python Basics Tutorial - lambda keyword (Programming)

 
         
  CentOS network configuration 7, and set the host name and IP-bound problems
     
  Add Date : 2018-11-21      
         
       
         
  CentOS 7.0 system is a new version of Oh, a lot of my friends do not know is how to CentOS 7.0 system installation configuration Oh, because centos7.0 with the previous version is a great improvement oh.

Note: Up to now the latest version of CentOS 7.x CentOS 7.0, CentOS following describes the specific installation and configuration process 7.0

Installed after today I know centos no visual interface.

Enter the login page

Enter the root account Enter

Then enter the root password set-top carriage

Successful login system

Set the IP address, gateway, DNS

Description: After CentOS 7.0 is installed by default does not automatically open the network connection!

cd / etc / sysconfig / network-scripts / # to enter the network configuration file directory

vi ifcfg-eno16777736 # edit the configuration file, add the following modification

HWADDR = 00: 0C: 29: 8D: 24: 73

 TYPE = Ethernet

BOOTPROTO = static # Enables static IP address

DEFROUTE = yes

PEERDNS = yes

PEERROUTES = yes

IPV4_FAILURE_FATAL = no

IPV6INIT = yes

IPV6_AUTOCONF = yes

IPV6_DEFROUTE = yes

IPV6_PEERDNS = yes

IPV6_PEERROUTES = yes

IPV6_FAILURE_FATAL = no

NAME = eno16777736

UUID = ae0965e7-22b9-45aa-8ec9-3f0a20a85d11

ONBOOT = yes # automatically enable network connections open

IPADDR0 = 192.168.21.128 # Set the IP address

PREFIXO0 = 24 # Set the subnet mask

GATEWAY0 = 192.168.21.2 # Set the gateway

DNS1 = 8.8.8.8 # Set the primary DNS

DNS2 = 8.8.4.4 # backup DNS settings

:! Wq # Save and exit

service network restart # restart the network

ping www.linuxidc.com # test network is normal

ip addr # View IP address

Set the host name www
hostname www # Set the host name www
vi / etc / hostname # edit the configuration file
www # modify localhost.localdomain to www
:! Wq # Save and exit
vi / etc / hosts # edit the configuration file
127.0.0.1 localhost www # modify localhost.localdomain to www
:! Wq # Save and exit
shutdown -r now # Reboot the system
     
         
       
         
  More:      
 
- When Vim create Python scripts, vim autocomplete interpreter and encoding method (Programming)
- Parts of the partition is not recognized after Debian mount mobile hard disk (Linux)
- Share useful bash aliases and functions (Linux)
- Linux basic introductory tutorial ---- simple text processing (Linux)
- Android screen rotation processing and ProgressDialog the best AsyncTask (Programming)
- Let 32 Linux / CentOS system to support more than 4G memory (Linux)
- CentOS / RHEL 6 was repeated prohibited under the SNMP connection log (Server)
- How dependent on Fedora, CentOS, RHEL check RPM packages (Linux)
- Learn about EditText little depth (Programming)
- Git Getting Started tutorial (Linux)
- Install Xshell on Mac OS X (Linux)
- Iptables small summary (Linux)
- Unable to solve the official version of Android Studio online update problem (Linux)
- How do I upgrade to Ubuntu 15.04 (Beta) (Linux)
- GoldenGate for Oracle data consistency initializing (Database)
- Two classic macro definition under Linux (Linux)
- Oracle how to maintain the consistency of read? (Database)
- SVN hook code set to synchronize Web directory (Server)
- APT-GET commonly used Linux command (Linux)
- A step by step teach have to install multi-node cluster configuration Hadoop (Server)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.