Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS network configuration 7, and set the host name and IP-bound problems     - Oracle large table to clean truncate .. reuse storage (Database)

- SSH automatic disconnection problem solving (Linux)

- Linux System Getting Started Learning: Disable Ubuntu Apport internal error reporting procedures (Linux)

- Forbid screen change the window size when creating a new window under CentOS (Linux)

- Android Activity launchMode (Programming)

- Common Linux System Troubleshooting (Linux)

- Win8 mount disk partitions under Ubuntu (Linux)

- Wireless LAN security solutions (Linux)

- XenServer Virtual Machine Installation --- first ISO image file storage expansion (Linux)

- Process safety monitoring and protection under the Linux operating system (Linux)

- To configure linux transparent firewall (Linux)

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

- Source Analysis: Java object memory allocation (Programming)

- Ubuntu achieve initialization iptables (Linux)

- Android Dynamic efficiency articles: a brilliant Loading Analysis and Implementation (Programming)

- xCAT Installation Kit (Linux)

- Java call by value and by reference (Programming)

- Linux Workstation Security Checklist - from the Linux Foundation Internal (Linux)

- Compile Android libwebcore.so error occurs when solving (Programming)

- Encounter ORA-00600: internal error code, arguments: [4194] ORA-1552 (Database)

 
         
  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:      
 
- ARP spoofing prevent Linux environment LAN (Linux)
- Use OpenSSL for RSA encryption and decryption (Linux)
- shell script: a key to install LAMP, LNMP script (Server)
- Ubuntu modify DNS restart loss problem (Linux)
- Multi-core CPU, multi-threading and parallel computation (Linux)
- Linux tar compressed exclude a folder (Linux)
- Why learn Java EE (Programming)
- Extended use of the swap file swap space on Linux (Linux)
- Android Studio 1.0.2 set the memory size (Linux)
- Cryptography development environment to build under Ubuntu (Linux)
- LMMS 1.03 install on Ubuntu 14.04 (Linux)
- Build RPM package uses Docker mirror (Linux)
- 30 minutes with your Quick Start MySQL Tutorial (Database)
- MySQL primary and secondary replicate data inconsistencies (Database)
- Arduino UNO simulation development environment set up and run simulation (Linux)
- Linux5.8 installed phpMyAdmin was unable to issue related php-mcrypt (Database)
- To convert into a binary search tree sorted doubly linked list (Programming)
- Linux unpack the tar file to a different directory (Linux)
- How to create SWAP files in Ubuntu 14.04 (Linux)
- Source encountered problems and solutions when installing SaltStack (Server)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.