用于wpi-update使用的服务端
安装nginx
sudo apt install nginx
打开配置文件
sudo vim /etc/nginx/sites-enabled/default在server中添加一个location项,将路径指向本项目的web文件夹
location / {
alias /xxx/wpi-update-server/web;
autoindex on;
}
重启nginx服务
sudo systemctl restart nginx.service打开用于设置apt源的配置文件
sudo vim /etc/apt/sources.list
插入源,把其中的xxxx改成自己的ip地址
deb [trusted=yes] http://xxxxx/debian/ bookworm main