阿里云

一、修改/etc/hostname,改成本身的hostname,如aa。服务器

二、修改/etc/hosts,在localhost后面加上hostname,如aa。server

三、修改kafka中的config/server.properties,改成当前服务器的外网ip。ip