rsnc remote sync
远程同步安装包:rsync-3.0.6-4.el5_7.1.x86_64.rpm rpm -ivh
rsync-3.0.6-4.el5_7.1.x86_64.rpm 本地模式只需要安装rsync即可:rsync -av /secbox /backup
备份到本地rs...
分类:
系统相关 时间:
2014-06-06 15:07:58
阅读次数:
416
这节我们介绍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
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
mysql too many open
connections问题解决方法。原文参考:http://www.jbxue.com/db/10068.html原因主要是:max_connections配置问题导致,它必须在[mysqld]下面才会生效。曾经以为在my.cnf写入max_connectio...
分类:
数据库 时间:
2014-05-30 05:22:53
阅读次数:
319
Windows Server Failover Clustering is a high
availability platform that is constantly monitoring the network connections and
health of the nodes in a ...
分类:
其他好文 时间:
2014-05-27 23:48:23
阅读次数:
550
在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
作为新入职的菜鸟,过去的这半个月忙的是焦头烂额的,碰到了许多问题,但都没时间好好记下来。趁着今天这点时间,记录一下有关repo使用过程中碰到的一些问题及解决办法吧!
一、repo sync时出现 error: .repo/manifests/: contains uncommitted changes 这样的错误提示。从字面意思上看是代码有改动但是没有commit。但好几次我查看了代码,把改动通...
分类:
其他好文 时间:
2014-05-24 17:56:58
阅读次数:
451
最近开发,兄弟们问我这个问题,写出来解决方法和大家分享一下。
当控制台出现:
Failed to install ***.apk on device '019417a3': Unable to open sync connection!
java.io.IOException: Unable to open sync connection!
Launch canceled!
...
分类:
其他好文 时间:
2014-05-21 14:13:00
阅读次数:
496
1.统计/usr/bin目录下的文件个数[root@localhost~]#ls/usr/bin|wc-l
1306
[root@localhost~]#2.取出当前系统上所有用户的SHELL,要求,每种SHELL只显示一次,并且按顺序进行显示[root@localhost~]#cut-d:-f7/etc/passwd|sort-u
/bin/bash
/bin/nologin
/bin/sync
/bin/tcsh
/sb..
分类:
系统相关 时间:
2014-05-21 02:01:09
阅读次数:
530