摘要: l linux下 vim /usr/local/php/etc/php.in l 直接斜杠找 /disable_functions 回车 l 按i键 l 去掉scandir l 按Esc,输入wq! 保存回车 q!是不保存退出 lnmp reestart 重启 安装thinkphp时报scandir 阅读全文
posted @ 2017-09-03 01:49 wujunbin 阅读(2017) 评论(0) 推荐(0) 编辑
摘要: 参数化查询防止SQL注入漏洞 看别人的登录注册sql语句有没漏洞即可 Where name=‘admin’ or ‘1=1’ and password=’123’; 可以Or ‘1=1’就是漏洞 http://jingyan.baidu.com/article/27fa7326f53ea746f92 阅读全文
posted @ 2017-09-03 01:47 wujunbin 阅读(709) 评论(0) 推荐(0) 编辑
摘要: mysql -u root -p Aaa111222333 grant all privileges on *.* to root@'%' identified by 'aaa111222333; Quit lnmp restart MySQL登录时出现 Access denied for user 阅读全文
posted @ 2017-09-03 01:46 wujunbin 阅读(689) 评论(0) 推荐(0) 编辑
摘要: setenforce 0 service iptables stop mysql -u root -p Aaa111222333 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'WITH GRANT OPTION; FLUSH PRIVILEGES; EXIT Ca 阅读全文
posted @ 2017-09-03 01:46 wujunbin 阅读(907) 评论(0) 推荐(0) 编辑
摘要: mysql -u root -p Aaa111222 grant all privileges on *.* to root@'%' identified by 'aaa111222; Quit lnmp restart mysql -u root -p Aaa111222 grant all pr 阅读全文
posted @ 2017-09-03 01:44 wujunbin 阅读(468) 评论(0) 推荐(0) 编辑
摘要: mysql -u root -p aaa111222333 use mysql update user set password=PASSWORD('123456') where user='root'; flush privileges; mysql -u root -p aaa111222333 阅读全文
posted @ 2017-09-03 01:44 wujunbin 阅读(174) 评论(0) 推荐(0) 编辑
摘要: shell-网上lnmp一键安装讲解 #!/bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin #设置系统环境变量本文出处:www.ksharpdabu.info export PATH # 阅读全文
posted @ 2017-09-03 01:41 wujunbin 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 安装svn 参考http://blog.csdn.net/dl425134845/article/details/41978541 系统版本 uname -a # 查看内核/操作系统/CPU信息 head -n 1 /etc/issue # 查看操作系统版本 yum软件仓库找到SVN安装包安装 中间 阅读全文
posted @ 2017-09-03 01:40 wujunbin 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 参考https://www.kancloud.cn/manual/thinkphp5/177576 thinkphp入口文件同目录下添加。把下面的内容保存为.htaccess文件 <IfModule mod_rewrite.c>Options +FollowSymlinks -MultiviewsR 阅读全文
posted @ 2017-09-03 01:37 wujunbin 阅读(6207) 评论(0) 推荐(0) 编辑
摘要: 安装ssh yum install openssh-server 查看SSH是否安装。 ◆输入命令:rpm -qa | grep ssh 注:若没安装SSH则可输入:yum install openssh-server安装。 输入命令:service sshd restart 重启SSH服务。 命令 阅读全文
posted @ 2017-09-03 01:36 wujunbin 阅读(496) 评论(0) 推荐(0) 编辑