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 with options to install, test media and install, or troubleshoot. Press Tab for full 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 showing Installation Source as 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 selecting server environment and add-ons. Basic Web Server selected with PHP Support, Performance Tools, and Perl for Web checked.
  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 screen showing VMware Virtual disk with 80 GiB selected. Options for automatic or manual partitioning and adding specialized or network disk available.
  25. Click Done. The MANUAL PARTITIONING page appears.

    Manual partitioning screen during CentOS 7 installation; configure disk partitions, LVM scheme, 80 GiB available, add/remove/reset 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.

    Adding new mount point dialog in Linux setup with mount point set to /boot and size 1014 MB. Options to Cancel or 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.

    CentOS Linux 7 partition setup for /boot with ext3 file system, 967 MiB size, labeled LABEL=/boot, named sda1.
  29. Similarly, repeat the steps 26 through 28 to create partitions for the following mount points with the provided settings.

    Table 1: 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 for CentOS 7 installation showing partition list, details, available space, and buttons to modify partitions.
  30. Click Done twice and then click Accept Changes.

    Summary of Changes screen in Linux installation tool shows disk actions: destroy existing format on sda, create MSDOS partition table, and format ext3 partitions on sda1 mounted at /boot, sda2 at /tmp, sda3 at /, sda6 at /var/log. Options: 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 two Ethernet connections: Ethernet ens32 disconnected and Ethernet ens33. Options to configure connection and change host name.
  33. Click Configure. Then, click the IPv4 Settings tab.

    Network settings interface on Linux; IPv4 tab selected; manual configuration; fields for IP address, netmask, and gateway; Add and Delete buttons.
  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.

    CentOS 7 Security Policy screen with DISA STIG profile selected. Security policy toggle is on, allowing profile application.
    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 and username, admin option checkbox, password and confirm password fields, and a checked checkbox requiring a password.
  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 input fields for password and confirmation, instruction text, and password strength indicator marked Empty.
  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.