# macOS

**macOS** 是 Apple 台式机和笔记本电脑的计算机操作系统 (OS)。

查看此指南以了解如何配置 [**住宅代理**](https://oxylabs.io/products/residential-proxy-pool) 用于 macOS。

**步骤 1。** 点击 **Apple 图标** 在左上角并打开 **系统偏好设置**.

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FXwJjrS5qj8LrudDnzovK%2Fimage.png?alt=media&#x26;token=434a4771-cab6-4f6d-998a-58e4fe70c0c2" alt="MacOS System preferences"><figcaption></figcaption></figure>

**步骤 2。** 打开后 **系统偏好设置**，选择 **网络** 面板图标。

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FlzFqEDfDfWoz2Sr3HXs7%2Fimage.png?alt=media&#x26;token=622acfa0-8de7-4faa-a9da-4a57551cb0c5" alt="MacOS Network"><figcaption></figcaption></figure>

**步骤 3。** 选择 **Wi-Fi 网络** 你想配置的并点击 **高级** 在右下角。

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FunrsBIS2Sh5ceTivykAJ%2Fimage.png?alt=media&#x26;token=d5f819a7-72bd-4f7d-b343-47be9437e7ac" alt="MacOS Advanced WiFi Settings"><figcaption></figcaption></figure>

**步骤 4。** 点击 **代理** 选项卡，然后选择 **Web 代理 (HTTP)**.

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FOqFEzZnXi42N39BAaAH7%2Fimage.png?alt=media&#x26;token=6c894036-66ae-464b-aefd-595695d21469" alt="Web Proxy HTTP"><figcaption></figcaption></figure>

**步骤 5。** 在 **Web 代理服务器**，输入你的代理详细信息：

**代理主机：** `pr.oxylabs.io`

**代理端口：** `7777`

{% hint style="info" %}
您也可以使用随机或带粘性的国家特定入口。例如，如果您输入 `us-pr.oxylabs.io` 在 **代理主机** 和 `10000` 在 **代理端口**，您将获得一个美国出口节点。如果您输入 `10001` 在 **代理端口**，您将获得带有粘性会话的美国出口节点。您可以在此处找到完整的国家特定随机代理入口节点列表 [**此处**](https://developers.oxylabs.io/proxies/residential-proxies/country-specific-entry-nodes#random-proxy-entry-nodes) 以及粘性代理入口节点列表 - [**此处**](https://developers.oxylabs.io/proxies/residential-proxies/country-specific-entry-nodes#sticky-proxy-entry-nodes).
{% endhint %}

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FV9GiSRaSrYrzmoaY5Mko%2Fimage.png?alt=media&#x26;token=abdc1f42-53a5-4a99-aad6-68f8ad7fc206" alt="MacOS Web Proxy Server"><figcaption></figcaption></figure>

**步骤 7。** 勾选 **代理服务器需要密码** 框并输入你的 Oxylabs 代理用户凭据：

**用户名：** `Oxylabs 代理用户用户名`

**密码：** `Oxylabs 代理用户密码`

{% hint style="info" %}
您可以在我们的 [**控制面板**](https://dashboard.oxylabs.io/en/)**.**
{% endhint %}

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FNxmpE3GZ5Ip36BGvf5OF%2Fproxy%20usename%20and%20psw.jpg?alt=media&#x26;token=26449851-a793-42b4-aa49-9e0d424b4cdc" alt="MacOS Proxy server login"><figcaption></figcaption></figure>

设置完成后，点击 **确定** 以确认并 **应用** 以激活设置。&#x20;

就这样，你现在正在使用代理。&#x20;

查找原始的 macOS 集成博客文章 [此处](https://oxylabs.io/resources/integrations/mac).


---

# Agent Instructions: 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:

```
GET https://developers.oxylabs.io/documentation/cn/dai-li/integration-guides/3rd-party-integrations/macos.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
