Preface
How to setup Red Hat Enterprise for the first time use
Create VM
Click Create and the service will automaticly running
And it’s done.
So, I can remote to workstation VM through VNC web.
Begining setup
Epel Repo
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
And update using yum update
Extras repositories
sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"
sudo yum update
It didn’t work :v because RHEL subscription not actived.
ZeroTier for VPN connection
Installation
curl -s https://install.zerotier.com | sudo bash
Join network
Now, it’s show in zerotier panel
Connecting to VM
~ ❯❯❯ ping 172.22.249.185
PING 172.22.249.185 (172.22.249.185) 56(84) bytes of data.
64 bytes from 172.22.249.185: icmp_seq=1 ttl=54 time=256 ms
64 bytes from 172.22.249.185: icmp_seq=2 ttl=53 time=256 ms
^C
--- 107.191.43.79 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 256.579/256.752/256.925/0.173 ms
Configure Workstation VM for labs
lab-configure
Now, lab config is ready!
Download lab apps from https://github.com/andisugandi/DO101-apps
[student@workstation ~]$ git clone https://github.com/andisugandi/DO101-apps
Cloning into 'DO101-apps'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 173 (delta 0), reused 1 (delta 0), pack-reused 169
Receiving objects: 100% (173/173), 170.46 KiB | 2.43 MiB/s, done.
Resolving deltas: 100% (73/73), done.
To be continued…