摘要: 1;首先要在数据库中开启root 权限 意思是任意地段root用户以root密码访问; 代表这任意地段IP地址都可以root访问 2;开启服务器安全组 服务器安全组3306端口默认是没有开放的 ,如果这个不开放远程是无法连接数据库的; 3;使用xshell 添加安全组 然后就OK了 阅读全文
posted @ 2017-08-25 10:04 shiyongzhe88 阅读(225) 评论(0) 推荐(0) 编辑
摘要: CentOS7中执行 会报错Failed to start iptables.service: Unit iptables.service failed to load: No such file or directory. 在CentOS 7或RHEL 7或Fedora中防火墙由firewalld 阅读全文
posted @ 2017-08-25 09:52 shiyongzhe88 阅读(3612) 评论(0) 推荐(0) 编辑
摘要: 我服务器上装的是phpstudy 把yii框架basic目录放到了phpstudy下的www,然后通过IP访问爆出( Forbidden You don't have permission to access /basic/ on this server. ) 这个错误;出现这个错误就一下几种可能性 阅读全文
posted @ 2017-08-24 15:17 shiyongzhe88 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 1)弹性Ip无法ping通; 这个是华为云安全组ICMP协议规则是关闭的,需要自己手动去添加。 2)通过IP地址无法访问 在华为云安全主中需要添加一个端口为80的TCP协议。 阅读全文
posted @ 2017-08-24 15:05 shiyongzhe88 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 1)首先进入phpstudy目录 添加域名 phpstudy add www.xxx.xx自己的域名,然后再进入phpstudy目录->server->httpd->conf下的http.conf2)vim http.conf 3)添加Allow from 4)在www目录下面指定目录文件 然后再添 阅读全文
posted @ 2017-08-23 11:16 shiyongzhe88 阅读(201) 评论(0) 推荐(0) 编辑