将 github 存储库与我的 Amazon EC2 实例 AWS 链接
Linking github repository with my Amazon EC2 Instances AWS
我是 github 和 AWS 的新手。我想将我的代码直接从我的 github 存储库(一个简单的 'hello world' html 页面)部署到我的 EC2 实例上。我正在学习本教程 http://docs.aws.amazon.com/codedeploy/latest/userguide/github-integ-tutorial.html 但是在第 4 步我很挣扎。
在'launched the instance and verified the AWS CodeDeploy agent is running, go to the next step'之后说。
但是,如何验证 AWS CodeDeploy Agent 是 运行?它说要遵循这个 link,但是我迷失了它 http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-run-agent.html#how-to-run-agent-install-windows(windows 服务器)
我应该把这些命令放在哪里?我首先需要 AWS SDK 吗?
谢谢
您可以通过命令
检查代码部署代理是否运行ning
sudo service codedeploy-agent status
如果命令returns出错,说明AWS CodeDeploy代理没有安装。按照 To install, uninstall, or reinstall the AWS CodeDeploy agent for Amazon Linux or RHEL
中的说明进行安装
如果安装了 AWS CodeDeploy 代理并且 运行ning,您应该会看到类似 The AWS CodeDeploy agent is running.
的消息
如果您看到类似错误的消息:No AWS CodeDeploy agent running
,请启动服务并运行执行以下两个命令,一次一个:
sudo service codedeploy-agent start
sudo service codedeploy-agent status
如果您需要其他 os 类型的信息,请参阅 http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-run-agent.html
我是 github 和 AWS 的新手。我想将我的代码直接从我的 github 存储库(一个简单的 'hello world' html 页面)部署到我的 EC2 实例上。我正在学习本教程 http://docs.aws.amazon.com/codedeploy/latest/userguide/github-integ-tutorial.html 但是在第 4 步我很挣扎。
在'launched the instance and verified the AWS CodeDeploy agent is running, go to the next step'之后说。
但是,如何验证 AWS CodeDeploy Agent 是 运行?它说要遵循这个 link,但是我迷失了它 http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-run-agent.html#how-to-run-agent-install-windows(windows 服务器)
我应该把这些命令放在哪里?我首先需要 AWS SDK 吗?
谢谢
您可以通过命令
检查代码部署代理是否运行ningsudo service codedeploy-agent status
如果命令returns出错,说明AWS CodeDeploy代理没有安装。按照 To install, uninstall, or reinstall the AWS CodeDeploy agent for Amazon Linux or RHEL
中的说明进行安装如果安装了 AWS CodeDeploy 代理并且 运行ning,您应该会看到类似 The AWS CodeDeploy agent is running.
如果您看到类似错误的消息:No AWS CodeDeploy agent running
,请启动服务并运行执行以下两个命令,一次一个:
sudo service codedeploy-agent start
sudo service codedeploy-agent status
如果您需要其他 os 类型的信息,请参阅 http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-run-agent.html