切换到cn
This commit is contained in:
parent
ee518e352f
commit
31880f86e3
12
README.md
12
README.md
@ -32,17 +32,17 @@ root@orangepizero3:~#
|
|||||||
### Ubuntu/Debian/Synology等基于Debian的Linux
|
### Ubuntu/Debian/Synology等基于Debian的Linux
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget -qO pi.sh https://cafe.cpolar.top/wkdaily/zero3/raw/branch/main/zero3/pi.sh && chmod +x pi.sh && ./pi.sh
|
wget -qO pi.sh https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/zero3/pi.sh && chmod +x pi.sh && ./pi.sh
|
||||||
|
|
||||||
```
|
```
|
||||||
### QNAP 威联通docker-compose 搭建小雅全家桶
|
### QNAP 威联通docker-compose 搭建小雅全家桶
|
||||||
```bash
|
```bash
|
||||||
bash -c "$(curl -fsSL https://cafe.cpolar.top/wkdaily/zero3/raw/branch/main/xiaoya/xiaoya-all.sh)"
|
bash -c "$(curl -fsSL https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/xiaoya/xiaoya-all.sh)"
|
||||||
```
|
```
|
||||||
|
|
||||||
### OpenWrt/iStoreOS 软路由系统
|
### OpenWrt/iStoreOS 软路由系统
|
||||||
```bash
|
```bash
|
||||||
wget -qO op.sh https://cafe.cpolar.top/wkdaily/zero3/raw/branch/main/zero3/op.sh && chmod +x op.sh && ./op.sh
|
wget -qO op.sh https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/zero3/op.sh && chmod +x op.sh && ./op.sh
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -85,9 +85,9 @@ https://github.com/DDS-Derek/xiaoya-alist
|
|||||||
|
|
||||||
[常见问题总结(持续更新中](https://github.com/wukongdaily/OrangePiShell/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
|
[常见问题总结(持续更新中](https://github.com/wukongdaily/OrangePiShell/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
|
||||||
|
|
||||||
[常见问题总结(持续更新中)](https://cafe.cpolar.top/wkdaily/zero3/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E6%B1%87%E6%80%BB)
|
[常见问题总结(持续更新中)](https://cafe.cpolar.cn/wkdaily/zero3/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E6%B1%87%E6%80%BB)
|
||||||
# 如何定时重启小雅?
|
# 如何定时重启小雅?
|
||||||
[使用1panel 添加定时任务即可](https://cafe.cpolar.top/wkdaily/zero3/wiki/%E5%A6%82%E4%BD%95%E5%AE%9A%E6%97%B6%E9%87%8D%E5%90%AF%E5%B0%8F%E9%9B%85)
|
[使用1panel 添加定时任务即可](https://cafe.cpolar.cn/wkdaily/zero3/wiki/%E5%A6%82%E4%BD%95%E5%AE%9A%E6%97%B6%E9%87%8D%E5%90%AF%E5%B0%8F%E9%9B%85)
|
||||||
# 小雅alsit 和 小雅tvbox 有啥区别吗?
|
# 小雅alsit 和 小雅tvbox 有啥区别吗?
|
||||||
```
|
```
|
||||||
截止到我做视频的时候,小雅alist 和 小雅tvbox 是有如下区别的。
|
截止到我做视频的时候,小雅alist 和 小雅tvbox 是有如下区别的。
|
||||||
@ -126,7 +126,7 @@ https://github.com/power721/alist-tvbox/blob/master/doc/README_zh.md
|
|||||||
# 附加功能
|
# 附加功能
|
||||||
- zero3 的 immortalwrt 系统下一键安装iStore商店 (x86-64/arm64)
|
- zero3 的 immortalwrt 系统下一键安装iStore商店 (x86-64/arm64)
|
||||||
```
|
```
|
||||||
wget -qO imm.sh https://cafe.cpolar.top/wkdaily/zero3/raw/branch/main/zero3/imm.sh && chmod +x imm.sh && ./imm.sh
|
wget -qO imm.sh https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/zero3/imm.sh && chmod +x imm.sh && ./imm.sh
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ IMAGE_PROXY="${IMAGE_PROXY:=}"
|
|||||||
# 服务镜像
|
# 服务镜像
|
||||||
IMAGE_TAG="${VERSION:-latest}"
|
IMAGE_TAG="${VERSION:-latest}"
|
||||||
# 服务下载地址
|
# 服务下载地址
|
||||||
DOWNLOAD_URL="https://cafe.cpolar.top/wkdaily/zero3/raw/branch/main/xiaoya"
|
DOWNLOAD_URL="https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/xiaoya"
|
||||||
|
|
||||||
# 欢迎信息
|
# 欢迎信息
|
||||||
echo "欢迎使用xiaoya服务部署脚本"
|
echo "欢迎使用xiaoya服务部署脚本"
|
||||||
|
12
zero3/op.sh
12
zero3/op.sh
@ -65,7 +65,7 @@ install_wukongdaily_box() {
|
|||||||
|
|
||||||
# 更新自己
|
# 更新自己
|
||||||
update_scripts() {
|
update_scripts() {
|
||||||
wget -O op.sh https://cafe.cpolar.top/wkdaily/zero3/raw/branch/main/zero3/op.sh && chmod +x op.sh
|
wget -O op.sh https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/zero3/op.sh && chmod +x op.sh
|
||||||
./op.sh
|
./op.sh
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
@ -73,7 +73,7 @@ update_scripts() {
|
|||||||
# 安装小雅xiaoya-tvbox
|
# 安装小雅xiaoya-tvbox
|
||||||
# 参考 https://har01d.cn/notes/alist-tvbox.html
|
# 参考 https://har01d.cn/notes/alist-tvbox.html
|
||||||
install_xiaoya_tvbox() {
|
install_xiaoya_tvbox() {
|
||||||
curl -fsSL https://cafe.cpolar.top/wkdaily/zero3/raw/branch/main/xiaoya/xiaoya_tvbox.sh -o xt.sh
|
curl -fsSL https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/xiaoya/xiaoya_tvbox.sh -o xt.sh
|
||||||
chmod +x xt.sh
|
chmod +x xt.sh
|
||||||
./xt.sh -d /etc/xiaoya
|
./xt.sh -d /etc/xiaoya
|
||||||
green "tvbox 使用的json地址是 http://${host_ip}:4567/sub/0"
|
green "tvbox 使用的json地址是 http://${host_ip}:4567/sub/0"
|
||||||
@ -145,7 +145,7 @@ install_istorepanel() {
|
|||||||
if [ -d "$config_path" ]; then
|
if [ -d "$config_path" ]; then
|
||||||
uci set istorepanel.@main[0].config_path=$config_path
|
uci set istorepanel.@main[0].config_path=$config_path
|
||||||
uci commit istorepanel
|
uci commit istorepanel
|
||||||
wget -qO /tmp/istorepanel.sh https://cafe.cpolar.top/wkdaily/zero3/raw/branch/main/zero3/istorepanel.sh
|
wget -qO /tmp/istorepanel.sh https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/zero3/istorepanel.sh
|
||||||
chmod +x /tmp/istorepanel.sh
|
chmod +x /tmp/istorepanel.sh
|
||||||
"/tmp/istorepanel.sh" install
|
"/tmp/istorepanel.sh" install
|
||||||
greenline "———————————————安装完成————————————————————————"
|
greenline "———————————————安装完成————————————————————————"
|
||||||
@ -209,7 +209,7 @@ get_docker_compose_url() {
|
|||||||
fi
|
fi
|
||||||
local repo_path=$(echo "$releases_url" | sed -n 's|https://github.com/\(.*\)/releases/latest|\1|p')
|
local repo_path=$(echo "$releases_url" | sed -n 's|https://github.com/\(.*\)/releases/latest|\1|p')
|
||||||
if [[ $(curl -s ipinfo.io/country) == "CN" ]]; then
|
if [[ $(curl -s ipinfo.io/country) == "CN" ]]; then
|
||||||
docker_compose_download_url="https://cafe.cpolar.top/wkdaily/docker-compose/raw/branch/main/${platform}"
|
docker_compose_download_url="https://cafe.cpolar.cn/wkdaily/docker-compose/raw/branch/main/${platform}"
|
||||||
else
|
else
|
||||||
docker_compose_download_url="https://github.com/${repo_path}/releases/download/${tag}/${platform}"
|
docker_compose_download_url="https://github.com/${repo_path}/releases/download/${tag}/${platform}"
|
||||||
fi
|
fi
|
||||||
@ -249,7 +249,7 @@ install_teslamate() {
|
|||||||
echo "Docker Compose is installed."
|
echo "Docker Compose is installed."
|
||||||
docker-compose --version
|
docker-compose --version
|
||||||
mkdir -p /tmp/teslamate
|
mkdir -p /tmp/teslamate
|
||||||
wget -O /tmp/teslamate/docker-compose.yml https://cafe.cpolar.top/wkdaily/zero3/raw/branch/main/teslamate/docker-compose.yml
|
wget -O /tmp/teslamate/docker-compose.yml https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/teslamate/docker-compose.yml
|
||||||
cd /tmp/teslamate
|
cd /tmp/teslamate
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
else
|
else
|
||||||
@ -260,7 +260,7 @@ install_teslamate() {
|
|||||||
|
|
||||||
install_xiaoya_allinone() {
|
install_xiaoya_allinone() {
|
||||||
if which docker-compose >/dev/null 2>&1; then
|
if which docker-compose >/dev/null 2>&1; then
|
||||||
bash -c "$(curl -fsSL https://cafe.cpolar.top/wkdaily/zero3/raw/branch/main/xiaoya/xiaoya-all.sh)"
|
bash -c "$(curl -fsSL https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/xiaoya/xiaoya-all.sh)"
|
||||||
else
|
else
|
||||||
red "Docker Compose 还未安装,正在尝试安装..."
|
red "Docker Compose 还未安装,正在尝试安装..."
|
||||||
green "安装成功后,请您再次执行该选项"
|
green "安装成功后,请您再次执行该选项"
|
||||||
|
14
zero3/pi.sh
14
zero3/pi.sh
@ -189,7 +189,7 @@ install_filemanager() {
|
|||||||
return 7
|
return 7
|
||||||
fi
|
fi
|
||||||
filemanager_file="${filemanager_os}-$filemanager_arch-filebrowser$filemanager_dl_ext"
|
filemanager_file="${filemanager_os}-$filemanager_arch-filebrowser$filemanager_dl_ext"
|
||||||
filemanager_url="https://cafe.cpolar.top/wkdaily/filebrowser/raw/branch/main/$filemanager_file"
|
filemanager_url="https://cafe.cpolar.cn/wkdaily/filebrowser/raw/branch/main/$filemanager_file"
|
||||||
|
|
||||||
|
|
||||||
# Use $PREFIX for compatibility with Termux on Android
|
# Use $PREFIX for compatibility with Termux on Android
|
||||||
@ -358,7 +358,7 @@ install_xiaoya_alist() {
|
|||||||
阿里云盘转存目录folder id: https://www.aliyundrive.com/s/rP9gP3h9asE
|
阿里云盘转存目录folder id: https://www.aliyundrive.com/s/rP9gP3h9asE
|
||||||
'
|
'
|
||||||
# 调用修改后的脚本
|
# 调用修改后的脚本
|
||||||
bash -c "$(curl https://cafe.cpolar.top/wkdaily/zero3/raw/branch/main/xiaoya/xiaoya.sh)"
|
bash -c "$(curl https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/xiaoya/xiaoya.sh)"
|
||||||
# 检查xiaoyaliu/alist 是否运行,如果运行了 则提示下面的信息,否则退出
|
# 检查xiaoyaliu/alist 是否运行,如果运行了 则提示下面的信息,否则退出
|
||||||
if ! docker ps | grep -q "xiaoyaliu/alist"; then
|
if ! docker ps | grep -q "xiaoyaliu/alist"; then
|
||||||
echo "Error: xiaoyaliu/alist Docker 容器未运行"
|
echo "Error: xiaoyaliu/alist Docker 容器未运行"
|
||||||
@ -528,7 +528,7 @@ install_casaos() {
|
|||||||
|
|
||||||
# 更新自己
|
# 更新自己
|
||||||
update_scripts() {
|
update_scripts() {
|
||||||
wget -O pi.sh https://cafe.cpolar.top/wkdaily/zero3/raw/branch/main/zero3/pi.sh && chmod +x pi.sh
|
wget -O pi.sh https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/zero3/pi.sh && chmod +x pi.sh
|
||||||
echo "脚本已更新并保存在当前目录 pi.sh,现在将执行新脚本。"
|
echo "脚本已更新并保存在当前目录 pi.sh,现在将执行新脚本。"
|
||||||
./pi.sh
|
./pi.sh
|
||||||
exit 0
|
exit 0
|
||||||
@ -540,7 +540,7 @@ install_xiaoya_tvbox() {
|
|||||||
local host_ip
|
local host_ip
|
||||||
host_ip=$(hostname -I | awk '{print $1}')
|
host_ip=$(hostname -I | awk '{print $1}')
|
||||||
#wget -qO xt.sh https://d.har01d.cn/update_xiaoya.sh
|
#wget -qO xt.sh https://d.har01d.cn/update_xiaoya.sh
|
||||||
curl -fsSL https://cafe.cpolar.top/wkdaily/zero3/raw/branch/main/xiaoya/xiaoya_tvbox.sh -o xt.sh
|
curl -fsSL https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/xiaoya/xiaoya_tvbox.sh -o xt.sh
|
||||||
sudo chmod +x xt.sh
|
sudo chmod +x xt.sh
|
||||||
sudo ./xt.sh -d /mnt/xiaoya
|
sudo ./xt.sh -d /mnt/xiaoya
|
||||||
green "tvbox 使用的json地址是 http://${host_ip}:4567/sub/0"
|
green "tvbox 使用的json地址是 http://${host_ip}:4567/sub/0"
|
||||||
@ -558,7 +558,7 @@ install_xiaoya_tvbox() {
|
|||||||
install_teslamate() {
|
install_teslamate() {
|
||||||
check_docker_compose
|
check_docker_compose
|
||||||
sudo mkdir -p /opt/teslamate/import
|
sudo mkdir -p /opt/teslamate/import
|
||||||
wget -O /opt/teslamate/docker-compose.yml https://cafe.cpolar.top/wkdaily/zero3/raw/branch/main/teslamate/docker-compose.yml
|
wget -O /opt/teslamate/docker-compose.yml https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/teslamate/docker-compose.yml
|
||||||
cd /opt/teslamate
|
cd /opt/teslamate
|
||||||
sudo docker-compose up -d
|
sudo docker-compose up -d
|
||||||
}
|
}
|
||||||
@ -581,7 +581,7 @@ install_ddnsto() {
|
|||||||
|
|
||||||
# 安装小雅全家桶
|
# 安装小雅全家桶
|
||||||
install_xiaoya_emby() {
|
install_xiaoya_emby() {
|
||||||
bash -c "$(curl -fsSL https://cafe.cpolar.top/wkdaily/zero3/raw/branch/main/xiaoya/xiaoya-all.sh)"
|
bash -c "$(curl -fsSL https://cafe.cpolar.cn/wkdaily/zero3/raw/branch/main/xiaoya/xiaoya-all.sh)"
|
||||||
}
|
}
|
||||||
|
|
||||||
get_docker_compose_url() {
|
get_docker_compose_url() {
|
||||||
@ -603,7 +603,7 @@ get_docker_compose_url() {
|
|||||||
platform="docker-compose-linux-x86_64"
|
platform="docker-compose-linux-x86_64"
|
||||||
local repo_path=$(echo "$releases_url" | sed -n 's|https://github.com/\(.*\)/releases/latest|\1|p')
|
local repo_path=$(echo "$releases_url" | sed -n 's|https://github.com/\(.*\)/releases/latest|\1|p')
|
||||||
if [[ $(curl -s ipinfo.io/country) == "CN" ]]; then
|
if [[ $(curl -s ipinfo.io/country) == "CN" ]]; then
|
||||||
docker_compose_download_url="https://cafe.cpolar.top/wkdaily/docker-compose/raw/branch/main/${platform}"
|
docker_compose_download_url="https://cafe.cpolar.cn/wkdaily/docker-compose/raw/branch/main/${platform}"
|
||||||
else
|
else
|
||||||
docker_compose_download_url="https://github.com/${repo_path}/releases/download/${tag}/${platform}"
|
docker_compose_download_url="https://github.com/${repo_path}/releases/download/${tag}/${platform}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user