From dcbd01c70b74ee4faf49e7aa2024c46e539f1c03 Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Fri, 20 Dec 2024 09:34:42 +0800 Subject: [PATCH] check-before-deployment: add selinux (#19703) (#19738) --- 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 5b6379790f0fc..7a7157d12b91f 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: