linux 修改hostname

刚装完linux 发现hostname不是本身想要的,为了之后安装各类软件,所以去修改hostnamelinux 以前用服务器 centos 6.5修改方法为:vim 1. vim /etc/sysconfig/network centos     而后修改hostname若是没有hostname,新增格式以下: 服务器 HOSTNAME=testcentos7 而后保存修改。test 今天用ce
相关文章
相关标签/搜索