Monday, December 5, 2011

How to Learn WebSphere in 31 Days - Part Two: Build Your Computers for Learning WebSphere

Before you can start learning WebSphere technologies, you have to have a set of software and one or tow computers to learn WebSphere.

The software you need are a recent version of WebSphere Application Server and Web Server, the newest release of WebSphere Application Server and Web Server, and an application development environment such as Eclipse.

As far as operating system (OS) and computer goes, you need one or ideally two computers. One of the computer should have a flavour of UNIX installed, maybe LINUX such a Ubuntu. The other computer should be a MS Windows based machine.

WebSphere Application Server license does involve a charge. However, to help professionals and companies to learn and  evaluate WebSphere Application Server, IBM usually makes full strength WebSphere Application Server software such as WebSphere Application Server 8 Network Deployment available for trial.

Eclipse is a free downloadable application development environment. Eclipse is good for design and development of automation script for WebSphere Application Server.

Ubuntu is a free open source LINUX operating system. It is quite stable and easy to use while providing a viable platform for you to learn UNIX as well as running WebSphere Application Server on UNIX - this is how most large corporations run their WebSphere software - on a flavour of UNIX such as IBM AIX or Red Hat LINUX. You will find that running WebSphere on LINUX is a bit more challenging than working on MS Windows. However, this is exactly the practice that you need to learn new skills and grow your technical capabilities.

You have two ways of running Ubuntu on your computer. One is to install Ubuntu to your hard drive. The other is to install Ubuntu to a large flash drive. The advantage of installing Ubuntu to a flash drive is that you can use the Windows to run WebSphere for Windows. The disadvantage is that you will be constantly challenged and inconvenienced due to space issues. If it is financially possible, it is advisable to use two computers, for one LINUX such as Ubuntu and the other for Windows. You do have a lot of time to struggle with disk space issues and you do not want to spend your time on coming up with clever ways to deal with limited space. You want to focus on learning WebSphere technologies and become competent and productive in applying WebSphere technologies.

Use this link to download Ubuntu. First use a CD or flash drive to learn how to use Ubuntu before installing Ubuntu to your hard drive.

Now you can go to the IBM free download site to download WebSphere Application Server soft.
  • Create an IBM ID and password
  • Download WebSphere Application Server IBM Installation Manager for Trial Products (IIM)
  • Select Using HTTP Download (I have better luck with this) 
  • Download IIM for for Windows and LINUX respectively
Now you are ready to install WebSphere Application Server. Installing WebSphere software involves the following steps.
  • Create IBM ID and password
  • Download the IBM Installation Manager for the right OS
  • Ready your OS for install- other than to make sure that you have enough memory and disk space. For Ubuntu, you have to do the following or the WebSphere software install will fail
    • unlink sh
    • ln -s /bin/bash sh 
    • ls -l sh
  • Install the WebSphere software 
    • go to the directory where you have downloaded WebSphere software
    • sudo ./install (Those who use WAS 7 be careful - there is no Launch Pad for WAS 8 - it is replaced by IBM Installation Manager - IIM) 
    • You will see a message saying that your OS (Ubuntu) is not supported. Ignore the message and continue with the installation and WebSphere Application Server 8 will install
  • Create profiles that is a WebSphere way to create application servers and related JVM instance (we will cover this in details later)
  • Configure application server
  • Deploy the JEE application
  • Verify installation and system readiness for delivery

No comments: