我按照指南在 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 上运行代码服务器?
谢谢