File function: configure information before Logon
File Name:/etc/issue
Note:
Some escape characters in this file indicate special meanings:
/D current date
/L display the number of terminals currently
/N display the host's network name
/O display Domain Name
/R display kernel version
/T current time
/S first try the operating system name
/V display the operating system version
File Content example:
Red Hat Enterprise Linux Server Release 5 (tikanga) <br/> kernel/r on an/m <br/> do your best!
========================================================== ============================
File function: Configure user information after Logon
File Name:/etc/motd
Note: The administrator can use this file to send some notifications to the operator.
========================================================== ============================
File function: Permanent saving of Environment Variables
File Name:/etc/profile and ~ /. Bash_profile
Name:/etc/profile can be used to save system environment variables, while ~ /. Bash_profile save your own environment variables
File Content example:
#. Bash_profile </P> <p> # Get the aliases and functions <br/> If [-f ~ /. Bashrc]; then <br/> .~ /. Bashrc <br/> fi </P> <p> # user specific environment and startup programs </P> <p> Path = $ path: $ home/bin </P> <p> export path <br/> unset username <br/> export oracle_base =/usr/lib/Oracle/<br/> export oracle_sid = orcl
========================================================== ============================
File function: Nic Configuration
File Name:/etc/sysconfig/network-scripts/ifcfg-eth0
Note: You can configure the eth0 parameter. The common parameter name is as follows:
Device-nic name
Bootproto-boot protocol; optional values: static or DHCP
Broadcast-broadcast address
Hwaddr-MAC address
Ipaddr-IP Address
Netmast-subnet mask
Network-the first IP address of the network segment
Gateway-Gateway
Onboot-start or not
File Content example:
Device = eth0 <br/> bootproto = static <br/> broadcast = 192.168.1.255 <br/> hwaddr = 00: 40: D0: 13: C3: 46 <br/> ipaddr = 192.168.1.13 <br/> netmask = 255.255.255.0 <br/> network = 192.168.1.0 <br/> gateway = 192.168.1.2 <br/> onboot = Yes