> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/integrations/cn/proxy-integrations/sphere.md).

# Sphere

了解如何逐步设置和使用 Linken Sphere 浏览器与 Oxylabs 代理。

[**Linken Sphere 2**](https://ls.app/) 是一款反检测浏览器，旨在模拟真实用户身份并隐藏默认浏览器指纹。

请按照以下说明集成下面的 Oxylabs 代&#x7406;**:**

* [**住宅和移动代理**](#residential-and-mobile-proxies)
* [**数据中心代理**](#datacenter-proxies)
* [**独享数据中心代理（企业版）**](#dedicated-datacenter-proxies-enterprise)
* [**独享数据中心代理（自助版）**](#dedicated-datacenter-proxies-self-service)
* [**ISP代理**](#isp-proxies)
* [**独享ISP代理**](#dedicated-isp-proxies)

{% stepper %}
{% step %}

### 设置 Linken Sphere 2

从以下位置下载 Sphere 浏览器 [官方网站](https://ls.app/)，启动应用并登录。
{% endstep %}

{% step %}

### 打开代理管理器

选择 **代理** 在主屏幕上打开 **代理管理器** 窗口。

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-367b491a6be71b1ec1e555d66bd73146b8cc6769%2Fsphere_proxies.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 输入代理详细信息

输入 **名称** 你的代理，选择代理 **协议** (`HTTP` 或 `SOCKS5`），并 **输入你的代理详情** (`ip:port@login:pass`）根据下面列出的代理类型：

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-f34c950c9f9e475df26ab7d9870173d1174dfbb3%2Fsphere_proxy_details.png?alt=media" alt=""><figcaption></figcaption></figure>

* [住宅和移动代理](#residential-and-mobile-proxies)
* [数据中心代理](#datacenter-proxies)
* [独享数据中心代理（企业版）](#dedicated-datacenter-proxies-enterprise)
* [独享数据中心代理（自助版）](#dedicated-datacenter-proxies-self-service)
* [ISP代理](#isp-proxies)
* [独享ISP代理](#dedicated-isp-proxies)

{% hint style="info" %}
要输入你的 Oxylabs 代理用户凭据，请使用相同的 **username** 和 **password** 你在创建新的代理用户时输入的 [Oxylabs 仪表板](https://dashboard.oxylabs.io/en/).
{% endhint %}

#### 住宅和移动代理

**协议：** `HTTP` 或 `SOCKS5`

**IP:** `pr.oxylabs.io`

**端口：** `7777`

**登录：** `customer-USERNAME`

**密码:** `PASSWORD`

{% hint style="warning" %}
**注意：** 别忘了添加 `customer-` 前缀到您的用户名中。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-277316a6cf61e40ebc26335e78d9fcb6d5fe0d73%2Fsphere_resi.png?alt=media" alt=""><figcaption></figcaption></figure>

你还可以使用 **附加参数** 与住宅和移动代理一起使用，以设置地理位置（国家、州、城市等）并控制会话。请查看 [住宅代理文档](https://developers.oxylabs.io/products/cn/proxies/residential-proxies.md) 以了解更多。下表概述了可用参数及其示例值。

<table><thead><tr><th width="167">代理参数</th><th width="498">示例</th></tr></thead><tbody><tr><td><a href="broken://spaces/ZwEHB9k4MH4pDy80n9mF/pages/c292bcb65f6b550e76b7c2f49439d9af518f96fc#country-specific-entry-nodes">国家入口节点</a></td><td><p><strong>主机：</strong> <code>us-pr.oxylabs.io</code></p><p><strong>端口：</strong> <code>10000</code></p></td></tr><tr><td><a href="broken://spaces/ZwEHB9k4MH4pDy80n9mF/pages/c292bcb65f6b550e76b7c2f49439d9af518f96fc">国家</a></td><td><strong>用户：</strong> <code>customer-username-cc-US</code></td></tr><tr><td><a href="broken://spaces/ZwEHB9k4MH4pDy80n9mF/pages/68cc6e740836631279999f4386a89ef010c5899b">州</a></td><td><strong>用户：</strong> <code>customer-username-st-US_texas</code></td></tr><tr><td><a href="broken://spaces/ZwEHB9k4MH4pDy80n9mF/pages/dd329be9376fffa01bdfba844759a5071d7872db">城市</a></td><td><strong>用户：</strong> <code>customer-username-city-paris</code></td></tr><tr><td><a href="broken://spaces/ZwEHB9k4MH4pDy80n9mF/pages/9bf1373b90968ca0547965cd4751aa14f465a556">大洲</a></td><td><strong>用户：</strong> <code>customer-username-cn-NA</code></td></tr><tr><td><a href="broken://spaces/ZwEHB9k4MH4pDy80n9mF/pages/bfdf0a3afe65fbda1ca6cf303d65768f6ed74b7c">ZIP/邮政编码</a></td><td><strong>用户：</strong> <code>customer-username-cc-US-postalcode-90210</code></td></tr><tr><td><a href="broken://spaces/ZwEHB9k4MH4pDy80n9mF/pages/b618002c0b63ad684693a849568ce4234df71530">ASN 定向</a></td><td><strong>用户：</strong> <code>customer-username-ASN-21928</code></td></tr><tr><td><a href="https://developers.oxylabs.io/products/cn/proxies/residential-proxies/session-control.md">会话</a> （最长 1440 分钟）</td><td><strong>用户：</strong> <code>customer-username-sessid-qwerty123-sesstime-1440</code></td></tr><tr><td><a href="broken://spaces/ZwEHB9k4MH4pDy80n9mF/pages/a7b2e5c423ead1821bf87e8d883aceae933c6fae">粘性会话</a></td><td><p><strong>主机：</strong> <code>us-pr.oxylabs.io</code></p><p><strong>端口：</strong> <code>10001</code></p></td></tr></tbody></table>

#### 数据中心代理

**协议：** `HTTP` 或 `SOCKS5`

**IP:** `dc.oxylabs.io`

**端口：** `8001`

**登录：** `user-USERNAME`

**密码:** `PASSWORD`

{% hint style="warning" %}
**注意：** 别忘了添加 `user-` 前缀到您的用户名中。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-240f56c7caf3a23c684678a314b6a8cc6147e144%2Fsphere_dc.png?alt=media" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="按 IP 计费订阅" %}
端口是分配给列表中 IP 地址的顺序编号 [代理列表](https://developers.oxylabs.io/products/cn/proxies/datacenter-proxies/proxy-list.md)的 IP 地址的顺序编号。因此，端口 `8001` 会使用你列表中的第一个 IP 地址。你还可以通过将端口设置为 [代理 IP 轮换](https://developers.oxylabs.io/products/cn/proxies/datacenter-proxies/ip-control.md) 来启用 `8000`.

此外，你还可以指定 [地理位置](https://developers.oxylabs.io/products/cn/proxies/datacenter-proxies/select-country.md)，例如美国，方法是将 **代理用户名** 设置为 `user-USERNAME-country-US`.
{% endtab %}

{% tab title="按流量计费订阅" %}
端口 `8001` 会随机选取一个 IP 地址，但在会话期间保持一致。或者，你可以 [轮换代理 IP](https://developers.oxylabs.io/products/cn/proxies/datacenter-proxies/ip-control.md) ，通过使用端口 `8000`.

如果你想使用特定的 [地理位置](https://developers.oxylabs.io/products/cn/proxies/datacenter-proxies/select-country.md)，例如美国，请将代理用户名设置为 `user-USERNAME-country-US`.
{% endtab %}
{% endtabs %}

#### 独享数据中心代理（企业版）

**协议：** `HTTP` 或 `SOCKS5`

**IP:** `1.2.3.4` （来自你的 [代理列表](https://developers.oxylabs.io/products/cn/proxies/dedicated-datacenter-proxies/enterprise/proxy-lists.md))

**端口：** `60000` (HTTP/HTTPS) 或 `1180` （SOCKS5）

**登录：** `USERNAME`

**密码:** `PASSWORD`

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-4770b45b591b8a300e8aef162e994f6d878cb8ae%2Fsphere_ddc-e.png?alt=media" alt=""><figcaption></figcaption></figure>

对于通过销售购买的企业独享数据中心代理，你需要从已购的 [代理列表](https://developers.oxylabs.io/products/cn/proxies/dedicated-datacenter-proxies/enterprise/proxy-lists.md).

#### 独享数据中心代理（自助版）

**协议：** `HTTP` 或 `SOCKS5`

**IP:** `ddc.oxylabs.io`

**端口：** `8001`

**登录：** `user-USERNAME`

**密码:** `PASSWORD`

{% hint style="warning" %}
**注意：** 别忘了添加 `user-` 前缀到您的用户名中。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-244298b8c54ce377ba0af138b7d037476327f33a%2Fsphere_ddc-ss.png?alt=media" alt=""><figcaption></figcaption></figure>

对于通过 Oxylabs 仪表板购买的自助服务独享数据中心代理，端口表示来自已购的某个 IP 地址的顺序编号 [代理列表](https://developers.oxylabs.io/products/cn/proxies/datacenter-proxies/proxy-list.md)。如果你想让每个请求都获取不同的 IP，请更改 **端口** 设置为 `8000` 以启用 [代理轮换](https://developers.oxylabs.io/products/cn/proxies/dedicated-datacenter-proxies/self-service/proxy-rotation.md).

#### ISP代理

**协议：** `HTTP` 或 `SOCKS5`

**IP:** `isp.oxylabs.io`

**端口：** `8001`

**登录：** `user-USERNAME`

**密码:** `PASSWORD`

{% hint style="warning" %}
**注意：** 别忘了添加 `user-` 前缀到您的用户名中。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-3bd5fde7f26248fbedc96586b7f5aa1714ceea55%2Fsphere_isp.png?alt=media" alt=""><figcaption></figcaption></figure>

ISP代理会将每个端口分配给特定的 IP 地址和位置。端口 `8001` 始终使用你的列表中的第一个 IP。 [代理列表](https://developers.oxylabs.io/products/cn/proxies/isp-proxies/proxy-list.md)。使用端口 `8000` 以启用 [代理轮换](https://developers.oxylabs.io/products/cn/proxies/isp-proxies/proxy-rotation.md).

若要从特定国家的代理池获取轮换 IP，请使用以下格式设置用户名： `user-USERNAME-country-XX`，其中 `XX` 是国家代码（例如， `US` 表示美国）。

#### 独享ISP代理

**协议：** `HTTP` 或 `SOCKS5`

**IP:** `disp.oxylabs.io`

**端口：** `8001`

**登录：** `user-USERNAME`

**密码:** `PASSWORD`

{% hint style="warning" %}
**注意：** 别忘了添加 `user-` 前缀到您的用户名中。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-0bf0f594479ad44122528b30d2aef88ebff483cf%2Fsphere_disp.png?alt=media" alt=""><figcaption></figcaption></figure>

你需要选择分配给已购买的 IP 地址的端口， [代理列表](https://developers.oxylabs.io/products/cn/proxies/dedicated-isp-proxies/self-service/proxy-list.md)，你可以在 Oxylabs 控制面板中找到。 `8001` 端口会为所有请求从你的列表中选取第一个 IP 地址。使用端口 `8000` 用于自动 [代理 IP 轮换](https://developers.oxylabs.io/products/cn/proxies/dedicated-isp-proxies/self-service/proxy-rotation.md).
{% endstep %}

{% step %}

### 测试

要检查代理功能，可以点击任意位置，或者点击专用的 **代理测试** 按钮。

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-f8808491a2af6b249e7302cddd772de76df22424%2Fsphere_test.png?alt=media" alt=""><figcaption></figcaption></figure>

如果测试成功，与你的代理详情旁边会显示有效的地理位置及其对应的时区。

最后， **点击绿色对勾** （保存代理）。你可以添加任意数量的代理，并将它们与不同的浏览器会话配对或取消配对。
{% endstep %}

{% step %}

### 创建浏览器会话

返回 Linken Sphere 主屏幕并点击 **新会话**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-1db8a97f6f9657835506e175e11fb238d655fe6d%2Fsphere_new_session.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 设置代理

新配置文件默认使用直连，因此要在浏览器会话中使用你的代理， **选择一个配置文件** （左侧的复选框）并点击 **设置代理**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-45f8f21c487cb06d6ec5e73c4a533b51f902da38%2Fsphere_edit_session.jpg?alt=media" alt=""><figcaption></figcaption></figure>

在弹窗中，使用左侧的复选框来 **选择代理** 选择你想设置到所选配置文件上的代理，并点击 **设置** 以完成代理设置。

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-bd822e2ca0b0b46fe635b195216c8c7f7da7ec3e%2Fsphere_set_proxy.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 运行浏览器

点击 **运行会话** （绿色播放按钮）以启动私人浏览器。

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-c463f0a8749468772600a1a3ec3fabed50f50887%2Fsphere_run_session.png?alt=media" alt=""><figcaption></figcaption></figure>

你也可以选择通过点击右侧的三点按钮并选择来配置浏览器详情，例如指纹， **编辑会话**.
{% endstep %}
{% endstepper %}

就是这样。你已成功将你的 Oxylabs 代理集成到 Linken Sphere 浏览器中。你可以在原始的 Linken Sphere 浏览器集成博客文章中找到 [**这里**](https://oxylabs.io/resources/integrations/sphere-browser).

如果你对我们的解决方案或上述流程有任何问题或疑虑，请发送电子邮件至 <hello@oxylabs.io>.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.oxylabs.io/integrations/cn/proxy-integrations/sphere.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
