Ubuntu系统封装
Ubuntu系统封装复制新的虚拟机:
1)生成新的system-id:
2)修改主机名:
3)修改/etc/hosts:
添加127.0.0.1 harbor.example.comharbor
4. 添加新的IP地址:
应用生效:
5)删除openssh-server原有的key文 件:
6)删除openssh-server再重新安装:
最新重启服务器
添加阿里docker仓库源加速:
student@harbor:/etc$ sudo -s
root@harbor:/etc# touch /etc/docker/daemon.json
root@harbor:/etc#
root@harbor:/etc#
root@harbor:/etc# vim /etc/docker/daemon.json
root@harbor:/etc# cat /etc/docker/daemon.json
{
"registry-mirrors": ["https://i1pfdcu7.mirror.aliyuncs.com"]
}
root@harbor:/etc#
重启docker服务:
root@harbor:/etc# systemctl restart docker
root@harbor:/etc#
关于诺普
诺普(深圳)咨询服务有限公司(简称ROPU)是专注于IT运维的最佳实践与传播,提供领先于业界的“IT运维技能及厂商认证培训”,“企业IT定制化内训,以及”高校IT基础性人才的培养,与全球著名授权机构、IT厂商建立长期合作伙伴关系,旨在为企业及运维人员提升IT自动化技能,为员工的技能转型及企业数字化转型提供最具价值的培训服务。
联系我们
电话:0755-82558629;13590219869
QQ:657680025;3202130039
地址:深圳市福田区车公庙苍松大厦南座1115
官网:http://www.ropustudy.com/
邮箱:xuting@ropusz.com
专注于IT运维的最佳实践与传播长按识别
{:6_267:}{:6_267:}{:6_267:}{:6_267:}{:6_267:}{:6_267:}{:6_267:} 学习一下,谢谢 好东西就得下载下来看看 提高一下自己 好东西就得下载下来看看 好东西就得下载下来看看
页:
[1]