Call a program on a LINUX system startup

xiaoxiao2021-03-06  73

First we advance to the directory /etc/rc.d/rc3.d below and then execute LS -L (not one, is L) to view files in a list, which will list similar below. LRWXRWXRWX ??? 1 root ???? root ?????????? 16? March 14 11:42 k96pcmcia -> ../ Init.d / pcmcialrwxrwxrwx ??? 1 root ???? root ?????????? 23? March 14 11:42 k99microcode_ctl -> ../ Init.d / microcode_ctllrwrwxtwx ??? 1 root ???? root ?????????? 15 ? March 14 11:42 s05kudzu -> ../ Init.d / kudzulrwxrwxrwx ??? 1 root ???? root ?????????? 19? March 14 11:42 S08IP6TABLES ->. ./init.d/ip6tableslrwxrwrwx ??? 1 root ???? root ?????????? 18? March 14 11:42 S08IPChains -> ../ Init.d / ipchainslrwxtwxrwx ??? 1 Root ???? root ?????????? 18? March 14 11:42 S08iptables -> ../init.d/iptables

The above, K96PCMCIA, S05kudzu, etc., where S starts a program when starting the system, K is a shut-off program when it is turned off, and some friends teach me how to start the MySQL server. Because I reload the system so I can't start the system automatic operation.

1513227 (tear gas) 17:21:08, for example, mysql, find the startup file provided by MySQL, mysql.server, put it COPY to /etc/init.d 1513227 (tear gas) 17:21:35 then enter / etc /rc.d/rc3.d?1513227 (tear gas) 17:22:04 built a point to /etc/init.d/mysql.Server Link 1513227 (tear gas) 17:22:36 Name this LINK For S77MYSQLD 1513227 (tear gas) 17:22:46 This is the 262995777 (Hedgehog) 17:22:59 Do you have to set the name to S77MYSQLD? 1513227 (tear gas) 17:23:02 named S65MYSQL also 1513227 (tear gas) 17:23:21 What is going, but what is to be numbes ?? 262995777 (Hedgehog) 17: 23: 2177 and 65 What is the difference 262995777 (Hedgehog) 17:41 I write into S123MYSQL 1513227 (tear gas) 17:23:45 is the number of digital small execution, numbers can be used with other same 262995777 (Hedgehog) 17:23:46 Not 1513227 (tear gas) 17:23:52 largest 99 262995777 (Hedgehog) 17:23:23:58 Oh, 1513227 (tear gas) 17:24:17 and then built another K66Mysqld 1513227 (tear gas) 17:24:37 Guide That file, it is used to turn mysql when shutdown 9812624 (づ Yizξ Black Rain) 17:38:16 understand how LINK is made? 1513227 (tear gas) 17:25:50LN command

转载请注明原文地址:https://www.9cbs.com/read-121087.html

New Post(0)