From 1833225487f77b095657ecc278fd71115e0bcd53 Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Fri, 20 Dec 2024 09:34:45 +0800 Subject: [PATCH] check-before-deployment: add selinux (#19703) (#19739) --- check-before-deployment.md | 4 ++++ dm/quick-start-with-dm.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/check-before-deployment.md b/check-before-deployment.md index 93478787da6b1..65e39ac4437e1 100644 --- a/check-before-deployment.md +++ b/check-before-deployment.md @@ -780,3 +780,7 @@ sudo yum -y install numactl ``` To get help information of the `tiup cluster exec` command, run the `tiup cluster exec --help` command. + +## Disable SELinux + +Use the [getenforce(8)](https://linux.die.net/man/8/getenforce) utility to check if SELinux is disabled or set to permissive. SELinux in enforcing mode can cause deployment failures. For instructions on disabling SELinux, refer to your operating system's documentation. diff --git a/dm/quick-start-with-dm.md b/dm/quick-start-with-dm.md index 2bf131fa2b437..8af12a4bd4513 100644 --- a/dm/quick-start-with-dm.md +++ b/dm/quick-start-with-dm.md @@ -7,6 +7,10 @@ summary: Learn how to quickly deploy a DM cluster using binary packages. This document describes how to migrate data from MySQL to TiDB using [TiDB Data Migration (DM)](/dm/dm-overview.md). This guide is a quick demo of DM features and is not recommended for any production environment. +> **Note:** +> +> If your target machine's operating system supports SELinux, ensure that SELinux is **disabled**. + ## Step 1: Deploy a DM cluster 1. Install TiUP, and install [`dmctl`](/dm/dmctl-introduction.md) using TiUP: