Setting up Ubuntu to run with the full Sun/Java web stack

I have a need to setup Ubuntu 7.04 for a project I am currently working on. Being new to Ubuntu, I thought it would be nice to document the steps involved. Ubuntu is a little different in that there is no root user per say. If you forget to sudo your installation scripts odd things happen that can get you into a rat hole... especially if you (like me) are new to Ubuntu.

Don't expect super great insights here - just points of interest and general guidance / suggestions. Also, don't expect redocumentation of what is already available. Where documentation exists and is accurate, I will point you to it. Also, don't look here for and insight into older versions of Ubuntu

Who should read this thread? If you plan on installing Ubuntu and you would like to include the full Sun / Java Open Source stack (namely: Sun Web Server, Netbeans, Glassfish, etc) plus some 3rd party applications (eg: Oracle, VMWare) then this thread is for you. I make no assumptions of Ubuntu of Sun experience. In fact; I am trying to target that group of people with little Ubuntu or Sun/Java experience.

Where the process goes smoothly, I will just outline the steps and point you to the right documentation and software to download. Where things get ugly, I will have a bit more to say. Out of the box, Ubuntu has other (default) web applications (eg apache). What that is well and good, I will touch upon how you undo (or not select them to begin with.

Machine Config: the machine in question is a Sun Ultra 40 Workstation configured as follows:

  • 2 - AMD Opteron Model 280 (Dual-core) processors
  • 8 - GB (4 \* 2 GB) DDR-400 ECC memory
  • 3 - 250 GB 7200 RPM SATA Disk
  • 1 - NVIDIA Quadro FX3500 PCI-Express graphics card
  • 1 - DVD Dual
  • 2 - 10/100/1000 Ethernet ports
  • 2 - x16 PCI-Express slots
  • 2 - x4 PCI-Express slots
  • 2 - legacy PCI slots
  • 4 - GB (2 \* 2 GB) DDR-400 ECC memory kit for Sun Ultra 40 workstation
  • 1 - 24.1-inch TFT LCD Color Monitor (27 inch CRT equivalent)
  • 1 - NVIDIA Quadro FX 560 entry 3D graphics card Installation

Goals: Setup a Ubuntu server that is running the full Sun / Java open source web stack in place of the default Apache / MySQL servers. Products to be installed and configured include:

  • Sun WebServer
  • Netbeans (5.5.1 and 6.0)
  • Glassfish
  • VMWare with the following virtual machines:
    • Windows XP
    • Solaris 10
    • Ubuntu - for experimentation
  • Oracle 10g
  • Access Manager
  • Identity Manager
Final point: Much of what you will find here will be (IMHO) fairly mundane. The bottom line is that I need to document what issues I ran into and I figured that I would share them with others so that we might all benefit. Consequently; any feed back is welcome.
Comments:

If you get tired of putting sudo in front of all your commands you can get a root prompt with "sudo -i". It's also possible to setup a root user that you can login as.

There's more about that somewhere on wiki.ubuntu.com and/or help.ubuntu.com, and probably somewhere in ubuntuforums.org and elsewhere too.

I came to this post from the aquarium and I'm looking forward to reading your series.

Regards,

-james.

Posted by James Stansell on August 13, 2007 at 05:54 AM EDT #

Thanks, I have since read how you can setup a "sudo user". BUT have also see traces (aka read between the lines) that if you do it wrong, you will screw up your user account. I have read the work-arounds on how to undo the sudo, but I'd rather not go there.

I have setup a ubuntu OS on a VM server on my box. One day, when I have some free time, I will try experimenting with the sudo user on the virtual server. This way when (not if) I screw it up, I only need recopy the VM image and start over ;-)

I will be putting more on this blog as I come across useful information.

Posted by Ken Kranz on September 05, 2007 at 04:50 AM EDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

kenkranz

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today