Summary of several methods of Linux setup for boot
Like Windows, Linux can also set some services to boot, which avoids the hassle of opening a service every time you boot up! Linux boot the service is set to boot from a few ways:
Ntsysv Graphical interface settings
NTSYSV-NeWT + SysV, which is the SysV-style runlevel Configuration tool using the NeWT Library, Red hat follows the GPL-developed program and has an interactive interface that allows you to turn on and off the operating system with easy access to the arrow keys and SPACEBAR. In each execution level, set up the various services of the system.
Enter the Stsync command, will pop up a list of graphical interface, there will be a list of services can be loaded, the front of the service * To remove the indication is I only for the boot, otherwise not for power-on self-boot. Finally, with tab see Switch to OK, press the ENTER key to keep!
If the system does not have its own NTSYSV installed, use Yum to install it, the installation command is:
[Email protected] ~]# yum-y install NTSYSV
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/A4/83/wKioL1ms8reiR6mGAABcc177QMc810.png "title=" 231. PNG "alt=" Wkiol1ms8reir6mgaabcc177qmc810.png "/>
Second, the start command to join the service in/etc/rc.local
If Rsync is powered on, you can join the command to open rsync directly in/etc/rc.local, with the following commands:
[Email protected] ~]# echo "/usr/bin/rsync--deamon" >>/etc/re.local
[Email protected] ~]# tail-1/etc/rc.local
Third, use the Chkconfig command to add the service to boot from
Use the Chkconfig command to add the service to boot, adding the following methods:
[Email protected] ~]# chkconfig--level 2,3,4,5, on mysqld
This article from "Doublelinux" blog, declined reprint!
Linux sets the service as a summary of the boot-up method