今天在服务器上git pull是出现以下错误:error: Your local changes to the following files would be overwritten by merge不知道什么原因造成的代码冲突,处理方法如下:如果希望保留生产服务器上所做的改动,仅仅并入新配置项:...
分类:
其他好文 时间:
2014-08-05 13:25:49
阅读次数:
255
tail-f/var/log/neutron/dhcp-agent.logBydefault,CentOS6.4doesnotsupportnetworknamespaces.Ifonewantstotestthenewvirtualizationplatforms(Docker,OpenStack,&co…)onaCentOSserver,allfeatureswon’tbeavailable.ForOpenStackforexample,Neutronwon’tworkasexpected,..
分类:
Web程序 时间:
2014-08-05 11:35:39
阅读次数:
1996
操作系统:vmcentos6.5容器:docker前提:可以ssh的docker镜像已经创建第一种方法,手动创建1.在宿主机上生成新的密钥和公钥###ssh-keygen[-q][-bbits]-ttype[-Nnew_passphrase][-Ccomment][-foutput_keyfile]
#ssh-keygen的具体用法参考官方文档
ssh-keygen-q-N""-tdsa-f/root..
分类:
其他好文 时间:
2014-08-04 18:21:09
阅读次数:
326
1. 查看docker信息(version、info)
# 查看docker版本
$docker version
# 显示docker系统的信息
$docker info
2. 对image的操作(search、pull、images、rmi、history)
# 检索image
$docker search image_name
# 下载image
$docker pull ...
分类:
其他好文 时间:
2014-08-04 14:19:37
阅读次数:
224
首先,因为docker的运行需要linux本身某些组件和内核特性的支持,所以要确保centos的版本大于6,并且内核版本大于2.6.32-431。可以简单的升级centos6到最新版本。
sudo yum upgrade
然后安装cgroup
sudo yum install libcgroup
service cgconfig start #启动croup服务
lssubsys...
分类:
其他好文 时间:
2014-08-01 16:05:01
阅读次数:
278
$("#ajax").on("click",{btn:$(‘#ajax‘)},function(evdata){
$.get("pull",{id:13},function(data){
console.info(data);
evdata.data.btn.click();
},"json");
});@RequestMapping(value={"pull"},produces={"application/json"},method={RequestMethod.GET})
pub..
分类:
其他好文 时间:
2014-08-01 07:02:01
阅读次数:
268
操作系统:vmcentos6.5x64192.168.240.148docker容器:centos6.5x64172.17.0.31.下载原始镜像[root@localhost~]#dockerpullcentos
###一般会拉最新版centos7和centos6.5过来,这里使用的是centos6.5###2.安装openssh[root@localhost~]#dockerrun-i-tkw1073/centos-new4/bin/bas..
分类:
其他好文 时间:
2014-07-31 21:15:09
阅读次数:
350
一.本地镜像举个例子:现在把自己的开发环境打包,取名为centos6-base.tar,然后在docker中,以centos6-base.tar作为基准镜像。 1.创建自己的镜像,放置于/root目录下:#tar --numeric-owner --exclude=/proc --exclude=....
分类:
其他好文 时间:
2014-07-31 16:30:56
阅读次数:
332
——转载:http://blog.csdn.net/rosten/article/details/170682851、工程->Team->同步:2、从远程pull至本地,就会出现如下内容:3、使用Merge Tool,执行第二项使用HEAD合并后的效果:4、再手动修改4、修改后的文件需要添加到git...
分类:
系统相关 时间:
2014-07-31 16:04:56
阅读次数:
274
atitit.web 推送实现方案集合
1. 俩中模式 Push/Pull 1
2. 需要实现的特性 2
2.1. 推送消息广播。 2
2.2. 推送定向消息。 2
2.3. 提供连接上线前、上线、下线前、下线、发送消息等多种可处理事件。 2
2.4. 消息缓存机制,确保长轮询工作模式下不丢失消息。 2
2.5. 客户端正常下线,服务端可立即感知。 2
2.6. 客户端异常停...
分类:
Web程序 时间:
2014-07-30 20:47:54
阅读次数:
720