部署harbor私有仓库下载docker-compose-1.12.0#wgethttps://github.com/docker/compose/releases/download/1.12.0/docker-compose-Linux-x86_64#mvdocker-compose-Linux-x86_64/usr/bin/docker-compose#chmoda+x/usr/bin/doc
1.关闭SeLinux和FireWall#sed-i"s/SELINUX=enforcing/SELINUX=disabled/g"/etc/selinux/config#systemctlstopfirewalld#systemctldisablefirewalld2.安装docker#yuminstall-yyum-utilsdevice-mapper-persistent-datalvm2#
#!/bin/bash#----------------------------------------#kubernetesv1.9.1单机一键部署脚本#用于实验环境#CentOS7.2.1511下测试OK#PoweredbyJerryWong#2018-03-15hzde0128@live.cn#----------------------------------------functiong
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号