Files
Linux/资源安装/Teleport部署.md
offends cee91802b3
Some checks failed
continuous-integration/drone Build is failing
synchronization
2025-08-25 15:57:40 +08:00

41 lines
708 B
Markdown

> 本文作者:丁辉
# 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
```