本教程适合于CPU是X64,arm64平台的openwrt系统
1. ssh登录openwrt路由器
2. 在命令行下,添加cpolar插件的仓库源
2.1 下载公钥
wget -O cpolar-public.key http://openwrt.cpolar.com/releases/public.key
opkg-key add cpolar-public.key
2.2 将cpolar源添加至包管理器
echo "src/gz cpolar_packages http://openwrt.cpolar.com/releases/packages/$(. /etc/openwrt_release ; echo $DISTRIB_ARCH)" \
>> /etc/opkg/customfeeds.conf
2.3 更新包管理器
opkg update
3. 安装cpolar插件
opkg install luci-app-cpolar
opkg install luci-i18n-cpolar-zh-cn