CMSY256 - Creating CentOS 7 VM at Home

  1. Install VMware Workstation if it is not installed
  2. Download the Minimal CentOS ISO from https://www.centos.org/download/
  3. Open VMware Workstation
    1. Create a New Virtual Machine
    2. Typical

    3. Browse to the CentOS ISO, it should automatically detect the OS type
    4. Set the VM name to CentOS 7

    5. Used default size and stored as a single file

    6. Check the Memory amount is 1024 MB

      1. Click "Customize Hardware"
        Set the network adapter to "Bridged"

    7. Click Finish

  4. Open the Console
    1. Press the enter key to test the media and install CentOS
    2. Accept the language and click "Continue"

    3. Click on "Installation Destination"

      1. Double click the disk, then click "Done"

      2. Click on "Network and Hostname"

        1. Set the hostname to cmsy256centos and click Apply

        2. Enable the Network Interface
        3. Click "Done"
      3. Click on "Installation Source"

        1. Add a mirror (You can get a list of hostnames from the ISO download page http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1804.iso
          1. it should be the domain name + /7/os/x86_64/
          2. Click Done
      4. Click on "Software Selection"

        1. Select "Server with a GUI"
          1. Add FTP and Development tools



          2. Click "Done"
      5. Begin Installation

      6. Set the root password to "password"
        Create a student user called "student" with a password of "QWERTY12345!", made it an Administrator

      7. Wait for it to finish installing

      8. Click "reboot" when it pops up

      9. Click "I finished installing"
      10. Edit the VM settings so there isn't an ISO mounted

  5. Wait for CentOS to reboot
    1. Click on the License
    2. Accept it and click Done
    3. Click "Finish Configuration"

    4. Sign in as "student"

      1. Select "English"

      2. Select "English US"

      3. Turned off location services
        Click "Next"

      4. Skip connecting online account

      5. Click the Start using CentOS button
      6. Close getting started

        1. Open Settings

          1. Select "Privacy" then "Screen Lock"

          2. Turn off automatic screen lock

          3. Open "application installer" and select "Restart and install"

    5. sign in again as "student" after reboot
      1. Launch firefox
        1. Close both tabs to close firefox
      2. Open "Terminal"
        1. Run below to disable packagekit/automatic updates
          sudo systemctl disable packagekit
          sudo systemctl stop packagekit
        2. Run the below to install X11 apps like XClock
          sudo yum install xorg-x11-apps
        3. Run the below to install web server
          sudo yum groups mark install 'Web Server'
          sudo yum upgrade
        4. Run the below to install twm
          sudo yum install epel-release
          sudo yum update
          sudo yum install xorg-x11-font-utils.x86_64 xorg-x11-fonts-100dpi.noarch xorg-x11-fonts-75dpi.noarch xorg-x11-fonts-Type1.noarch xorg-x11-xauth.x86_64 libX11.x86_64 dbus-x11.x86_64 xorg-x11-server-utils.x86_64 xorg-x11-xkb-utils.x86_64 xterm
          wget http://mirror.centos.org/centos/6/os/x86_64/Packages/xorg-x11-twm-1.0.3-5.1.el6.x86_64.rpm
          s
          udo rpm -i --nodeps xorg-x11-twm-1.0.3-5.1.el6.x86_64.rpm
          rm xorg-x11-twm-1.0.3-5.1.el6.x86_64.rpm
        5. Edit the GRUB timeout to be 10 seconds
          vi /etc/default/grub
        6. Clear history and close the terminal
          history -c
    6. You can now Shut down the VM