Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: xixirangrang <[email protected]>
  • Loading branch information
Yujie-Xie and hfxsd authored Feb 14, 2025
1 parent 725810f commit 78dca1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tiup/tiup-cluster-no-sudo-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ summary: 介绍如何使用 TiUP no-sudo 模式部署运维 TiDB 线上集群
执行 `systemctl --user`。如果没有报错,说明 `systemd user` 模式已经正常启动。
3. 使用 `root` 用户执行以下命令,为 systemd 用户实例启用驻留
3. 使用 `root` 用户执行以下命令,为 systemd 用户 `tidb` 启用驻留
```bash
loginctl enable-linger tidb
```
您可以阅读 systemd 文档 [systemd 用户实例的自动启动](https://wiki.archlinux.org/title/Systemd/User#Automatic_start-up_of_systemd_user_instances) 以了解更多
更多详情,请参考 [systemd 用户实例的自动启动](https://wiki.archlinux.org/title/Systemd/User#Automatic_start-up_of_systemd_user_instances)。
3. 在中控机使用 ssh-keygen 生成密钥,并将公钥复制到其他部署机器,完成 SSH 互信。
Expand Down

0 comments on commit 78dca1a

Please sign in to comment.