Date Created: Wed 22-Sep-2010

Related Document Categories:

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/



How to create a Redhat Enterprise Linux 5 server using VMWare

Download the latest VMWare workstation evaluation (Thirty days trial)

File> New >Virtual Machine







Click Next




Select Typical from the Virtual machine configuration options.



Select Linux form the Guest operating system, and Red Hat Enterprise Linux 5 from the Version picklist




Type in the name from the virtual machine and the location of where you want to locate it.




Select use bridged networking so you can use an ipaddress on your network and other computers can see it.



Select 20GB for the Disk Capacity, often people make this too small and when you wish to install large enterprise apps like WebSphere, there is never enough space on the VMWare file system, so I recomend make it large so it can grow.

Selcet split into 2GB chunks, this allows room for growing over time and means tha initial preparation won't take so long. A performance hit is taker, hey this is eval so what!

Burn an ISO image to create your RHEL 5 DVD and and start the VM, when the VM has started it will detect the DVD in the virtual DVD drive and voila, here is the result.

The remaining steps are to show what I did to install RHEL 5.







Click skip to verify DVD.
































A swap of 1984 is set, we let root have the rest of the disk as suggested by defaults. You can search google for recommendation of setup of file systems, but since this is a demo Linux Install and not production we don't mind., We just want to make sure we have loads of disk space.



I left the main amount of disk-space assigned to /



I left the default boot loader to be GRUB.





I chose to no use DHCP, as I want to manually configure the network interface. I left the default host-name as localhost.localdomain, we can change this post install by editing /etc/hosts once we decide what we want for host-name .

Can also edit the NIC, but you will have to edit the DNS and if you do not know that yet, leave as DHCP and configure after the installtion.



If you do change the eth0 interface then in the screen capture above I typed 192.168.0.93/24 = 192.168.0.94 with a subnet mask of 255.255.255.0



I sleected London/Europe as I live in London



Enter the appropriate password for root.



I choose webserver and devlopment server to get all the possible libs I might need, so that the default version of apache was installed, incase I need it.




I added these development libraries, so that older libraries were installed as well. Often the latest GNU C++ libraries are too new for installation packages for IBM products like ClearCase and WebSphere where the installer are still designed for RHEL4.







Customise the installation by selecting the major categories in the left-hand-side panel and clicking on optional packages to select/de-select the packages you want for your installation









Estimated time to install 30-45 minutes.



The DVD should be ejected, click the Reboot button and your new Redhat Enterprise 5 Linux Server is ready to configure for use.

Once the server has restarted you will be asked to complete the configuration.






You have two options, you can keep the firewall on and add WebSphere ports etc, or just turn off the firewall. I am turning off the firewall as this is a test machine and until I know what ports I am going to use, I am turning it off. This is not a production server and it is not accessible by the internet, so I am not concerned with firewalls. Also the most common problem in with installing new products and their inter-connectivity is firewall configs in Linux. So why make it hard for yourself why you are learning.




Or you can just turn off the firewall as shown below






I turned off SELinux as well, so that security doesn't get in the way of my learning and trials.




I left KDump turned off, all I will be interested in most of the time if JVM Core dumps when I am testing WebSphere software.



Set time and date




We have not registered for updates and so we can skip this step. It means we cannot use RHN for updates. It costs money. If you have a trial then you get free support for something like 30 days, but it will then stop, so I have elected not to to worry about this test environment at this time. You can re-enable any of the setting I have turned off at a later stage if you require them.







I don't care about sound, you can test id you want sound. We will be using the RHEL 5 server using SSH and not the GUI, so no sound needed.




I have no other CD's so I will click finish. The system will now reboot itself. Once complete we will need to login as root via SSH using puTTY and update the network configuration settings to give the Linux box an ip-address on our test network..



Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/

Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many leading brands around the world. Steve specialises in JEE, DevOps and Thought Leadership.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


  • Linked In
  • Twitter
  • About Me
  • Contact Me

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

Courses

  • WebSphere Courses

Articles

WebSphere Categories

Other Categories