亚马逊Web服务和Ubuntu 10.04 EC2实例 [英] Amazon web services and ubuntu 10.04 ec2 instance

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

问题描述

我创建的Ubuntu 10.04 EC2映像,现在我需要安装Tomcat Apache和JDK6在我的实例,但每当我用命令命令和apt-get安装太阳的Java6-JDK 命令和apt-get安装的tomcat6管理员命令和apt-get安装EC2-API工具

 包装EC2-API的工具不可用,但被另一个软件包引用。
读取软件包列表...完成
构建依赖关系树
读取状态信息...完成
包装EC2-API的工具不可用,但被另一个软件包引用。
这可能意味着包丢失,已被废弃,或者只能从其他来源
E:包装EC2-API的工具没有安装候选人
 

解决方案

另一种方法是增加他们官方资料库和apt - 这将为您提供最新的AWS工具:

  sudo易于附加存储库PPA:awstools-dev /目录awstools
sudo易于得到更新
命令和apt-get安装EC2-API工具-y
 

这是为进一步发行及为非常有用的最新官方漏洞修复等只需运行通常的

  sudo易于得到更新
命令和apt-get升级-y
 

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

解决方案

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

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆