AWS EC2 上的代码服务器 return 错误且未启动
Code server on AWS EC2 return error and doesn't start
我按照指南在 EC2 上安装代码服务器,但它不起作用。
当我从浏览器访问我的实例时,出现此错误:
Error connecting to your code-server instance
Ensure code-server is running and was properly started with the --link command line flag.
我尝试在 EC2 上手动安装代码服务器,但它没有启动。
最后,我在 aws 市场上找到了代码服务器 (aws.amazon.com/marketplace/pp/prodview-bw5rwv7u435ey)
并按照说明进行操作,但在命令中:
systemctl status code-server
我有:
code-server.service
Loaded: bad-setting (Reason: Unit code-server.service has a bad unit file setting.)
Active: inactive (dead)
我如何 运行 AWS EC2 上的代码服务器?
谢谢
仅通过安装脚本安装 code-server。
curl -fsSL https://code-server.dev/install.sh | sh
安装 Caddy。
有效
不要遵循 gitHub 上的指南,不要 运行 启动-code-server.sh
当您通过浏览器访问时,它会询问您密码。您在 ~/.config/code-server/config.yaml
上找到密码
我按照指南在 EC2 上安装代码服务器,但它不起作用。
当我从浏览器访问我的实例时,出现此错误:
Error connecting to your code-server instance
Ensure code-server is running and was properly started with the --link command line flag.
我尝试在 EC2 上手动安装代码服务器,但它没有启动。 最后,我在 aws 市场上找到了代码服务器 (aws.amazon.com/marketplace/pp/prodview-bw5rwv7u435ey) 并按照说明进行操作,但在命令中:
systemctl status code-server
我有:
code-server.service
Loaded: bad-setting (Reason: Unit code-server.service has a bad unit file setting.)
Active: inactive (dead)
我如何 运行 AWS EC2 上的代码服务器?
谢谢
仅通过安装脚本安装 code-server。
curl -fsSL https://code-server.dev/install.sh | sh
安装 Caddy。 有效
不要遵循 gitHub 上的指南,不要 运行 启动-code-server.sh
当您通过浏览器访问时,它会询问您密码。您在 ~/.config/code-server/config.yaml