2026-02-10
安装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
首先安装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
ubuntu node版本不匹配问题,快速安装n
curl -fsSL https://raw.githubusercontent.com/mklement0/n-install/stable/bin/n-install | bash -s 22
2025-05-07
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
docker开启API访问,在ExecStart后面添加 -H tcp://0.0.0.0:2375即可
vim /usr/lib/systemd/system/docker.serviceExecStart=/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
群晖删除quickconnect
sudo vi /usr/syno/etc/certificate/_archive/INFO
将user_deletable参数改为true, 就可以删除了
2024-10-17
iPhone 无法开机或死机,如果屏幕显示黑屏或冻结
1、按下调高音量按钮再快速松开。
2、按下调低音量按钮再快速松开。
3、按住侧边按钮,直到看到 Apple 标志(这个过程大约需要 10 秒钟)。
2024-10-08
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/
重启升级即可