摘要:根据传入不同的参数,智能的显示蜂窝式布局,效果如下图:制作步骤:1、在库中建一个mc 绑定名称为“myMC” 2、建一个文档类,代码如下: 1 package 2 { 3 import flash.display.Sprite; 4 5 /** 6 * @auth...
分类:
其他好文 时间:
2015-08-27 10:44:28
阅读次数:
201
Ceph radosgw 安装配置Ceph radosgw对象存储的接口,研究配置了许久,先分享如下。首先配置的前提是,你成功的配置了Ceph集群,通过ceph –s 查看ceph集群,处于health状态。在这里,我们这种集群的有个auth的配置为none,所以有关auth的部分也就是有关keying的,这里省略。1)创建rgw相关的pool
ceph osd pool create .rgw...
分类:
其他好文 时间:
2015-08-27 02:18:09
阅读次数:
1164
/* * 环境:LNMP(CentOS 6.6 + Nginx 1.8.0) */在 Nginx 下配置 Basic 认证需要依靠 Nginx 的http_auth_basic_module 模块(官方文档:http://nginx.org/en/docs/http/ngx_http_auth_ba...
分类:
其他好文 时间:
2015-08-25 23:28:56
阅读次数:
145
PHP的时候提示这个错误 configure: error: png.h not found.,这个是选择安装GD模块才会出现的错误,详细错误信息如下If configure fails try --with-vpx-dir=If configure fails try --with-jpeg-di...
分类:
其他好文 时间:
2015-08-25 18:55:23
阅读次数:
200
1.检查是否已安装rpm-qasubversion如果要卸载旧版本:yumremovesubversion2.安装yuminstallsubversionPS:yum install httpd httpd-devel subversion mod_dav_svn mod_auth_mysql(这是...
分类:
系统相关 时间:
2015-08-20 12:58:17
阅读次数:
135
upstream wdzjbbs_varnish{ session_sticky; server 10.174.35.11 weight=1 max_fails=2 fail_timeout=30s; }upstream wdzjbbs{ session_sticky; ...
分类:
其他好文 时间:
2015-08-18 11:44:36
阅读次数:
283
1、添加一个管理账号mongo--host127.0.0.1--port27000
useadmin
db.addUser(‘admin‘,‘123456‘)2、通过账号登陆mongo--host127.0.0.1--port27000-uadmin-p123456admin
或者
mongo--host127.0.0.1--port27000
useadmin
db.auth(‘admin‘,‘123456‘)##返回为1表示认证ok,返回为0表..
分类:
数据库 时间:
2015-08-18 06:51:49
阅读次数:
205
实验手册http://down.51cto.com/data/2082999实验地址https://vlabs.holsystems.com/vlabs/technet?eng=VLabs&auth=none&src=vlabs&altadd=true&labid=11995Whatyou’lllearninthislabWindowsServer2012R2FailoverClusteringisMicrosoft’sindustryleadinghigh..
分类:
Web程序 时间:
2015-08-17 12:14:51
阅读次数:
504
连接redis代码redis.phpconnect("localhost"); //授权 $redis->auth("lamplijie"); 说明:这是入口文件,使用redis数据库必须先引入它。这样才能用php操作redis数据库。列表页list.php注册get("auth:...
分类:
其他好文 时间:
2015-08-16 13:40:15
阅读次数:
144
1、安装httpd#yum-yinstallhttpd2、编辑nginx配置文件在配置中加入:location/{roothtml;auth_basic"loyu";auth_basic_user_file/etc/nginx/conf/password;}3、创建文件夹conf#mkdir/etc/nginx/conf/4、然后在nginx的conf目录下,执行:#cd/etc/nginx/conf/#htpasswd-cpassword..
分类:
其他好文 时间:
2015-08-15 06:51:16
阅读次数:
117