OpenWrt Argon 主题安装教程 – 值得推荐的LUCI主题

简介

如果你想让你的openwrt看起来更酷一点,那么Argon主题是一个非常不错的选择。

在本教程中,REG将在通用的OpenWRT版本上安装Argon OpenWRT主题。

REG使用的是在x86机器上的OpenWRT虚拟机,你可以在之前的教程中了解如何安装。

en-US

要求

硬件

  • 大多数支持OpenWRT的硬件。
  • 足够的磁盘空间 ~ >10Mib。
  • 互联网连接。

软件:

  • Argon主题。
  • 已安装且可访问的OpenWRT。
  • OpenSSH客户端。

项目的Github页面

https://github.com/jerrykuku/luci-theme-argon?tab=readme-ov-file#a-brand-new-openwrt-luci-theme

REG建议你在继续之前阅读官方文档。

[-1] 所有命令

以下是REG测试过的安装Argon主题的所有命令。

REG已重新编写这些命令以确保它们的顺畅运行。

复制并粘贴 如果你知道自己在做什么!

opkg update
opkg install luci-compat
opkg install luci-lib-ipkg
wget -O luci-theme-argon_2.3.1_all.ipk --no-check-certificate https://github.com/jerrykuku/luci-theme-argon/releases/download/v2.3.1/luci-theme-argon_2.3.1_all.ipk
opkg install luci-theme-argon_2.3.1_all.ipk
wget -O luci-app-argon-config_0.9_all.ipk --no-check-certificate https://github.com/jerrykuku/luci-app-argon-config/releases/download/v0.9/luci-app-argon-config_0.9_all.ipk
opkg install luci-app-argon-config*.ipk

或者:

按照步骤逐步进行。

[0] 连接到OpenWRT

使用以下命令SSH连接到你的OpenWRT:

ssh <username>@<ip_address> -p <port>

<!> 注意:“<username>”、“<ipadress>”和“<port>”只是占位符,
请将它们替换为你自己的信息。

在REG的例子中,命令是:

ssh [email protected]

默认端口是22。

[1] 更新opkg包

安装软件之前,建议更新包管:

opkg update

[2] 安装Argon

安装依赖:

opkg install luci-compat
opkg install luci-lib-ipkg

安装Argon主题:

wget -O luci-theme-argon_2.3.1_all.ipk --no-check-certificate https://github.com/jerrykuku/luci-theme-argon/releases/download/v2.3.1/luci-theme-argon_2.3.1_all.ipk
opkg install luci-theme-argon_2.3.1_all.ipk

如果一切正常:

[3] 安装Argon配置

建议安装Argon配置,以便您可以自定义你的Argon主题。

wget -O luci-app-argon-config_0.9_all.ipk --no-check-certificate https://github.com/jerrykuku/luci-app-argon-config/releases/download/v0.9/luci-app-argon-config_0.9_all.ipk
opkg install luci-app-argon-config*.ipk

故障排除

有时它可能无法正常工作:

我们可以尝试删除并重新安装:

opkg remove luci-theme-argon
rm -rf /tmp/luci-*
service uhttpd restart


Leave a Reply

Your email address will not be published. Required fields are marked *