Linux服务器管理面板 1Panel第三方应用商店

https://github.com/okxlin/appstore

使用方法

默认1Panel安装在/opt/路径下,如果不是按需修改路劲

1panel计划任务类型Shell 脚本的计划任务框里,添加并执行以下命令,或者终端运行以下命令

国内网络

Git命令

git clone -b localApps https://mirror.ghproxy.com/https://github.com/okxlin/appstore /opt/1panel/resource/apps/local/appstore-localApps

cp -rf /opt/1panel/resource/apps/local/appstore-localApps/apps/* /opt/1panel/resource/apps/local/

rm -r /opt/1panel/resource/apps/local/appstore-localApps

压缩包方式


unzip -o -d /opt/1panel/resource/apps/local/ /opt/1panel/resource/apps/local/localApps.zip

cp -rf /opt/1panel/resource/apps/local/appstore-localApps/apps/* /opt/1panel/resource/apps/local/

rm -r /opt/1panel/resource/apps/local/appstore-localApps

rm /opt/1panel/resource/apps/local/localApps.zip

国际网络

Git命令

git clone -b localApps https://github.com/okxlin/appstore /opt/1panel/resource/apps/local/appstore-localApps

cp -rf /opt/1panel/resource/apps/local/appstore-localApps/apps/* /opt/1panel/resource/apps/local/

rm -r /opt/1panel/resource/apps/local/appstore-localApps

压缩包方式

wget -P /opt/1panel/resource/apps/local https://github.com/okxlin/appstore/archive/refs/heads/localApps.zip

unzip -o -d /opt/1panel/resource/apps/local/ /opt/1panel/resource/apps/local/localApps.zip

cp -rf /opt/1panel/resource/apps/local/appstore-localApps/apps/* /opt/1panel/resource/apps/local/

rm -r /opt/1panel/resource/apps/local/appstore-localApps

rm /opt/1panel/resource/apps/local/localApps.zip
posted @ 2024-06-19 10:39  Damon'log  阅读(24)  评论(0编辑  收藏  举报