...
Go to Project → Compute → Instances menu (Step A), and check your VM instance is in Running Power State (Step A). From the Actions pull-down menu, choose Console.
- Click on the black console screen, and log in with root username and temporary password (Step B).
First, change the root password and update the OS. Create a user account. Install desktop environment & 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
After reboot, log in to the console with the user account, and configure SMB client to mount user's external datastore (Step C).
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 Remember to log out after initial configuration and NEVER leave the console screen logged in. Other users CAN access your console.
...