How to set boot up in centos7.6
This article shows you how to set boot in centos7.6, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
First create a startup script daemon.sh
#! / bin/bashJAVA_HOME=/usr/local/jdk1.8.0_201PATH=$JAVA_HOME/bin:$PATH/usr/local/kafka/kafka_2.11-2.2.0/bin/kafka-server-start.sh-daemon / usr/local/kafka/kafka_2.11-2.2.0/config/server.properties & cd / usr/local/kafka-manager/kafka-manager-2.0.0.2/bin/nohup. / kafka-manager- Dhttp.port=9000-Dconfig.file=/ Usr/local/kafka-manager/kafka-manager-2.0.0.2/conf/application.conf &
Then add / etc/rc.d/rc.local to the startup script (you need to set the / etc/rc.d/rc.local file to be runnable)
The above is how to set boot in centos7.6. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.