View network Status Command ifconfig start eth0 network card ifup eth0 can view the information of a piece of network card separately ifconfig eth0 modify the network card IP address, all Linux devices are files exist, we want to find the network card configuration file, Linux default NIC configuration file under/etc/sysconfig/network-scripts/, the name is typically: Ifcfg-eth0 Ifcfg-eth1,eth0 represents the first Nic, eth1 represents the second NIC, and so on, The general Dell R720 Standard has 4 gigabit NICs. Modify the IP of the network card, you can use the command vi/etc/sysconfig/network-scripts/ifcfg-eth0 default is the IP obtained by DHCP, the default configuration is as follows: Device=eth0//Physical device name hwaddr=00:0c : 29:12:4d:30 type=ethernetonboot=yes//Restart the network card whether to activate the device Bootproto=dhcp//IP address is obtained by the static Ip,ifcfg-eth0 NIC configuration content is as follows: device= eth0hwaddr=00:0c:29:12:4d:30type=ethernetonboot=yesbootproto=staticipaddr=192.168.1.1netmask= 255.255.255.0GATEWAY=192.168.1.254 Network Adapter Configuration Complete Restart the network card service to take effect, command/etc/init.d/network Restart if you want to access the site domain name, you need to configure the Dns,dns configuration file vi/etc /resolv.confnameserver 202.103.24.68 try to ping the site to see if you can successfully access the ping www.baidu.com we can download the site page wget www.baidu.com
How to switch to the GUI Linux has the default level, 1 is single user mode, 3 is the character interface, 5 is the graphical interface, the character interface View level command RunLevel into the graphical interface command, if the Linux system has installed the graphical interface program init 5
How to manage Linux remotely, if you want Chinese to display normally, open the session option, the character encoding in the appearance changes to UTF-8
Linux Network Settings