Configuring Sun server JRE for Ubuntu 10.04 on Amazon EC2 – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.
But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, ubuntu, java, ubuntu-10.04, .
I’ve just created a brand new Ubuntu 10.04 Amazon EC2 image that I plan to use as a java application server.
I can log in successfully by SSH.
I want to install the Sun server JRE but have a couple of questions:
- Access to the “multiverse” doesn’t
seem to be enabled in the EC2
instance – how to do this?
- What is the best strategy to avoid reinstalling whenever I start a new
Can any experienced Ubuntu wizard give me some specific advice on how to get this set up in the best possible way?
OK, I think I figured out an approach that works:
Edit sources.list file: sudo pico /etc/apt/sources.list Add lines: deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse deb http://archive.canonical.com/ubuntu lucid partner Update source list: sudo apt-get update Install Sun Java JRE: sudo apt-get install sun-java6-jre