8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

MySQL 8.4 参考手册 / 25 MySQL NDB 集群 8.4 / 25.3 NDB 集群安装 / 25.3.1 在 Linux 上安装 NDB Cluster
中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 100%

25.3.1 在 Linux 上安装 NDB 集群25.3.1 Installation of NDB Cluster on Linux

本节涵盖在 Linux 及其他类 Unix 操作系统上安装 NDB 集群的方法。虽然接下来的几个小节涉及的是 Linux 操作系统,但其中给出的说明和步骤应该可以轻松适应其他支持的类 Unix 平台。有关针对 Windows 系统的手动安装和设置说明,请参见 第 25.3.2 节,“在 Windows 上安装 NDB 集群”。This section covers installation methods for NDB Cluster on Linux and other Unix-like operating systems. While the next few sections refer to a Linux operating system, the instructions and procedures given there should be easily adaptable to other supported Unix-like platforms. For manual installation and setup instructions specific to Windows systems, see Section 25.3.2, “Installing NDB Cluster on Windows”.

每个 NDB 集群主机必须安装正确的可执行程序。运行 SQL 节点的主机必须安装 MySQL Server 二进制文件(mysqld)。管理节点需要管理服务器守护进程(ndb_mgmd);数据节点需要数据节点守护进程(ndbd 或 ndbmtd)。在管理节点主机和数据节点主机上不需要安装 MySQL Server 二进制文件。建议你也在管理服务器主机上安装管理客户端(ndb_mgm)。Each NDB Cluster host computer must have the correct executable programs installed. A host running an SQL node must have installed on it a MySQL Server binary (mysqld). Management nodes require the management server daemon (ndb_mgmd); data nodes require the data node daemon (ndbd or ndbmtd). It is not necessary to install the MySQL Server binary on management node hosts and data node hosts. It is recommended that you also install the management client (ndb_mgm) on the management server host.

在 Linux 上安装 NDB 集群可以使用 Oracle 提供的预编译二进制文件(以 .tar.gz 压缩包形式下载)、RPM 包(也可从 Oracle 获得)或源代码。以下部分描述了这三种安装方法。Installation of NDB Cluster on Linux can be done using precompiled binaries from Oracle (downloaded as a .tar.gz archive), with RPM packages (also available from Oracle), or from source code. All three of these installation methods are described in the section that follow.

无论使用哪种方法,安装 NDB 集群二进制文件后,仍然需要为所有集群节点创建配置文件,才能启动集群。请参阅 第 25.3.3 节,“NDB 集群的初始配置”。Regardless of the method used, it is still necessary following installation of the NDB Cluster binaries to create configuration files for all cluster nodes, before you can start the cluster. See Section 25.3.3, “Initial Configuration of NDB Cluster”.