0% found this document useful (0 votes)
238 views2 pages

Install Ubuntu 20.04 LTS On Google Cloud Platform & Setup Teamviewer & SSH On It Complete Guide 2020

This document provides instructions for setting up a free Ubuntu VM on Google Cloud, including creating the VM instance, configuring SSH access, installing a desktop environment and TeamViewer for remote access. Key steps include signing up for a Google Cloud free trial, creating an Ubuntu VM instance and configuring it with the sudo user, enabling SSH access and installing packages like ubuntu-desktop, xorg and TeamViewer before finishing with firewall rules.

Uploaded by

Abdou Detroit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
238 views2 pages

Install Ubuntu 20.04 LTS On Google Cloud Platform & Setup Teamviewer & SSH On It Complete Guide 2020

This document provides instructions for setting up a free Ubuntu VM on Google Cloud, including creating the VM instance, configuring SSH access, installing a desktop environment and TeamViewer for remote access. Key steps include signing up for a Google Cloud free trial, creating an Ubuntu VM instance and configuring it with the sudo user, enabling SSH access and installing packages like ubuntu-desktop, xorg and TeamViewer before finishing with firewall rules.

Uploaded by

Abdou Detroit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Plese Watch The Video Carefully Before Setting

Up Your Ubuntu VM

1 Getting Started

Go to https://cloud.google.com/free & click on "Get Started For Free"


Login with gmail id , you need a credit card or debit card (Some debit cards may
work like Kotak , SBI etc if you are from India.)
For this free trial you will be charged only 1 rupee from you card (Rs. 1 = 0.013
USD)
You will get 1 year to use the $300 Google Credit
(Better Change Card details after you get it)

2 Creating the Ubuntu VM

Just Click on the three bar on the upper left corner (navigation menu) on this
site https://console.cloud.google.com/home/
Now go to Compute Engine-VM instances-Click on Create
Choose Your Preferences (Check Video For Some Tips)
Dont Change Any Default Firewall Rules which is in VPC Network Section
You can create static external ip address or turn the newly generated ip into
static of your Ubuntu VM from VPC Network-External IP Adresses
(Always Use Static IP else the external IP will change automatically from time to
time)

All The Commands You Need after Creating The VM is listed below , you can just
copy paste these while setting your own Ubuntu VM

sudo passwd username


sudo su -
passwd
apt update && apt upgrade -y
adduser username root
adduser username admin
adduser username sudo

3 Making the SSH Config to Use with Putty(Windows) & JuiceSSH (Android) (Only If
You Want to USe It)

nano /etc/ssh/sshd_config
use up & down arrow keys to navigate
PasswordAuthentication yes
PermitRootLogin yes
ctrl+o to save & press enter & ctrl+x to exit

service ssh restart

4 Adding Firewall Rules & Installing Gui & TeamViewer For Remote Access * (Please
Watch Video)

apt-get install ubuntu-desktop -y (Gonna Take Time)


apt-get install xserver-xorg-video-dummy

nano /etc/X11/xorg.conf

Now copy paste the below command and save it

Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31.5-48.5
VertRefresh 50-70
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x900"
EndSubSection
EndSection

reboot
root login

apt install gdebi -y


cd /tmp
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
gdebi teamviewer_amd64.deb
teamviewer license accept
teamviewer daemon enable
teamviewer daemon start
teamviewer passwd (Choose Password)
ufw allow 5938
teamviewer info

Done , Your Linux VM is now ready to use & you can use it in your windows PC
without any issues using teamviewer.

Watching the Video is necessary for some steps & tips. Thank You

You might also like