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.
    CentOS Linux 7 boot menu; options: Install CentOS 7, Test media and install, Troubleshooting. Press Tab for more options.
  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.
    Software installation interface with Installation Source set to Local media and Software Selection as Minimal Install.
  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.
    Configuration screen for server setup showing Base Environment options like File and Print Server, Basic Web Server selected, and Add-Ons like PHP Support and Perl for Web selected.
  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.
    CentOS 7 Installation Destination screen showing VMware Virtual Disk sda with 80 GiB selected. "I will configure partitioning" is chosen.
  25. Click Done. The MANUAL PARTITIONING page appears.
    CentOS 7 installation screen for manual partitioning with options for automatic or manual mount points, LVM scheme, 80 GiB space, and control buttons.
  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.
    Dialog box for adding new mount point in Linux. Mount point is set to /boot with 1014 MB capacity. Buttons: Cancel and 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.
    Configuring CentOS Linux 7 /boot partition with 967 MiB space, ext3 file system, standard partition type, and label set as LABEL=/boot.
  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

    Manual partitioning screen during CentOS 7 installation showing partition list, details, available space, and options to modify partitions.
  30. Click Done twice and then click Accept Changes.
    Summary of Changes screen showing disk actions for Linux installation. Destroy format on sda. Create MSDOS partition table on sda. Format sda1 as ext3 for boot, sda2 for tmp, sda3 for root, sda6 for var/log. Options to cancel or 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.
    Network configuration interface showing Ethernet ens32 selected, status disconnected, MAC 00:0C:29:CE:50:6A, speed 1000 Mb/s, subnet mask 127.0.0.1, with hostname localhost.localdomain.
  33. Click Configure. Then, click the IPv4 Settings tab.
    Network configuration interface for editing settings of connection named ens32. IPv4 Settings tab selected with Manual method. Fields for IP address, netmask, and gateway are present. Add and Delete buttons for managing entries.
  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.
    Security Policy configuration screen during CentOS 7 installation. Apply security policy is ON. DISA STIG profile for CentOS 7 is selected.
    Note

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

  39. Click Begin Installation. The USER SETTINGS page appears.
    User settings warnings: Root password not set. No user will be created.
  40. Click USER CREATION and enter the username as “admin” and enter a password. Do Not use the username “juniper_sa”.
    User account setup form with fields for full name, username, password, and confirm password. Administrator option and password requirement checkbox checked.
  41. Select the Make this user administrator check box and click Done.
  42. In the USER SETTINGS page, click ROOT PASSWORD, enter a password for the root account and click Done.

    Remember the passwords. Password recovery is not a simple process and is service affecting. It requires console access to the CTPView and requires rebooting of CTPView (possibly even a system re-power).

    Note

    If unique passwords are not required, use the password as “CTPView-2-2”.

    Root password setup interface with fields for entering and confirming the root password during system installation.
  43. After the installation process is completed, click Reboot.Note

    By default, USB mass storage device will not be detected on CentOS 7 server as it is blacklisted due to security requirements.

    To enable USB mass storage device on CentOS 7:

    • Comment the line install usb-storage /bin/true in the file /etc/modprobe.d/usb-storage.conf.

    • Reboot the server.