-
Notifications
You must be signed in to change notification settings - Fork 116
Set up SVF Teaching using Google Computer Platform (GCP)
Xiao edited this page Aug 17, 2023
·
2 revisions
- The solution is to use Google Computer Platform (GCP)
- Students can freely register and gain $300 credit for the first time.
- Follow the instructions below to debug your assignments.
1.Register in GCP and open the GCP console
- Choose a Sydney server location
- Choose the E2 CPU series
- Choose memory capacity under machine type (the more memory you deploy, the more money you will pay from your trial amount)
- Choose Ubuntu 20.04 LTS and at least 10GB disk volume
- Select open in browser window and remember the external IP which will be used in step 6
-
Login to root
sudo -i
-
Change passwd and input twice
passwd
-
Config remote login
sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config
sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
- Install Remote - SSH & Remote - SSH:editing
- Select remote-ssh you have installed and config it with your external IP in GCP
- Double click the folder icon and enter the password you have set