Linux Directory details

Source: Internet
Author: User

Configuration file directory for NIC

/etc/sysconfig/network-scripts/ifcfg-eth0

Device=eth0 # # #网卡的名字

hwaddr=00:0c:29:1e:67:61 #@ @hardware Address hardware addresses MAC address

Type=ethernet # # #互联网

uuid=3405d22b-1aab-45a5-b57f-c0d005e4f269 # # #UUID unique identity in the system

Onboot=yes #@ @booton whether to turn on the network card when restarting (autorun)

Nm_controlled=yes # # #是否能被 network software Management

Bootproto=none #@@ 网卡 card Gets the IP address none/static the IP address is fixed

DHCP automatically obtains IP addresses

ipaddr=10.0.0.200 #@@ IP Address

netmask=255.255.255.0 # # Subnet Mask

gateway=10.0.0.2 #@@ 网关 Default egress

Userctl=no # # #是否准许普通用户管理网卡开关 Restart

Peerdns=yes

dns1=223.5.5.5

dns2=223.6.6.6

Configure the file directory for DNS

/ETC/RESOLV.CONF network card Configuration takes precedence over DNS configuration

Configuring the host name and IP address of the file directory

/etc/hosts

Modifying the file directory of a host name

/etc/sysconfig/network

Configure the file directory to automatically mount the boot

/etc/fstab

Configure the boot autorun file directory

/etc/rc.local

Configuring the Run-level file directory

/etc/inittab

To configure the directory for service management commands

/etc/init.d

Configuring the System environment variable alias directory

/etc/profile

Compile the installed software default location

/usr/local

System default log information

/var/log/messages

Memory information

/proc/meminfo

View CPU Information

/proc/cpuinfo

Display System Mount Information

/proc/mounts

Linux Start-up process

    1. Post BIOS
    2. MBR boot
    3. Grub Kernel Selection Menu
    4. Load kernel
    5. Running the init process
    6. Read run level from/etc/inittab
    7. Initialize the system according to/etc/rc.sysinit (set host name IP)
    8. Start the corresponding software according to the operating level (boot software)
    9. Run Mingetty Display Login interface

Linux Directory details

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.