使用宝塔搭建教程
上传解压源码
新建站点,根目录设置为解压后的路径
设置伪静态:
访问域名/ip/install
根据提示配置数据库,安装即可
rewrite ^/debs/([^/]+) /downloads.php?request=$1; rewrite ^/(Release)$ /lists.php?request=Release; rewrite ^/(Packages)$ /lists.php?request=Packages; rewrite ^/(Packages\.gz)$ /lists.php?request=Packages.gz; rewrite ^/(Packages\.bz2)$ /lists.php?request=Packages.bz2; rewrite ^/(rewritetest)$ /robots.txt; rewrite ^/view/([0-9]+)(.*) /index.php?method=view&pid=$1; rewrite ^/view/([0-9]+)/nohistory /index.php?method=view&pid=$1&addr=nohistory; rewrite ^/screenshot/([0-9]+)(.*) /index.php?method=screenshot&pid=$1; rewrite ^/history/([0-9]+)(.*) /index.php?method=history&pid=$1; rewrite ^/contact/([0-9]+)(.*) /index.php?method=contact&pid=$1; rewrite ^/section/([0-9]+)(.*) /index.php?method=section&pid=$1; rewrite ^/report/([0-9]+)/([0-9]+)(.*) /index.php?method=report&pid=$1&support=$2; rewrite ^/report/([0-9]+)(.*) /index.php?method=report&pid=$1; rewrite ^/more/([0-9]+)/([0-9]+)(.*) /index.php?method=more&pid=$1&offset=$2; rewrite ^/more/([0-9]+)(.*) /index.php?method=more&pid=$1; rewrite ^/more/([0-9]+)(.*) /index.php?method=more&pid=$1; rewrite ^/(misc)$ /misc.php;Copy
Origin: 源名称 Label: 源名称 Suite: stable Version: 1.0 ##版本号,随便填一个就行 Architectures: iphoneos-arm Components: main Description: 源的描述Copy
#!/bin/sh dpkg-scanpackages -m ./debs > Packages ##将/debs/路径下所有deb打包成packages文件 rm -r -f /源路径/repo/Packages.bz2 ##删除旧的packages压缩包 bzip2 Packages ##生成新的packages压缩包 dpkg-scanpackages -m ./debs > Packages ##打包生成packagesCopy
#!/bin/sh mkdir 1 ##创建名称为“1“的文件夹 dpkg -x a.deb 1 ##将a.deb解包到“1“文件夹内 dpkg -e a.deb 1/DEBIAN ##将a.deb软件包control等文件解压到1/DEBIAN内 chmod -R a+wr 1/DEBIAN ##给予1/DEBIAN可读写权限Copy
Package: 软件包标识符 Section: 软件包的分类 Maintainer: 维护者 Architecture: iphoneos-arm Version: 版本号 Depends: mobilesubstrate, firmware (>= 13.0) Description: 描述 SileoDepiction: sileo下看到的描述页面 Depiction: cydia下看到的描述页面 Name: 软件包名称 Author: 作者名称Copy
#!/bin/sh chmod 0755 1/DEBIAN ##修改权限,不然会报错 chmod 0555 1/DEBIAN/postinst ##修改权限,不然会报错 chmod 0555 1/DEBIAN/postrm ##修改权限,不然会报错 rm -f 1/.DS_Store ##移除mac下的缓存文件 rm -f 1/DEBIAN/.DS_Store dpkg -b 1 ./ ##打包 rm -rf 1 ##删除1文件夹 rm -f a.deb ##删除旧软件包Copy
{ "headerImage":"https://cdn.jsdelivr.net/gh/zsbai/CDN/img/luotianyi.JPG", "tintColor":"#FE3644", "tabs":[ { "tabname":"详情描述", "views":[ { "text":"源内插件均为搬运,仅供自己备份使用", "action":"", "tintColor":"", "class":"DepictionButtonView" }, { "useBoldText":true, "title":"简介", "useBottomMargin":false, "class":"DepictionHeaderView" }, { "useSpacing":true, "class":"DepictionMarkdownView", "markdown":"插件的描述文字" }, { "class":"DepictionSeparatorView" }, { "title":"版本描述","class":"DepictionHeaderView" }, { "title":"系统支持", "text":"---", "class":"DepictionTableTextView" }, { "title":"作者", "text":"bailu", "class":"DepictionTableTextView" }, { "title":"更新日期", "text":"2019-01-21", "class":"DepictionTableTextView" }, { "title":"当前版本", "text":"1.0.0", "class":"DepictionTableTextView" }, { "class":"DepictionMarkdownView", "useRawFormat":true, "markdown":"<small style=\"color: #aaa; font-size: 8pt;\">白鹭©2020</small><style>body { text-align: center; }</style>" } ], "class":"DepictionStackView" }, { "tabname":"预览截图", "class":"DepictionStackView", "views":[ { "spacing":8, "class":"DepictionSpacerView" }, { "screenshots":[ { "accessibilityText":"Screenshot", "url":"https://cdn.jsdelivr.net/gh/zsbai/CDN/img/yulanjietu.PNG" }, { "accessibilityText":"Screenshot", "url":"https://cdn.jsdelivr.net/gh/zsbai/CDN/img/2.png" }, { "accessibilityText":"Screenshot", "url":"https://cdn.jsdelivr.net/gh/zsbai/CDN/img/3.png" }, { "accessibilityText":"Screenshot", "url":"https://cdn.jsdelivr.net/gh/zsbai/CDN/img/4.png" } ], "class":"DepictionScreenshotsView", "itemCornerRadius":6, "itemSize":"{170, 350.4533333333333}" }, { "class":"DepictionSeparatorView" }, { "class":"DepictionMarkdownView", "markdown":"<small style=\"color: #aaa; font-size: 8pt;\">白鹭@2020</small><style>body { text-align: center; }</style>", "useRawFormat":true } ] } ], "class":"DepictionTabView","minVersion":"0.1" }Copy
{ "name": "插件名字", "desc_short": "插件的描述文字", "desc_version": "1.0.0", "compatitle": "IOS:11-12", "author": "bailu", "updatetime": "2019-01-21", "changelog": "<strong>历史变跟</strong><br>暂时没有历史版本<br>", "screenshot": "<div style='text-align:center;'><img width=95% src='图片链接'/></a><br></div>", "open": true, }Copy