只需要在启动的时候加上‘-daemon’ 命令即可 [root@localhost bin]# sh kafka-server-start.sh -daemon /config/server.properties