一尘不染

Amazon Web Services和Ubuntu 10.04 EC2实例

tomcat

我已经创建了ubuntu 10.04 ec2映像,现在我需要在实例上安装tomcat apache和jdk6,但是无论何时使用命令sudo apt-get install sun-java6-jdkor sudo apt-get install tomcat6 adminsudo apt-get install ec2-api-tools

Package ec2-api-tools is not available, but is referred to by another package.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ec2-api-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package ec2-api-tools has no installation candidate

阅读 180

收藏
2020-06-16

共1个答案

一尘不染

另一个选择是将其官方存储库添加到apt-
这将为您提供最新的AWS工具:

sudo apt-add-repository ppa:awstools-dev/awstools
sudo apt-get update
sudo apt-get install ec2-api-tools -y

这对于以后的发行版以及最新的官方错误修复等非常有用,只需运行通常的

sudo apt-get update
sudo apt-get upgrade -y
2020-06-16