Skip to content

Instantly share code, notes, and snippets.

View tjtanjin's full-sized avatar
💻
Typing away...

Tan Jin tjtanjin

💻
Typing away...
View GitHub Profile
@tjtanjin
tjtanjin / certbot_apache_guide.md
Last active January 5, 2021 05:48
A short guide to using certbot with apache2!

How to generate SSL certificate with certbot for apache2 on Ubuntu (18.04/20.04)

Introduction

This short guide will walk you through using certbot to create a SSL certificate for a website hosted on apache2 (tested on Ubuntu 18.04 and 20.04).

Prerequisites

This guide assumes knowledge of the following:

1) Provisioning a VPS
2) Familiarity with SSH
3) Familiarity with linux command line
@tjtanjin
tjtanjin / python_telegram_bot_guide.md
Last active May 11, 2024 22:52
A short guide for hosting telegram bot on Ubuntu!

How to host a telegram bot on Ubuntu (18.04/20.04)

Introduction

This short guide will walk you through hosting your very own telegram bot on Ubuntu (tested on Ubuntu 18.04 and 20.04)!

Prerequisites

This guide assumes knowledge of the following:

1) Provisioning a VPS
2) Familiarity with SSH
3) Familiarity with linux command line
@tjtanjin
tjtanjin / xampp_guide.md
Last active January 5, 2021 05:47
Step-by-step instructions for installing XAMPP and hosting a simple web game!

How to install XAMPP and host a simple web game on Ubuntu (18.04/20.04)

Introduction

XAMPP is an abbreviation for cross-platform, Apache, MySQL, PHP and Perl. This setup guide will walk you through installing the XAMPP stack as well as hosting a simple web game (tested on Ubuntu 18.04 and 20.04)!

Prerequisites

This guide assumes knowledge of the following:

1) Provisioning a VPS
2) Familiarity with SSH
3) Familiarity with linux command line
@tjtanjin
tjtanjin / minecraft_server_guide.md
Last active June 18, 2022 16:41
Setup Minecraft Server on Ubuntu 18.04/20.04

How to create a minecraft server on Ubuntu (18.04/20.04)

Introduction

This is a generic minecraft server setup guide that has been tested on Ubuntu 18.04 and 20.04. By the end of this guide, you will have your very own multiplayer minecraft server that you and your friends (or anyone for that matter) can join and have fun on!

Server Setup

To begin, you will need to provision a VPS from cloud providers such as digitalocean or upcloud. Other popular services like AWS and google cloud would work as well with their EC2 and compute instances but the nature of those services are such that they are slightly more complicated to work with so they will not be included in this guide.

Once you have your VPS provisioned, SSH into your server with the following command (replacing 11.11.11.11 with your server's IP address):

ssh root@11.11.11.11