0%

Create a Flask+uWSGI+Nginx Docker Image

In this example, we will create a Docker image for a Flask application using uWSGI and Nginx. The image will be based on the tiangolo/uwsgi-nginx-flask image, which is a popular choice for deploying Flask applications in production.

Read more »

Create a Private Docker Registry and Push/Pull Docker Images

In this guide, you will:

  1. Install Docker on an Ubuntu server
  2. Set up a private Docker registry on the Ubuntu server
  3. Create a Docker image on Windows and push it to the private registry
  4. Pull the image on the Ubuntu server and run it
Read more »

Create a ASP.NET Core Docker Image

This is a simple demo for creating a Docker image for an ASP.NET Core application.

Before starting, ensure you have the following requirements:

  1. Install Docker.

  2. Install the .NET SDK.

  3. Prepare an ASP.NET Core application. You can create a new ASP.NET Core Web API project using the following command:

    1
    $ dotnet new web -n Demo
Read more »

Introduction

This guide outlines the steps to set up an OpenVPN server on Ubuntu 24.04, including certificate management, server configuration, firewall setup, and client provisioning.

Read more »

Introduction

After enabling the OpenVPN server on an ASUS router, the exported client.ovpn file may trigger the following error in the OpenVPN client on Android:

1
OpenSSL: error:0A00018E:SSL routines:SSL_CTX_use_certificate:ca md too weak

This issue occurs because the CA certificate uses the SHA1 signature algorithm, which is outdated and considered insecure. Consequently, the OpenVPN client refuses to accept it.

There are two possible solutions:

  1. Insecure (Not Recommended): Allow weak CA certificates.
  2. Recommended: Renew the CA certificate using a stronger signature algorithm (e.g., SHA256 or higher).

Allowing weak certificates may expose your connection to man-in-the-middle (MITM) attacks or other vulnerabilities.

This guide walks you through the recommended solution.

Read more »

Introduction

This guide shows you how to set up rsync on a Windows system by leveraging Git Bash from Git for Windows.
rsync is a powerful file synchronization tool commonly used on Linux, but it can also work on Windows with a few manual steps.
No need to install WSL or Cygwin - just follow this lightweight and portable method.

Read more »

Introduction

在 Windows 10/11 上透過 Microsoft Store 更新 Samsung Notes (v4.3.181.0) 後,此 App 已經不能在非 Galaxy Book 的電腦上執行。目前有兩種解決方案可以緩解此問題,您可以嘗試其中一種。但請不要將兩種解決方案混用。

Read more »

FFmpeg is a free and open-source software project consisting of a suite of libraries and programs for handling video, audio, and other multimedia files and streams. At its core is the command-line ffmpeg tool itself, designed for processing video and audio files. It is widely used for format transcoding, basic editing (trimming and concatenation), video scaling, video post-production effects, and standards compliance (SMPTE, ITU).

Wikipedia ── FFmpeg

Introduction

在本篇文章中會透過 FFmpeg 實現將影片編碼轉換。

Read more »