Shutting down the firewall
Close iptables : chkconfig iptables off
Close SELinux : /etc/sysconfig/selinux File Modification " selinux=disabled "
Restart
Init configuration file
/etc/inittab Configuring the default run level
/etc/sysconfig/init Control TTY number of terminal opening, terminal color scheme
/etc/init/rcs.conf Loading Rc.sysinit script to complete the system initialization task
/etc/init/rc.conf compatible scripts, responsible for call handling at each run level
/etc/init/rcs-sulogin.conf for single-user mode /bin/sushell Environment /ETC/INIT/CONTROL-ALT/DELETE.COMF under the control terminal Ctrl+alt+del Hotkey Operation
/etc/init/start-ttys.conf Configuration TTY number of open terminals, device files
/etc/inint/tty,conf Control TTY opening of the terminal
Run Level field
0 : Shutdown Status using this level will shut down the machine
1 : Single user mode, no password Authentication required to log into the system, more for system maintenance
2 : Multi-user mode for character interface (network access not supported),
3: character interface for multi-user mode, most servers run at this level
4 : Not assigned to use
5 : Graphical interface with multi-user mode, providing a graphical interface operating environment
6 : Restart, the host will be restarted when using this level
switch Operation level Initi N
View Run level commands RunLevel
System Service Control
The control script for the service /etc/rc.d/init.d/ directory under
format: Service Service Name control type
/etc/rc.d/init.d/ Service Name control type
control type
Start Start
Stop Stop
Restart Restart
Reload overloaded
Status View Status
Optimized boot auto-load service
Ntsysv tool provides interactive graphical interface
ntsysv--level// and Change * level of startup run State
Press Space (space bar selection)
Chkconfig Tools
chkconfig--list View the default startup status for all services
chkconfig--list Service Name
chkconfig--level Run Level Service name On|off
Viewing free memory grep "Memfree"/proc/meminfo
This article is from the "Carey" blog, make sure to keep this source http://careygg.blog.51cto.com/11084669/1732292
Red Hat Enterprise Linux system service Management