Centos7.9 writes distributed cluster big data system_self-starting script---Linux work notes 058

   For convenience, when the system is started, it is set to all of the system, and the cluster software is automatically started, so that the operation and maintenance costs can be reduced. Otherwise, there are so many tools, and some of them don’t know where to put them. It is very troublesome to start one by one.

First edit:

 Edit this file:

Then edit this file, write yourself, the location of the self-starting script, and save

:wq

 

Then assign a value to this file, execute permissions, and then, after restarting, this script, which we set in rc.local, will be executed automatically.

Then there is the build: the startup script, the content of which is:

Guess you like

Origin blog.csdn.net/lidew521/article/details/132214105