Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon web services and ubuntu 10.04 ec2 instance

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
like image 399
Jeevan Dongre Avatar asked Mar 17 '11 09:03

Jeevan Dongre


People also ask

How do I connect to AWS EC2 instance Ubuntu?

Open the Amazon EC2 console. In the left navigation pane, choose Instances and select the instance to which to connect. Choose Connect. On the Connect To Your Instance page, choose EC2 Instance Connect (browser-based SSH connection), Connect.

Does Amazon Web Services Support Ubuntu?

Ubuntu is a favorite platform for Linux stacks; AWS has hundreds of application stacks and application servers based on Ubuntu.

Is there a GUI for EC2 instance?

Amazon ec2 Linux instances do not come with a GUI. By default, you need terminal access for all application configuration. Most of the developers/sysadmins working with Linux would prefer the command line over Graphical User Interface.


1 Answers

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
like image 177
Emanuel Ilyayev Avatar answered Sep 21 '22 09:09

Emanuel Ilyayev