作业二:临时配置网络(ip,网关,dns)+永久配置作业三:为集群内的机器设定主机名,利用/etc/hosts文件来解析自己的集群中所有的主机名,相应的,集群的配置应该改成使用主机名的方式作业四:ssh登录,scp上传、下载,ssh秘钥登录,修改ssh server端的端口为8888然后进行登录和s ...
分类:
其他好文 时间:
2017-03-21 19:43:46
阅读次数:
175
linux基础命令作业三 作业一: 1) 将用户信息数据库文件和组信息数据库文件纵向合并为一个文件/1.txt(覆盖) 2) 将用户信息数据库文件和用户密码数据库文件纵向合并为一个文件/2.txt(追加) 3) 将/1.txt、/2.txt两个文件打包为/1.tar 4) 使用gzip命令压缩1.t ...
分类:
系统相关 时间:
2017-03-16 21:25:34
阅读次数:
458
作业内容: Use the following method printPrimes() for questions a–f below. 代码如下: 要求: (a) Draw the control ?ow graph for the printPrimes() method. (b) Consi ...
分类:
其他好文 时间:
2017-03-15 00:36:17
阅读次数:
258
The source code: a) Control flow b) The simple fault that t2(n=5) would be more likely to discover than t1(n=3) would is the index of the array out of ...
分类:
其他好文 时间:
2017-03-14 21:09:55
阅读次数:
278
Use the following method printPrimes() for questions a–d. 原书:《Introduction to Software Testing》BY Paul Ammann and Jeff Offutt 题目为书中2.3小节第7题。 题目代码如下: ( ...
分类:
其他好文 时间:
2017-03-14 19:33:41
阅读次数:
181
a)控制流图: b)令MAXPRIMES=50 c)测试用例r=(n=1) d)节点覆盖 TR={1,2,3,4,5,6,7,8,9,10,11,12,13} 边覆盖 TR={(1,2),(2,3),(2,4),(3,5),(4,11),(5,6),(6,7),(6,8),(7,9),(7,10), ...
分类:
其他好文 时间:
2017-03-13 23:51:16
阅读次数:
228
根据淘宝网描绘质量属性的六个常见属性场景: 1、 可用性: 可用性关注的方面包括:如何的检测系统的故障,系统故障发生的频度,出现故障时会发生什么情况,允许系统有多长时间非正常运行,什么时候可以安全的出现故障,如果防止故障的发生以及发生故障时要求进行哪些通知。 刺激源 用户 刺激 钱支付不成功 制品 ...
分类:
其他好文 时间:
2017-03-08 11:17:43
阅读次数:
183
1、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello();[root@tom~]#grep-E-o"[_[:alpha:]]+\(\)"/etc/rc.d/init.d/functions
fstab_decode_str()
checkpid()
__readlink()
__fgrep()
__kill_pids_term_kill_checkpids()
__kill_pids_term_kill(..
分类:
编程语言 时间:
2017-02-13 00:36:43
阅读次数:
260
menu = { '北京':{ '海淀':{ '五道口':{ 'soho':{}, '网易':{}, '谷歌':{} }, '中关村':{ '爱奇艺':{}, '汽车之家':{}, 'youku':{}, }, '上地':{ '百度':{}, '联想':{}, 'H3C':{}, }, }, '昌平 ...
分类:
其他好文 时间:
2017-01-21 09:10:57
阅读次数:
201