The commands for modifying IP, DNS, and routing configuration under the Linux operating system are as follows: #ifconfig eth0 New #ip Then edit /etc/sysconfig/network-scripts/ifcfg-eth0, modify ip 1. Modify IP address [aeolus] @db1 network-scripts]$ vi ifcfg-eth0 DEVICE=eth0 ONBOOT=yes BOOTPROTO=static IPADDR=219.136.241.211 NETMASK=255.255.255.128 GATEWAY=219.136.241.254 Second, modify the gateway vi /etc/sysconfig/network NETWORKING=yes HOSTNAME =Aaron GATEWAY=192.168.1.1 Third, modify the DNS [aeolus@db1 etc]$ vi resolv.conf nameserver 202.96.128.68 nameserver 219.136.241.206 Fourth, restart the network configuration /etc/init.d/network restart Modify the ip address : # ifconfig eth0 192.168.0.20 netmask 255.255.255.0 Startup Effective: Modify /etc/sysconfig/network-scripts/ifcfg-eth0 Modify default gateway Immediately: # route add Default gw 192.168.0.254 Startup: Modify /etc/sysconfig/network-scripts/ifcfg-eth0 Modify dns Modify /etc/resolv.conf After the modification, it will take effect immediately, and the startup is also effective. Modify the host name to take effect immediately: # hostname fc2 Startup takes effect : Modify /etc/sysconfig/network .
A summaryIn order to manage all server accounts and passwords in the enterprise, you can use the Wi
When compiling the program today, the error: storage class specified for parameter is not found in
In recent years, the open source Linux system can be said to be in the limelight, whether it is pers
AWK Stands for ‘Aho, Weinberger, and Kernighan‘Awk is a scripting language which is use
Shell regular expressions use detailed explanation
Decompression method of cpio.gz file under linux
Linux Network Protocol Stack Network Device Management
Network Tutorial: Implementing Internet Filtering under Linux System
How to install and configure network devices on Linux system
Linux uses the ping command to return the solution of Operation not permitted
Linux signal signal processing mechanism
Adobe: Flash will terminate local support for Linux systems
Centos6.4 Configuring LVS + Piranha High Availability Load Balancing
The US Marine Corps is blocked from the old configuration process to Windows 10
Win8.1 Start Menu Start Menu X Experience
How to uninstall bundled software in Win10?
[Download] Win10 Build 10159 new default wallpaper hero released: 4K HD
Win7 system hand shut down some important pages how to recover
System installation disk production is not asking for people win8.1 has a coup
How to turn off the power on the Windows 7 system
How to update the graphics driver update driver for Windows 10 system