Linux Operations nineth----directory structure of ETC directory content

Source: Internet
Author: User

One, proc directory left

  1. 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
  2. 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

  3. 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
    1. View Host Name:
      Cat Etc/sysconfig/network
      Hostname
    2. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.