From b40abed90c367cd1dabbdf64b400263a4e18c819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=86=E9=9B=AA=E6=9D=BE?= Date: Fri, 10 Mar 2023 16:30:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'Assignment2.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assignment2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assignment2.md b/Assignment2.md index 6434c9a..5c7ce00 100644 --- a/Assignment2.md +++ b/Assignment2.md @@ -375,7 +375,7 @@ mkdir /var/html #### 4. 尝试使用`-p、-v、-d、--rm、--name`参数创建`cloud_computing/static_site`的`container`,具体要求为:映射`container`的`80`端口到`host`的`8000`端口,映射`container`的`/usr/share/nginx/html/mypage`路径到`/var/html`文件夹,`container`名称以自己的学号命名 -#### 5.访问本地浏览器:`http://localhost:8000/mypage`,若该端口访问不了,可查看ucloud防火墙查看是否开放了该端口号。若未开放,则可创建防火墙,设置所需的开放端口 +#### 5.访问本地浏览器:`http://localhost:8000/mypage/index.html`,若该端口访问不了,可查看ucloud防火墙查看是否开放了该端口号。若未开放,则可创建防火墙,设置所需的开放端口 #### 6.将浏览器界面包括url截图,将创建container的终端界面截图,并插入到实验报告中 (浏览器界面类似下面图片所示)