Recently, Internet users discovered an interesting bug on gitpod that allows you to download Windows/Ubuntu packages and create free VPS. This is a pretty serious error, so I think gitpod will fix it as soon as possible. If you try following the article and it doesn’t work, it means that gitpod has already fixed this error.
Join the channel Telegram of the AnonyViet 👉 Link 👈 |
Gitpod is an open source Kubernetes application for source code developer environments that is ready to create fresh, automated developer environments for each task, in the cloud, in seconds. It allows you to describe your developer environment in code form and create instant, remote, and cloud-based development environments directly from your browser or desktop IDE.
Request
To create a Windows 10 and Ubuntu Free VPS, you need the following:
- The first is to create an account on the site gitpod.io and ngrok.io
- Create an account and download VNC Viewer (Windows)
- Remote Desktop Connection (ubuntu) is available on Windows 7 through 11.
How to create a Windows 10/Ubuntu Free VPS
First of all, you need to create an account on the site gitpod.io and log in to the account you just created.
Next you need to create a new workspace by clicking “New Workspace” or use keyboard shortcuts Ctrl + O.
You can choose any workspace, but in this article I will choose python-django.
So it’s ready. Next I will guide you to create VPS Windows 10 and Ubuntu for free.
Windows 10
Step 1: You notice the bottom corner of the screen has a console panel. Here, you select the Terminal tab and press Ctrl + Z to exit the current process and return to the command entry.
Step 2: Next, enter the following commands in turn:
sudo su wget -O winlite10.sh https://raw.githubusercontent.com/a2nk/G-cloud/main/winlite10.sh?utm_source=google,+gitpod,+linggahosting,+github,+ngrok > /dev/null 2>&1 chmod +x winlite10.sh ./winlite10.sh
Step 3: At this step, you return to the ngrok . page here to get tokens.
Step 4: Then go back to the gitpod tab and paste the ngrok token you just copied in.
Step 5: Wait a moment for gitpod to download the file. After the download is complete, the terminal on the gitpod page will look like the image below. Please copy the address of the place.
Step 6: You paste this address into VNC Viewer and proceed to connect to VPS.
If it shows a warning like the picture below, then press “Tiếp tục” Please.
So you have successfully connected to VPS already. The configuration of this VPS includes 2core 8gb. In my experience, this VPS is very laggy, but it also serves the gentle needs of some brothers.
Please do not turn off the gitpod tab. If you turn off gitpod, the VPS will also crash, so you have to leave the gitpod tab running in the background to maintain the VPS. The maximum time of this VPS is 50 hours, which is quite a lot.
Ubuntu
The steps to create an Ubuntu VPS are similar to creating a Windows 10 VPS. But only in the installation command and how to connect.
Step 1: Type the following commands into Terminal on the Gitpod tab:
sudo su wget -O ubuntu.sh https://raw.githubusercontent.com/a2nk/G-cloud/main/ubuntu.sh?utm_source=google,+facebook,+linggahosting,+github,+ngrok > /dev/null 2>&1 chmod +x ubuntu.sh ./ubuntu.sh
Step 2: Paste the ngrok token into Terminal.
Step 3: Type ap and press Enter.
Step 4: After the installation is complete, Terminal will have the result as shown below. You copy the address in the RDP Address line.
Step 5: Then paste this address into Remote Desktop Connection on Windows and press “Connect”.
If it shows a warning like the picture below, choose “Yes” Please.
And this is the Ubuntu VPS we just created. The configuration of this VPS includes 16core 64gb VRAM 380gb. Much less lag than a Windows VPS but not very smooth. The time limit to use VPS is 50 hours.
Note: Do not turn off the Gitpod tab. Must maintain that tab for VPS to work.