上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 70 下一页

2018年9月4日

摘要: 由于项目中对一些默认值设置问题,以及种种原因,mysql数据库需要使用非严格模式开发(mysql最近的版本默认是开启严格模式的)。 linux下mysql服务下操作步骤是: 1、进入mysql服务 2、执行set操作修改,我们项目是直接设置为'' mysql> set global sql_mode 阅读全文
posted @ 2018-09-04 21:53 刘应杰 阅读(3877) 评论(0) 推荐(0) 编辑

2018年9月3日

摘要: 吾星喵 关注 2018.04.14 15:30 字数 214 阅读 202评论 0喜欢 1 Debian9开机运行Python脚本 Debian 9.x "stretch" 解决 /etc/rc.local 开机启动问题 由于某些软件并没有增加开启启动的服务,很多时候需要手工添加,一般我们都是推荐添 阅读全文
posted @ 2018-09-03 12:50 刘应杰 阅读(692) 评论(0) 推荐(0) 编辑

2018年8月31日

摘要: How Autofs Works Autofs is a client-side service that automatically mounts the appropriate file system. When a client attempts to access a file system 阅读全文
posted @ 2018-08-31 12:34 刘应杰 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 目录 1、引言 2、OAuth2.0是什么 3、OAuth2.0怎么写 1、引言 本篇文章是介绍OAuth2.0中最经典最常用的一种授权模式:授权码模式 非常简单的一件事情,网上一堆神乎其神的讲解,让我不得不写一篇文章来终结它们。 一项新的技术,无非就是了解它是什么,为什么,怎么用。至于为什么,本篇 阅读全文
posted @ 2018-08-31 12:18 刘应杰 阅读(248) 评论(0) 推荐(0) 编辑
摘要: OAuth是一个关于授权(authorization)的开放网络标准,在全世界得到广泛应用,目前的版本是2.0版。 本文对OAuth 2.0的设计思路和运行流程,做一个简明通俗的解释,主要参考材料为RFC 6749。 一、应用场景 为了理解OAuth的适用场合,让我举一个假设的例子。 有一个"云冲印 阅读全文
posted @ 2018-08-31 12:04 刘应杰 阅读(120) 评论(0) 推荐(0) 编辑

2018年8月23日

摘要: Modify NGINX Configuration Filesudo nano /etc/nginx/nginx.confSearch for this variable: client_max_body_size. If you find it, just increase its size to 100M, for example. If it doesn’t exist, then you... 阅读全文
posted @ 2018-08-23 08:39 刘应杰 阅读(105) 评论(0) 推荐(0) 编辑

2018年8月22日

摘要: NFS:Network File System RPC:Remote Procedure Call 一、手动挂载 (mount -t nfs 服务端IP:/共享目录 /本地挂载点)客户端1.安装nfs:[root@localhost ~]# yum install nfs* portmap -y [root@localhost ~]# rpm -qa nfs* nfs-utils-lib-1.... 阅读全文
posted @ 2018-08-22 14:12 刘应杰 阅读(637) 评论(0) 推荐(0) 编辑

2018年8月21日

摘要: Speeding up Homestead on Windows Using NFSSep 07 2015Homestead LaravelEDIT: I have another article on using Homestead with sFTP and Sublime which may be a better option for some.I recently took the pl... 阅读全文
posted @ 2018-08-21 15:49 刘应杰 阅读(110) 评论(0) 推荐(0) 编辑

2018年8月18日

摘要: 1 引言 introduction有时,我们需要在 Model 某些属性发生变化时,作出相应的处理。这时,我们可以使用 Model->isDirty() 方法进行判断。2 场景比如,姓名字段发生改变,引发拼音码生成;单价调整,引起金额计算。试题得分改变,导致试卷分值重算,等等。3 示例App\Observers\UserObserverfunction saving(User $user){if ... 阅读全文
posted @ 2018-08-18 08:57 刘应杰 阅读(543) 评论(0) 推荐(0) 编辑

2018年8月17日

摘要: rsyncd.conf28 Jan 2018rsyncd.conf(5)28 Jan 2018NAMErsyncd.conf - configuration file for rsync in daemon modeSYNOPSISrsyncd.confDESCRIPTIONThe rsyncd.conf file is the runtime configuration file for rsy... 阅读全文
posted @ 2018-08-17 11:01 刘应杰 阅读(474) 评论(0) 推荐(0) 编辑
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 70 下一页

导航