I needed to do some development and testing in IBM WebSphere Application Server 7.0, however I was unable to get the bugger installed in my development environment (on Mac OS X 1.6 … well it has only been out for a week ) VMWare Fusion had to come to the rescue.
- Install Ubuntu 9.0.4 as per normal; and let it update itself to include the most recent patches and updates.
- Add the Multiverse Repository through Add/Remove Programs.
- Install Sun’s latest JDK by following these steps (credit to Brian)
- Add the following to the top of the list in
/etc/jvm(again, credit to Brian)
- Because Ubuntu uses dash as its default shell instead of bash, this breaks WAS’ installation routine when it comes to setting up the domain profile. (It hangs for ages at 31% when executing the importConfigArchive script, and the fails silently, which is nice.) To fix this you need to relink back to bash (according to Graham, this actually fixes a number of third-party software installation issues):
- Install the Linux build of IBM WebSphere Application Server 7.0 as normal via
sudo ./launchpad.shto the default /opt/IBM/WebSphere/AppServer directory.
- Because doing everything as root is not secure or cool – even for a development environment –
sudo chown -hRthe
/opt/IBMdirectory to a dedicated appserver user.
- Make sure everything works by logging into the admin console via the First Steps , and finally do a
sudo update-rc.d -f gdm removeto stop the automatic GUI when you reboot the machine/vmware image.
sudo apt-get install sun-java6-jdk sun-java6-plugin
update-java-alternatives -s java-6-sun
ln -s /bin/bash sh
Job’s a good’un.