安装 OpenList
VPS设置IPV4访问 因为德国小鸡是纯IPV6地址的,为了能访问Github下载文件所以要设置VPS能访问IPV4地址 echo -e "nameserver 2001:67c:2b0::4•\nnameserver 2001:67c:2b0::6" > /etc/resolv.conf 一键安装脚本 curl -fsSL https://res.oplist.org/script/v4.sh > install-openlist-v4.sh && sudo bash install-openlist-v4.sh 启动并设置开机自启 systemctl enable openlist systemctl start openlist 确认运行 systemctl status openlist 确认监听 5244 端口 ss -tlnp | grep 5244 创建 Nginx 配置 nano /etc/nginx/sites-available/openlist 写入 server { listen 80; listen [::]:80; server_name openlist.www88.dpdns.org; location / { proxy_pass http://127.0.0.1:5244; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; ...