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
- Post BIOS
- MBR boot
- Grub Kernel Selection Menu
- Load kernel
- Running the init process
- Read run level from/etc/inittab
- Initialize the system according to/etc/rc.sysinit (set host name IP)
- Start the corresponding software according to the operating level (boot software)
- Run Mingetty Display Login interface
Linux Directory details