27 Jul 2010

Ubuntu Lamp Server

Quick and dirty Ubuntu Lamp Server

A lamp server on Ubuntu is pretty simple to setup to get working right away. Simply run the following command:

sudo tasksel install lamp-server

Create a MySQL password:

Tasksel will continue to install the components:

Open your browser and point to http://localhost. You should see the following message:

It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.

24 Jul 2010

Installing JRE on Ubuntu 10.04

How to install JRE6 on Ubuntu 10.04

Installing Java Runtime Environment and the plug-in on Ubuntu Lucid is pretty straightforward. The first step is to enable the partner repository in /etc/apt/sources.list

## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner

Once the sources are added, run an update

sudo apt-get update

Run the following command to install the Java Packages

sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

Run the following to verify the installation

java -version

java version “1.6.0_20″
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)