From 4be48cdd6283506a69f627f63dd37cd8319c76c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E8=83=A1=E6=9D=A5=E4=B9=9F?= Date: Thu, 29 Feb 2024 09:20:37 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E8=80=81=E8=83=A1=E7=9A=84=E7=AC=AC?= =?UTF-8?q?=E4=B8=80=E5=9B=9E=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...46\347\254\254\344\270\200\350\257\276.md" | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 "\350\200\201\350\203\241\346\235\245\344\271\237/20240229-\345\274\200\345\255\246\347\254\254\344\270\200\350\257\276.md" diff --git "a/\350\200\201\350\203\241\346\235\245\344\271\237/20240229-\345\274\200\345\255\246\347\254\254\344\270\200\350\257\276.md" "b/\350\200\201\350\203\241\346\235\245\344\271\237/20240229-\345\274\200\345\255\246\347\254\254\344\270\200\350\257\276.md" new file mode 100644 index 0000000..bcd8d4e --- /dev/null +++ "b/\350\200\201\350\203\241\346\235\245\344\271\237/20240229-\345\274\200\345\255\246\347\254\254\344\270\200\350\257\276.md" @@ -0,0 +1,71 @@ +# 标题一 + +## 标题二 + +### 标题三 + +#### 标题四 + + +##### 标题五 + + +###### 标题六 + + + +1. 第一行 + +2. 第二行 + +3. 第三行 + + + +- 第一行 +- 第一行 +- 第一行 +- 第一行 +- 第一行 +- 第一行 + + ++ 第二行 ++ 第二行 ++ 第二行 ++ 第二行 ++ 第二行 ++ 第二行 ++ 第二行 + +`永远是朋友` + + +永远是朋友 + +```js +function fn(){ + console.log('3333'); +} +``` + +> 我是强调 + + +| Id | 姓名| 性别 | +| - | -| - | +| 1 | 张三 | 女 | +| 1 | 张三 | 女 | +| 1 | 张三 | 女 | +| 1 | 张三 | 女 | +| 1 | 张三 | 女 | +| 1 | 张三 | 女 | +| 1 | 张三 | 女 | +| 1 | 张三 | 女 | +| 1 | 张三 | 女 | +| 1 | 张三 | 女 | +| 1 | 张三 | 女 | +| 1 | 张三 | 女 | +| 1 | 张三 | 女 | +| 1 | 张三 | 女 | + -- Gitee From 161ac3a7a429d7c334b190b0a17ee2391a68ac11 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 29 Feb 2024 09:32:53 +0800 Subject: [PATCH 2/5] ceshi --- .../\346\265\213\350\257\225\343\200\201.txt" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "\345\274\240\346\236\227\346\235\260/\346\265\213\350\257\225\343\200\201.txt" diff --git "a/\345\274\240\346\236\227\346\235\260/\346\265\213\350\257\225\343\200\201.txt" "b/\345\274\240\346\236\227\346\235\260/\346\265\213\350\257\225\343\200\201.txt" new file mode 100644 index 0000000..e69de29 -- Gitee From e38fa0ba07d82d70cb1a1142fe367c3d1d435e3d Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 29 Feb 2024 11:11:53 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E8=AE=A1=E7=AE=97=E6=9C=BA=E5=9F=BA?= =?UTF-8?q?=E7=A1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...27\346\234\272\345\237\272\347\241\200.md" | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 "\345\274\240\346\236\227\346\235\260/one day/\350\256\241\347\256\227\346\234\272\345\237\272\347\241\200.md" diff --git "a/\345\274\240\346\236\227\346\235\260/one day/\350\256\241\347\256\227\346\234\272\345\237\272\347\241\200.md" "b/\345\274\240\346\236\227\346\235\260/one day/\350\256\241\347\256\227\346\234\272\345\237\272\347\241\200.md" new file mode 100644 index 0000000..70452e0 --- /dev/null +++ "b/\345\274\240\346\236\227\346\235\260/one day/\350\256\241\347\256\227\346\234\272\345\237\272\347\241\200.md" @@ -0,0 +1,50 @@ +## 计算机分为**硬件**、**软件**。 + +1. 硬件是指看得见摸得着的各种电子元器件。如主机、键盘、鼠标等。 +2. 软件看不见摸不着,但在逻辑上,我们确实可以感知到它的存在,它由人们事先编制的具有某种功能的程序组成。比如操作系统、编程语言等。 + +#### 计算机硬件组成: + +1.运算器 + +``` +计算机硬件中的运算器主要功能是对数据和信息进行运算和加工。 +``` + +2.控制器 + +``` +控制器和运算器共同组成了中央处理器(CPU)。控制器可以看作计算机的大脑和指挥中心,它通过整合分析相关的数据和信息,可以让计算机的各个组成部分有序地完成指令。 +``` + +3.存储器 + +``` +存储器就是计算机的记忆系统,是计算机系统中的记事本。而存储器由主存和辅存组成,主存就是通常所说的内存。辅存即外存,我们通常所说的硬盘就是外存的一种。 +``` + +4.输入设备 + +``` +输入设备和输出设备都是进行人机互动的关键设备。比如说鼠标,键盘,扫描仪,麦克风这些。 +``` + +5.输出设备 + +``` +输出设备也是计算机人机互动的关键设备,它的特点是可以将计算机的信息以画面的形式展现出来,具有很好的直观性。常见的输出设备有显示器、打印机、语音和视频输出装置等。 +``` + + + +#### 一台电脑所包含的硬件设备有: + +| cpu | 中央处理器作为计算机系统的运算和控制核心,是信息处理、程序运行的最终执行单元。 | +| ---- | ------------------------------------------------------------ | +| 内存 | 内存也被称为内存储器和主存储器,其作用是用于暂时存放CPU中的运算数据,以及与硬盘等外部存储器交换的数据。只要计算机在运行中,CPU就会把需要运算的数据调到内存中进行运算,当运算完成后CPU再将结果传送出来,内存的运行也决定了计算机的稳定运行。 | +| 主板 | 是一组共同工作的集成电路“芯片”,并作为一个产品销售。它负责将计算机的核心——微处理器和机器的其他部分相连接,是决定主板级别的重要部件。我们平常所说的主板就包含了芯片组 | +| 显卡 | 将计算机系统所需要的显示信息进行转换,是连接显示器和个人计算机主板的重要组件,是“人机对话”的重要设备之一。 | +| 网卡 | 网卡是用来允许计算机通讯的计算机硬件。它使得用户可以通过电缆或无线相互连接。 | +| 硬盘 | 硬盘是计算机的最主要的存储设备,用来存储用户数据 | +| 电源 | 计算机的供电设备 | + -- Gitee From f29825ad56fdefbbab53fe3c8b2b5af400f798ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=9E=97=E6=9D=B0?= <1559177015@qq.com> Date: Sun, 3 Mar 2024 22:42:42 +0800 Subject: [PATCH 4/5] 20240302 --- ...27\346\234\272\345\237\272\347\241\200.md" | 0 ...27\346\234\272\347\241\254\344\273\266.md" | 38 +++++++++++++++++++ ...7\346\234\272\347\241\254\344\273\2662.md" | 25 ++++++++++++ .../\346\265\213\350\257\225\343\200\201.txt" | 0 4 files changed, 63 insertions(+) rename "\345\274\240\346\236\227\346\235\260/one day/\350\256\241\347\256\227\346\234\272\345\237\272\347\241\200.md" => "\345\274\240\346\236\227\346\235\260/20240229_\350\256\241\347\256\227\346\234\272\345\237\272\347\241\200.md" (100%) create mode 100644 "\345\274\240\346\236\227\346\235\260/20240301_\350\256\241\347\256\227\346\234\272\347\241\254\344\273\266.md" create mode 100644 "\345\274\240\346\236\227\346\235\260/20240302_\350\256\241\347\256\227\346\234\272\347\241\254\344\273\2662.md" delete mode 100644 "\345\274\240\346\236\227\346\235\260/\346\265\213\350\257\225\343\200\201.txt" diff --git "a/\345\274\240\346\236\227\346\235\260/one day/\350\256\241\347\256\227\346\234\272\345\237\272\347\241\200.md" "b/\345\274\240\346\236\227\346\235\260/20240229_\350\256\241\347\256\227\346\234\272\345\237\272\347\241\200.md" similarity index 100% rename from "\345\274\240\346\236\227\346\235\260/one day/\350\256\241\347\256\227\346\234\272\345\237\272\347\241\200.md" rename to "\345\274\240\346\236\227\346\235\260/20240229_\350\256\241\347\256\227\346\234\272\345\237\272\347\241\200.md" diff --git "a/\345\274\240\346\236\227\346\235\260/20240301_\350\256\241\347\256\227\346\234\272\347\241\254\344\273\266.md" "b/\345\274\240\346\236\227\346\235\260/20240301_\350\256\241\347\256\227\346\234\272\347\241\254\344\273\266.md" new file mode 100644 index 0000000..6f12038 --- /dev/null +++ "b/\345\274\240\346\236\227\346\235\260/20240301_\350\256\241\347\256\227\346\234\272\347\241\254\344\273\266.md" @@ -0,0 +1,38 @@ +### 计算机硬件 +1. 硬盘 + + 机械硬盘 HDD + - 固态硬盘 SSD + + + 混硬盘 SSHD + +2. 内存卡 + + SDR存储:即同步动态随机存储器,也就是常说的同步内存。其采用单项数据数据传递模式,并有两个凹槽。 + + DDR内存 :采用双数据传输模式。与SDR内存相比,DDR内存要高出一倍。 + + DDR2 :DDR2不仅可以存取,而且能提供相当于DDR 双倍宽带 + + DDR3 :DDR2的升级,省电性能更好。 + +3. 散热器 + + 风冷散热器 + + 水冷散热器 :一体式水冷 分离式水冷 + + 液氮类散热器 + + 无风类散热器 + +4. 显卡 + + 核心显卡 + + 独立显卡 + +5. 网卡 + + 网卡是用来允许计算机通讯的计算机硬件。它使得用户可以通过电缆或无线相互连接。 + +6. 声卡 + +7. 显示器 + +8. 电源 + +### 计算机硬件分类 +1. 运算器 : 通用寄存器 状态寄存器 累加器 +2. 控制器 :中央处理器(CPU) +3. 存储器 :内存 +4. 输入设备: 键盘 鼠标 麦克风 数控板 +5. 输出设备 : 音响 显示器 打印机 \ No newline at end of file diff --git "a/\345\274\240\346\236\227\346\235\260/20240302_\350\256\241\347\256\227\346\234\272\347\241\254\344\273\2662.md" "b/\345\274\240\346\236\227\346\235\260/20240302_\350\256\241\347\256\227\346\234\272\347\241\254\344\273\2662.md" new file mode 100644 index 0000000..78083f0 --- /dev/null +++ "b/\345\274\240\346\236\227\346\235\260/20240302_\350\256\241\347\256\227\346\234\272\347\241\254\344\273\2662.md" @@ -0,0 +1,25 @@ +#### 计算机硬件 +1. 显卡 + + 核心显卡 + + 独立显卡 + +2. 显示器 + + CTR显示器 + + LCD显示器 + + LED显示器 + + +3. 键盘 + + 覆膜键盘 + + 机械键盘 + +4. 音响 + + 2.0音箱 + + 2.1音箱 + + 5.1音箱 + +5. 鼠标 + + 机械鼠标 + + 激光鼠标 + + \ No newline at end of file diff --git "a/\345\274\240\346\236\227\346\235\260/\346\265\213\350\257\225\343\200\201.txt" "b/\345\274\240\346\236\227\346\235\260/\346\265\213\350\257\225\343\200\201.txt" deleted file mode 100644 index e69de29..0000000 -- Gitee From 78ff581de2721bbe275222fca04e8688f0e6d0be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=9E=97=E6=9D=B0?= <1559177015@qq.com> Date: Mon, 11 Mar 2024 07:34:50 +0800 Subject: [PATCH 5/5] 20240311 --- ...57\344\273\266\347\254\224\350\256\260.md" | 33 ++++++++++ ...21\347\253\231\351\203\250\347\275\262.md" | 60 +++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 "\345\274\240\346\236\227\346\235\260/20240306_\350\275\257\344\273\266\347\254\224\350\256\260.md" create mode 100644 "\345\274\240\346\236\227\346\235\260/20240307_\347\275\221\347\253\231\351\203\250\347\275\262.md" diff --git "a/\345\274\240\346\236\227\346\235\260/20240306_\350\275\257\344\273\266\347\254\224\350\256\260.md" "b/\345\274\240\346\236\227\346\235\260/20240306_\350\275\257\344\273\266\347\254\224\350\256\260.md" new file mode 100644 index 0000000..0d785af --- /dev/null +++ "b/\345\274\240\346\236\227\346\235\260/20240306_\350\275\257\344\273\266\347\254\224\350\256\260.md" @@ -0,0 +1,33 @@ +| 软件 | | | +| ---- | ------------------------------------------------------------ | ------------------------------------------------------------ | +| | [2](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_2) | 可以按照不同的角度进行分类,以下是一些常见的分类方式: | +| | [3](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_3) | | +| | [4](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_4) | 1.系统软件: | +| | [5](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_5) | | +| | [6](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_6) | 操作系统:控制计算机硬件资源和提供基本功能的软件,如Windows、macOS、Linux等。 | +| | [7](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_7) | 驱动程序:用于控制硬件设备与操作系统之间通讯的软件,如显卡驱动、打印机驱动等。 | +| | [8](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_8) | 系统工具:用于维护、管理和优化计算机系统的软件,如防病毒软件、磁盘清理工具等。 | +| | [9](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_9) | | +| | [10](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_10) | 2.应用软件: | +| | [11](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_11) | | +| | [12](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_12) | 办公软件:用于处理办公任务的软件,如Microsoft Office、Google Docs等。 | +| | [13](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_13) | 图形图像软件:用于图像处理和设计的软件,如Adobe Photoshop、CorelDRAW等。 | +| | [14](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_14) | 多媒体软件:用于处理音频、视频等多媒体内容的软件,如VLC媒体播放器、Adobe Premiere等。 | +| | [15](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_15) | 游戏软件:用于娱乐和游戏的软件,如Steam游戏平台、王者荣耀等。 | +| | [16](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_16) | | +| | [17](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_17) | 3.开发工具: | +| | [18](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_18) | | +| | [19](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_19) | 集成开发环境(IDE):用于编写、调试和测试代码的软件,如Visual Studio、Eclipse等。 | +| | [20](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_20) | 编程语言:用于编写计算机程序的语言,如Python、Java、C++等。 | +| | [21](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_21) | 调试工具:用于诊断和修复程序错误的软件,如GDB、Xcode调试器等。 | +| | [22](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_22) | | +| | [23](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_23) | 4.网络软件: | +| | [24](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_24) | | +| | [25](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_25) | 浏览器:用于访问互联网的软件,如Chrome、Firefox、Safari等。 | +| | [26](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_26) | 通讯软件:用于实现即时通讯和远程会议的软件,如微信、Zoom、Skype等。 | +| | [27](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_27) | 服务器软件:用于提供网络服务的软件,如Apache、Nginx、MySQL等。 | +| | [28](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_28) | | +| | [29](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_29) | 5.嵌入式软件: | +| | [30](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_30) | | +| | [31](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_31) | 嵌入式操作系统:用于嵌入式系统的操作系统,如RTOS(实时操作系统)、Android Things等。 | +| | [32](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#e6b4a014f79d3c5c8fe852f190abbdcd1976025f_0_32) | 嵌入式应用软件:嵌入在各种设备中的软件,如智能家居控制软件、汽车嵌入式系统等。 | \ No newline at end of file diff --git "a/\345\274\240\346\236\227\346\235\260/20240307_\347\275\221\347\253\231\351\203\250\347\275\262.md" "b/\345\274\240\346\236\227\346\235\260/20240307_\347\275\221\347\253\231\351\203\250\347\275\262.md" new file mode 100644 index 0000000..0f4f160 --- /dev/null +++ "b/\345\274\240\346\236\227\346\235\260/20240307_\347\275\221\347\253\231\351\203\250\347\275\262.md" @@ -0,0 +1,60 @@ +| | | | +| ----------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | +| ## 以上环境特指Debian操作系统 | | | +| | [2](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_2) | | +| | [3](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_3) | | +| | [4](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_4) | ## 第一步,确认服务器到位,确认具有公网IP | +| | [5](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_5) | ## 第二步,确认域名到位(这里的域名暂定为:www.cyating.top) | +| | [6](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_6) | ## 第三步,将公网Ip和域名绑定,一般至少会解析www.XXX.XXXX、XXX.XXXX ,进入root:ssh root@IP | +| | [7](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_7) | ## 第四步,准备nginx服务器, | +| | [8](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_8) | | +| | [9](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_9) | 安装命令:`apt install nginx -y` (如果是centos类的操作系统的话,则是:`yum install nginx -y`) | +| | [10](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_10) | 确认nginx有安装并且正在运行命令:`systemctl status nignx` ;更新包`apt-get update` | +| | [11](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_11) | | +| | [12](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_12) | ## 第五步,在服务器指定路径下准备index.html页面,这个路径建议为:/var/www/www.cyating.top | +| | [13](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_13) | | +| | [14](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_14) | 方式1:本地准备页面 | +| | [15](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_15) | | +| | [16](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_16) | 1. 本地编写index.html | +| | [17](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_17) | 2. 使用一些工具将写好的index.html文件上传到服务器的指定路径:/var/www | +| | [18](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_18) | | +| | [19](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_19) | ``` | +| | [20](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_20) | scp 本地路径/index.html root@cyating.top:/var/www/www.cyating.top | +| | [21](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_21) | ``` | +| | [22](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_22) | | +| | [23](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_23) | | +| | [24](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_24) | 方式2:远程准备页面 | +| | [25](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_25) | | +| | [26](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_26) | ## 第六步 在指定目录,这里是:/etc/nignx/conf.d创建一个nginx的配置文件, | +| | [27](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_27) | 文件名这里为:www.cyating.top.conf | +| | [28](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_28) | 其中的内容如下: | +| | [29](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_29) | | +| | [30](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_30) | ``` | +| | [31](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_31) | server { | +| | [32](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_32) | listen 80; | +| | [33](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_33) | server_name www.cyating.top; | +| | [34](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_34) | | +| | [35](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_35) | location / { | +| | [36](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_36) | root /var/www/www.cyating.top; | +| | [37](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_37) | index index.html; | +| | [38](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_38) | } | +| | [39](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_39) | | +| | [40](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_40) | } | +| | [41](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_41) | | +| | [42](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_42) | | +| | [43](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_43) | ``` | +| | [44](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_44) | ## 第七步 在nginx配置文件搞定的情况下 | +| | [45](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_45) | | +| | [46](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_46) | 确认配置文件有没有语法错误: | +| | [47](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_47) | | +| | [48](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_48) | ``` | +| | [49](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_49) | | +| | [50](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_50) | nginx -t | +| | [51](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_51) | ``` | +| | [52](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_52) | | +| | [53](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_53) | 让nginx重新加载配置文件 | +| | [54](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_54) | | +| | [55](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_55) | ``` | +| | [56](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_56) | nginx -s reload | +| | [57](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_57) | ``` | +| | [58](https://gitee.com/grade22-impl-class4/computer-fundamentals-notes/pulls/122/files#59e4ea268c0d661184cd03734296ad5bcbb62c39_0_58) | | \ No newline at end of file -- Gitee