1,nfs服务器为web服务器提供统一的php程序,共享文目录为/webdata,配置文件(/etc/exports)设定如下。/webdata172.16.2.10(rw,no_root_squash)172.16.2.15(rw,no_root_squash)修改完配置文件启动nfs服务#servicenfsstart上传discuz文件到/webdata下,2,mysql为两台web服务器授..
分类:
其他好文 时间:
2014-09-08 11:02:37
阅读次数:
580
创建了web服务之后可以再列表中找到此服务创建负载集群中的第一个虚拟机把创建的虚拟机加入到这个服务之中在网络里面选择frontweb前端网络,这个以后会解释azure的网络配置,我是把azure网络分割成不同区域的网络可用集群先选无吧,因为后面还会写高可用集群配合负载冗余虚拟机..
public class Solution { public boolean searchMatrix(int[][] matrix, int target) { int low=0, high=matrix.length-1; while (low target)...
分类:
其他好文 时间:
2014-09-08 00:58:06
阅读次数:
347
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-09-07 23:40:25
阅读次数:
202
http://www.w3school.com.cn/tags/att_a_target.asp w3c中有提到,当target的参数值为framename的时候会提交到指定的ifram中处理。 比如: <form?target="framename"?method="post"?> 同时在页面中设置一个ifr...
分类:
Web程序 时间:
2014-09-07 22:36:16
阅读次数:
343
如果你的IPTABLES基础知识还不了解,建议先去看看.开始配置我们来配置一个filter表的防火墙.(1)查看本机关于IPTABLES的设置情况[root@tp ~]# iptables -L -nChain INPUT (policy ACCEPT)target prot opt source ...
分类:
系统相关 时间:
2014-09-07 19:45:25
阅读次数:
372
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers....
分类:
其他好文 时间:
2014-09-07 12:17:05
阅读次数:
160
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array whic...
分类:
其他好文 时间:
2014-09-07 12:13:15
阅读次数:
209
其实Autodiscover很简单,简单理解就是ExchangeServer安装完提供了一个自动配置outlook的虚拟目录,然后就是outlook在不同的场景中如何寻找到这个虚拟目录来自动完成outlook配置信息的过程。下面提供几个链接我们看下就可以明白了1.英文链接ExchagneServer2007Autodiscover白皮..
分类:
其他好文 时间:
2014-09-06 11:04:33
阅读次数:
186
1、NSThread头文件中的相关方法//获取当前线程 +(NSThread *)currentThread; //创建线程后自动启动线程+ (void)detachNewThreadSelector:(SEL)selector toTarget:(id)target withObject:(id)...
分类:
移动开发 时间:
2014-09-06 00:59:22
阅读次数:
305