亚马逊网络服务和

亚马逊网络服务和

本文介绍了亚马逊网络服务和 ubuntu 10.04 ec2 实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I have created ubuntu 10.04 ec2 image and now I need to install tomcat apache and jdk6 on my instance but whenever I use the command sudo apt-get install sun-java6-jdk or sudo apt-get install tomcat6 admin or 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

推荐答案

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

Another option is to add their official repository to apt - this will provide you up to date AWS tools:

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

这对于更远的版本和最新的官方错误修复等非常有用,只需运行通常的程序

This is extremely useful for farther releases and and for up to date official bug fixes etc. just by running the usual

sudo apt-get update
sudo apt-get upgrade -y

这篇关于亚马逊网络服务和 ubuntu 10.04 ec2 实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-28 05:24