侧边栏壁纸
博主头像
如普·Blog博主等级

行动起来,活在当下

  • 累计撰写 19 篇文章
  • 累计创建 1 个标签
  • 累计收到 11 条评论

目 录CONTENT

文章目录

1Panel面板添加第三方应用库

搞机小铺
2024-03-03 / 2 评论 / 0 点赞 / 868 阅读 / 4015 字

前言

因为宝塔面板一些不可言说的原因很多用户慢慢的转用1Panel面板,1Panel是一个主要基于Docker应用的面板管理工具,但是官方的应用商店应用又少得可怜(不过一直也在增加),很多用户可能也不太喜欢原生的Docker应用安装方式,所以我们可以自己尝试添加第三方应用库,以实现更多的应用一键安装。

添加第三方软件库

添加位置

国内网络环境(二选一)

方式一、使用 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 -rf /opt/1panel/resource/apps/local/appstore-localApps

方式二、使用压缩包方式获取应用

wget -P /opt/1panel/resource/apps/local https://mirror.ghproxy.com/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 -rf /opt/1panel/resource/apps/local/appstore-localApps

rm -rf /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 -rf /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 -rf /opt/1panel/resource/apps/local/appstore-localApps

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

执行任务

查看本地应用

测试成功

参考https://github.com/okxlin/appstore

0
  1. 支付宝打赏

    qrcode alipay
  2. 微信打赏

    qrcode weixin

评论区