ubuntu 搭建私有仓库
摘要:ubuntu docker 安装 sudo apt-get update sudo apt-get install docker.io -y 1、首先拉取私有仓库镜像到本地 docker pull registry 2、然后启动该镜像的容器,默认使用5000端口 docker run -id --n
阅读全文
posted @
2020-05-10 21:18
不知勿言
阅读(808)
推荐(0) 编辑
centos 安装 docker
摘要:# 1、yum包更新到最新 yum update #2、安装需要的软件包,yum-util提供yum-config-manager功能,另外两个是devicemapper驱动依赖的 yum install -y yum-utils device-mapper-persistent-data lvm2
阅读全文
posted @
2020-05-10 13:55
不知勿言
阅读(116)
推荐(0) 编辑
centos安装docker-compose
摘要:在centos的终端输入一下命令安装docker-compose: curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.0/docker-compose-`uname -s`-`uname -m` > /usr/
阅读全文
posted @
2020-05-09 22:39
不知勿言
阅读(623)
推荐(0) 编辑
centos 安装 supervisor
摘要:打开终端: yum install -y supervisor 如果使用的阿里云的镜像地址,则先安装下面的epel,然后再安装 yum install epel-release 查看 supervisor 服务的状态 systemctl status supervisord 开机自启动设置 syst
阅读全文
posted @
2020-05-08 14:33
不知勿言
阅读(786)
推荐(0) 编辑
centos基本命令操作
摘要:使用rm -rf 目录名字 命令即可 -r 就是向下递归,不管有多少级目录,一并删除 -f 就是直接强行删除,不作任何提示的意思 #启动防火墙 systemctl start firewalld.service #停止运行防火墙 systemctl stop firewalld.service #防
阅读全文
posted @
2020-05-07 22:12
不知勿言
阅读(142)
推荐(0) 编辑
hyper-v设置centos虚拟机的显示大小
摘要:sudo vi /etc/default/grub video=hyperv_fb:1600x900 video=hyperv_fb:1920x1080 添加标红的一句 grub2-mkconfig -o /boot/grub2/grub.cfg 此命令在centos下更新启动项 centos7 如
阅读全文
posted @
2020-05-07 21:53
不知勿言
阅读(1666)
推荐(0) 编辑