admin 发表于 2023-3-2 19:25:42

CentOS开机starting send mail, starting sm-client处卡住很久解决方法

<p>有时会卡两分钟以上,解决方法:</p>
<p>1. 修改/etc/sysconfig/networking/profiles/default/hosts (也可以是/etc/hosts)</p>
<p>添加一行:</p>
<p>127.0.0.1    localhost localhost.localdomain localhost</p>
<p>上面第一个localhost是你的主机名,我的主机名是mycloud</p>
<p>2. 修改 /etc/sysconfig/network 文件,更改主机名:</p>
<p>HOSTNAME=mycloud</p>
<p>3. 同时在服务里,关掉sendmain服务,并保存。</p>
                                        <p class="post-copyright">未经允许不得转载:<ahref="https://www.wangchao.info/">王超博客</a> &raquo; <ahref="https://www.wangchao.info/1785.html">CentOS开机starting send mail, starting sm-client处卡住很久解决方法</a></p>
页: [1]
查看完整版本: CentOS开机starting send mail, starting sm-client处卡住很久解决方法