LXC容器搭建NSQ集群一
LXC 容器搭建nsq集群
- 阿里云服务器cpu飙到100,登不上去,好不容易登上去之后打开lxc容器内发现连不上网
注意lxc的几个目录:/etc/default/lxc
时间有限,暂时先贴这些
ecs_restart_lxc_config.sh
1 | ! /bin/sh |
lxc_restart.sh
1 | !/bin/sh |
lxc_stop_vpn_nsq.sh
1 | !/bin/sh |
1 | #! /bin/sh |
1 | #!/bin/sh |
1 | #!/bin/sh |
1.sudo apt-get install git-core
2.git –bare init /home/git/rep.git (rep为仓库的名字)
1.git clone git@10.8.0.8:/home/git/rep.git