...
(Fig. 3-A) Go to Project → Cluster Infra → KASI Cluster Templates menu.
(Fig. 3-B) Find KASI-SingleVM template and click Lauch Cluster Stack button. Choose Next to go to Lauch Launch Cluster menu.
- (Fig. 3-C) Put a Stack Name and the Password for user. Select an OS Image (e.g., ubuntu-20.04-cloudimg), Flavor (e.g., C2M2D20 = 2 CPUs, 2 GB RAM, 20 GB OS drive), Network (default: kasi-user-network), and SSH Keys.
Put a Temporary one-time password for root account, and click Launch button.
Info WARNING: The intial password may be exposed to other users. You MUST change the password to a secure one right after logging in to the console for the first-time.
...
(Fig. 4-A) Go to Project → Compute → Instances menu, and check your VM instance is Running in Running Power State. From the Actions drop-down list, choose Console.
- (Fig. 4-B) Click on the black console screen, and log type in with root as username and temporary password you set in the previous step.
First, change Change the root password and update the OS. Create a user account (recommended). Install desktop environment & and remote desktop server.
Code Block language bash theme Midnight title configure VM instance : remote desktop linenumbers true ### Change root password $ passwd ### Update OS $ apt update && apt -y dist-upgrade ### Create a user account (recommended) : adduser {username} $ adduser kasi-user ### Grant sudo privilege to the user : usermod -aG sudo {username} $ usermod -aG sudo kasi-user ### Install dekstop environment (minimal installation is recommended) $ apt install xfce4 --no-install-recommends ### Install remote desktop server (RDP) $ apt install xrdp ### Reboot $ reboot
(Fig. 4-C) After reboot, log in to the console with the user account, and configure SMB client to mount user's external datastore.
Code Block language bash theme Midnight title configure VM instance : external datastore linenumbers true ### Install required pacakges : cifs-utils, smbclient $ sudo apt -y install cifs-utils smbclient ### Create a mount directory $ mkdir NAS ### Mount external datastore : mount.cifs -o rw,uid={local user},username={NAS user} {NAS address} {mount directory} $ sudo mount.cifs -o rw,uid=kasi-user,username=kasi-user //210.219.33.249/home NAS ### For more mount options : man mount.cifs ### Check if external datastore is mounted and the user has write permission $ df -H ; ls -l ### DO NOT forget to log out $ exit
Info You can also mount the external datastore to your local desktop as a network drive : e.g., \\210.219.33.249\home (Windows file manager), smb://210.219.33.249/home (macOS finder)
Info WARNING: NEVER leave the console screen logged in. Other users CAN access your console.
...