Skip to content

Commit

Permalink
check-before-deployment: add selinux (#19703)
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden authored Dec 20, 2024
1 parent ec29eb8 commit 476a051
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions check-before-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -781,3 +781,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.
4 changes: 4 additions & 0 deletions dm/quick-start-with-dm.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ aliases: ['/docs/tidb-data-migration/dev/get-started/']

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:
Expand Down

0 comments on commit 476a051

Please sign in to comment.