摘要:        
前端优化 css同类型合并--压缩-图片压缩-缓存-js压缩等 https://www.zhihu.com/question/21658448 http://www.cnblogs.com/fangshidaima/p/5823465.html 后端优化 php引号-foreach-算法-函数实现方    阅读全文
posted @ 2017-09-03 02:01
wujunbin
阅读(611)
评论(0)
推荐(0)
        
            
        
        
摘要:        
八Wokerman http://www.workerman.net/ 25. windos下测试 下载windos版的Wokerman 实例一、使用HTTP协议对外提供Web服务 创建http_test.php文件(位置任意,能引用到Workerman/Autoloader.php即可,下同) <    阅读全文
posted @ 2017-09-03 01:51
wujunbin
阅读(657)
评论(0)
推荐(0)
        
            
        
        
摘要:        
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
阅读(2050)
评论(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
阅读(723)
评论(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
阅读(711)
评论(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
阅读(915)
评论(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
阅读(479)
评论(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
阅读(177)
评论(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
阅读(443)
评论(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
阅读(388)
评论(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
阅读(6763)
评论(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
阅读(514)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号