> 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

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

[**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>

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

<table><thead><tr><th width="167">代理参数</th><th width="498">示例</th></tr></thead><tbody><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings/select-country.md#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="/products/cn/proxies/residential-proxies/location-settings/select-country.md">国家</a></td><td><strong>用户：</strong> <code>customer-username-cc-US</code></td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings/select-state.md">州</a></td><td><strong>用户：</strong> <code>customer-username-st-US_texas</code></td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings/select-city.md">城市</a></td><td><strong>用户：</strong> <code>customer-username-city-paris</code></td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings/continent.md">洲</a></td><td><strong>用户：</strong> <code>customer-username-cn-NA</code></td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings/zip-postal-code.md">ZIP/邮政编码</a></td><td><strong>用户：</strong> <code>customer-username-cc-US-postalcode-90210</code></td></tr><tr><td><a href="/products/cn/proxies/residential-proxies/location-settings/asn-targeting.md">ASN 定向</a></td><td><strong>用户：</strong> <code>customer-username-ASN-21928</code></td></tr><tr><td><a href="/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 计费订阅" %}
端口是分配给来自 [代理列表](/products/cn/proxies/datacenter-proxies/proxy-list.md)的 IP 地址的顺序编号。因此，端口 `8001` 将始终使用你列表中的第一个 IP 地址。你也可以通过将端口设置为 [代理 IP 轮换](/products/cn/proxies/datacenter-proxies/ip-control.md) 来启用 `8000`.

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

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

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

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

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

**IP：** `1.2.3.4` （来自你的 [代理列表](/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>

对于通过销售购买的企业独享数据中心代理，你必须从已获取的 [代理列表](/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 地址的顺序编号 [代理列表](/products/cn/proxies/datacenter-proxies/proxy-list.md)。如果你希望每个请求都获取不同的 IP，请更改 **端口** 设置为 `8000` 以启用 [代理轮换](/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` 始终使用你的 [代理列表](/products/cn/proxies/isp-proxies/proxy-list.md)中的第一个 IP。使用端口 `8000` 以启用 [代理轮换](/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 地址的端口 [代理列表](/products/cn/proxies/dedicated-isp-proxies/self-service/proxy-list.md)，你可以在 Oxylabs 控制面板中找到。 `8001` 端口将为所有请求选取列表中的第一个 IP 地址。使用端口 `8000` 可自动进行 [代理 IP 轮换](/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 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://developers.oxylabs.io/integrations/cn/proxy-integrations/sphere.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.
