> For the complete documentation index, see [llms.txt](https://docs.ipwo.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ipwo.net/huan-jing-zhun-bei/linux-fu-wu-qi-huan-jing-yao-qiu.md).

# Linux服务器环境要求

为了保证代理能够稳定运行，建议在符合要求的 Linux 服务器环境中使用 IPWO 代理服务。

👉 推荐使用**海外 Linux 服务器环境**。

***

### 🌍 网络环境要求

由于网络环境及相关限制：

👉 IPWO 代理仅支持在[海外网络环境](/huan-jing-zhun-bei/hai-wai-wang-luo-huan-jing-shuo-ming.md)下使用。

推荐：

* 海外 VPS
* 海外云服务器
* 海外 Linux 主机

常见地区：

* 美国
* 日本
* 新加坡
* 香港

***

### ✅ 推荐 Linux 系统

推荐使用以下系统版本：

| 系统          | 推荐版本          |
| ----------- | ------------- |
| Ubuntu      | 20.04 / 22.04 |
| Debian      | 11 / 12       |
| CentOS      | 7 / 8         |
| Rocky Linux | 8 / 9         |

👉 建议使用长期支持（LTS）版本。

***

### ⚙️ 基础环境要求

建议服务器具备：

| 项目  | 建议        |
| --- | --------- |
| CPU | 1 Core 以上 |
| 内存  | 1GB 以上    |
| 网络  | 稳定公网网络    |
| 磁盘  | 10GB 以上   |

***

### 🌐 公网 IP 要求

服务器需要：

* 可正常访问海外网站
* 具备公网 IP
* 网络稳定

👉 API 白名单需要使用服务器公网 IP。

***

### 🔍 如何查看服务器公网 IP？

执行：

```bash
curl ipinfo.io
```

或访问：

```
https://ipinfo.io
```

***

### 📦 推荐安装的软件

建议安装以下基础工具：

```bash
sudo apt update
sudo apt install curl wget git -y
```

***

### ⚡ 推荐 Python 环境（如需开发）

推荐：

| 项目     | 推荐版本 |
| ------ | ---- |
| Python | 3.9+ |
| pip    | 最新版本 |

***

#### 安装示例（Ubuntu）

```bash
sudo apt install python3 python3-pip -y
```

***

### 🌐 推荐开放网络端口

请确保服务器：

* 可访问外网
* 未限制代理连接端口
* 防火墙未阻止请求

***

#### 常用开放端口

```
80
443
代理连接端口
```

***

### ⚠️ 常见问题

#### 国内 Linux 服务器可以使用吗？

由于网络环境及相关限制：

👉 更推荐使用海外 Linux 服务器。

否则可能出现：

* 无法连接代理
* 请求超时
* API 获取失败

***

#### 为什么服务器无法连接代理？

建议检查：

* 当前网络环境
* 防火墙配置
* 是否能访问海外网站

***

#### 为什么 API 白名单不生效？

通常是：

👉 添加了错误公网 IP。

建议执行：

```bash
curl ipinfo.io
```

确认服务器真实公网 IP。

***

### 💡 使用建议

推荐：

* 使用稳定海外 VPS
* 避免频繁更换公网 IP
* 使用固定服务器环境

👉 有助于提升代理稳定性。

***

### 🆘 遇到问题怎么办？

如果出现：

* 无法连接代理
* API 请求失败
* 请求超时

建议优先检查：

* 当前网络环境
* 服务器公网 IP
* 防火墙与端口配置

***

### 总结

推荐的 Linux 使用流程：

```
准备海外 Linux 服务器
↓
确认公网网络正常
↓
获取代理
↓
快速验证
↓
接入程序或工具
```

👉 稳定的海外 Linux 环境能够显著提升代理使用效果

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ipwo.net/huan-jing-zhun-bei/linux-fu-wu-qi-huan-jing-yao-qiu.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
