Headscale Migration from CentOS 7 to Ubuntu 24

This guide covers the process of migrating a Headscale setup from a CentOS 7 system to Ubuntu 24, including steps for exporting configurations, database, and Docker images, as well as importing them on the new system. 1. Export Data and Image on CentOS 7 Export Configuration and Database To begin, export the configuration and database files from the headscale container: docker cp headscale:/etc/headscale/config.yaml ./config.yaml docker cp headscale:/etc/headscale/db.sqlite ./db.sqlite Export Docker Image Use docker save to export the headscale Docker image: docker save -o headscale_image_backup.tar headscale/headscale:0.23.0-beta1 2. Transfer Files to Ubuntu 24 Transfer the configuration, database, and image files to the Ubuntu 24 system using scp, rsync, or another file transfer tool:
Read more →

Common Docker Issues Solutions

Docker 疑难杂症汇总 在使用 Docker 的过程中,可能会遇到各种各样的问题,尤其是在国内环境下,网络限制可能会导致一些操作困难。本文将汇总常见的 Docker 安装与使用过程中可能遇到的疑难杂症,并提供相应的解决方案。 1. Docker 安装过程中
Read more →

Resolving Verdaccio Permissions and Proxy Issues in Docker

Resolving Verdaccio Permissions and Proxy Issues in Docker 问题 1:无法在 Docker 容器中创建目录 问题描述: 在构建 Verdaccio 的 Docker 镜像时,尝试创建 /usr/rn-plugin/storage 和 /usr/rn-plugin/plugins 目录时,出现了权限不足的错误。 解决方案: 通过在 Dockerfile 中切换到 root 用户来创建目录,并设置适当的权限。然后切换回 verdaccio 用户 #
Read more →

Server setup process using Headscale with Docker.

Server setup process using Headscale with Docker. 记录采用headscale & docker 异地组网过程 需求背景 曾经我尝试使用ZeroTier,最初的体验非常不错。然而,随着时间的推移,我发现连接速度变得缓慢和卡顿, 有时甚至需要借助特殊的网络加速技
Read more →

Record an Error During Node RED Deployment

记一次在docker 打包部署node red 启动报错 报错如下: --------------------------------------------------------------------- Your flow credentials file is encrypted using a system-generated key. If the system-generated key is lost for any reason, your credentials file will not be recoverable, you will have to delete it and re-enter your credentials. You should set your own key using the 'credentialSecret' option in your settings file. Node-RED will then re-encrypt your credentials file using your chosen key the next time you deploy a change. --------------------------------------------------------------------- 22 Feb
Read more →

Remember the Problem of Apisix and Node Red Multi Instance Debugging

Resolving Docker Compose and ApiSix Port 502 Error 在工作中,我尝试部署Saas应用程序,使用了Docker Compose、ApiSix和Node-RED。 然而,在这个过程中,我遇到了一个502端口访问错误。 我花了一整天的时间来解决这个
Read more →

Resolving the Issue of Centos 7 Vm Unable to Ping Its Host Machine

解决因docker网络导致的网络问题,无法ping通局域网ip 背景 在我的办公室网络环境中,我有一个 Windows 10 宿主机,上面安装了 VMware,并在 VMware 中运行了一个 CentOS 7 虚拟机。虽然宿主机和 CentOS 7 虚拟机都可以正常上网
Read more →

Reverse Proxy to Websocket Service Set Based on Apisix2

基于apisix2.4网关反向代理到websocket服务集节点 问题背景,主要是解决远程控制通信服务端单点问题,借助openresty强劲的性能,可定制化的负载均衡设计特点 apisix就是基于open
Read more →