求助 alist最新版本
喜闻乐见的阿里云又挂了 这次必须要升级到最新alist版本 但是istore 只更新到了v.3.16.3 无法升级到最新的3.17 求大神给个编译好alist吧 万分感谢 我找了半天没有找到 小白真的尽力了。。。求助 本人机器是MT3000 谢谢你好 我找了 但是很多版本 我不知道用哪个 唉 本帖最后由 老墩儿 于 2023-5-29 14:42 编辑
6楼正解 谢谢 我在上面看到很多这个arm64版本的下载 都是通用的吗 比如alist-darwin-amd64.tar.gz
alist-linux-amd64.tar.gz
alist-windows-amd64-upx.zip
alist-windows-amd64.zip
alist-windows-arm64.zip 我不知道下载哪个 感谢 能帮我看一下嘛
本帖最后由 guo1235567 于 2023-5-29 15:38 编辑
money9024 发表于 2023-5-29 00:48
谢谢 我在上面看到很多这个arm64版本的下载 都是通用的吗 比如alist-darwin-amd64.tar.gz
alist-linux-amd6 ...
你这个应该是编译文件吧?要下载 ipk 后缀的安装包文件
以后到这里下https://github.com/sbwml/luci-app-alist
选openwrt-21.02-aarch64_cortex-a53,解压缩后安装所有 ipk 文件即可,aarch64_cortex-a53是处理器架构,以后就找这个
3.18版本下载地址给你贴出来了
https://github.com/sbwml/luci-ap ... 4_cortex-a53.tar.gz 太感谢~~~! 真的感谢~!! 我都要放弃了 昨天到现在搞了几个小时了 无奈 基础太差了 虽然尽力了 但是真的搞不懂 真的太谢谢你了~! money9024 发表于 2023-5-29 13:24
太感谢~~~! 真的感谢~!! 我都要放弃了 昨天到现在搞了几个小时了 无奈 基础太差了 虽然尽力了 但是真的 ...
不客气,可以加 Q 群,有问题可以在里面问 810875001 guo1235567 发表于 2023-5-29 15:44
不客气,可以加 Q 群,有问题可以在里面问 810875001
加了 等通过 再次感谢大佬 这种有组织的感觉真棒!这论坛氛围太好了。。。 #!/bin/sh
RED_COLOR='\e[1;31m'
GREEN_COLOR='\e[1;32m'
RES='\e[0m'
# sysinfo
if [ -f /etc/openwrt_release ]; then
. /etc/openwrt_release
version=$(echo ${DISTRIB_RELEASE%%.*})
platform=$(echo $DISTRIB_ARCH)
ldd_version=$(ldd --version 2>&1 | grep Version | awk '{print $2}')
[ ${ldd_version%.*} = "1.2" ] && sdk=22.03 || sdk=21.02
else
echo -e "${RED_COLOR}Unknown OpenWRT Version${RES}"
exit 1
fi
# temp
temp_dir=$(mktemp -d) || exit 1
# github mirror
ip_info=$(curl -sk https://ip.cooluc.com)
country_code=$(echo $ip_info | sed -r 's/.*country_code":"([^"]*).*/\1/')
if [ $country_code = "CN" ]; then
google_status=$(curl -I -4 -m 3 -o /dev/null -s -w %{http_code} http://www.google.com/generate_204)
if [ ! $google_status = "204" ];then
mirror="https://github.cooluc.com/"
fi
fi
CHECK() (
echo -e "\n${GREEN_COLOR}Checking available space...${RES}"
ROOT_SPACE=$(df -m /usr | awk 'END{print $4}')
if [ $ROOT_SPACE -lt 40 ]; then
echo -e "\n${RED_COLOR}Error, The system storage space is less than 40MB.${RES}"
exit 1;
fi
echo -e "\n${GREEN_COLOR}Checking platform...${RES}\n"
prebuilt="aarch64_cortex-a53 aarch64_cortex-a72 aarch64_generic arm_arm1176jzf-s_vfp arm_arm926ej-s arm_cortex-a15_neon-vfpv4 arm_cortex-a5_vfpv4 arm_cortex-a7 arm_cortex-a7_neon-vfpv4 arm_cortex-a8_vfpv3 arm_cortex-a9 arm_cortex-a9_neon arm_cortex-a9_vfpv3-d16 arm_fa526 arm_mpcore arm_xscale i386_pentium-mmx i386_pentium4 mips64_octeonplus mips_24kc mips_4kec mips_mips32 mipsel_24kc mipsel_24kc_24kf mipsel_74kc mipsel_mips32 x86_64"
verif=$(expr match "$prebuilt" ".*\($platform\)")
if [[ ! $verif ]]; then
echo -e "${RED_COLOR}Error! The current \"$platform\" platform is not currently supported.${RES}"
exit 1;
else
echo -e "${GREEN_COLOR}Install luci-compat ...${RES}\n"
opkg update
opkg install luci-compat
fi
)
DOWNLOAD() (
echo -e "\n${GREEN_COLOR}Download "$mirror"https://github.com/sbwml/luci-app-alist/releases/latest/download/openwrt-$sdk-$platform.tar.gz ...${RES}\n"
curl --connect-timeout 30 -m 600 -kLo "$temp_dir/openwrt-$sdk-$platform.tar.gz" "$mirror"https://github.com/sbwml/luci-app-alist/releases/latest/download/openwrt-$sdk-$platform.tar.gz
if [ $? -ne 0 ]; then
echo -e "\n${RED_COLOR}Error! Download openwrt-$sdk-$platform.tar.gz failed.${RES}"
rm -rf $temp_dir
exit 1
fi
)
INSTALL() (
echo -e "\n${GREEN_COLOR}Install Packages ...${RES}\n"
tar -zxf $temp_dir/openwrt-$sdk-$platform.tar.gz -C $temp_dir/
opkg install $temp_dir/packages_ci/alist*.ipk
opkg install $temp_dir/packages_ci/luci-app-alist*.ipk
opkg install $temp_dir/packages_ci/luci-i18n*.ipk
rm -rf $temp_dir /tmp/luci-*
echo -e "\n${GREEN_COLOR}Done!${RES}\n"
)
CHECK && DOWNLOAD && INSTALL
先在软件库里装nano-full(当然如果喜欢vim之类的也成)
然后打开命令行,输入
nano /usr/updatealist.sh
内容就是粘贴上面这一堆
ctrl+O保存,按回车确定,ctrl+X退出
然后输入
sh /usr/updatealist.sh
等待完成 https://github.com/sbwml/luci-app-alist/releases/download/v3.19.0/openwrt-21.02-aarch64_cortex-a53.tar.gz
页:
[1]