[root@linux Packages]# /etc/init.d/oracleasm createdisk asm1 /dev/sdg1Marking disk "asm1" as an ASM disk: [FAILED][root@linux Packages]# /etc/init.d/o...
分类:
其他好文 时间:
2015-06-06 18:05:39
阅读次数:
261
You work in a company which organizes marriages. Marriages are not that easy to be made, so, the job is quite hard for you.The job gets more difficult when people come here and give their bio-data with...
分类:
其他好文 时间:
2015-06-06 12:08:28
阅读次数:
185
一.主机分配:
主机名 IP(Static)
系统配置 角色
openstack 192.168.1.2 CentOS-7.0-x86_64-desktop 4CPU,16G RAM,300G DISK,2网卡 管理节点/计算节点
node ...
分类:
其他好文 时间:
2015-06-06 10:36:44
阅读次数:
162
什么是 clean code ?大神对优雅代码的定义: I like my code to be elegant and efficient. The
logic should be straightforward to make it hard
for bugs to hide, the dependencies minimal to
ease maintenance, error han...
分类:
其他好文 时间:
2015-06-06 09:12:49
阅读次数:
112
#!/bin/bash##top 10#Big_USERS - find big disk space users in various directories###############################################################Paramet...
分类:
其他好文 时间:
2015-06-06 00:27:19
阅读次数:
88
Not hard, but with some amount of coding. Brutal-force would work: iterate each unique pair of points. And I used "y=ax+b" to check each point which s...
分类:
其他好文 时间:
2015-06-05 06:21:50
阅读次数:
176
Mathematically some problems look hard. But with the help of the computer, some problems can be easily solvable.In this problem, you will be given two integers a and b. You have to find the summation o...
分类:
其他好文 时间:
2015-06-04 22:54:53
阅读次数:
161
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the...
分类:
编程语言 时间:
2015-06-04 22:26:19
阅读次数:
202
在ubuntu下设置好共享后,在xp下打开cmd输入:
net use z: \vboxsvr\media-disk
,其中 z 是为共享的文件夹分配的盘符,是有错误的
应该是net use z:(空格) “\vboxsvr\mediadisk”...
分类:
系统相关 时间:
2015-06-04 19:26:51
阅读次数:
119
一、基础1、说明:创建数据库CREATE DATABASE database-name2、说明:删除数据库drop database dbname3、说明:备份sql server---创建 备份数据的deviceUSE masterEXEC sp_addumpdevice 'disk', 'tes...
分类:
数据库 时间:
2015-06-04 15:31:48
阅读次数:
201