【config_inc.php】【redis.class.php】 rets[$redis_cfg['server']]) === TRUE){$this -> ret = $this -> rets[$redis_cfg['server']];return TRUE;}else{$this -> ...
分类:
Web程序 时间:
2014-11-29 15:52:37
阅读次数:
243
解题思路:输入总人数 n,和m组数据;即和杭电畅通工程相类似,对这m组数据做合并操作后,求最后一共有多少块区域。#includeint pre[50001];int find(int root){ if(root!=pre[root]) pre[root]=find(pre[root]); ret....
分类:
其他好文 时间:
2014-11-28 20:07:43
阅读次数:
248
因需要对saltstack的所有动作进行入库采集,网上采集脚本mysql连接会因超时而断开,导致守护进程在下一次采集数据时提示:Traceback(mostrecentcalllast):
File"./salt_event_to_mysql.py",line39,in<module>
ret[‘success‘],json.dumps(ret)))
File"build/bdist.linux-x..
分类:
数据库 时间:
2014-11-28 12:47:19
阅读次数:
1170
#!/bin/bashread-p"请确认插入系统光盘,然后按Enter继续"mkdir-p/mnt/centos6.5mount/dev/cdrom/mnt/centos6.5cat>/etc/yum.repos.d/centos-debuginfo.repo<<EOF[Cluster]name=ClusterDirectorybaseurl=file:///mnt/centos6.5/Clusterenabled=1gpgcheck=0[ClusterSt..
分类:
其他好文 时间:
2014-11-28 06:35:03
阅读次数:
162
Hat’s Words
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 8527 Accepted Submission(s): 3069
Problem Description
A hat’s word i...
分类:
其他好文 时间:
2014-11-27 23:45:51
阅读次数:
487
实验环境:CentOS release 6.6 (Final) 一台IP地址:172.16.249.230RPM是 Red Hat Package Manager 的缩写,本意是Red Hat 软件包管理,顾名思义是Red Hat 贡献出来的软件包管理;在CentOS 、Redhat、Fedora ...
分类:
系统相关 时间:
2014-11-26 15:45:04
阅读次数:
277
1.生产环境LINUX服务器系统版本的选择
选择CentOS6.5版本64位的LINUX操作系统
CentOS (Community Enterprise Operating System,中文意思是:社区企业操作系统)是Linux发行版之一,它是来自于红帽的Red Hat Enterprise Linux依照开放源代码规定释出的源代码所编译而成。由于出自同样的源代码,因此和红帽商...
分类:
系统相关 时间:
2014-11-26 14:23:37
阅读次数:
319
我使用的环境是64位的 Red Hat Enterprise Linux Server release 6.4 (Santiago) 1.compress与*.Z文件 compress程序的作用是:Compress reduces the size of the named files using adaptive Lempel-Ziv coding 即...
分类:
系统相关 时间:
2014-11-25 23:56:19
阅读次数:
491
汇编语言--call和ret指令call和ret指令call和ret指令都是转移指令,它们都修改IP,或同时修改CS和IP。它们经常被共同用来实现子程序的设计。ret和retfret指令用栈中的数据,修改IP的内容,从而实现近转移;retf指令用栈中的数据,修改CS和IP的内容,从而实现远转移。CP...
分类:
编程语言 时间:
2014-11-25 23:15:25
阅读次数:
280
大部分使用 SELinux 的人使用的都是 SELinux 就绪的发行版,例如 Fedora、Red Hat Enterprise Linux (RHEL)、Debian或 Centos。它们都是在内核中启用 SELinux 的,并且提供一个可定制的安全策略,还提供很多用户层的库和工具,它们都可以使用 SELinux 的功能。那么SELinux状态怎么查看呢?SELinux又该如何关闭?
...
分类:
系统相关 时间:
2014-11-25 18:35:10
阅读次数:
235