Initial creation of the VM

Instructions:

  1. Download the latest RHEL 7 DVD ISO from https://developers.redhat.com/products/rhel/download
  2. Open VMware Workstation and create a new Virtual Machine (VM) by pressing Ctrl + N.
  3. Select Custom (advanced) and click Next.
  4. Accept the default Hardware Compatability and click Next.
  5. Select ‘I will install the Operating System later’ and click Next.
  6. Select ‘Linux’ and then ‘RHEL 7 64bit’ and click Next.
  7. Give the VM a sensible name and choose where to store it then click Next.
  8. Accept the default Processor Configuration and click Next.
  9. Accept the default Memory Configuration and click Next.
  10. Select ‘Use NAT’ and click Next.
  11. Accept the default I/O Controller Type and click Next.
  12. Accept the default Disk Type and click Next.
  13. Create a new virtual disk and click Next. 10GB should suffice, click Next.
  14. Accept the default file name and click Next.
  15. Click Finish.
  16. Click ‘Edit virtual machine settings’. Click ‘Add…’. Select ‘Hard Disk’ and click Next.
  17. Accept the default Disk Type and click Next.
  18. Create a new virtual disk and click Next. 10GB should suffice, click Next.
  19. Accept the default file name and click Finish.
  20. Select the CD/DVD, then select ‘Use ISO image file’, then select the ISO downloaded earlier. Click OK.
  21. The VM can now be powered on.
  22. You will probably have to click within the window to gain control, then use the cursor keys to select Install and hit Enter.
  23. Choose your desired language settings and click Continue.
  24. Select Installation Destination, and then ensure there is a tick on both disks. Select ‘I will configure partitioning’, then click Done.
  25. Click ‘click here to create them automatically’
  26. Select the root partition ‘/’ or ‘rhel-root’ and click Modify.
  27. Ensure that only the first disk is selected, then change the Name field to ‘SystemVG’, then click Save.
  28. Change the root partition type to ‘ext4’, and the name to ‘rootLV’
  29. Select the swap partition and change its name to ‘swapLV’
  30. Click Done followed by ‘Accept Changes’
  31. Disable KDump
  32. Click on Network & Hostname and change the hostname to something sensible.
  33. Click the OFF toggle at the top of the screen, the networking will now be active.
  34. Make a note of the networking settings on this screen, then click Configure.

IPV4 Manual Add Copy the information into this window Enter the DNS Address Click Save Click Done

  1. Begin the installation in the background by clicking ‘Begin Installation’
  2. You can now set the root users password by clicking on it. Enter the password twice and click Done.
  3. As we do not want to be using the root used by default, we will create another administrator account for our use. Click ‘User Creation’. Enter a Full name and User name.
    I suggest ‘ansible’ for both. Ensure the ‘Make this user administrator’ checkbox is checked. Enter a password twice and then click on Done.
  4. Wait for the installation to complete, and then click ‘Reboot’. Wait for the VM to restart.
  5. Login to the VM using the non-root account.
  6. To create our second Volume Group, execute the following commands. If prompted about a DOS signature, enter ‘y’.
    pvcreate /dev/sdb
    vgcreate vg_go_app_01 /dev/sdb
    

Next Topic