Skip to content

Commit 476a051

Browse files
authored
check-before-deployment: add selinux (#19703)
1 parent ec29eb8 commit 476a051

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

check-before-deployment.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,3 +781,7 @@ sudo yum -y install numactl
781781
```
782782
783783
To get help information of the `tiup cluster exec` command, run the `tiup cluster exec --help` command.
784+
785+
## Disable SELinux
786+
787+
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.

dm/quick-start-with-dm.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ aliases: ['/docs/tidb-data-migration/dev/get-started/']
88

99
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.
1010

11+
> **Note:**
12+
>
13+
> If your target machine's operating system supports SELinux, ensure that SELinux is **disabled**.
14+
1115
## Step 1: Deploy a DM cluster
1216

1317
1. Install TiUP, and install [`dmctl`](/dm/dmctl-introduction.md) using TiUP:

0 commit comments

Comments
 (0)