> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.ggcircuit.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 安装 Debian OS（已弃用）

## 本文章帮助用户完成安装的第一步 - Debian (Linux) 操作系统。

### **阶段1。下载并准备 USB 闪存盘**

从 [https://www.debian.org/](https://www.debian.org/) 下载 Debian 10 x86-64 .ISO 镜像

最新版本的直接链接：[**下载 Debian OS ISO**](https://cdimage.debian.org/cdimage/archive/11.9.0/amd64/iso-cd/debian-11.9.0-amd64-netinst.iso)
![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134211.png?version=1&modificationDate=1747402933723&cacheVersion=1&api=v2)

将镜像写入 USB 闪存盘并从它启动服务器。您可以使用 Rufus ([**[https://rufus.ie**](https://rufus.ie/+))](https://rufus.ie**](https://rufus.ie/+))) 工具来创建 USB 启动设备。

最新版本的直接链接：[**下载 Rufus 工具**](https://ggrock.com/rufus)

### **阶段2。安装（26 个步骤）**

Debian 10 (Linux) 的安装过程由图形界面引导。您需要回答一些关于语言、时钟、网络、启动设备等的问题。在大多数情况下，您应该使用默认选项。

如果您使用 **OS RAID 阵列** 设置 ggRock - 请确保在第 11 步期间遵循外部链接。

### 如果您将要 [**将 Debian 安装到 RAID 阵列**](https://help.ggcircuit.com/knowledge/appendix-ii-debian-os-installation-to-a-software-raid-array) - 请确保您的主板 BIOS 设置为传统启动

### 步骤 1. 安装选项选择

选择图形安装

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134327.png?version=1&modificationDate=1747403010031&cacheVersion=1&api=v2)

### 步骤 2. 语言选择

选择您的语言（在这种情况下为英文）
![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134401.png?version=1&modificationDate=1747403044673&cacheVersion=1&api=v2)

### 步骤 3. 国家选择

选择您的国家（在这种情况下为美国）
![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134429.png?version=1&modificationDate=1747403072007&cacheVersion=1&api=v2)

### 步骤 4. 键盘布局

选择您的键盘布局（在这种情况下为美式英文）

Debian 需要花费几分钟时间来发现您的硬件和网络

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134559.png?version=1&modificationDate=1747403162263&cacheVersion=1&api=v2)

### 步骤 5. 提供主机名

您可以自由使用任何值，例如 **ggrock**。

如果您看到不同的提示，请转到 [**特殊情况步骤 5 - 配置网络**](https://8226353.hs-sites.com/knowledge/debian-os-installation-special-case-step-5-configure-network-deprecated?__hstc=177048186.d3d38f5e724cb861c39039a19971738f.1735844693470.1746624561051.1747402724973.60&__hssc=177048186.2.1747402724973&__hsfp=1190003462)
![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134658.png?version=1&modificationDate=1747403220905&cacheVersion=1&api=v2)

### 步骤 6. 域名

设置域名。将此字段留空并继续

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-135253.png?version=1&modificationDate=1747403576672&cacheVersion=1&api=v2)

### 步骤 7. Root 密码

设置您的 root 密码。请将其存储在安全的地方并 **记住它** 这样它就不会丢失。**我们以后无法为您恢复此密码**

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-135322.png?version=1&modificationDate=1747403605153&cacheVersion=1&api=v2)

### 步骤 8. 常规用户名

设置您的常规用户配置文件名称。

一旦您按下继续，它将进入下一个子步骤以选择您的新用户名。

再次按下继续

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-135612.png?version=1&modificationDate=1747403775317&cacheVersion=1&api=v2)

### 步骤 9. 用户密码

设置您的常规用户配置文件密码。请将其存储在安全的地方并 **记住它** 这样它就不会丢失。**您可以稍后使用 root 凭证重置此密码。**

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-140908.png?version=1&modificationDate=1747404551336&cacheVersion=1&api=v2)

### 步骤 10. 时钟配置

配置时钟以使用您的时区（在这种情况下为东部时区）
![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134327.png?version=1&modificationDate=1747403010031&cacheVersion=1&api=v2)

### 步骤 11. 分区设置

**注意：**

*如果磁盘上存在现有的传统模式分区，且您在 UEFI 模式下安装，您可能会收到强制 UEFI 安装的提示。*

*选择"是"单选按钮并点击"继续"按钮。*

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134327.png?version=1&modificationDate=1747403010031&cacheVersion=1&api=v2)

将磁盘的分区设置为"引导式 - 使用整个磁盘"

**如果您想在 RAID 阵列上安装 Debian -** 请转到 [**特殊情况步骤 11 - 将 Debian 安装到 RAID 阵列**](https://help.ggcircuit.com/knowledge/debian-os-installation-special-case-step-11-install-debian-to-a-raid-array-deprecated)
![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134327.png?version=1&modificationDate=1747403010031&cacheVersion=1&api=v2)

### 步骤 12. 选择操作系统驱动器

选择您的操作系统驱动器作为要安装 Debian 的驱动器。通常它会是一个 256Gb 固态硬盘，2.5 英寸或 M.2。

在这种情况下它是"250.1 GB ATA Samsung SSD 860"。

所有其他驱动器在 ggRock 磁盘配置期间会被需要。

此驱动器在 [**步骤 23. 选择启动驱动器**](https://help.ggcircuit.com/knowledge/install-debian-os-deprecated#step-23-select-boot-drive) 期间将成为启动驱动器
![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134327.png?version=1&modificationDate=1747403010031&cacheVersion=1&api=v2)

### 步骤 13. 分区磁盘

将您的磁盘分区设置为"所有文件在一个分区中"

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134327.png?version=1&modificationDate=1747403010031&cacheVersion=1&api=v2)

### 步骤 14. 应用分区

选择"完成分区并将更改写入磁盘"

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134327.png?version=1&modificationDate=1747403010031&cacheVersion=1&api=v2)

### 步骤 15. 确认分区

确认分区布局。

此步骤后 Debian 需要花费几分钟时间来安装基础系统

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134327.png?version=1&modificationDate=1747403010031&cacheVersion=1&api=v2)

### 可选步骤 16. 放弃扫描 CD 或 DVD。

**此提示可能根本不会出现**，具体取决于您的服务器硬件

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134327.png?version=1&modificationDate=1747403010031&cacheVersion=1&api=v2)

### 步骤 17. 配置软件包管理器

配置软件包管理器以使用您的国家（在这种情况下为美国）

**如果您是在 RAID 阵列上安装 Debian，这是您完成安装步骤后应该接续的步骤**

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134327.png?version=1&modificationDate=1747403010031&cacheVersion=1&api=v2)

### 步骤 18. 选择软件包管理器镜像

选择"[deb.debian.org](http://deb.debian.org/)"作为您的软件包管理器镜像

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134327.png?version=1&modificationDate=1747403010031&cacheVersion=1&api=v2)

### 步骤 19. 跳过 HTTP 代理设置

将 HTTP 代理字段留空。
Debian 需要花费几分钟时间来配置 apt 并安装必要的软件。

**如果您在此步骤期间遇到错误 - 请检查您的互联网连接**

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134401.png?version=1&modificationDate=1747403044673&cacheVersion=1&api=v2)

### 步骤 20. 配置调查偏好

选择您偏好的一个选项

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134401.png?version=1&modificationDate=1747403044673&cacheVersion=1&api=v2)

### 步骤 21. 选择软件包

选择"SSH 服务器"和"标准系统工具"软件集合。
**!!! 重要 !!!**
如果选择了"Debian 桌面环境"选项，则 **取消选择它** 并 **确保您仅选择了两个项目**，就像屏幕截图中一样

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134401.png?version=1&modificationDate=1747403044673&cacheVersion=1&api=v2)

### 步骤 22. 安装 GRUB

同意将 GRUB 启动加载程序安装到主启动记录

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134401.png?version=1&modificationDate=1747403044673&cacheVersion=1&api=v2)

### 步骤 23. 选择启动驱动器

选择您在 [**步骤 12. 选择操作系统驱动器**](https://help.ggcircuit.com/knowledge/install-debian-os-deprecated#step-12-select-os-drive) 中分区的驱动器作为 GRUB 启动加载程序安装位置

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134401.png?version=1&modificationDate=1747403044673&cacheVersion=1&api=v2)

### 步骤 24. 完成安装过程

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134401.png?version=1&modificationDate=1747403044673&cacheVersion=1&api=v2)

### 步骤 25. 重启服务器

您的服务器应该重启，显示 GRUB 菜单短时间，然后进入控制台行界面（称为 CLI）

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134401.png?version=1&modificationDate=1747403044673&cacheVersion=1&api=v2)

### 步骤 26. 检查安装

重启后并跳过 GRUB 加载屏幕，您应该看到以下控制台输入

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15863083/image-20250516-134401.png?version=1&modificationDate=1747403044673&cacheVersion=1&api=v2)

### 完成此步骤后，您 **完成了 Debian 安装** 并可以继续下一步 - [**安装 ggRock**](https://help.ggcircuit.com/knowledge/install-the-ggrock-server-application)

### Debian 操作系统安装特殊情况，步骤 11 - 将 Debian 安装到 RAID 阵列

**如果您一直在 RAID 阵列上安装 Debian -** 在安装 ggRock 之前，请转到 [**安装启动加载程序 (GRUB)**](https://help.ggcircuit.com/knowledge/appendix-iii-install-the-grub-boot-loader) 文档部分