first commit
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2025-12-13 17:57:17 +08:00
commit 6165fb97a5
109 changed files with 9251 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
> 本文作者:丁辉
# Teleport部署
[官方脚本](https://goteleport.com/download/)
[本地部署官方文档](https://goteleport.com/docs/get-started/)
## 部署
1. 安装
```bash
curl https://goteleport.com/static/install.sh | bash -s 14.0.0
```
2. 生成 https 配置文件
```bash
sudo teleport configure -o file \
--cluster-name=teleport.*.cn \
--public-addr=teleport.*.cn:443 \
--cert-file=/root/cert/nginx.pem \
--key-file=/root/cert/nginx.key
```
3. 启动
```bash
systemctl enable teleport
systemctl start teleport
```
4. 注册用户
```bash
sudo tctl users add admin --roles=editor,access --logins=root
```