上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: Redis protected-mode 是3.2 之后加入的新特性,在Redis.conf的注释中,我们可以了解到,他的具体作用和启用条件 可以看到 Protected-mode 是为了禁止公网访问redis cache,加强redis安全的。 它启用的条件,有两个:1) 没有bind IP2) 阅读全文
posted @ 2016-06-11 15:43 王天泽博客 阅读(2454) 评论(0) 推荐(0) 编辑
摘要: 在view中增加js、css文件: 阅读全文
posted @ 2016-05-09 11:41 王天泽博客 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 开始使用数据库首先需要配置数据库连接组件,通过添加 db 组件到应用配置实现("基础的" Web 应用是 config/web.php),DSN( Data Source Name )是数据源名称,用于指定数据库信息.如下所示: return [ // ... 'components' => [ / 阅读全文
posted @ 2016-04-23 14:49 王天泽博客 阅读(126) 评论(0) 推荐(0) 编辑
摘要: nginx 编译: ./configure --user=www --group=www --prefix=/usr/local/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path= 阅读全文
posted @ 2016-04-15 10:41 王天泽博客 阅读(90) 评论(0) 推荐(0) 编辑
摘要: Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script. 运行/usr/local/webser 阅读全文
posted @ 2016-04-15 08:30 王天泽博客 阅读(514) 评论(0) 推荐(0) 编辑
摘要: 1、nginx install: 下载对应当前系统版本的nginx包(package) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2、redis install: 1 2 3 4 5 3、php-redis inst 阅读全文
posted @ 2016-04-11 17:25 王天泽博客 阅读(313) 评论(0) 推荐(0) 编辑
摘要: http://www.yiichina.com/tutorial/550 阅读全文
posted @ 2016-04-09 12:19 王天泽博客 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 1. 在main.php主配置文件里面,的components db 里将enableProfiling设置为true 'components' => array( 'db' => array( 'enableProfiling' => true, //这个是用来记录日志的,会记录每一条语句执行的时 阅读全文
posted @ 2016-04-09 11:21 王天泽博客 阅读(616) 评论(0) 推荐(0) 编辑
摘要: Yii2路由配置 阅读全文
posted @ 2016-04-08 10:14 王天泽博客 阅读(969) 评论(0) 推荐(0) 编辑
摘要: 首先更新系统 yum makecache && yum -y update 安装必要的编译组件 yum -y install bash-completion vim net-tools bind-utils wget unzip 重启 reboot 下载必要的软件 cd /usr/local/src 阅读全文
posted @ 2016-04-08 09:29 王天泽博客 阅读(219) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页