linux 修改hostname

剛裝完linux 發現hostname不是本身想要的,爲了之後安裝各類軟件,所以去修改hostnamelinux 以前用服務器 centos 6.5修改方法爲:vim 1. vim /etc/sysconfig/network centos     而後修改hostname若是沒有hostname,新增格式以下: 服務器 HOSTNAME=testcentos7 而後保存修改。test 今天用ce
相關文章
相關標籤/搜索