摘要: 安装nagiosxi的过程中,提示但是无法安装成功,提示查看 systemctl status httpd.service ,httpd启动失败,应该是httpd的问题,查看/etc/httpd/logs/error.log 如下 第一个问题是SELinux的配置问题,关闭SElinux再测试还是无 阅读全文
posted @ 2018-02-27 10:10 代码无涯 阅读(1295) 评论(0) 推荐(0) 编辑
摘要: 这个主要是bash_profile文件有问题,有可能编辑的时候出错了 我们可以通过以下方法来恢复 在终端输入: 然后切换到用户home目录下: 创建bash_profile文件: 打开bash_profile: 现在你可以看到之前配置的bash_profile文件,检查是否有错误,如果检查不出,就备 阅读全文
posted @ 2017-08-18 17:57 代码无涯 阅读(1725) 评论(0) 推荐(0) 编辑
摘要: 1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc 阅读全文
posted @ 2017-08-09 18:29 代码无涯 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Preferences > Settings > 添加以下代码 重启即可 阅读全文
posted @ 2017-08-09 12:15 代码无涯 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 编译的最后报错: 查询本地已经安装了libxml2,后面发现其实是还欠缺libxml2-devel,再次安装 编译成功 阅读全文
posted @ 2017-08-09 10:33 代码无涯 阅读(163) 评论(0) 推荐(0) 编辑
摘要: yum安装mysql (新版本CentOS自带mariadb而不是mysql,所以要先卸载了,否则会冲突) 查找mariadb rpm -qa | grep mariadb 卸载mariadb rpm -e --nodeps mariadb-libs-5.5.52-1.el7.x86_64 安装my 阅读全文
posted @ 2017-08-03 18:56 代码无涯 阅读(164) 评论(0) 推荐(0) 编辑