摘要: man semanage-fcontext 除了fcontext 还有端口也要开通,比如 semanage port -a -t http_port_t -p tcp 8309 方法1:chcon -R -t httpd_sys_rw_content_t /var/www/qin/ 方法2:chco 阅读全文
posted @ 2019-08-21 00:23 Smile杰丶 阅读(154) 评论(0) 推荐(0) 编辑
摘要: firewall-cmd --permanent --add-rich-rule="rule family="ipv4" forward-port port="80" protocol="tcp" to-port="8899" " 以下转自:https://www.cnblogs.com/suido 阅读全文
posted @ 2019-08-20 07:02 Smile杰丶 阅读(534) 评论(0) 推荐(0) 编辑
摘要: yum install unbound vim /etc/unbound/unbound.conf vim /etc/unbound/local.d/qin.com.conf [root@www ~]# vim /etc/unbound/local.d/qin.com.conf domain-ins 阅读全文
posted @ 2019-08-15 07:58 Smile杰丶 阅读(158) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-08-08 14:52 Smile杰丶 阅读(0) 评论(0) 推荐(0) 编辑
摘要: SELECT DISTINCT CONCAT('User: ''',user,'''@''',host,''';') AS query FROM mysql.user; grant all privileges on *.* to 'root'@'%' identified by 'root'; f 阅读全文
posted @ 2019-08-08 12:04 Smile杰丶 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-08-04 15:06 Smile杰丶 阅读(436) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-07-31 10:23 Smile杰丶 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 原路径:https://blog.51cto.com/wangchunhai/2084434 个人觉得有一点写的有出入: 2 vCenter保存在本地存储中,无共享存储 中主机图片和描述信息有异常。 以下是原文: 在为VMware vSphere虚拟化环境配置高可用群集(HA)时,有一个重要的参数: 阅读全文
posted @ 2019-07-28 20:55 Smile杰丶 阅读(2383) 评论(0) 推荐(0) 编辑
摘要: https://blogs.vmware.com/china/2018/07/27/vsphere-6-7-%E6%96%B0%E7%89%B9%E6%80%A7-%E5%9F%BA%E4%BA%8E%E8%99%9A%E6%8B%9F%E5%8C%96%E7%9A%84%E5%AE%89%E5%8 阅读全文
posted @ 2019-07-28 19:39 Smile杰丶 阅读(1417) 评论(0) 推荐(0) 编辑
摘要: 修复rhel6系统,boot文件删除了 救援模式 chroot /mnt/sysimage/ rpm -ivh kernel.rpm --force grub-install /dev/sda vim /boot/grub/grub.conf default=0 timeout=3 title ha 阅读全文
posted @ 2019-07-26 07:45 Smile杰丶 阅读(206) 评论(0) 推荐(0) 编辑