CMSY256 - Creating CentOS 7 VM at Home
- Install VMware Workstation if it is not installed
- Download the Minimal CentOS ISO from https://www.centos.org/download/
- Open VMware Workstation
- Create a New Virtual Machine
- Typical
- Browse to the CentOS ISO, it should automatically detect the OS type
- Set the VM name to CentOS 7
- Used default size and stored as a single file
- Check the Memory amount is 1024 MB
- Click "Customize Hardware"
Set the network adapter to "Bridged"
- Click "Customize Hardware"
- Click Finish
- Open the Console
- Press the enter key to test the media and install CentOS
- Accept the language and click "Continue"
- Click on "Installation Destination"
- Double click the disk, then click "Done"
- Click on "Network and Hostname"
- Set the hostname to cmsy256centos and click Apply
- Enable the Network Interface
- Click "Done"
- Set the hostname to cmsy256centos and click Apply
- Click on "Installation Source"
- 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
- it should be the domain name + /7/os/x86_64/
- Click Done
- it should be the domain name + /7/os/x86_64/
- 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
- Click on "Software Selection"
- Select "Server with a GUI"
- Add FTP and Development tools
- Click "Done"
- Add FTP and Development tools
- Select "Server with a GUI"
- Begin Installation
- Set the root password to "password"
Create a student user called "student" with a password of "QWERTY12345!", made it an Administrator - Wait for it to finish installing
- Click "reboot" when it pops up
- Click "I finished installing"
- Edit the VM settings so there isn't an ISO mounted
- Double click the disk, then click "Done"
- Press the enter key to test the media and install CentOS
- Wait for CentOS to reboot
- Click on the License
- Accept it and click Done
- Click "Finish Configuration"
- Sign in as "student"
- Select "English"
- Select "English US"
- Turned off location services
Click "Next" - Skip connecting online account
- Click the Start using CentOS button
- Close getting started
- Open Settings
- Select "Privacy" then "Screen Lock"
- Turn off automatic screen lock
- Open "application installer" and select "Restart and install"
- Select "Privacy" then "Screen Lock"
- Open Settings
- Select "English"
- sign in again as "student" after reboot
- Launch firefox
- Close both tabs to close firefox
- Open "Terminal"
- Run below to disable packagekit/automatic updates
sudo systemctl disable packagekit
sudo systemctl stop packagekit - Run the below to install X11 apps like XClock
sudo yum install xorg-x11-apps - Run the below to install web server
sudo yum groups mark install 'Web Server'
sudo yum upgrade - 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
sudo 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 - Edit the GRUB timeout to be 10 seconds
vi /etc/default/grub - Clear history and close the terminal
history -c
- Run below to disable packagekit/automatic updates
- Launch firefox
- You can now Shut down the VM
- Click on the License