2016-02-20 118 views
0

我是否正确理解我无法使用Debian EC2实例上的“运行命令”功能?EC2-运行命令在Debian实例上可用?

此页面不包括Debian的: http://docs.aws.amazon.com/fr_fr/AWSEC2/latest/UserGuide/remote-commands-prereq.html

我尝试了Ubuntu的安装,下载包(它说DEBIAN)后,我跑了这一点:

dpkg -i /tmp/ssm/amazon-ssm-agent.deb 

而得到这个错误:

(Reading database ... 49940 files and directories currently installed.) 
Preparing to unpack /tmp/ssm/amazon-ssm-agent.deb ... 
Stopping agent 
/var/lib/dpkg/info/amazon-ssm-agent.prerm: 2: /var/lib/dpkg/info/amazon-ssm-agent.prerm: stop: not found 
... 

如果它与Debian不兼容,那么是否有任何理性? AWS是否推荐通过Debian使用Ubunte?

+0

这个问题可能会脱离主题,更适合于serverfault.com – ptierno

回答

1

它将在Debian Jessie上运行,但您需要为它创建一个systemd服务配置。幸运的是,亚马逊已经为RHEL和CentOS创建了一个。只需使用RPM中的amazon-ssm-agent.service文件即可。

相关问题