Step 1 – Download and Install VirtualBox
https://www.virtualbox.org/wiki/Downloads
Step 2 – Download Centos latest VM ISO file or Ubuntu 20.X VM ISO file
For Ubuntu 20.X VM ISO file – https://ubuntu.com/download/desktop
for Centos – https://www.centos.org/download/ –> http://isoredirect.centos.org/centos/7/isos/x86_64/ –>
CentOS-7-x86_64-DVD-..> | 2020-11-04 05:37 | 4.4G |
Note – Ensure Latest Microsoft Visual C++ Redistributable Version is installed before installing Virtual box, if not follow below steps to install\
https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170 —> https://aka.ms/vs/17/release/vc_redist.x64.exe
Step 3 – Create and Configure VMs
Click New – Provide VM name and ISO image (ubuntu image path where we downloaded ubuntu image) –> choose base memory and processor till green line –>after creating go to setting –>General –>Advanced and select bidirectional as per below screenshot –> go to network and choose as per below screenshot –>
Base memory selection
Processor selection
Step 4 – Open ubuntu VM box and follow steps. Enable Networking using command line and Get a IP address of VMs
Check Enable Networking using command line and Get a IP address of VMs
Type nmtui –> it will open another page –> click on activate a network –> wired connection should be deactivate
To check ip address type ip a
Step 5 – Download Putty
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Step 6 – Login using Putty and Work with Server for Lab Practice
Note:
If not able to connect, Please ping go to ubuntu VM and check if SSH is installed or not. Always use Sudo or change user to su
Run -Sudo service ssh status
Please follow below step to install SSH in ubuntu VM
sudo apt update
sudo apt install ssh
check status again
login via User and password , Work with Server for Lab Practice