This is the ad hoc tutorial on how to setup CentOS 7 virtual machine on VMware Player. We will create CentOS 7 VM, go through basic configurations and connect to it using SSH client.
Below content is complementary to the video tutorial above.
- Download and install the latest VMware Workstation Player release from the official website. At the moment of recording: https://www.vmware.com/ -> Downloads -> Free Product Downloads -> Workstation Player.
- Download and save the ISO image of the latest CentOS release from the official website. At the moment of recording: https://www.centos.org/download/ -> Minimal ISO.
- Open the installed VMWare Player and choose “Create a New Virtual Machine“:
- Choose “I will install the operating system later”
- Choose “Linux” -> “CentOS 7 64-bit”
- Choose the name and location for your Virtual Machine (VM)
- Define the size and storage option (“Split” method is recommended)
- Choose “Customize Hardware”
- Adjust memory and processors based on your needs. You can change these settings later.
- Add 2 network adapters: “Bridged” (for the global internet access) and “Host Only” (shared network with host only)
- In “CD/DVD” Section, in Connection Panel choose “Use ISO image file” and select the downloaded ISO from the Step 2
- Finally, Start the newly created VM and go through installation process
- Download mRemoteNG remote connection manager:
- Execute step 5.a.
- Create a new connection.
- Specify the IP address, username and password.
- Choose protocol SSH 2.
- After the setup finished we reboot the VM.
a. First, activate the 2nd interface and make it to automatically connect using nmtui:nmtuib. Next, run the following basic commands:
yum update -y && yum upgrade -y
yum -y install net-tools.x86_64
mv /etc/localtime /etc/localtime.bak && ln -s /usr/share/zoneinfo/Asia/Baku /etc/localtime
yum install -y ntp
systemctl start ntpd && systemctl enable ntpd && /usr/sbin/ntpdate pool.ntp.org
Related resources: