当前位置: 代码迷 >> 综合 >> Centos7 修改主机名
  详细解决方案

Centos7 修改主机名

热度:53   发布时间:2024-02-11 14:04:48.0

安装oracle没有按照环境变量安装

hostnamectl set-hostname test

 

需要在/etc/hosts 增加  

127.0.0.1 test