视频地址:
笔记:
1.拉取ubuntu镜像并运行
docker pu西柏坡2 英雄王二小ll ubuntu
docker run -it ubuntu bash
2.先添加阿里云的源,编辑文件/etc/apt/sources.list
deb /d/file/titlepic/ bionic main restricted univer multiver
deb /d/file/titlepic/ b四川师范大学是一本还是二本ionic-curity main restricted univer multiver
deb /d/file/titlepic/ bionic-updates main restricted univer multiver
deb /d/file/titlepic/ bionic-propod main restricted univer multiver
deb /d/file/titlepic/ bionic-backports main restricted univer multiver
deb-src http:心理学论文//mirrors.aliyun.com/ubuntu/ bionic main restricted univer multiver
deb-src /d/file/titlepic/ bionic-curity main restricted univer multiver
deb-src http://mirror人力资源管理专业学什么s.aliyun.com/ubuntu/ bionic-updates main restricted univer multiver
deb-src /d/file/titlepic/ bionic-propod main restricted univer multiver
deb-src /d/file/titlepic/ bionic-backports main restricted univer multiver
apt-get update
3.添加nginx的源并安装
apt-get install curl gnupg2 ca-certificates lsb-relea
echo “deb /d/file/titlepic/ `lsb_relea -cs` nginx” | tee /etc/apt/sources.list.d/nginx.list
curl -fssl https://nginx.org/keys/nginx_signi神武皇帝ng.key | apt-key add –
apt-key fingerprint abf5bd827bd9bf62
apt-get update
apt-get install nginx
本文发布于:2023-04-07 17:23:54,感谢您对本站的认可!
本文链接:https://www.wtabcd.cn/fanwen/zuowen/c60e2965d1d04e1e4d53843c0ecf816d.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文word下载地址:[视频教程] 如何在docker环境下的纯净ubuntu系统中安装最新版nginx.doc
本文 PDF 下载地址:[视频教程] 如何在docker环境下的纯净ubuntu系统中安装最新版nginx.pdf
留言与评论(共有 0 条评论) |