# findpkgs **Repository Path**: kiraskyler/findpkgs ## Basic Information - **Project Name**: findpkgs - **Description**: 本地搭建rpm软件包搜索网站 仅依赖填写的仓库url,下载必要的repodata信息,即可提供web访问搜索软件包 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-09-15 - **Last Updated**: 2024-03-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![findpkgs](./index.png) # 简介 适用于本地部署 搜索仓库 暂只支持rpm系仓库 不支持deb仓库 # 安装&依赖 **安装python3** **安装依赖** ``` pip install flask ``` # 修改 **findpkgs/config.py** - 各个仓库地址 - url 默认绑定所有可用ip - port 默认2333 - 其他配置项目 # 使用 **手动启动** ``` python3 -m findpkgs.main ``` 访问web ip可替换为其他本机可用ip 不可访问时检查输出与防火墙 ``` http://127.0.0.1:2335 ``` **重建仓库信息** - 使用`url:port/rebuild` - 重建过程其实就是给自己进程发送`KILL`关掉自身,依赖`systemctl`自动重启 **开机启动** 修改```findpkgs.service```中的脚本路径 ``` cp findpkgs.service /etc/systemd/system/ systemctl start findpkgs systemctl enable findpkgs ``` # 关于 联系 kiraskyler@163.com