亚马逊网络服务和ubuntu 10.04 ec2实例

Jee*_*gre 7 apache tomcat amazon-ec2 amazon-web-services

我已经创建了ubuntu 10.04 ec2映像,现在我需要在我的实例上安装tomcat apache和jdk6但是每当我使用命令sudo apt-get install sun-java6-jdk或者sudo apt-get install tomcat6 admin或者sudo 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
Run Code Online (Sandbox Code Playgroud)

小智 8

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

sudo apt-add-repository ppa:awstools-dev/awstools
sudo apt-get update
sudo apt-get install ec2-api-tools -y
Run Code Online (Sandbox Code Playgroud)

这对于更远的版本以及最新的官方错误修复等非常有用,只需运行常规即可

sudo apt-get update
sudo apt-get upgrade -y
Run Code Online (Sandbox Code Playgroud)