Tuesday, 15 June 2010

Install the WAS OSGi Feature pack

It's easy and free - these are minimal (Ubuntu based) instructions for starting with no WAS installation and getting to an installation of WAS with the OSGi feature pack. If the steps aren't clear look at the rather more verbose instructions in an earlier post in this blog :-).

  • Install WebSphere 
    •  Download from here
    • Unzip this was.cd.7000.wasdev.nocharge.linux.ia32.tar.gz 
    •  sudo ./launchpad and follow the fairly obvious screens. Uncheck the box that asks if you want additional security.
  • Download Fix pack 
    • Download from here
    • The file will be called something like: 7.0.0-WS-WAS-LinuxX32-FP0000009.pak
  • Download the SDK upgrade pack
    • Download from here
    • File will be called something like: 7.0.0-WS-WASSDK-LinuxX32-FP0000009.pak
  • Install the update installer
    • Download from here.
    • Extract
    • cd to the top level directory of the installation
    • sudo ./install to make it install itself
    • After installing it will launch itself and you can go on to install the two packs that you downloaded above.
  • Get the OSGi Feature pack from here.
    • Download Installation Manager, (86MB)
    • Unzip it
    • cd to the top level installation directory
    • sudo ./install to make IM install itself. IM will lead you through the next three steps
    • Import your WAS installation.
    • Install the OSGi Feature pack.
    • Launch the profile management tool and augment your profile
  • Check your installation
    • cd /opt/IBM/WebSphere/AppServer/bin
    • sudo ./startServer.sh server1
    • navigate to http://localhost:9060/ibm/console/ and check that you can see the WAS console.
    • sudo ./stopServer.sh server1
At this stage I would normally install the database for the blog sample and run the set up script for it.
  •  cd /opt/IBM/WebSphere/AppServer/feature_packs/aries/samples/blog
  • sudo /opt/IBM/WebSphere/AppServer/derby/bin/embedded/ij.sh createBlogDb.sql
  • sudo /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/wsadmin.sh -f blogSampleInstall.py setupOnly server1 ubuntuNode01

No comments: