diff --git a/product/en/docs-mogdb/v3.0/toc.md b/product/en/docs-mogdb/v3.0/toc.md index f104f8c01e98a7773aa35f181db9ec19fb2cacb6..2aacd736238c1a2b99fa73bc71513b8ba139d16b 100644 --- a/product/en/docs-mogdb/v3.0/toc.md +++ b/product/en/docs-mogdb/v3.0/toc.md @@ -1,5 +1,6 @@ + # MogDB Documentation 3.0 ## Documentation List @@ -145,19 +146,21 @@ + [Deploying a Distributed Database Using Kubernetes](/characteristic-description/middleware/deploying-a-distributed-database-using-kubernetes.md) + Installation Guide + [Container Installation](/installation-guide/docker-installation/docker-installation.md) - + Simplified Installation Process - + [Preparing for Installation](/installation-guide/simplified-installation-process/1-installation-preparation.md) - + [Installation on a Single Node](/installation-guide/simplified-installation-process/2-installation-on-a-single-node.md) - + [Installation on Primary/Standby Nodes](/installation-guide/simplified-installation-process/3-installation-on-primary-standby-nodes.md) - + Standard Installation - + [Installation Overview](/installation-guide/standard-installation/1-installation-overview.md) - + Preparing for Installation - + [Environment Requirement](/installation-guide/standard-installation/2-environment-requirement.md) - + [Modifying OS Configuration](/installation-guide/standard-installation/3-modifying-os-configuration.md) - + [Installing MogDB](/installation-guide/standard-installation/4-installing-mogdb.md) - + [Verifying the Installation](/installation-guide/standard-installation/5-verifying-installation.md) - + [Recommended Parameter Settings](/installation-guide/standard-installation/7-recommended-parameter-settings.md) - + [Uninstalling MogDB](/installation-guide/standard-installation/6-uninstallation.md) + + [PTK-based Installation](/installation-guide/ptk-based-installation.md) + + OM-based Installation + + Simplified Installation Process + + [Preparing for Installation](/installation-guide/om-installation/simplified-installation-process/1-installation-preparation.md) + + [Installation on a Single Node](/installation-guide/om-installation/simplified-installation-process/2-installation-on-a-single-node.md) + + [Installation on Primary/Standby Nodes](/installation-guide/om-installation/simplified-installation-process/3-installation-on-primary-standby-nodes.md) + + Standard Installation + + [Installation Overview](/installation-guide/om-installation/standard-installation/1-installation-overview.md) + + Preparing for Installation + + [Environment Requirement](/installation-guide/om-installation/standard-installation/2-environment-requirement.md) + + [Modifying OS Configuration](/installation-guide/om-installation/standard-installation/3-modifying-os-configuration.md) + + [Installing MogDB](/installation-guide/om-installation/standard-installation/4-installing-mogdb.md) + + [Verifying the Installation](/installation-guide/om-installation/standard-installation/5-verifying-installation.md) + + [Recommended Parameter Settings](/installation-guide/om-installation/standard-installation/7-recommended-parameter-settings.md) + + [Uninstalling MogDB](/installation-guide/om-installation/standard-installation/6-uninstallation.md) + [Manual Installation](/installation-guide/manual-installation.md) + Administrator Guide + Routine Maintenance diff --git a/product/en/docs-mogdb/v3.0/toc_install.md b/product/en/docs-mogdb/v3.0/toc_install.md index 2f796417a8cdf06c21c07523e00149d71e371bd7..38cc26d92ade47354ebf3070ba4717dbb4fb0d22 100644 --- a/product/en/docs-mogdb/v3.0/toc_install.md +++ b/product/en/docs-mogdb/v3.0/toc_install.md @@ -5,17 +5,19 @@ ## Installation Guide + [Container Installation](/installation-guide/docker-installation/docker-installation.md) -+ Simplified Installation Process - + [Preparing for Installation](/installation-guide/simplified-installation-process/1-installation-preparation.md) - + [Installation on a Single Node](/installation-guide/simplified-installation-process/2-installation-on-a-single-node.md) - + [Installation on Primary/Standby Nodes](/installation-guide/simplified-installation-process/3-installation-on-primary-standby-nodes.md) -+ Standard Installation - + [Installation Overview](/installation-guide/standard-installation/1-installation-overview.md) - + Preparing for Installation - + [Environment Requirement](/installation-guide/standard-installation/2-environment-requirement.md) - + [Modifying OS Configuration](/installation-guide/standard-installation/3-modifying-os-configuration.md) - + [Installing MogDB](/installation-guide/standard-installation/4-installing-mogdb.md) - + [Verifying the Installation](/installation-guide/standard-installation/5-verifying-installation.md) - + [Recommended Parameter Settings](/installation-guide/standard-installation/7-recommended-parameter-settings.md) - + [Uninstalling MogDB](/installation-guide/standard-installation/6-uninstallation.md) ++ [PTK-based Installation](/installation-guide/ptk-based-installation.md) ++ OM-based Installation + + Simplified Installation Process + + [Preparing for Installation](/installation-guide/om-installation/simplified-installation-process/1-installation-preparation.md) + + [Installation on a Single Node](/installation-guide/om-installation/simplified-installation-process/2-installation-on-a-single-node.md) + + [Installation on Primary/Standby Nodes](/installation-guide/om-installation/simplified-installation-process/3-installation-on-primary-standby-nodes.md) + + Standard Installation + + [Installation Overview](/installation-guide/om-installation/standard-installation/1-installation-overview.md) + + Preparing for Installation + + [Environment Requirement](/installation-guide/om-installation/standard-installation/2-environment-requirement.md) + + [Modifying OS Configuration](/installation-guide/om-installation/standard-installation/3-modifying-os-configuration.md) + + [Installing MogDB](/installation-guide/om-installation/standard-installation/4-installing-mogdb.md) + + [Verifying the Installation](/installation-guide/om-installation/standard-installation/5-verifying-installation.md) + + [Recommended Parameter Settings](/installation-guide/om-installation/standard-installation/7-recommended-parameter-settings.md) + + [Uninstalling MogDB](/installation-guide/om-installation/standard-installation/6-uninstallation.md) + [Manual Installation](/installation-guide/manual-installation.md) diff --git a/product/zh/docs-mogdb/v3.0/about-mogdb/mogdb-new-feature/3.0.0.md b/product/zh/docs-mogdb/v3.0/about-mogdb/mogdb-new-feature/3.0.0.md index f1cdfa0942ef7bcc7cd3f81ce2d016ee6ee08ca9..b327bdefa58c4994ff364ddf995bad2c6fd1c6cf 100644 --- a/product/zh/docs-mogdb/v3.0/about-mogdb/mogdb-new-feature/3.0.0.md +++ b/product/zh/docs-mogdb/v3.0/about-mogdb/mogdb-new-feature/3.0.0.md @@ -93,7 +93,6 @@ PostGis是一个空间数据库系统,能够提供空间对象、空间索引 **函数** - INSTRB -- NEW_TIME - NLS_CHARSET_ID - NLS_CHARSET_NAME - NLS_LOWER @@ -103,14 +102,10 @@ PostGis是一个空间数据库系统,能够提供空间对象、空间索引 - REPLACE - SHOW - SHOW_PARAMETER -- SYS_EXTRACT_UTC -- TO_DSINTERVAL - TO_TIMESTAMP -- TO_TIMESTAMP_TZ - TO_YMINTERVAL - TZ_OFFSET - NULLIF -- VSIZE - Ratio_to_report **Package** @@ -195,4 +190,4 @@ PostGis是一个空间数据库系统,能够提供空间对象、空间索引 ## 5. 已知问题 -- 在分区表使用PBE场景下,动态分区裁剪小概率可能会导致core dump,规避方案为暂时禁用resource track,也即设置enable_resource_track=off。该参数已经纳入推荐参数设置。 \ No newline at end of file +在分区表使用PBE场景下,动态分区裁剪小概率可能会导致core dump,规避方案为暂时禁用resource track,也即设置enable_resource_track=off。该参数已经纳入推荐参数设置。 \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/installation-guide/standard-installation/1-installation-overview.md b/product/zh/docs-mogdb/v3.0/installation-guide/om-installation/1-installation-overview.md similarity index 51% rename from product/zh/docs-mogdb/v3.0/installation-guide/standard-installation/1-installation-overview.md rename to product/zh/docs-mogdb/v3.0/installation-guide/om-installation/1-installation-overview.md index ee46c0da2bb034b93a857ffaa238b9cc30d0275d..7c01956263179b4b5b4a87f55186d7d3e1a07f41 100644 --- a/product/zh/docs-mogdb/v3.0/installation-guide/standard-installation/1-installation-overview.md +++ b/product/zh/docs-mogdb/v3.0/installation-guide/om-installation/1-installation-overview.md @@ -9,4 +9,8 @@ date: 2021-04-02 MogDB支持单机部署和单机HA部署两种部署方式。单机部署时,可在一个主机部署多个数据库实例,但为了数据安全,不建议用户这样部署。单机HA部署支持一台主机和最少一台备机,最多可配置8台备机。 -> ![img](https://cdn-mogdb.enmotech.com/docs-media/icon/icon-note.gif)**说明**: 通过MogDB提供的脚本安装时,只允许在单台物理机部署一个数据库系统。如果您需要在单台物理机部署多个数据库系统,建议您通过命令行安装,不需要通过MogDB提供的安装脚本执行安装。 +> ![img](https://cdn-mogdb.enmotech.com/docs-media/icon/icon-note.gif)**说明**: +> +> - 通过MogDB提供的脚本安装时,只允许在单台物理机部署一个数据库系统。如果您需要在单台物理机部署多个数据库系统,建议您通过命令行安装,不需要通过MogDB提供的安装脚本执行安装。 +> +> - MogDB支持PTK方式安装和OM方式安装。当前MogDB仅针对官方PTK安装方式产生的相关问题提供技术支持。 \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/installation-guide/standard-installation/4-installing-mogdb.md b/product/zh/docs-mogdb/v3.0/installation-guide/om-installation/4-installing-mogdb.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/installation-guide/standard-installation/4-installing-mogdb.md rename to product/zh/docs-mogdb/v3.0/installation-guide/om-installation/4-installing-mogdb.md diff --git a/product/zh/docs-mogdb/v3.0/installation-guide/standard-installation/5-verifying-installation.md b/product/zh/docs-mogdb/v3.0/installation-guide/om-installation/5-verifying-installation.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/installation-guide/standard-installation/5-verifying-installation.md rename to product/zh/docs-mogdb/v3.0/installation-guide/om-installation/5-verifying-installation.md diff --git a/product/zh/docs-mogdb/v3.0/installation-guide/standard-installation/6-uninstallation.md b/product/zh/docs-mogdb/v3.0/installation-guide/om-installation/6-uninstallation.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/installation-guide/standard-installation/6-uninstallation.md rename to product/zh/docs-mogdb/v3.0/installation-guide/om-installation/6-uninstallation.md diff --git a/product/zh/docs-mogdb/v3.0/installation-guide/standard-installation/7-recommended-parameter-settings.md b/product/zh/docs-mogdb/v3.0/installation-guide/om-installation/7-recommended-parameter-settings.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/installation-guide/standard-installation/7-recommended-parameter-settings.md rename to product/zh/docs-mogdb/v3.0/installation-guide/om-installation/7-recommended-parameter-settings.md diff --git a/product/zh/docs-mogdb/v3.0/installation-guide/om-installation/installation-preparation/1-obtaining-installation-package.md b/product/zh/docs-mogdb/v3.0/installation-guide/om-installation/installation-preparation/1-obtaining-installation-package.md new file mode 100644 index 0000000000000000000000000000000000000000..4a83dabe16bb9418df15a2467cf03e3c6f764aaa --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/installation-guide/om-installation/installation-preparation/1-obtaining-installation-package.md @@ -0,0 +1,58 @@ +--- +title: 获取安装包 +summary: 获取安装包 +author: Zhang Cuiping +date: 2021-06-11 +--- + +## 获取安装包 + +云和恩墨MogDB网站下载页面提供了安装包的获取方式。 + +安装包下载链接: + +**操作步骤** + +本节以openEuler系统为例描述如何获取安装包。 + +1. 上传下载好的标准安装包,并解压以获得安装包。 + + ```bash + tar -xvf MogDB-x.x.x-openEuler-arm_64.tar + ``` + + > 说明: + > + > + 网站上提供标准安装包MogDB-x.x.x-openEuler-arm_64.tar,解压标准安装包后得到的MogDB-x.x.x-openEuler-64bit.tar.gz即为极简安装包。 + > + > + 在允许访问外网的环境中可通过wget命令直接下载标准安装包: + > + > ```bash + > wget -c https://cdn-mogdb.enmotech.com/mogdb-media/3.0.0/MogDB-3.0.0-openEuler-arm64.tar + > ``` + > + > 然后执行tar命令解压即可。 + +2. 检查安装包。 + + 解压安装包,检查安装目录及文件是否齐全。在安装包所在目录执行以下命令: + + ```bash + tar -jxf MogDB-x.x.x-openEuler-64bit.tar.gz + ls -1b + ``` + + 执行ls命令,显示类似如下信息: + + ```bash + total 90296 + drwx------ 3 root root 4096 Mar 31 21:18 bin + drwx------ 3 root root 4096 Mar 31 21:18 etc + drwx------ 3 root root 4096 Mar 31 21:18 include + drwx------ 4 root root 4096 Mar 31 21:18 jre + drwx------ 5 root root 4096 Mar 31 21:18 lib + -rw------- 1 root root 92427499 Apr 1 09:43 MogDB-x.x.x-openEuler-64bit.tar.gz + drwx------ 5 root root 4096 Mar 31 21:18 share + drwx------ 2 root root 4096 Mar 31 21:18 simpleInstall + -rw------- 1 root root 32 Mar 31 21:18 version.cfg + ``` diff --git a/product/zh/docs-mogdb/v3.0/installation-guide/standard-installation/2-environment-requirement.md b/product/zh/docs-mogdb/v3.0/installation-guide/om-installation/installation-preparation/2-environment-requirement.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/installation-guide/standard-installation/2-environment-requirement.md rename to product/zh/docs-mogdb/v3.0/installation-guide/om-installation/installation-preparation/2-environment-requirement.md diff --git a/product/zh/docs-mogdb/v3.0/installation-guide/standard-installation/3-modifying-os-configuration.md b/product/zh/docs-mogdb/v3.0/installation-guide/om-installation/installation-preparation/3-modifying-os-configuration.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/installation-guide/standard-installation/3-modifying-os-configuration.md rename to product/zh/docs-mogdb/v3.0/installation-guide/om-installation/installation-preparation/3-modifying-os-configuration.md diff --git a/product/zh/docs-mogdb/v3.0/installation-guide/simplified-installation-process/2-installation-on-a-single-node.md b/product/zh/docs-mogdb/v3.0/installation-guide/om-installation/simplified-installation-process/2-installation-on-a-single-node.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/installation-guide/simplified-installation-process/2-installation-on-a-single-node.md rename to product/zh/docs-mogdb/v3.0/installation-guide/om-installation/simplified-installation-process/2-installation-on-a-single-node.md diff --git a/product/zh/docs-mogdb/v3.0/installation-guide/simplified-installation-process/3-installation-on-primary-standby-nodes.md b/product/zh/docs-mogdb/v3.0/installation-guide/om-installation/simplified-installation-process/3-installation-on-primary-standby-nodes.md similarity index 100% rename from product/zh/docs-mogdb/v3.0/installation-guide/simplified-installation-process/3-installation-on-primary-standby-nodes.md rename to product/zh/docs-mogdb/v3.0/installation-guide/om-installation/simplified-installation-process/3-installation-on-primary-standby-nodes.md diff --git a/product/zh/docs-mogdb/v3.0/installation-guide/ptk-based-installation.md b/product/zh/docs-mogdb/v3.0/installation-guide/ptk-based-installation.md new file mode 100644 index 0000000000000000000000000000000000000000..5b5af9e90b8a76a80a09438c40e8bd898b18e34a --- /dev/null +++ b/product/zh/docs-mogdb/v3.0/installation-guide/ptk-based-installation.md @@ -0,0 +1,166 @@ +--- +title: PTK方式安装 +summary: PTK方式安装 +author: Yao Qian +date: 2022-06-02 +--- + +# PTK方式安装 + +本文介绍如何使用PTK安装 MogDB 数据库。 + +PTK (Provisioning Toolkit)是一款针对 MogDB 数据库开发的软件安装和运维工具,旨在帮助用户更便捷地安装部署MogDB数据库。PTK支持安装MogDB的操作系统如下表所示。 + +| 操作系统 | CPU架构 | +| :-------------------- | :------ | +| CentOS 7 | x86_64 | +| CentOS 8 | x86_64 | +| CentOS 8 | arm64 | +| EulerOS 2 | arm64 | +| EulerOS 2 | x86_64 | +| Kylin V10 | arm64 | +| Kylin V10 | x86_64 | +| NeoKylin V7 | x86_64 | +| Oracle Linux Server 7 | x86_64 | +| Oracle Linux Server 8 | x86_64 | +| openEuler 20 | arm64 | +| openEuler 20 | x86_64 | +| openEuler 22 | arm64 | +| openEuler 22 | x86_64 | +| RedHat 7 | x86_64 | +| Rocky Linux 7 | x86_64 | +| Rocky Linux 8 | x86_64 | +| SLES 12 | arm64 | +| Ubuntu 18 | x86_64 | +| UOS 20 | arm64 | +| UOS 20 | x86_64 | + +> **注意**:PTK工具本身可以在多种操作系统中运行,支持Linux,macOS,Windows,但是由于 MogDB 目前仅支持在Linux 系统中运行,因此需确保要运行MogDB数据库的服务器为 Linux 操作系统。 + +## 安装准备 + +有关环境要求和操作系统配置详情,请参见[环境要求](om-installation/installation-preparation/2-environment-requirement.md)和[操作系统配置](om-installation/installation-preparation/3-modifying-os-configuration.md)。 + +## 下载安装 PTK + +有关PTK安装,请访问[安装PTK](https://docs.mogdb.io/zh/ptk/v0.2/install)。 + +## 通过PTK安装MogDB + +### 准备拓扑配置文件 + +PTK安装需要用户提供配置文件config.yaml,PTK支持单节点安装以及多节点安装。下面以单节点安装和一主一备节点安装为例。 + +**单节点安装** + +```yaml +# config.yaml +global: + cluster_name: mogdb1 + user: omm + group: omm + base_dir: /opt/mogdb +db_servers: + - host: 127.0.0.1 + db_port: 26000 +``` + +如果全部使用默认值,则PTK 执行以下操作: + +* 在本机安装数据库; +* 运行数据库的操作系统用户为omm ,用户组名称也是omm,该用户没有默认密码; +* 数据库安装在 /opt/mogdb目录下,在该目录下会创建4个目录:app, data, log, tool,分别用于存储数据库软件、数据文件、数据库日志和数据库相关工具; +* 数据库监听端口为26000; + +**主备节点安装** + +```yaml +# config.yaml +global: + cluster_name: mogdb_cluster1 + user: omm + group: omm + base_dir: /opt/mogdb +db_servers: + - host: 192.168.0.1 + db_port: 26000 + role: primary + ssh_option: + port: 22 + user: root + password: [此处填写SSH登录密码] + - host: 192.168.0.2 + db_port: 26000 + role: standby + ssh_option: + port: 22 + user: root + password: [此处填写SSH登录密码] +``` + +### 检查本机系统 + +```shell +ptk checkos -f config.yaml +``` + +确保输出的检查结果均为 `OK` 或者 `Warning` ,如果有 `Abnormal` 或 `ExecuteError`出现,需用户根据日志提示先修正系统参数。 + +### 执行安装 + +```shell +ptk install -f config.yaml +``` + +默认会安装当前已经正式发布的 MogDB 最新版本,版本号可以在 MogDB 官网下载页面查询。安装过程中会提示用户输入数据库初始用户的密码,请用户自行记录并安全保存。PTK 自动完成所有安装操作后,会启动数据库实例。 + +PTK 也支持自定义安装包,可以通过手工下载安装包,指定安装。例如执行以下命令,将使用当前目录下的该安装包进行数据库安装。 + +```shell +ptk install -f config.yaml --pkg ./MogDB-3.0.0-openEuler-arm64.tar.gz +``` + +安装成功后,可以通过 `ptk ls` 来查看安装的实例信息。 + +### 访问数据库 + +```shell +su - omm +gsql -d postgres -p 26000 +``` + +## 通过PTK卸载MogDB + +> **注意**:数据库卸载后无法恢复,请谨慎操作。 + +执行如下命令卸载数据库: + +```bash +ptk uninstall (-f CONFIG.YAML|--name CLUSTER_NAME) +``` + +在卸载前,PTK 会交互式的询问用户,以确认要删除的数据库信息,确认是否要连带删除系统用户,以及确认是否要连带删除数据库数据。请在回答每一个问题时,确认你的回答,避免由于误操作导致不可恢复的数据丢失! + +在 PTK 执行数据库卸载操作时,如果用户指定了删除数据目录,PTK 仅会删除数据目录,不会删除数据目录所在的父目录,需用户手动清理父目录。 + +**单节点卸载** + +执行如下命令卸载MogDB: + +```shell +ptk uninstall -f CONFIG.YAML +``` + +**主备节点卸载** + +执行如下命令卸载MogDB数据库集群: + +```shell +ptk uninstall (-f CONFIG.YAML|--name CLUSTER_NAME) +``` + +使用集群名称来指定的前提是 `ptk ls` 可以正常查询到该集群。 + +## 相关页面 + +有关PTK工具详细使用手册,请访问[关于PTK](https://docs.mogdb.io/zh/ptk/v0.2/overview)。 \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/installation-guide/simplified-installation-process/1-installation-preparation.md b/product/zh/docs-mogdb/v3.0/installation-guide/simplified-installation-process/1-installation-preparation.md deleted file mode 100644 index a819c2a49ae7c641e72fe94bbbac526812464d2f..0000000000000000000000000000000000000000 --- a/product/zh/docs-mogdb/v3.0/installation-guide/simplified-installation-process/1-installation-preparation.md +++ /dev/null @@ -1,333 +0,0 @@ ---- -title: 安装准备 -summary: 安装准备 -author: Zhang Cuiping -date: 2021-06-11 ---- - -# 安装准备 - -本章详细介绍MogDB极简安装的环境准备和配置,极简安装包括单节点安装和一主一备节点安装,请在安装之前仔细阅读本章的内容。如果已完成本章节的配置,请忽略。 - -## 获取安装包 - -云和恩墨MogDB网站下载页面提供了安装包的获取方式。 - -安装包下载链接: - -**操作步骤** - -本节以openEuler系统为例描述如何获取安装包。 - -1. 上传下载好的标准安装包,并解压以获得极简安装包。 - - ```bash - tar -xvf MogDB-x.x.x-openEuler-arm_64.tar - ``` - - > 说明: - > - > + 网站上提供标准安装包MogDB-x.x.x-openEuler-arm_64.tar,解压标准安装包后得到的MogDB-x.x.x-openEuler-64bit.tar.gz即为极简安装包。 - > - > + 在允许访问外网的环境中可通过wget命令直接下载标准安装包: - > - > ```bash - > wget -c https://cdn-mogdb.enmotech.com/mogdb-media/3.0.0/MogDB-3.0.0-openEuler-arm64.tar - > ``` - > - > 然后执行tar命令解压即可。 - -2. 检查安装包。 - - 解压安装包,检查安装目录及文件是否齐全。在安装包所在目录执行以下命令: - - ```bash - tar -jxf MogDB-x.x.x-openEuler-64bit.tar.gz - ls -1b - ``` - - 执行ls命令,显示类似如下信息: - - ```bash - total 90296 - drwx------ 3 root root 4096 Mar 31 21:18 bin - drwx------ 3 root root 4096 Mar 31 21:18 etc - drwx------ 3 root root 4096 Mar 31 21:18 include - drwx------ 4 root root 4096 Mar 31 21:18 jre - drwx------ 5 root root 4096 Mar 31 21:18 lib - -rw------- 1 root root 92427499 Apr 1 09:43 MogDB-x.x.x-openEuler-64bit.tar.gz - drwx------ 5 root root 4096 Mar 31 21:18 share - drwx------ 2 root root 4096 Mar 31 21:18 simpleInstall - -rw------- 1 root root 32 Mar 31 21:18 version.cfg - ``` - -
- -## 软硬件环境要求 - -介绍MogDB的软硬件环境要求。建议部署MogDB的各服务器具有等价的软硬件配置。 - -### 硬件环境要求 - -表1 硬件环境要求列出了MogDB服务器应具备的最低硬件要求。在实际产品中,硬件配置的规划需考虑数据规模及所期望的数据库响应速度。请根据实际情况进行规划。 - -**表 1** 硬件环境要求 - -| 项目 | 配置描述 | -| :------- | :----------------------------------------------------------- | -| 内存 | 功能调试建议32GB以上。
性能测试和商业部署时,单实例部署建议128GB以上。
复杂的查询对内存的需求量比较高,在高并发场景下,可能出现内存不足。此时建议使用大内存的机器,或使用负载管理限制系统的并发。 | -| CPU | 功能调试最小1×8 核,2.0GHz。
性能测试和商业部署时,建议1×16核,2.0GHz。
CPU超线程和非超线程两种模式都支持。
说明:
个人开发者最低配置2核4G,推荐配置4核8G。
目前,MogDB支持鲲鹏920处理器,海光3000、5000、7000系列处理器,兆芯KH30000、KH20000、ZX-C+系列处理器和基于X86_64通用PC服务器的CPU。 | -| 硬盘 | 用于安装MogDB的硬盘需最少满足如下要求:
- 至少1GB用于安装MogDB的应用程序。
- 每个主机需大约300MB用于元数据存储。
- 预留70%以上的磁盘剩余空间用于数据存储。
建议系统盘配置为RAID1,数据盘配置为RAID5,且规划4组RAID5数据盘用于安装MogDB。有关RAID的配置方法在本手册中不做介绍。请参考硬件厂家的手册或互联网上的方法进行配置,其中Disk Cache Policy一项需要设置为Disabled,否则机器异常掉电后有数据丢失的风险。
MogDB支持使用SSD盘作为数据库的主存储设备,支持SAS接口和NVME协议的SSD盘,以RAID的方式部署使用。 | -| 网络要求 | 300兆以上以太网。
建议网卡设置为双网卡冗余bond。有关网卡冗余bond的配置方法在本手册中不做介绍。请参考硬件厂商的手册或互联网上的方法进行配置。 | - -### 软件环境要求 - -**表 2** 软件环境要求 - -| 软件类型 | 配置描述 | -| :------------ | :----------------------------------------------------------- | -| rdtscp指令集(x86) | 执行`lscpu \| grep rdtscp`命令查看是否支持rdtscp指令集。 | -| bmi2指令集(CentOS) | 执行`lscpu \| grep bmi2`命令查看是否支持bmi2指令集。 | -| 工具 | bzip2 | - -### 操作系统要求 - -本版本支持以下操作系统及CPU架构组合: - -**表 3** 操作系统要求 - -| 操作系统 | x86 | ARM | -| ------------------- | ---------------------- | ------ | -| CentOS 7.x | Intel,AMD,海光,兆芯 | 适配中 | -| Redhat 7.x | Intel,AMD,海光,兆芯 | 适配中 | -| openEuler 20.03 | Intel,AMD,海光,兆芯 | 鲲鹏 | -| 银河麒麟V10 | Intel,AMD,海光,兆芯 | 鲲鹏 | -| 统信UOS V20-D/V20-E | Intel,AMD,海光,兆芯 | 鲲鹏 | -| 统信UOS V20-A | Intel,AMD,海光,兆芯 | 适配中 | - -### 软件依赖要求 - -MogDB的软件依赖要求如表4 软件依赖要求所示。 - -建议使用上述操作系统安装光盘或者源中,下列依赖软件的默认安装包,若不存在下列软件,可参看软件对应的建议版本。 - -**表 4** 软件依赖要求 - -| 所需软件 | 建议版本 | -| :---------------------------- | :------------------------ | -| libaio-devel | 建议版本:0.3.109-13 | -| flex | 要求版本:2.5.31 以上 | -| bison | 建议版本:2.7-4 | -| ncurses-devel | 建议版本:5.9-13.20130511 | -| glibc-devel | 建议版本:2.17-111 | -| patch | 建议版本:2.7.1-10 | -| redhat-lsb-core | 建议版本:4.1 | -| readline-devel | 建议版本:7.0-13 | -| libnsl(openeuler+x86环境中) | 建议版本 :2.28-36 | -| openSSH | 建议版本 :8.4p1 | -| expect | 建议版本 :5.45.4 | - -
- -## 配置操作系统 - -> ![img](https://cdn-mogdb.enmotech.com/docs-media/icon/icon-caution.gif)**注意:** -> -> 以下动作需要以root用户进行操作,操作完成后请及时注销root用户,避免误操作。 - -### 关闭操作系统防火墙 - -为了在防火墙开启的状态下,确保MogDB的正常使用。用户需要将同MogDB相关的服务、协议、IP以及端口添加到MogDB主机的防火墙白名单中。 - -以openEuler操作系统为例,假设MogDB信息如表 5所示。 - -**表 5** MogDB信息 - -| 主机名称 | 内部IP | 外部IP | -| :------- | :----------- | :----------- | -| plat1 | 192.168.0.11 | 10.10.0.11 | -| 管理网络 | - | 10.10.64.236 | - -目前仅支持在防火墙关闭的状态下进行安装。 - -1. 修改SELinux运行模式,临时关闭防火墙。 - - ```bash - setenforce 0 - ``` - -2. 修改/etc/selinux/config文件中的“SELINUX“值为“disabled“。 - - a. 使用VIM打开config文件。 - - ```bash - vim /etc/selinux/config - ``` - - b. 修改“SELINUX“的值“disabled“,执行**:wq**保存并退出修改。 - - ```bash - SELINUX=disabled - ``` - -3. (可选)重新启动操作系统。 - - ```bash - reboot - ``` - - 以下步骤为永久性关闭防火墙。 - -4. 检查防火墙是否关闭。 - - ```bash - systemctl status firewalld - ``` - - 若防火墙状态显示为active (running),则表示防火墙未关闭,请执行[5](#5); - - 若防火墙状态显示为inactive (dead),则无需再关闭防火墙。 - -5. 关闭防火墙。 - - ```bash - systemctl disable firewalld.service - systemctl stop firewalld.service - ``` - -6. 在其他主机上重复步骤1到步骤5。 - -### 设置字符集参数 - -将各数据库节点的字符集设置为相同的字符集,可以在/etc/profile文件中添加“export LANG=XXX”(XXX为Unicode编码)。 - -```bash -vim /etc/profile -``` - -### 设置时区和时间 - -在各数据库节点上,确保时区和时间一致。 - -1. 执行如下命令检查各数据库节点时间和时区是否一致。如果各数据库节点时间和时区不一致区,请执行[步骤2](#2)~[步骤3](#3)。 - - ```bash - date - ``` - -2. 使用如下命令将各数据库节点/usr/share/zoneinfo/目录下的时区文件拷贝为/etc/localtime文件。 - - ```bash - cp /usr/share/zoneinfo/$地区/$时区 /etc/localtime - ``` - - > ![img](https://cdn-mogdb.enmotech.com/docs-media/icon/icon-note.gif) **说明**: - > `$地区/$时区`为需要设置时区的信息,例如:Asia/Shanghai。 - -3. 使用**date -s**命令将各数据库节点的时间设置为统一时间,举例如下。 - - ```bash - date -s "Sat Sep 27 16:00:07 CST 2020" - ``` - -### (可选)关闭swap交换内存 - -> ![img](https://cdn-mogdb.enmotech.com/docs-media/icon/icon-note.gif) **说明**: -> -> 关闭swap交换内存是为了保障数据库的访问性能,避免把数据库的缓冲区内存淘汰到磁盘上。 如果服务器内存比较小,内存过载时,可打开swap交换内存保障正常运行。 - -在各数据库节点上,使用swapoff -a命令将交换内存关闭。 - -```bash -swapoff -a -``` - -### 关闭RemoveIPC - -在各数据库节点上,关闭RemoveIPC。CentOS操作系统默认为关闭,可以跳过该步骤。 - -1. 修改/etc/systemd/logind.conf文件中的“RemoveIPC“值为“no“。 - - a. 使用VIM打开logind.conf文件。 - - ```bash - vim /etc/systemd/logind.conf - ``` - - b. 修改“RemoveIPC“的值“no“。 - - ```bash - RemoveIPC=no - ``` - -2. 修改/usr/lib/systemd/system/systemd-logind.service文件中的“RemoveIPC“值为“no“。 - - a. 使用VIM打开systemd-logind.service文件。 - - ```bash - vim /usr/lib/systemd/system/systemd-logind.service - ``` - - b. 修改“RemoveIPC“的值“no“。 - - ```bash - RemoveIPC=no - ``` - -3. 重新加载配置参数。 - - ```bash - systemctl daemon-reload - systemctl restart systemd-logind - ``` - -4. 检查修改是否生效。 - - ```bash - loginctl show-session | grep RemoveIPC - systemctl show systemd-logind | grep RemoveIPC - ``` - -5. 分别打开limits.conf和sysctl.conf配置文件,增加如下对应内容。 - - ```bash - vim /etc/security/limits.conf - #limits.conf配置文件增加如下内容: - omm soft nofile 1000000 - omm hard nofile 1000000 - vim /etc/sysctl.conf - #sysctl.conf配置文件增加如下内容: - kernel.sem = 250 32000 100 999 - ``` - -6. 在其他主机上重复[步骤1](#buzhou1)到[步骤5](#buzhou5)。 - -### 关闭HISTORY记录 - -> ![img](https://cdn-mogdb.enmotech.com/docs-media/icon/icon-note.gif) **说明**: -> -> 为避免指令历史记录安全隐患,需关闭各主机的history指令。 - -1. 修改根目录下/etc/profile文件。 - - ``` - vim /etc/profile - ``` - -2. 设置HISTSIZE值为0。例如,系统中HISTSIZE默认值为1000,将其修改为0。 - - ``` - HISTSIZE=0 - ``` - -3. 保存/etc/profile。 - - ``` - :wq - ``` - -4. 设置/etc/profile生效。 - - ``` - source /etc/profile - ``` diff --git a/product/zh/docs-mogdb/v3.0/quick-start/installation-on-a-single-node.md b/product/zh/docs-mogdb/v3.0/quick-start/installation-on-a-single-node.md index 3aadf6b70b62805a7cf3e4784abc5fe26145a9a6..43fa81036ff31b38dc48cb181433815c91deee0b 100644 --- a/product/zh/docs-mogdb/v3.0/quick-start/installation-on-a-single-node.md +++ b/product/zh/docs-mogdb/v3.0/quick-start/installation-on-a-single-node.md @@ -1,130 +1,120 @@ --- -title: 单实例安装 -summary: 单实例安装 -author: Zhang Cuiping -date: 2021-04-2 +title: 单节点安装 +summary: 单节点安装 +author: Yao Qian +date: 2022-06-02 --- -# 单实例安装 - -本文介绍MogDB极简版安装流程,极简版安装主要针对高校和个人测试环境,相对企业安装流程更简单快捷。该软件包中不含OM工具,采用脚本就可以实现一键式安装部署。 - -
- -## 准备软硬件安装环境 - -**软件环境:** 访问[MogDB下载页面](https://www.mogdb.io/downloads/mogdb)下载对应平台的安装包。解压标准安装包后得到的`MogDB-x.x.x-openEuler-64bit.tar.gz`即为极简安装包。 - -**硬件环境:** 个人开发者最低配置2核4G,推荐配置4核8G。 - -> 说明: -> -> 极简版为了适应小内存机器,在部署时将部分重要内存参数设置较低,如:“shared_buffers = 32MB”、“cstore_buffers = 512MB”。另外,极简版安装的数据库字符集将原先默认的SQL_ACSII字符集改为en_US.UTF-8,同时初始用户密码不做强制修改,即`modify_initial_password = false`。 - -
- -## 运行环境配置 +# 单节点安装 + +本文介绍如何使用PTK安装 MogDB 数据库。 + +PTK (Provisioning Toolkit)是一款针对 MogDB 数据库开发的软件安装和运维工具,旨在帮助用户更便捷地安装部署MogDB数据库。PTK支持安装MogDB的操作系统如下表所示。 + +| 操作系统 | CPU架构 | +| :-------------------- | :------ | +| CentOS 7 | x86_64 | +| CentOS 8 | x86_64 | +| CentOS 8 | arm64 | +| EulerOS 2 | arm64 | +| EulerOS 2 | x86_64 | +| Kylin V10 | arm64 | +| Kylin V10 | x86_64 | +| NeoKylin V7 | x86_64 | +| Oracle Linux Server 7 | x86_64 | +| Oracle Linux Server 8 | x86_64 | +| openEuler 20 | arm64 | +| openEuler 20 | x86_64 | +| openEuler 22 | arm64 | +| openEuler 22 | x86_64 | +| RedHat 7 | x86_64 | +| Rocky Linux 7 | x86_64 | +| Rocky Linux 8 | x86_64 | +| SLES 12 | arm64 | +| Ubuntu 18 | x86_64 | +| UOS 20 | arm64 | +| UOS 20 | x86_64 | + +> **注意**:PTK工具本身可以在多种操作系统中运行,支持Linux,macOS,Windows,但是由于 MogDB 目前仅支持在Linux 系统中运行,因此需确保要运行MogDB数据库的服务器为 Linux 操作系统。 + +## 安装准备 + +有关环境要求和操作系统配置详情,请参见[环境要求](om-installation/installation-preparation/2-environment-requirement.md)和[操作系统配置](om-installation/installation-preparation/3-modifying-os-configuration.md)。 + +## 下载安装 PTK + +有关PTK安装,请访问[安装PTK](https://docs.mogdb.io/zh/ptk/v0.2/install)。 + +## 通过PTK安装MogDB + +### 准备拓扑配置文件 + +PTK安装需要用户提供配置文件config.yaml,PTK支持单节点安装以及多节点安装。下面以单节点安装为例。 + +```yaml +# config.yaml +global: + cluster_name: mogdb1 + user: omm + group: omm + base_dir: /opt/mogdb +db_servers: + - host: 127.0.0.1 + db_port: 26000 +``` -1. 关闭防火墙,selinux +如果全部使用默认值,则PTK 执行以下操作: - ``` - systemctl disable firewalld.service - systemctl stop firewalld.service - setenforce=0 - sed -i '/^SELINUX=/c'SELINUX=disabled /etc/selinux/config - ``` +* 在本机安装数据库; +* 运行数据库的操作系统用户为omm ,用户组名称也是omm,该用户没有默认密码; +* 数据库安装在 /opt/mogdb目录下,在该目录下会创建4个目录:app, data, log, tool,分别用于存储数据库软件、数据文件、数据库日志和数据库相关工具; +* 数据库监听端口为26000; -2. 安装依赖包 +### 检查本机系统 - ``` - yum install libaio-devel flex bison ncurses-devel glibc-devel patch redhat-lsb-core readline-devel expect -y - ``` +```shell +ptk checkos -f config.yaml +``` -3. 设置时区 +确保输出的检查结果均为 `OK` 或者 `Warning` ,如果有 `Abnormal` 或 `ExecuteError`出现,需用户根据日志提示先修正系统参数。 - ``` - rm -fr /etc/localtime - ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime - ll /etc/localtime - ``` +### 执行安装 -4. openEuler操作系统需要关闭RemoveIPC,CentOS操作系统默认为关闭,可以跳过该步骤。 +```shell +ptk install -f config.yaml +``` - ``` - # 修改/etc/systemd/logind.conf文件中的“RemoveIPC”值为“no”。 - vim /etc/systemd/logind.conf - RemoveIPC=no - - # 修改/usr/lib/systemd/system/systemd-logind.service文件中的“RemoveIPC”值为“no”。 - vim /usr/lib/systemd/system/systemd-logind.service - RemoveIPC=no - - # 重新加载配置参数。 - systemctl daemon-reload - systemctl restart systemd-logind - - # 检查修改是否生效。 - loginctl show-session | grep RemoveIPC - systemctl show systemd-logind | grep RemoveIPC - ``` +默认会安装当前已经正式发布的 MogDB 最新版本,版本号可以在 MogDB 官网下载页面查询。安装过程中会提示用户输入数据库初始用户的密码,请用户自行记录并安全保存。PTK 自动完成所有安装操作后,会启动数据库实例。 -
+PTK 也支持自定义安装包,可以通过手工下载安装包,指定安装。例如执行以下命令,将使用当前目录下的该安装包进行数据库安装。 -## 安装步骤 +```shell +ptk install -f config.yaml --pkg ./MogDB-3.0.0-openEuler-arm64.tar.gz +``` -1. 创建相关目录、用户、组,并授权。 +安装成功后,可以通过 `ptk ls` 来查看安装的实例信息。 - ``` - groupadd dbgrp -g 2000 - useradd omm -g 2000 -u 2000 - mkdir -p /opt/software/mogdb - chown -R omm:dbgrp /opt/software/mogdb - ``` - -2. 解压极简版安装包到安装目录。 +### 访问数据库 - ``` - su - omm - cd /opt/software/mogdb/ - tar -jxf MogDB-x.x.x-openEuler-64bit.tar.gz -C /opt/software/mogdb/ - ``` +```shell +su - omm +gsql -d postgres -p 26000 +``` -3. 进入解压后目录下的simpleInstall。 +## 通过PTK卸载MogDB - ```bash - cd /opt/software/mogdb/simpleInstall/ - ``` +> **注意**:数据库卸载后无法恢复,请谨慎操作。 -4. 执行install.sh脚本安装MogDB。 +执行如下命令卸载数据库: - ```bash - sh install.sh -w Enmo@123 - ``` +```bash +ptk uninstall -f CONFIG.YAML +``` - > ![img](https://cdn-mogdb.enmotech.com/docs-media/icon/icon-note.gif) **说明:** - > - > - -w:初始化数据库密码(gs_initdb指定),安全需要必须设置。 - > - -p:指定的MogDB端口号,如不指定,默认为5432。 - > - -h|--help:打印使用说明。 - > - 安装后,数据库的名称为sgnode。 - > - 安装后,数据库目录安装路径`/opt/software/mogdb/data/single_node`,其中`/opt/software/mogdb`为解压包路径,`data/single_node`为新创建的数据库节点目录。 +在卸载前,PTK 会交互式的询问用户,以确认要删除的数据库信息,确认是否要连带删除系统用户,以及确认是否要连带删除数据库数据。请在回答每一个问题时,确认你的回答,避免由于误操作导致不可恢复的数据丢失! -
+在 PTK 执行数据库卸载操作时,如果用户指定了删除数据目录,PTK 仅会删除数据目录,不会删除数据目录所在的父目录,需用户手动清理父目录。 -## 检查及使用数据库 +## 相关页面 -``` -## 配置PATH -echo "PATH=/opt/software/mogdb/bin:\$PATH" >> /home/omm/.bash_profile -source ~/.bash_profile --bash: ulimit: open files: cannot modify limit: Operation not permitted -(默认设置fd可用大小超过系统设置,可以忽略该设置) - -## 登录数据库 -gsql -d postgres -p 5432 -r -gsql ((MogDB x.x.x build 56189e20) compiled at 2022-01-07 18:47:53 commit 0 last mr ) -Non-SSL connection (SSL connection is recommended when requiring high-security) -Type "help" for help. - -MogDB=# -``` \ No newline at end of file +有关PTK工具详细使用手册,请访问[关于PTK](https://docs.mogdb.io/zh/ptk/v0.2/overview)。 \ No newline at end of file diff --git a/product/zh/docs-mogdb/v3.0/toc.md b/product/zh/docs-mogdb/v3.0/toc.md index bc2747e9cc7e868e114b43a2ccad80919cdb0ed0..a2dd2bdb046eb19a0676e00dcf72e1aa4b5dd7f4 100644 --- a/product/zh/docs-mogdb/v3.0/toc.md +++ b/product/zh/docs-mogdb/v3.0/toc.md @@ -145,19 +145,20 @@ + [使用kubernetes部署分布式数据库](/characteristic-description/middleware/deploying-a-distributed-database-using-kubernetes.md) + 安装指南 + [容器化安装](/installation-guide/docker-installation/docker-installation.md) - + 极简安装 - + [安装准备](/installation-guide/simplified-installation-process/1-installation-preparation.md) - + [单节点安装](/installation-guide/simplified-installation-process/2-installation-on-a-single-node.md) - + [一主一备节点安装](/installation-guide/simplified-installation-process/3-installation-on-primary-standby-nodes.md) - + 标准安装 - + [安装概述](/installation-guide/standard-installation/1-installation-overview.md) + + [PTK方式安装](/installation-guide/ptk-based-installation.md) + + OM方式安装 + + [安装概述](/installation-guide/om-installation/1-installation-overview.md) + 安装准备 - + [环境要求](/installation-guide/standard-installation/2-environment-requirement.md) - + [修改操作系统配置](/installation-guide/standard-installation/3-modifying-os-configuration.md) - + [安装MogDB](/installation-guide/standard-installation/4-installing-mogdb.md) - + [安装验证](/installation-guide/standard-installation/5-verifying-installation.md) - + [推荐参数设置及新建测试库](/installation-guide/standard-installation/7-recommended-parameter-settings.md) - + [卸载MogDB](/installation-guide/standard-installation/6-uninstallation.md) + + [获取安装包](/installation-guide/om-installation/installation-preparation/1-obtaining-installation-package.md) + + [环境要求](/installation-guide/om-installation/installation-preparation/2-environment-requirement.md) + + [操作系统配置](/installation-guide/om-installation/installation-preparation/3-modifying-os-configuration.md) + + 极简安装 + + [单节点安装](/installation-guide/om-installation/simplified-installation-process/2-installation-on-a-single-node.md) + + [一主一备节点安装](/installation-guide/om-installation/simplified-installation-process/3-installation-on-primary-standby-nodes.md) + + [标准安装](/installation-guide/om-installation/4-installing-mogdb.md) + + [安装验证](/installation-guide/om-installation/5-verifying-installation.md) + + [推荐参数设置及新建测试库](/installation-guide/om-installation/7-recommended-parameter-settings.md) + + [卸载MogDB](/installation-guide/om-installation/6-uninstallation.md) + [手动安装](/installation-guide/manual-installation.md) + 管理指南 + 日常运维 diff --git a/product/zh/docs-mogdb/v3.0/toc_install.md b/product/zh/docs-mogdb/v3.0/toc_install.md index 8eb130483f9b24a8daada7ad3f83dfe336666ef9..73f84f4e8c7b5b1836c46309b3dac9dadd89a746 100644 --- a/product/zh/docs-mogdb/v3.0/toc_install.md +++ b/product/zh/docs-mogdb/v3.0/toc_install.md @@ -5,17 +5,18 @@ ## 安装指南 + [容器化安装](/installation-guide/docker-installation/docker-installation.md) -+ 极简安装 - + [安装准备](/installation-guide/simplified-installation-process/1-installation-preparation.md) - + [单节点安装](/installation-guide/simplified-installation-process/2-installation-on-a-single-node.md) - + [一主一备节点安装](/installation-guide/simplified-installation-process/3-installation-on-primary-standby-nodes.md) -+ 标准安装 - + [安装概述](/installation-guide/standard-installation/1-installation-overview.md) ++ [PTK方式安装](/installation-guide/ptk-based-installation.md) ++ OM方式安装 + + [安装概述](/installation-guide/om-installation/1-installation-overview.md) + 安装准备 - + [环境要求](/installation-guide/standard-installation/2-environment-requirement.md) - + [修改操作系统配置](/installation-guide/standard-installation/3-modifying-os-configuration.md) - + [安装MogDB](/installation-guide/standard-installation/4-installing-mogdb.md) - + [安装验证](/installation-guide/standard-installation/5-verifying-installation.md) - + [推荐参数设置及新建测试库](/installation-guide/standard-installation/7-recommended-parameter-settings.md) - + [卸载MogDB](/installation-guide/standard-installation/6-uninstallation.md) + + [获取安装包](/installation-guide/om-installation/installation-preparation/1-obtaining-installation-package.md) + + [环境要求](/installation-guide/om-installation/installation-preparation/2-environment-requirement.md) + + [操作系统配置](/installation-guide/om-installation/installation-preparation/3-modifying-os-configuration.md) + + 极简安装 + + [单节点安装](/installation-guide/om-installation/simplified-installation-process/2-installation-on-a-single-node.md) + + [一主一备节点安装](/installation-guide/om-installation/simplified-installation-process/3-installation-on-primary-standby-nodes.md) + + [标准安装](/installation-guide/om-installation/4-installing-mogdb.md) + + [安装验证](/installation-guide/om-installation/5-verifying-installation.md) + + [推荐参数设置及新建测试库](/installation-guide/om-installation/7-recommended-parameter-settings.md) + + [卸载MogDB](/installation-guide/om-installation/6-uninstallation.md) + [手动安装](/installation-guide/manual-installation.md)