上一页 1 2 3 4 5 6 7 8 9 10 ··· 50 下一页
摘要: 1、环境,CentOS7 Minimal 64位,Docker必须要64位的系统2、通过yum命令直接安装,yum install docker3、启动Docker,并将其设置为开机启动(1)启动,systemctl start docker.service(2)开机启动,systemctl ena 阅读全文
posted @ 2016-09-13 16:05 jinchunguang 阅读(398) 评论(0) 推荐(1)
摘要: 一 、创建Command文件 创建app/Console/Commands 下创建RefreshToken.php 取一个名字 添加描述 在 handle() 方法中实现功能 二、在Kernel.php 文件中注册 三、新建cron.txt文件 文件内容: 四、用命令开启任务 在终端中项目目录下(L 阅读全文
posted @ 2016-09-13 11:06 jinchunguang 阅读(4660) 评论(0) 推荐(1)
摘要: toString(); 阅读全文
posted @ 2016-09-12 18:22 jinchunguang 阅读(122) 评论(0) 推荐(0)
摘要: conn = mysqli_connect('localhost', 'root', '123456'); } /* * 获取实例 */ public static function getInstance() { if (!(self::$conn instanceof self)) { self::... 阅读全文
posted @ 2016-09-12 18:21 jinchunguang 阅读(157) 评论(0) 推荐(0)
摘要: 通常情况下大家生成密码都好困惑,一来复杂程度不够会不安全,复杂程度够了又不能手动随便敲击键盘打出一同字符(但通常情况下这些字符是有规律的),使用1password 或者 keepass 这种软件生成也可以,不过貌似1password 要收费,既然这样我们就玩一下好玩的用 linux 来生成随机密码玩 阅读全文
posted @ 2016-09-10 11:31 jinchunguang 阅读(439) 评论(0) 推荐(0)
摘要: nginx的修改 send_timeout 60; fastcgi_connect_timeout 300; fastcgi_send_timeout 300; fastcgi_read_timeout 300; client_max_body_size 30m; php的修改 upload_max 阅读全文
posted @ 2016-09-06 21:27 jinchunguang 阅读(1941) 评论(0) 推荐(0)
摘要: php.ini # 最长执行时间 max_execution_time = 300 # 接收数据的时间限制 max_input_time = 600 # 可以使用的内存大小 memory_limit = 128M # 默认文件上传大小为2M upload_max_filesize = 20M # 限 阅读全文
posted @ 2016-09-06 21:25 jinchunguang 阅读(273) 评论(0) 推荐(0)
摘要: 1. 概念理解 在进行网络编程时,我们常常见到同步(Sync)/异步(Async),阻塞(Block)/非阻塞(Unblock)四种调用方式:同步: 所谓同步,就是在发出一个功能调用时,在没有得到结果之前,该调用就不返回。也就是必须一件一件事做,等前一件做完了才能做下一件事。 例如普通B/S模式(同 阅读全文
posted @ 2016-09-05 13:41 jinchunguang 阅读(148) 评论(0) 推荐(0)
摘要: Building Apache Thrift on CentOS 6.5 Starting with a minimal installation, the following steps are required to build Apache Thrift on Centos 6.5. This 阅读全文
posted @ 2016-09-02 17:58 jinchunguang 阅读(259) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2016-09-02 01:02 jinchunguang 阅读(4) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 50 下一页