3.2 Startup Client Master virtual machine
3.4 Export Client Master virtual machine
• Startup the "Client Master" virtual machine (see 3.2 Startup Client Master virtual machine)
Now you could log in directly in the virtual machine as user root, but connecting through SSH from your host PC, makes it possible to copy and paste text into the console window
• Open "Command Prompt" on your host computer
Write what is highlighted in red
Instead of writing "teddy", then write the username you have created on the master virtual machine:
C:\Users\teddy>ssh teddy@192.168.0.128 teddy@192.168.0.128's password:write your user's password here |
[teddy@localhost ~]$ su Password:write the root password here |
Install the "Gnome Desktop" GUI:
[root@localhost teddy]# yum groups install "GNOME Desktop" -y output output output ... Complete! |
Set the system to startup with GUI:
[root@localhost teddy]# systemctl set-default graphical.target Removed symlink /etc/systemd/system/default.target. Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/graphical.target. |
Install the "Evolution" mail client:
[root@localhost teddy]# yum install evolution -y output output output ... Complete! |
Edit the configuration file for the first Ethernet adapter:
[root@localhost teddy]# EditNet |
Find this line and change it to:
BOOTPROTO=dhcp |
Find these lines and delete them or add a comment mark to the beginning of the line:
# IPADDR=192.168.0.128 # PREFIX 24 # GATEWAY=192.168.0.1 # DNS1=192.168.0.1 |
Save the document and quit vim
Enable NetworkManager service:
[root@localhost ~]# systemctl enable NetworkManager.service Created symlink from /etc/systemd/system/multi-user.target.wants/NetworkManager.service to /usr/lib/systemd/system/NetworkManager.service. Created symlink from /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service to /usr/lib/systemd/system/NetworkManager-dispatcher.service. Created symlink from /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service to /usr/lib/systemd/system/NetworkManager-wait-online.service. |
Shutdown the system, and exit "Command Prompt":
[root@localhost ~]# shutdown –h now Connection to 192.168.0.128 closed by remote host. Connection to 192.168.0.128 closed.
C:\Users\teddy>exit |
• Return to the "Client Master" virtual machine
•
Click "X"
to close the virtual machine
• Return to "Hyper-V Manager"
•
At "Actions" click
"Settings..."
•
At "Hardware" select
"Network Adapter"
• At "Virtual switch:" select "Internal Network"
• Click "OK"