### 客户端的操作 常用的命令: ping:查看服务器是否允许 quit:退出当前链接 auth:验证密码 select:选择库,0~15,共16个,默认使用0 flushdb:删除当前的数据库 flushall:删除所有的数据库 EXISTS:检查键是否...
# redis安装 说明: 1、类似于Memcached的key,value机制的存储服务 2、是非关系型数据库(NoSQL)的一种 3、官网:www.redis.io,中文网:www.redis.cn 特点: 1、能够持久化存储数据,而Mecached不能 2、value支持更多的数据类型 3、支持数据备份,主从模式 ...
### 1. 用户关注以及回复消息的时候,都可以获得用户的OpenID ``` %s ``` 其中的FromUserName就是OpenID ### 2. 使用access_token接口,获得全局Access Token ``` https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=*********&secret=********** ``` 返回结果: ...
### NO/OFF {{ form.field(model, 'notice').widget('kartik\\widgets\\SwitchInput')|raw }} ### 单个时间 {{ form.field(model, 'created').widget('kartik\\widgets\\DateTimePicker', {'pluginOptions':{'autoclose':'true','format':'yyyy-mm-dd hh:ii:ss'}})|raw }} ### 时间范围 {{ form.field...
### 安装memcached ``` yum search memcached yum -y install memcached ``` 安装成功后,通过下面命令可以查看帮助信息: ``` memcached -h ``` 将memcached加入启动列表: ``` chkconfig --level 2345 memcached on ``` 配置memcached文件: ``` vim /etc/sysconfig/memcached ``` 文件内容...
官方文档:[https://about.gitlab.com/downloads/#centos6](https://about.gitlab.com/downloads/#centos6) sudo yum install curl openssh-server openssh-clients postfix cronie sudo service postfix start sudo chkconfig postfix on sudo lokkit -s http -s ssh curl -sS https://packages.gitlab...
# mongodb常用命令 mongo show dbs; use mydatabses; show collections db.action_record.find({}) db.action_record.count({}) # MongoDB中条件操作符有: (>) 大于 - $gt (=) 大于等于 - $gte (where(['uid'=>(int)$uid,'type'=>(int)$type])->andWhere(['time'=>['egt'=>$end...
微信公众号
微信