2026年02月10日 16:08:44

安装nginx-proxy-manager

1、低版本docker单独安装:apt install docker-compose

2、创建docker-compose.yml

services:

app:

image: 'jc21/nginx-proxy-manager:latest'

restart: unless-stopped

ports:

# These ports are in format <host-port>:<container-port>

- '80:80' # Public HTTP Port

- '443:443' # Public HTTPS Port

- '81:81' # Admin Web Port

# Add any other Stream port you want to expose

# - '21:21' # FTP

environment:

TZ: "Australia/Brisbane"

# Uncomment this if you want to change the location of

# the SQLite DB file within the container

# DB_SQLITE_FILE: "/data/database.sqlite"

# Uncomment this if IPv6 is not enabled on your host

# DISABLE_IPV6: 'true'

volumes:

- /root/nginx-proxy/data:/data

- /root/nginx-proxy/letsencrypt:/etc/letsencrypt

3、启动

docker-compose up -d

2026年01月29日 10:16:49

首先安装docker,要注意版本,docker版本过高不能使用,用26.1.3

apt install docker.io

outline服务器脚本:

wget https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh

执行命令:

./install_seerver.sh

使用https://getoutline.org/intl/zh-CN/get-started/

2025年08月12日 14:26:18


ubuntu node版本不匹配问题,快速安装n

curl -fsSL https://raw.githubusercontent.com/mklement0/n-install/stable/bin/n-install | bash -s 22

2025年07月28日 17:50:13

最近想学习一下AI相关的,准备用AI做一个摄影类的网站或者小程序

2025年05月07日 16:43:17

ohmyzsh无法更新:

omz update

fatal: unable to access 'https://github.com/ohmyzsh/ohmyzsh.git/': Failed to connect to github.com port 443 after 1 ms: Couldn't connect to server

打开:https://site.ip138.com/github.com/,查看github ip地址,配置host即可

2025年04月29日 16:51:07

docker开启API访问,在ExecStart后面添加 -H tcp://0.0.0.0:2375即可

vim /usr/lib/systemd/system/docker.service
ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock -H tcp://0.0.0.0:2375

添加保存以后,重载配置,重启docker即可

systemctl daemon-reload

systemctl restart docker

2025年02月24日 18:19:56

群晖删除quickconnect

sudo vi /usr/syno/etc/certificate/_archive/INFO

将user_deletable参数改为true, 就可以删除了

2024年12月31日 16:29:36

强制卸载群晖套件

ssh登录群晖,切换root用户

cd /var/packages

rm -rf 对应的套件目录即可

2024年10月17日 09:04:19

iPhone 无法开机或死机,如果屏幕显示黑屏或冻结

1、按下调高音量按钮再快速松开。

2、按下调低音量按钮再快速松开。

3、按住侧边按钮,直到看到 Apple 标志(这个过程大约需要 10 秒钟)。

2024年10月08日 09:23:02

Webstorm升级提示

Connection failed (Remote host terminated the handshake). Please check network connection and try again.

在webstorm.vmoptions中添加

-Djava.NET.preferIPv4Stack=true
-Didea.updates.url=https://dl.google.com/android/studio/patches/updates.xml
-Didea.patches.url=https://dl.google.com/android/studio/patches/

重启升级即可