08 2019 档案

摘要:修改/etc/sysconfig/nfs 来固定端口 LOCKD_TCPPORT=32803 #建议修改其他 LOCKD_UDPPORT=32769 #建议修改其他 查看端口 rpcinfo -p 防火墙开启nfs(2249/tcp) rpc-bind mountd(2248/tcp) 还有开启共享 阅读全文
posted @ 2019-08-21 08:03 Smile杰丶 阅读(146) 评论(0) 推荐(0)
摘要: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杰丶 阅读(167) 评论(0) 推荐(0)
摘要:firewall-cmd --permanent --add-rich-rule="rule family="ipv4" forward-port port="80" protocol="tcp" to-port="8899" " firewall-cmd --zone=public --add-f 阅读全文
posted @ 2019-08-20 07:02 Smile杰丶 阅读(553) 评论(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杰丶 阅读(169) 评论(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杰丶 阅读(229) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-08-04 15:06 Smile杰丶 阅读(447) 评论(0) 推荐(0)