One, proc directory left
- Proc/loadavg
The first 0 represents a 1-minute average load
The second 0 represents a 5-minute average load
The third 0 represents a 15-minute average load
-
W
3.uptime
4. Load vs. Core Total
When numbers are getting closer to the total number of cores, the more Cards
II, etc directory
1. Network adapter Profile
View: cat/etc/ Sysconfig/network-scripts/ifcfig-eth0
Configuration: Vim/etc/sysconfig/network-scripts/ifcfig-eth0
2. Configuring DNS
Public dns,223.5.5.5
223.6.6.6
114.114.114.114 114.114.115.115 DNS configuration of the computer room DNS vim/etc/sysconfig/network-scripts/ifcfg-eth0 vim/etc/resolv.conf
Restarts all network cards/etc/ Init.d/network Restart
4. Device automatic mount list
Cat/etc/fstab
Vim/etc/fstab
Blkid
5. boot file
cat/etc/ Rc.local
Vim/etc/rc.local
6. Run-level profile
/etc/inittab
Third, troubleshooting unable to surf the internet
- Troubleshoot DNS first
Ping baidu.com
Ping 112.90.154.3
DNS configuration error when ping public IP is running correctly
If you ping the public network IP, do not run, continue to troubleshoot
2. Troubleshoot IP addresses
IP is not correct, we modify
IP correct, continue to troubleshoot
3.vmware Virtual Editor
Not configured properly, modify
Normal, we Jixu
4.VMware Service
VMware services are turned off, open
VMware Services OK, continue
5.VMware Network
Network properties are problematic, modify
Network properties No problem, go ahead.
6. Restart VMware
Iv. Modifying host Names
- View Host Name:
Cat Etc/sysconfig/network
Hostname
- Temporarily modify hostname xxxxx
3. Permanent modification
Vim/ect/sysconfig/network
Restart the server in effect
Wu, etc/hosts
Vim/etc/hosts
Modifying this file will allow the domain name to be tested at any IP address
Linux Operations nineth----directory structure of ETC directory content