> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-framing-web-ui.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> 安装 ClickHouse

# 安装指南

export const galaxyOnClick = eventName => () => {
  try {
    if (typeof window !== "undefined" && window.galaxy && eventName) {
      window.galaxy.track(eventName, {
        interaction: "click"
      });
    }
  } catch (e) {}
};

<Card title="ClickHouse Cloud" icon="cloud" href="/zh/get-started/setup/cloud" cta="查看指南">
  无需为集群进行容量规划和扩缩容，即可立即开始构建。ClickHouse Cloud 会负责容量规划、扩缩容、
  安全、可靠性和升级。
</Card>

<br />

如果你希望自行管理，请从下方的开源 ClickHouse 选项中选择一种。
你可以使用快速安装脚本或 `clickhousectl` 命令行客户端进行本地安装，或者通过软件包或二进制文件安装
ClickHouse Server，用于生产环境部署。

<h3 className="install-group-heading">本地开发</h3>

<p className="install-group-description">
  在你自己的机器上运行 ClickHouse，用于构建、测试和实验。
  快速安装可让你迅速获得单个二进制文件，或者使用 clickhousectl
  来安装和管理本地版本及服务器。
</p>

<Columns cols={4}>
  <Card title="快速安装" icon="https://mintcdn.com/private-7c7dfe99-framing-web-ui/ZHp2ccqB9qo6v9CN/images/install/linux.svg?fit=max&auto=format&n=ZHp2ccqB9qo6v9CN&q=85&s=71ea76a8bacb2a9530116616bb57995c" href="/zh/get-started/setup/self-managed/quick-install" width="2500" height="2500" data-path="images/install/linux.svg" />

  <Card title="clickhousectl (命令行客户端)" icon="terminal" href="/zh/get-started/setup/self-managed/clickhousectl" />

  <Card title="Docker" icon="https://mintcdn.com/private-7c7dfe99-framing-web-ui/ZHp2ccqB9qo6v9CN/images/install/docker.svg?fit=max&auto=format&n=ZHp2ccqB9qo6v9CN&q=85&s=9f9cd094f36ea219d77f3efa291e2f14" href="/zh/get-started/setup/self-managed/docker" width="512" height="512" data-path="images/install/docker.svg" />

  <Card title="源码构建" icon="code" href="/zh/get-started/setup/self-managed/advanced" />
</Columns>

<h3 className="install-group-heading">生产服务器</h3>

<p className="install-group-description">
  通过软件包或二进制文件安装 ClickHouse Server，以便在你自己的基础设施上进行
  长期运行的部署。
</p>

<Columns cols={4}>
  <Card title="Debian/Ubuntu" icon="https://mintcdn.com/private-7c7dfe99-framing-web-ui/ZHp2ccqB9qo6v9CN/images/install/DebianUbuntu.svg?fit=max&auto=format&n=ZHp2ccqB9qo6v9CN&q=85&s=c7e212b41671540929d10a64a7484339" href="/zh/get-started/setup/self-managed/debian-ubuntu" width="4079" height="2508" data-path="images/install/DebianUbuntu.svg" />

  <Card title="Redhat" icon="https://mintcdn.com/private-7c7dfe99-framing-web-ui/ZHp2ccqB9qo6v9CN/images/install/redhat.svg?fit=max&auto=format&n=ZHp2ccqB9qo6v9CN&q=85&s=c95213b981e2b16c09a1009d927ad3df" href="/zh/get-started/setup/self-managed/redhat" width="2500" height="2500" data-path="images/install/redhat.svg" />

  <Card title="NixOS" icon="https://mintcdn.com/private-7c7dfe99-framing-web-ui/ZHp2ccqB9qo6v9CN/images/install/nixos.svg?fit=max&auto=format&n=ZHp2ccqB9qo6v9CN&q=85&s=6ef0579f1de90bbe0bd44d6ee692671f" href="/zh/get-started/setup/self-managed/nixos" width="535" height="464" data-path="images/install/nixos.svg" />

  <Card title="其他 Linux" icon="https://mintcdn.com/private-7c7dfe99-framing-web-ui/ZHp2ccqB9qo6v9CN/images/install/linux.svg?fit=max&auto=format&n=ZHp2ccqB9qo6v9CN&q=85&s=71ea76a8bacb2a9530116616bb57995c" href="/zh/get-started/setup/self-managed/other-linux" width="2500" height="2500" data-path="images/install/linux.svg" />
</Columns>
