运维问题整理
1,anaconda安装
docker免sudo
docker容器管理 Portainer
supervisor教程
haproxy教程
下载rpm包
- docker run -ti —rm -v /home/works/liye/rpms/:/mnt centos:7
- yum install —downloadonly —downloaddir=/home/works/rpms_docker_compose docker-compose
1,ssh-copy-id -i .ssh/id_rsa.pub works@ip ssh-add -K xxx
2,
sudo yum -y install gcc gcc-c++ kernel-devel | |
sudo yum -y install python-devel libxslt-devel libffi-devel openssl-devel |
4,ab -t 60 -c 1000 -k url
5,docker rmi -f $(docker images | awk '{print $3}')
6,先把docker服务停了,然后 rm -fr /var/lib/docker,mkdir /opt/Docker,ln -s /opt/Docker /var/lib/docker
7,rpm -ql docker-compose,rpm -iUvh --nodeps docker-compose-1.9.0-5.el7.noarch.rpm,find / -name docker-compose