Programming Notes

「 Happy Coding! 」

Installing Webmin on Ubuntu 22.10

A guide for installing Webmin on Ubuntu 22.10 from the official documentation: https://webmin.com/download/. Installing webmin SSH server and make sure you have super user access (sudo) or...

Creating Wordpress Admin User Directly from MySQL

A guide for creating wordpress administrator user directly from mysql database without logging into a wordpress admin. Creating a User Directly from the Database SSH into the site’s host s...

Creating Scheduled Automatic Daily, Weekly, and Monthly Files Backup using CRON and TAR

A guide for creating backup scripts and scheduling them to run daily, weekly, and monthly. Creating Backup Scripts Create a backup directory to store the backup scripts and files, and navigate ...

Secure File Transfer Protocol (SFTP) Basic Terminal Commands

A guide for SFTP basic terminal commands. Connect to Host Open up terminal, and connect to host using the command: 1 2 3 4 5 # sftp <username>@<host_name_or_ip_address> $ sftp...

Dockerized ReactJS in Development and Production Settings

This document is a guide for creating a react application in production and development environments inside a docker container. Pre-requisites Node Docker Check if Node and Docker is instal...

Migrate Existing Wordpress Website to a Docker Container

This document is a guide for migrating an existing wordpress website with live data to a docker container. The container will contain its own mysql, wordpress, and phpmyadmin images. This guide is...

Dockerized Wordpress, MySQL, and phpmyadmin with environment variables

This document is a guide for spinning up a dockerized wordpress, mysql, and phpmyadmin application. Pre-requisites Docker & Docker Compose Creating docker-compose.yml file Create and ...

How To Install docker and docker-compose in Ubuntu Server

This document is a guide for installing docker and docker compose to an Ubuntu server. Installing Docker Update and upgrade system repository and system packages 1 2 $ sudo apt update $ su...

DjangoRestFramework (DRF) User Registration, Login, Logout, and Password Reset with dj-rest-auth and django-allauth

Updated Feb 14, 2024 This document is a guide for creating a user handling feature - specifically user registration, login, logout, and password reset for Django with DjangoRestFramework. This can...

Dockerized Django and PostgreSQL Setup for REST API through DjangoRestFramework (DRF)

Updated Feb 14, 2024 This document is a guide for setting up a Dockerized Django with DjangoRestFramework (DRF) and PostgreSQL Database backend web application from scratch. Pre-requisites Pyt...