摘要: 本人使用的是服务号,该服务号已经通过审核,并且拥有大部分需要的接口权限 首先需要在公众号平台中开发模块下的基本配置中录入基本配置信息 注意:该URL只支持80 和443端口 项目中引入第三方wechat.class 链接:http://pan.baidu.com/s/1kUVcwZ1 密码:bpj9 阅读全文
posted @ 2016-12-03 01:22 jackylee92 阅读(178) 评论(0) 推荐(0) 编辑
摘要: du su /目录/ 查看改目录大小 ls -lht / 查看文件详情,显示文件大小(直观) df -h 查看系统内存占用情况 centos 版本 lsb_release -a cat /etc/issue cat /proc/version netstat -tunpl | grep 80 查看8 阅读全文
posted @ 2016-12-01 13:59 jackylee92 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 1 输出重定向 ll > a.txt 将 ll的结果写入到a.txt 2 管道符 ls -la | grep h* 这条命令的理解为:ls -la 的结果作为gerp h* 的结果 gerp 是强大的文本搜索工具 他能使用正则表达式搜索, grep 格式 [主要参数] grep -c :只输出匹配的 阅读全文
posted @ 2016-11-25 15:31 jackylee92 阅读(1334) 评论(0) 推荐(0) 编辑
摘要: rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm yum install php55w php55w-opcache yum install yum-plugin-replace yum replace php-common --repla 阅读全文
posted @ 2016-11-24 17:21 jackylee92 阅读(2716) 评论(0) 推荐(0) 编辑
摘要: 1 mysql 启动时报:MySQL Daemon failed to start.并且启动失败 2 查看mysql log日志 less /var/log/mysqld.log 3 从两行error中 Can't start server: Bind on TCP/IP port: Address 阅读全文
posted @ 2016-11-22 15:59 jackylee92 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 首先服务器要有web 环境 yum install phpmyadmin 修改/etc/http.conf/conf.d/phpMyadmin.conf 将 #Require ip 127.0.0.1 #Require ip ::1 注释 添加Require all granted 即可在浏览器通过 阅读全文
posted @ 2016-11-19 16:41 jackylee92 阅读(941) 评论(0) 推荐(0) 编辑
摘要: 在使用file_get_contents方法来获取远程文件时会出现 [function.file-get-contents]: failed to open stream: HTTP request failed! 错误 解决方法是:修改php.ini 中的allow_url_fopen = On 阅读全文
posted @ 2016-10-31 18:37 jackylee92 阅读(6995) 评论(0) 推荐(0) 编辑
摘要: Println 与Printf 都是fmt 包中的公共方法 Println :可以打印出字符串,和变量; Printf : 只可以打印出格式化的字符串,可以输出字符串类型的变量,不可以输出整形变量和整形, a := 10 fmt.Println(a) //right fmt.Println("abc 阅读全文
posted @ 2016-10-27 23:04 jackylee92 阅读(5806) 评论(0) 推荐(0) 编辑
摘要: <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> 1. wi 阅读全文
posted @ 2016-10-23 15:41 jackylee92 阅读(548) 评论(0) 推荐(0) 编辑
摘要: # wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm # rpm -ivh mysql-community-release-el7-5.noarch.rpm # yum install mysql-commu 阅读全文
posted @ 2016-10-22 02:13 jackylee92 阅读(116) 评论(0) 推荐(0) 编辑