Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Creating a Virtualized Instance of CTPView Server on an ESX Server

 

Before you begin:

  • Make sure that vSphere client is installed on you workstation.

    Note

    Within vSphere, there are numerous ways to perform a particular task. The following example illustrates one such method. You can use the procedure that suits your network deployment effectively.

To create a new CentOS 7 STIG’d VM instance of CTPView server on an ESXi Server:

  1. Copy the CentOS 7 ISO file (centOS-7-x86_64-DVD-1804.iso) to the ESXi datastore. The CentOS 7 ISO can be downloaded from http://vault.centos.org/7.5.1804/isos/x86_64/.
  2. Start the vSphere client and enter the ESXi server IP address and your login credentials.
  3. Start the wizard to create a new virtual machine. Select File > New > Virtual Machine.
  4. Select the configuration as Typical and click Next.
  5. Enter a name for the VM. For example, CTPView_9.0R1.
  6. Select the datastore (with at least 80 GB free space) and click Next.
  7. Select Guest OS as Linux and version as Other Linux (64-bit), and then click Next.
  8. Select the number of NICs as 2 and adapter type as E1000, and then click Next.
  9. Select the virtual disk size as 80 GB and select Thick Provision Lazy Zeroed.
  10. Select the Edit the virtual machine settings before completion check box and click Continue.
  11. Click the Hardware tab and select memory size as 4 GB.
  12. In the Hardware tab, select CPU. Then, select the number of virtual sockets as 2 and number of cores per socket as 1 (you can select up to 4 cores).
  13. In the Hardware tab, select CD/DVD. Then, select the device type as Datastore ISO File and browse to CentOS 7 ISO file. Select the Connect at power on check box under Device Status.
  14. Click Finish.
  15. Select your created virtual machine in the left panel of vSphere > Inventory.
  16. In the Getting Started tab, select Power on the virtual machine.
  17. Switch to the Console tab and click inside the terminal emulator.
  18. Select the Install CentOS Linux 7 option with the Up Arrow key and press Enter.
  19. Press the Enter key to begin the installation process.
  20. Select the language and your desired country time zone (if necessary) and then click Continue.
  21. Click the SOFTWARE SELECTION option.
  22. In the Basic Environment section, select the Basic Web Server radio button. In the Add-Ons for Selected Environment section, select PHP Support and Perl for Web check boxes and click Done.
  23. Click INSTALLATION DESTINATION and verify that the VMware Virtual disk (80 GB) is selected.
  24. In the Other Storage Options section, select the I will configure a partitioning option button.
  25. Click Done. The MANUAL PARTITIONING page appears.
  26. Click the + button. The ADD A NEW MOUNT POINT dialog box appears.
  27. To create a partition for /boot, enter /boot in the Mount Point field and enter 1014 MB in the Desired Capacity field. Then, click Add mount point.
  28. Select Standard Partition from the Device Type list and select ext3 from the File System list. Enter LABEL=/boot in the Label field and then click Update Settings.
  29. Similarly, repeat the steps 26 through 28 to create partitions for the following mount points with the provided settings.

    Table 5: Mount Points and Their Settings

    Mount Point

    Desired Capacity

    Device Type

    File System

    Label

    /tmp

    9.5 GB

    Standard Partition

    ext3

    LABEL=/tmp

    /

    8 GB

    Standard Partition

    ext3

    LABEL=/

    /var/log

    3.8 GB

    Standard Partition

    ext3

    LABEL=/var/log

    /var

    3.8 GB

    Standard Partition

    ext3

    LABEL=/var

    /var/log/audit

    1.9 GB

    Standard Partition

    ext3

    LABEL=/var/log/a

    /home

    1.9 GB

    Standard Partition

    ext3

    LABEL=/home

    /var/www

    9.4 GB

    Standard Partition

    ext3

    LABEL=/var/www

  30. Click Done twice and then click Accept Changes.
  31. Click NETWORK & HOST NAME.
  32. Select an Ethernet option (for example, Ethernet (ens32)), enter the hostname (for example, ctpview) in the Host name field, and then click Apply.
  33. Click Configure. Then, click the IPv4 Settings tab.
  34. Select Manual from the Method list and click Add.
  35. Enter values for Address, Netmask, and Gateway fields, and then click Save.
  36. Click the toggle button in the right-top corner to bring the configured Ethernet up and running, and then click Done.
  37. Click SECURITY POLICY.
  38. Select the DISA STIG for CentOS Linux 7 Server option and click Select Profile. Then, click Done.
    Note

    Skip this step, if you are creating a non-STIG’d VM.

  39. Click Begin Installation. The USER SETTINGS page appears.
  40. Click USER CREATION and enter the username and password.
  41. Select the Make this user administrator check box and click Done.
  42. In the USER SETTINGS page, click ROOT PASSWORD, enter the password as “CTPView-2-2” and click Done.
  43. After the installation process is completed, click Reboot.