Post

Free server building tutorial ๐Ÿƒ

Create a free server with github โŒ€

Free server building tutorial ๐Ÿƒ

How to Use a Free Server on GitHub

Hi guys, today I want to teach you how you can create a free server with github.

Steps 1

  1. In the first step, you need to log in to your GitHub and go to the codespaces section, then create a codespace (:
  2. In the first section, select a repository (preferably create one).
  3. In the branch section, set the default and set the region to the continent where you want the server to get an IP (random country).
  4. Depending on your hardware needs, adjust and build the machine type section.
  5. Wait a few moments for the VSCode environment to fully open.
Codespaces

Now go to the codespaces section and disable the auto delete codespaces checkbox.

Disable auto delete

Terminal Commands

Now we are dealing with this part called the terminal. Execute the commands one by one and wait until the terminal finishes working before moving on to the next command.

Tip: How do we know when the terminal is finished? As in the picture below, the line of code ends with $, meaning the terminal is ready to enter!

VSCode Terminal
  1. sudo apt update
  2. sudo apt upgrade
  3. sudo DEBIAN_FRONTEND=noninteractive \
  4. apt install --assume-yes xfce4 desktop-base dbus-x11 xscreensaver
  5. sudo apt install ubuntu-desktop
  6. sudo apt install screen
  7. wget https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb
  8. sudo apt install ./chrome-remote-desktop_current_amd64.deb
  9. sudo bash -c 'echo "exec /etc/X11/Xsession /usr/bin/xfce4-session" > /etc/chrome-remote-desktop-session'
  10. sudo service lightdm stop

Steps 2

  1. Now you need to go to the Remote Desktop site and in the setup via SSH section, click "Begin", then "Next", and "Authorize".
  2. Copy the link in the Debian Linux section.
Remote Desktop Site
  1. Enter the copied link into the terminal.
  2. Enter a 6-digit PIN when prompted, and do not forget it.
  3. It should say "Host started successfully". Then go back to the site, and in the remote access section, you should see the remote access created for you.
Remote Access Device

Testing Your Server

Now you click on codespace and enter your PIN.

And boom boom, your server is ready to use ๐Ÿฅณ๐Ÿค
Linux Server Ready
speedtest server
Speed Test

If you liked this tutorial, I would appreciate it if you could support me on social media. ๐Ÿ˜Š


Social Media

Instagram

Telegram

GitHub

Discord server


This post is licensed under CC BY 4.0 by the author.