0%

Introduction

UPS CP1000AVRLCDa 微開箱 之後,電池過了五、六年開開始無法蓄電,原本不太確定是 UPS 電路的問題或電池的問題,但想了一下以 UPS 相對簡單的模組(電路板 + 電池 + 螢幕),通常會壞掉的應該是電池而不是電路板,因此決定嘗試看看先換電池看續電是否正常(如果換完一樣是壞的就算了)。

Read more »

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 »