Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS network configuration 7, and set the host name and IP-bound problems     - OpenGL Superb Learning Notes - GLSL language foundation (Programming)

- Golang use Oracle database on Ubuntu 14.04 (Linux)

- Github Remote Assistance (Linux)

- Hadoop configuration ssh automation of automation (Server)

- Build ftp server under CentOS 6.5 (Server)

- To install JDK1.7 and compiler Hadoop-2.7.1 under CentOS7 (Server)

- Dell R710 server disk recovery database one case (record) (Server)

- Bash added to the Vi mode indicator (Linux)

- How to install OpenOffice Ubuntu or Linux Mint (Linux)

- Scala REPL Shell call (Programming)

- Oracle 12c R2 new feature dbca command to create a standby database (Database)

- The Linux disguised as windows to make the system more secure (Linux)

- CRF ++ Linux use (Linux)

- Cryptography development environment to build under Ubuntu (Linux)

- Use cmake to compile and install MySQL 5.5 (Database)

- Linux directory configuration (Linux)

- Locale files under Ubuntu (Linux)

- Under CentOS Linux automatic backup MySQL database daily (Database)

- crontab task scheduling Health Check (Linux)

- C ++ in the elimination Wunused (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:      
 
- Linux Shell Scripting multithreading (Programming)
- [Errno 4] IOError: [Errno ftp error] with yum appears as a workaround (Linux)
- Java is simple to read and write HDFS Demo (Programming)
- Systemd on RHEL7 (Linux)
- Boost notes --Asio - (1) a simple small example of synchronous communication (Programming)
- Oracle 11g maintenance partitions (Seven) - Modifying Real Attributes of Partitions (Database)
- Troubleshooting Linux virtual machine device id and the letter of inconsistencies (Linux)
- MySQL high availability cluster fragmentation of deployment uses Fabric (Database)
- CentOS / RedHat system partition essential requirements and partition scheme (Linux)
- How to use the ftp tool to transfer files between Windows and Linux (Linux)
- How to install Unbound and DNSCrypt in Archlinux (Server)
- CentOS 6 rapid deployment of Java applications (Linux)
- OpenStack Folsom create an instance of the failure of the Quota Fixed_IP articles (Server)
- How to remove the files inside the privacy of data on Linux (Linux)
- Java, extends and implements Usage (Programming)
- Docker ecosystem security is gradually maturing (Server)
- Linux under DB2SQL1024N A database connection does not exist. SQLS (Database)
- MySQL binlog group to submit XA (two-phase commit) (Database)
- Linux file time Comments ctime mtime atime (Linux)
- RHEL6.4 x86_64 build SVN service (Server)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.