%新人自学的,肯定有不对的地方,指出来大家共同学习%准备:rhel-server-6.4-x86_64-dvd.isosalt.tar.gz第一步:准备一台服务器,用以管理其他服务器system---→rhel-server-6.4-x86_64-dvd.isoip---→20.10.10.111hostname----→admin.black.com配置好yum源mkdir/isomount/dev..
分类:
其他好文 时间:
2014-05-27 03:34:16
阅读次数:
413
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link...
分类:
其他好文 时间:
2014-05-23 07:43:23
阅读次数:
246
??
SISD(Single Instruction SingleDatastream,单指令流单数据流):单处理器计算机,对保存在单一存储器中的数据进行操作。
SIMD(Single Instruction Multiple Datastream,单指令流多数据流):同一条指令控制多个处理器的运行。
MISD(Multiple Instruction Single Datast...
分类:
其他好文 时间:
2014-05-22 13:19:28
阅读次数:
191
Digital Roots
时间限制: 1 Sec 内存限制: 128 MB
提交: 91 解决: 29
[提交][状态][论坛]
题目描述
The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single d...
分类:
其他好文 时间:
2014-05-22 13:01:21
阅读次数:
223
1 . 建立一个 single view class
2 . 在view controller上建立3个控件 text view,button, webview
3 . 将 text view , webview风别命名为 url,web
//// ViewController.h// webview1//// Created by HeJiasheng on 13-11-12...
分类:
移动开发 时间:
2014-05-22 12:22:35
阅读次数:
352
业务场景:新建slave连到master,执行startslave时master险些被“搞死”。分析:新建slave连到master时,会将主库上大量的binlog(几百G)拉取到本地保存为relaylog,会导致两个问题1、主库网络带宽被占满。2、主库的磁盘I/O负载很高。解决思路:1.在slave拉取master的binlog时..
分类:
数据库 时间:
2014-05-21 02:54:46
阅读次数:
547
一、Modules概述到目前为止,关于puppet的资源申报、定义类、声明类等所有功能都只能在一个manifest(清单)文件中实现,但这却非最有效的基于puppet管理IT基础架构的方式实践中,一般需要把manifest文件分解成易于理解的结构,例如将类文件、配置文件甚至包括后面将要提到的模..
分类:
其他好文 时间:
2014-05-20 23:30:32
阅读次数:
566
环境规划Amoeba读写分离器172.16.254.144/16Mysql服务器(master)172.16.254.150/16Mysql服务器(slave)172.16.254.151/16一、先实现mysql主从复制,在master上使用yum安装mysql[root@localhostmysql]#yum-yinstallmysqlmysql-server启用二进制日志,编辑/etc/my.cnf在[mysql..
分类:
数据库 时间:
2014-05-20 22:49:40
阅读次数:
486
这篇博文主要介绍puppet在实际生产环境下的master/agent模型的使用;===================================================================1原理介绍1.1原理图1.2详细说明2配置实例2.0准备2.1master配置2.2agent配置2.3master签署证书2.4agent一次完整的同步案例=============..
分类:
其他好文 时间:
2014-05-20 22:11:44
阅读次数:
329
题目:
Given an array of integers, every element appears
three times except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implem...
分类:
其他好文 时间:
2014-05-20 16:22:52
阅读次数:
241