CentOS oslist="5 6 7"for ver in $oslistdo rsync -avrt rsync://mirrors.ustc.edu.cn/centos/$ver /data/OS/centos/$verdone Epel rsync -avrt rsync://mirror...
分类:
其他好文 时间:
2015-05-07 12:17:08
阅读次数:
105
第八章LVM逻辑卷管理LVM机制的基本概念Pv(PhysicalVolume,物理卷)整个硬盘,或使用fdisk等工具建立的普通分区包括许多默认4MB大小的PE(PhysicalExtent,基本单元)VG(VolumeGroup,卷组)一个或多个物理卷组合而成的整体LV(LogicalVolume,逻辑卷)从卷组中分割出的一块..
分类:
其他好文 时间:
2015-05-06 01:32:41
阅读次数:
315
为了安全起见,SVN服务器除了做定时全量备份和增量备份以外,如条件允许,可做实时备份。这需要2台机器,一台是master server,另一台做mirror server。master做主服务,mirror不对外服务或设置只读(除了同步账号可写外)另外如果master负载比较高,可以把一些只读的应用...
分类:
其他好文 时间:
2015-05-05 10:24:06
阅读次数:
187
题目描述:
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
...
分类:
其他好文 时间:
2015-05-05 08:58:49
阅读次数:
146
0 安装前提: jDK7 ,hadoop1.1.21 下载与hadoop对应的hbase版本:http://mirror.bit.edu.cn/apache/hbase/hbase-0.98.12/我这里使用的BIT大学的镜像, 下载与之对应的hbase包,bin代表已经编译过的,hadoop1代表...
分类:
其他好文 时间:
2015-05-04 23:44:56
阅读次数:
181
1.查找java相关得列表 [root@localhost ~]# yum -y list java* Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirrors.zju.edu.cn * extras...
分类:
系统相关 时间:
2015-05-04 18:23:49
阅读次数:
265
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ 2 2...
分类:
其他好文 时间:
2015-05-02 11:06:18
阅读次数:
118
配置mpc的时候提示此错误:
configure: error: libmpfr not found or uses a different ABI (including static vs shared).mpc下载:
wget ftp://gnu.mirror.iweb.com/mpc/mpc-1.0.1.tar.gz问题原因:
缺少mpfr,下载地址
http://www.mpfr.o...
分类:
其他好文 时间:
2015-05-01 20:03:16
阅读次数:
1086
使用yum update gcc只能更新到gcc-4.4.7-11.el6.x86_64
下载了更高版本的GCC
http://mirror.hust.edu.cn/gnu/gcc/gcc-4.8.4/
配置时出现以下错误:
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.解决办法:...
分类:
其他好文 时间:
2015-05-01 20:01:30
阅读次数:
935
配置mpc-1.0.1时提示此错误configure: error: GMP version >= 4.3.2 required查找了很多镜像站点,现在能找到的最低版本就是:mpc-1.0.1wget ftp://gnu.mirror.iweb.com/mpc/mpc-1.0.1.tar.gz遇到这个问题就去下载:gmp-4.3.2或者是更高的版本wget ftp://gnu.mirror.iweb...
分类:
其他好文 时间:
2015-05-01 18:43:32
阅读次数:
249