# MacOS

**MacOS** 是 Apple 台式机和笔记本电脑使用的计算机操作系统（OS）。

请查看本指南，了解如何在 MacOS 上配置 数据中心代理。

{% hint style="warning" %}
**注意：** 本指南中提供的部分截图为示例目的展示了使用 住宅代理 的设置过程，请参考正文中提供的 数据中心代理 具体指南。
{% endhint %}

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

<figure><img src="/files/3f330c7ad13db45036b1735ad20188c10c7e3d49" alt="MacOS System preferences"><figcaption></figcaption></figure>

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

<figure><img src="/files/3f9fb511380f1e8896e980db24ec7b308212f362" alt="MacOS Network"><figcaption></figcaption></figure>

**步骤 3。** 选择 **Wi‑Fi 网络** ，然后点击 **高级** 右下角。

<figure><img src="/files/b627e806a62ad1f9107f73c88a3acbcfc48f79c6" alt="MacOS Advanced WiFi Settings"><figcaption></figcaption></figure>

**步骤 4。** 点击 **代理** 标签页，然后选择 `Web 代理（HTTP）`, `安全 Web 代理（HTTPS）`，或 `SOCKS 代理`.

<figure><img src="/files/f27440ae6289834520cdf1997bc9858a7f4e0fb2" alt="Web Proxy HTTP"><figcaption></figcaption></figure>

**步骤 5。** 在服务器设置下，输入您的代理详细信息：

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

**代理端口：** `8000`

{% hint style="info" %}
端口 `8000` 将选择一个随机 IP 地址。对于其他设置，例如代理 IP 轮换，请访问 [此文档页面](https://developers.oxylabs.io/proxies/datacenter-proxies/ip-control).
{% endhint %}

<figure><img src="/files/fbcdd754266c7f571de0f6292d99d4f60ab2de13" alt="MacOS Web Proxy Server"><figcaption></figcaption></figure>

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

**用户名：** `user-username`

**密码：** `密码`

{% hint style="warning" %}
别忘了添加 `user-` 这一部分到您的用户名中。
{% endhint %}

<figure><img src="/files/c03f69d8202f9fb9f9a7fcfdddffcb16c40c6308" 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/integrations/cn/proxy-integrations/datacenter-proxies-guides/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.
