环境说明操作系统:centos7.0saltmaster/minion/版本2014.7.1Salt-api安装salt-api使用pip安装[root@centos7~]#pipinstallCherryPy
[root@centos7~]#pipinstallsalt-apiSalt-api配置[root@centos7~]#cd/etc/pki/tls/certs/#生成自签名证书,用于ssl
[root@centos7certs]#makete..
discuz 修改超级管理员密码 终极办法就是自己去修改数据库:
1.找到pre_ucenter_members表,获取salt字段的值
2.$pw = ''123456abc; //设置新密码
3.md5(md5($pw).$salt) //计算新密码加密后的字符串
4.把第三步的结果黏贴到数据库password字段
5.完成,新密码登入即可...
分类:
Web程序 时间:
2015-04-03 11:24:16
阅读次数:
116
Description
Fermat's theorem states that for any prime number p and for any integer
a > 1, ap == a (mod p). That is, if we raise a to the
pth power and divide by p, the remainder is a. Some (but ...
分类:
其他好文 时间:
2015-04-03 09:33:09
阅读次数:
93
继续介绍zabbix监控企业应用的实例,本次介绍zabbix监控dns,我监控的dns为bind 9.8.2,本dns为公网dns,是为了解决公司内网服务器自动化所需求的dns解析,比如目前的puppet或者salt软件,如果结合dns,管理起来更方便,对于管理服务器来说,如果搬迁机房或者硬件出现故...
分类:
其他好文 时间:
2015-04-01 12:59:45
阅读次数:
257
??unity 5.0 中的新动画功能这里是你可以期待的新动画功能快速概述 !State Machine Behaviours状态机行为在Unity 5 中,你会能够将StateMachineBehaviour 脚本添加到您的states,当played状态时能接收callbacks回调:?OnStateEnter?OnStateUpdate?OnStateExit?OnStateMove?OnS...
分类:
编程语言 时间:
2015-04-01 09:32:00
阅读次数:
278
六、grains使用以及cmd.rungrains.items主要用来收集minion端的信息,方便进行信息采集,后续的pillar使用,根据硬件信息自动匹配配置文件等,基本用法:#salt“*”grains.ls#显示所有minion的item#salt“*”grains.items#显示所有minion的item值#salt“*”grains.itemosshell#..
分类:
其他好文 时间:
2015-03-31 20:29:15
阅读次数:
298
State machine behaviours are scripts that can be attached to animator states or sub-state machines in an Animator Controller. These can be used to add all sorts of behaviour that is state dependent su...
分类:
编程语言 时间:
2015-03-31 10:58:08
阅读次数:
268
1file server configuration salt有一个用ZeroMQ编写的高性能文件服务,它可以用很小的负载快速管理大量的文件。salt的文件服务是一个感知环境(environment aware)的文件服务,什么是环境感知?就是文件可以被分配在多个根目录下,可以在访问时指定文件路径和...
分类:
其他好文 时间:
2015-03-30 00:58:08
阅读次数:
240
1、CCSkeletonAnimation:继承自CCSkeleton,骨骼动画类
class CC_EX_DLL CCSkeletonAnimation: public CCSkeleton {
public:
std::vector states; //状态容器
static CCSkeletonAnimation* createWithData (SkeletonData* ...
分类:
其他好文 时间:
2015-03-28 17:22:20
阅读次数:
535
MDP:马尔科夫决策过程(Markov Decision Process)定义:一个马尔可夫模型包括如下部分状态集 S (States)动作集 A (Actions)奖惩函数 R (reward function)在状态 s 下,执行 a 动作的影响函数 T我们假设执行动作 a 的效果只与当...
分类:
其他好文 时间:
2015-03-20 10:42:02
阅读次数:
140