Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to set boot up in centos7.6

Shulou Source: shulou.com Published: 2022-06-02 10:16:18 10月04日 Update

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.

Tags: Content skills documents knowledge scripts concise to the point that is articles more articles industry information channels channels one light reserve run Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Redmi MariaDB vpn Apple