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