Others - Creating a Free Ubuntu VPS on Github Step-by-Step Tutorial in 2024 | CraxTube | Crax

Welcome To Crax.Pro Forum!

Check our new Marketplace at Crax.Shop

   Login! SignUp Now!
  • We are in solidarity with our brothers and sisters in Palestine. Free Palestine. To learn more visit this Page

  • Crax.Pro domain has been taken down!

    Alternatives: Craxpro.io | Craxpro.com

Others Creating a Free Ubuntu VPS on Github Step-by-Step Tutorial in 2024

Others Creating a Free Ubuntu VPS on Github Step-by-Step Tutorial in 2024

LV
1
 

Ceneumsx

Member
Joined
Dec 1, 2022
Threads
10
Likes
4
Awards
4
Credits
1,515©
Cash
0$
In today’s tutorial, we will guide you through the process of creating a free Ubuntu VPS on GitHub. Before we begin, please note that this tutorial is for educational purposes only, and we will not be held responsible for any issues that may arise. Now, let’s get started!
Table of Contents

Creating a free Ubuntu VPS​

Step 1: Create a GitHub Repository​

  • Visit Github.com and create an account if you don’t have one. If you already have an account, log in.
  • After logging in, create a new repository. Name it (e.g., “freevps”) and ensure it is set to private.
Free Ubuntu VPS

Free Ubuntu VPS

  • Click on “Create a new file” and name it “Dockerfile.”
  • Paste the provided script

Script​

# Use a base image that supports systemd, for example, Ubuntu
FROM ubuntu:20.04

# Install necessary packages
RUN apt-get update && \
apt-get install -y shellinabox && \
apt-get install -y systemd && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN echo 'root:root' | chpasswd
# Expose the web-based terminal port
EXPOSE 4200

# Start shellinabox
CMD ["/usr/bin/shellinaboxd", "-t", "-s", "/:LOGIN"]Copy
Click on “Commit changes” and Commit changes again to save the file.

Step 2: Set Up Render Website​

  • Visit the Render website using this link.
  • Click on “Sign in with GitHub” and complete the sign-up process.
Free Ubuntu VPS

Free Ubuntu VPS

  • Check your Gmail inbox for the verification email from Render, click the link, and go back to the Render website.
  • Fill in the required information and click on “Continue to Render.”

Step 3: Connect GitHub Repository to Render​

  • On the Render dashboard, click on “New” and select “Web Services.”
  • Click “Next” to continue.
Free Ubuntu VPS


  • Connect your GitHub repository to Render by clicking on “Connect Repository.”
  • Scroll down and click “Install” to install Render on your GitHub account.
Free Ubuntu VPS

Free Ubuntu VPS

Step 4: Configure Web Service on Render​

  • See all your GitHub repositories on Render and click on “Connect” for the newly created repository.
  • Give your web service a name (e.g., “freevps”) and choose the region.
Free Ubuntu VPS

Free Ubuntu VPS

  • Click “Create Web Service” and wait for about a few minutes for your VPS to complete deploying.
noteThe instance will run on a 512 MB RAM with a 0.1 CPU×Dismiss this alert.

Step 5: Access Your Free VPS​

  • When your service is live, click on the provided link.
  • For the login, use “root” as both the username and password.
noteUsername & password: root

Link:
 
LV
3
 

SaceGold

Member
Joined
Oct 25, 2021
Threads
75
Likes
572
Awards
7
Credits
13,756©
Cash
0$
In today’s tutorial, we will guide you through the process of creating a free Ubuntu VPS on GitHub. Before we begin, please note that this tutorial is for educational purposes only, and we will not be held responsible for any issues that may arise. Now, let’s get started!
Table of Contents

Creating a free Ubuntu VPS​

Step 1: Create a GitHub Repository​

  • Visit Github.com and create an account if you don’t have one. If you already have an account, log in.
  • After logging in, create a new repository. Name it (e.g., “freevps”) and ensure it is set to private.
View attachment 172999
View attachment 173000
  • Click on “Create a new file” and name it “Dockerfile.”
  • Paste the provided script

Script​

# Use a base image that supports systemd, for example, Ubuntu
FROM ubuntu:20.04

# Install necessary packages
RUN apt-get update && \
apt-get install -y shellinabox && \
apt-get install -y systemd && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN echo 'root:root' | chpasswd
# Expose the web-based terminal port
EXPOSE 4200

# Start shellinabox
CMD ["/usr/bin/shellinaboxd", "-t", "-s", "/:LOGIN"]Copy
Click on “Commit changes” and Commit changes again to save the file.

Step 2: Set Up Render Website​

  • Visit the Render website using this link.
  • Click on “Sign in with GitHub” and complete the sign-up process.
View attachment 173001
View attachment 173002
  • Check your Gmail inbox for the verification email from Render, click the link, and go back to the Render website.
  • Fill in the required information and click on “Continue to Render.”

Step 3: Connect GitHub Repository to Render​

  • On the Render dashboard, click on “New” and select “Web Services.”
  • Click “Next” to continue.
View attachment 173003

  • Connect your GitHub repository to Render by clicking on “Connect Repository.”
  • Scroll down and click “Install” to install Render on your GitHub account.
View attachment 173004
View attachment 173005

Step 4: Configure Web Service on Render​

  • See all your GitHub repositories on Render and click on “Connect” for the newly created repository.
  • Give your web service a name (e.g., “freevps”) and choose the region.
View attachment 173006
View attachment 173007
  • Click “Create Web Service” and wait for about a few minutes for your VPS to complete deploying.
noteThe instance will run on a 512 MB RAM with a 0.1 CPU×Dismiss this alert.

Step 5: Access Your Free VPS​

  • When your service is live, click on the provided link.
  • For the login, use “root” as both the username and password.
noteUsername & password: root

Link:
*** Hidden text: cannot be quoted. ***
old trick
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Tips
Tips
Top Bottom