码迷,mamicode.com
首页 >  
搜索关键字:sync mirror    ( 6902个结果
docker深入1-尝试运行一个简单的web环境
docker深入1-尝试运行一个简单的web环境目的:在基础镜像(pcnk/base:v2)上增加一个web环境:sync做法:启动新的container,然后逐步增加web服务,再提交到p_w_picpath,这里用到了端口映射,数据卷挂载。 一、在【pcnk/base:v2】这个基础p_w_picpath上运行一个container【web..
分类:Web程序   时间:2015-05-06 18:11:54    阅读次数:147
Linux 释放内存脚本
新建shell文档 vi /opt/free.sh 可用内存小于400M的时候, 将会进行释放 #!/bin/bash sync free?-m?|grep?-i?mem?|awk?‘{if($4?<?400){?printf("3")?>?"/proc/sys/vm/drop_caches"}}‘; 计划运行 cron...
分类:系统相关   时间:2015-05-06 13:27:34    阅读次数:194
Linux同步IO:sync、fsync和fdatasync
转自:http://blog.csdn.net/sishuiliunian0710/article/details/37739385一、术语解释 脏页:linux内核中的概念,因为硬盘的读写速度远赶不上内存的速度,系统就把读写比较频繁的数据事先放到内存中,以提高读写速度,这就叫高速缓存,linu.....
分类:系统相关   时间:2015-05-05 21:36:19    阅读次数:882
SVN库实时同步设置
为了安全起见,SVN服务器除了做定时全量备份和增量备份以外,如条件允许,可做实时备份。这需要2台机器,一台是master server,另一台做mirror server。master做主服务,mirror不对外服务或设置只读(除了同步账号可写外)另外如果master负载比较高,可以把一些只读的应用...
分类:其他好文   时间:2015-05-05 10:24:06    阅读次数:187
Symmetric Tree
题目描述: 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
Hbase0.98的环境搭建
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
hdu 1422 重温世界杯
很简单,没什么好说的,和最长上升序列一个类型 #include #define maxn 200000+5 using namespace std; int n,x,y; int mapp[maxn]; int main() { cin.sync_with_stdio(false); mapp[0]=0; while(cin>>n) { for(int i=1;i<=n;i++) ...
分类:其他好文   时间:2015-05-04 22:10:30    阅读次数:116
三分钟教你学Git (十) - bad object HEAD错误
有时候进入到Git仓库执行命令: git status 显示: fatal: bad object HEAD 直接: git pull origin hongchangfirst 将远程分支的内容重新sync下来即可。...
分类:其他好文   时间:2015-05-04 20:17:26    阅读次数:264
在linux上使用yum安装JDK
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
Ubuntu系统加固方案
1、删除系统不需要的默认账号# userdel lp # groupdel lp#passwd –l lp 如果下面这些系统默认帐号不需要的话,建议删除。 lp, sync news, uucp, games, bin、man修改一些系统帐号的shell变量,例如uucp,ftp和news等,还有....
分类:系统相关   时间:2015-05-04 17:08:26    阅读次数:172
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!