Skip to content

walnutpi/wpi-update-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wpi-update-server

用于wpi-update使用的服务端

项目使用方式

1. 配置nginx

安装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

3. 配置apt源

打开用于设置apt源的配置文件

sudo vim /etc/apt/sources.list

插入源,把其中的xxxx改成自己的ip地址

deb [trusted=yes] http://xxxxx/debian/ bookworm main

About

存放wpi-update指令的各种包

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages