方法一: 修改vim /etc/rc.local文件

vim /etc/rc.local

加入:

/opt/soft/kafka_2.11-0.10.0.0/bin/kafka-server-start.sh /opt/soft/kafka_2.11-0.10.0.0/config/server.properties

保存(shift+ : /wq!) -> 重启 reboot

 

相关文章:

  • 2022-01-27
  • 2021-07-09
  • 2021-07-27
  • 2021-06-23
  • 2021-10-21
猜你喜欢
  • 2021-11-28
  • 2022-12-23
  • 2022-02-01
  • 2022-12-23
  • 2021-12-19
  • 2021-11-24
  • 2021-12-05
相关资源
相似解决方案