Centos禁止在重启网卡时对resolv.conf的修改
<h4>概述</h4> <p>官方参考文档:</p> <blockquote> <p><a href="https://access.redhat.com/solutions/7412">https://access.redhat.com/solutions/7412<...
51工具盒子
<h4>概述</h4> <p>官方参考文档:</p> <blockquote> <p><a href="https://access.redhat.com/solutions/7412">https://access.redhat.com/solutions/7412<...
<h4>概述</h4> <p>在项目环境中,服务器存在多个生效的网卡配置,需要允许指定的网卡访问特定的网段。</p> <h4>处理办法</h4> <h5>route命令(临时生效)</h5> <h6>命令介绍</h6> <pre><code&...
<h4>概述</h4> <p>根据安全管理规范需修改默认telnet服务端口,但Centos6使用的是xinetd进行监听端口并且默认配置文件中并没有突出端口配置项。</p> <h4>处理办法</h4> <h5>修改默认服务端口</h5> <pre><code>...
<h4>概述</h4> <p>由于系统被前同事升级过python,导致python依赖有问题致使yum不可用。</p> <pre><code>[root@localhost ~]# yum list wget There was a problem importing one of the Python m...
#### 概述 由于生产安全需要开放指定端口,在执行自动初始化环境脚本时发现`semanage`命令无法使用并且报错。 [root@localhost ~]# semanage port -l Traceback (most recent call last): File "/sbin/semanage", line 1074...
#### 概述 由于服务器Centos6系统版本过低导致网络上不存在历史rpm版本的安装包,通过卸载并安装最新版python2.6后导致yum仍然无法继续使用。 [root@localhost ~]# yum list wget 已加载插件:fastestmirror, product-id, subscription-manager Updatin...
<h4>概述</h4> <p>由于前同事升级Python版本至2.7.9导致原有的系统默认版本python异常,无法使用yum正常的功能。</p> <pre><code>[root@localhost ~]# yum update There was a problem importing one of t...
<h4>概述</h4> <p>由于需要开放telnet非默认端口,添加SElinux规则时报错。</p> <pre><code>[root@localhost ~]# semanage port -a -t telnetd_port_t -p tcp 23023 SELinux: Could not do...
<h4>概述</h4> <p>由于Centos7下root超级管理员密码忘记或被修改无法登录root用户,故编写该文档。</p> <h4>开始操作</h4> <h5>重启系统</h5> <p>在开机过程中,<strong>快速按下</strong>...
#### 概述 在编译时遇到如下报错内容: [root@localhost zabbix-3.2.11]# ./configure configure: error: working directory cannot be determined #### 排查思路 由于日志暂缺失,仅提供部分命令 ##### 查看具体报错信息 执行如下命令: ...