这节我们介绍NFS的相关概念,以及如何配置NFS和在客户端中查看NFS。
NFS的配置过程很简单。在服务器端中编辑/etc/exports文件,添加如下内容:
/home/nfs-share 192.168.1.122 *(rw,sync)
第一项是要共享的目录,后者为共享的配置参数一般为:*(rw,sync,no_root_squash,no_all_squas...
分类:
系统相关 时间:
2014-06-05 06:13:16
阅读次数:
459
http://photo-sync.herokuapp.com/photos获取图片信息 最开始想的是用jquery ajax实现,用的传统的方法总是readystatus 等等都返回0 ,,百度怎么都不行,,,好吧,现在这么搞可以,之前不知道,现在mark一下$.ajax({ url: "http://photo-sync.herokuapp.com/photos",}).done(functi...
分类:
移动开发 时间:
2014-06-05 05:33:38
阅读次数:
204
就一般生产系统而已,操作系统层面都要进行备份,而最常见的操作系统备份方式之一就是做镜像(mirror),而实践过程中,往往是把rootvg这个卷组做镜像操作。查看rootvg是否已经进行镜像方法:
1) lsvg –o 2)lsvg –l rootvg# lsvg -l rootvg rootv.....
分类:
其他好文 时间:
2014-05-31 20:56:23
阅读次数:
1177
Hbase的安装须要考虑Hadoop的版本号,即兼容性。有不足的希望能指出。下面考究官网得到的,关于hadoop版本号和hbase版本号可到下面网址中下载:http://mirror.bit.edu.cn/apache/hbaseHBase-0.92.xHBase-0.94.xHBase-0.96....
分类:
其他好文 时间:
2014-05-31 15:24:19
阅读次数:
377
Ubuntu
14.04国内下载镜像(部分)中国科学技术大学:http://mirrors.ustc.edu.cn/ubuntu-releases/14.04/兰州大学:http://mirror.lzu.edu.cn/ubuntu-releases/14.04/清华大学:http://mirror...
分类:
其他好文 时间:
2014-05-30 19:32:54
阅读次数:
245
Ubuntusudo apt-get install nfs-kernel-serversudo
apt-get install rpcbindsudo vim /etc/exports/home/xxx *(rw, sync,
no_root_squash)sudo /etc/init.d/nfs...
分类:
其他好文 时间:
2014-05-30 16:40:55
阅读次数:
212
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 / \ ...
分类:
其他好文 时间:
2014-05-30 16:13:38
阅读次数:
334
原文:SQL Server AlwaysON 同步模式的疑似陷阱SQL Server 2012
推出的最重要的功能之一Alwayson,是一个集之前Cluster和Mirror于一体的新功能,即解决了Cluster依赖共享存储的问题,又解决了镜像不能实时读以及转移后连接串需要添加转移IP的问题,看起...
分类:
数据库 时间:
2014-05-26 17:37:24
阅读次数:
343
SQL Server 2012
推出的最重要的功能之一Alwayson,是一个集之前Cluster和Mirror于一体的新功能,即解决了Cluster依赖共享存储的问题,又解决了镜像不能实时读以及转移后连接串需要添加转移IP的问题,看起来的确很实用。而且Alwayson多副本的功能为实现读写分离提供...
分类:
数据库 时间:
2014-05-26 17:35:43
阅读次数:
346
在Android开发export项目时发现有时会报错,内容如下:Problems were
encountered during export: Error exporting PalmIdentify/bin/jarlist.cache:
Resource is out of sync with ...
分类:
移动开发 时间:
2014-05-26 00:36:12
阅读次数:
437