亚洲毛片动漫无码不卡_女人扒开腿让男人桶视频在线观看_一级国产精品 免费 观看_欧美首页青青草_狠狠丁香激情久久综合_欧美91成人亚洲播放网站_强奸美女大片免费网站福利视频_黄片高清精品无码

訪客

玩客云armv7l芯片也能玩1panel?armbian 下成功實踐

6422 大謀兒 知識探索

1.先刷armbian

這里推薦的版本是bullseye_edge 
刷好后,連接網線重新開機,進路由找到自己onecloud的ip后,用ssh軟件連接
默認賬戶和密碼root/1234

2.終端命令armbian-config修改主機名,固定靜態ip地址,重設時區...

3.修改軟件更新源地址

終端命令執行:
sed -i.bak 's#http://apt.armbian.com#https://mirrors.tuna.tsinghua.edu.cn/armbian#g' /etc/apt/sources.list.d/armbian.list
編輯 /etc/apt/sources.list
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free

# deb https://security.debian.org/debian-security bullseye-security main contrib non-free
# # deb-src https://security.debian.org/debian-security bullseye-security main contrib non-free

以上源來源地址:
https://mirrors.tuna.tsinghua.edu.cn/help/armbian/

4.執行更新

apt update && apt upgrade -y

5.安裝ntfs和exfat支持

apt install exfat-fuse ntfs-3g

6.開機掛載磁盤

這里我掛載的是SD卡,穩定性和速度都比USB強,寫入測試有40+M/S
查看各磁盤uuid:blkid
新建需要掛載到的文件夾:
mkdir /mnt/mmcblk0p1
修改/etc/fstab文件,在最后一行添加自己的磁盤,添加完成后最好是留最后一行空行
實例:
UUID=c918b0fe-cff5-bd44-a112-f57499d5caf2 /mnt/mmcblk0p1 ext4 defaults 0 2
UUID=EA382B55382B2055 /mnt/mmcblk0p1 ntfs-3g defaults 0 2
UUID=B804-9CBF /mnt/mmcblk0p1 exfat defaults,nofail,umask=0000 0 0

使掛載生效:mount -a

創建一些軟連接避免內置空間爆盤

mkdir /mnt/mmcblk0p1/docker
ln -s /mnt/mmcblk0p1/docker /var/lib/docker


mkdir /mnt/mmcblk0p1/DATA
ln -s /mnt/mmcblk0p1/DATA /DATA


mkdir /mnt/mmcblk0p1/w
ln -s /mnt/mmcblk0p1/w /w


mkdir /mnt/mmcblk0p1/www
ln -s /mnt/mmcblk0p1/www /www


mkdir /mnt/mmcblk0p1/opt
ln -s /mnt/mmcblk0p1/opt /opt


mkdir /mnt/mmcblk0p1/containerd
ln -s /mnt/mmcblk0p1/containerd /var/lib/containerd

磁盤掛載相關常用命令:
df -h或者lsblk
查看掛載情況
fdisk -l
查看所有的磁盤信息
mkfs -t ext4 /dev/sda1
格式化磁盤為ext4格式
blkid
查看磁盤uuid
mkdir /mnt/usb1
新建一個usb1文件夾
mount -t ext4 /dev/sda1 /mnt/usb1
掛載/dev/sda1磁盤到/mnt/usb1
umount /dev/sda1
卸載/dev/sda1

7.安裝docker

bash <(curl -sSL https://linuxmirrors.cn/docker.sh)

卸載 docker
sudo apt-get purge docker-ce docker-ce-cli containerd.io
sudo rm -rf /var/lib/docker
sudo rm -rf /var/lib/containerd


8.安裝1panel

離線安裝
上傳1panel_1.10.8.sh和1panel-v1.10.8-lts-linux-armv7.tar.gz到/root 目錄
終端執行安裝
/bin/bash 1panel_1.10.8.sh

或者使用官方安裝方式就不用上傳文件后本地安裝
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && bash quick_start.sh

[1Panel Log]: =================感謝您的耐心等待,安裝已經完成================== 
[1Panel Log]:  
[1Panel Log]: 請用瀏覽器訪問面板: 
[1Panel Log]: 外網地址: http://14.212.100.118:42235/879475c61c 
[1Panel Log]: 內網地址: http://192.168.1.4:42235/879475c61c 
[1Panel Log]: 面板用戶: a72b557d69 
[1Panel Log]: 面板密碼: 96b9cf982b 
[1Panel Log]:  
[1Panel Log]: 項目官網: https://1panel.cn 
[1Panel Log]: 項目文檔: https://1panel.cn/docs 
[1Panel Log]: 代碼倉庫: https://github.com/1Panel-dev/1Panel 
[1Panel Log]:  
[1Panel Log]: 如果使用的是云服務器,請至安全組開放 42235 端口 
[1Panel Log]:  
[1Panel Log]: ================================================================ 

安裝完成后進入到1panel后臺

【面板設置--備份賬號】 查看你的備份目錄。
我這里一般默認是/opt/1panel/backup

【主機--文件】
/opt/1panel/backup
新建一個文件夾system_snapshot
把1panel_v1.10.9-lts_armv7_20240525135008.tar.gz上傳到system_snapshot。
【面板設置--快照】,同步快照,選擇服務器磁盤,選中這個包進行恢復。

恢復后是進不了web后臺的

使用 1pctl user-info 來查看1Panel管理面板的端口、安全入口、賬號與密碼
使用1pctl update --help 查看所有1pctl指令
修改面板信息
修改面板密碼 1panel update password
修改面板端口 1panel update port
修改面板用戶 1panel update username

  status              查看 1Panel 服務運行狀態
  start               啟動 1Panel 服務
  stop                停止 1Panel 服務
  restart             重啟 1Panel 服務
  uninstall           卸載 1Panel 服務
  user-info           獲取 1Panel 用戶信息
  listen-ip           切換 1Panel 監聽 IP
  version             查看 1Panel 版本信息
  update              修改 1Panel 系統信息
  reset               重置 1Panel 系統信息
  restore             恢復 1Panel 服務及數據

用新修改的后臺地址賬號密碼登錄
進入web后臺后,重建應用即可


9.安裝web環境

(帶環境的恢復包不用安裝)
由于玩客云芯片是32位的armv7l很多最新的包是無法使用的。

下載 armv7l 架構最新版本鏡像
docker pull biarms/mysql:5.7.33-beta-circleci
先查看應用商店中使用的 MySQL 版本,然后將鏡像重命名為 1Panel 應用商店中使用的 MySQL 版本
docker tag biarms/mysql:5.7.33-beta-circleci mysql:5.7.44
在應用商店中安裝 MySQL

下載 armv7l 架構最新版本鏡像
docker pull imzcc/openresty:1.21.4.1-7-alpine
先查看應用商店中使用的 OpenResty 版本,然后將鏡像重命名為 1Panel 應用商店中使用的 OpenResty 版本
docker tag imzcc/openresty:1.21.4.1-7-alpine 1panel/openresty:1.21.4.3-2-2-focal
在應用商店中安裝 OpenResty

在應用商店中安裝 php7

10.下面是你可能需要的docker(1panel應用中心沒有或者不適配armv7)

emby破解版
docker run -dit -v /mnt/mmcblk0p1/share:/data -p 8096:8096 --name emby --hostname onecloud --restart unless-stopped shiyu1314/embyserver-crack_arm32v7:latest

aria2-pro修改版
docker run -d --name aria2-pro --restart unless-stopped --log-opt max-size=1m -e PUID=$UID -e PGID=$GID -e UMASK_SET=022 -e RPC_SECRET=105267 -e RPC_PORT=6800 -p 6800:6800 -e LISTEN_PORT=6888 -p 6888:6888 -p 6880:6880 -p 6888:6888/udp -v $PWD/aria2-config:/config -v /mnt/mmcblk0p1/share/downloads:/downloads shiyu1314/aria2-pro:latest
禁用aria2令牌  
sed -i 's/rpc-secret=105267/#rpc-secret=105267/g' aria2-config/aria2.conf

全平臺架構qbittorrent
docker create --name=qbittorrentee -e WEBUIPORT=8080 -e PUID=1026 -e PGID=100 -e TZ=Asia/Shanghai -p 6881:6881 -p 6881:6881/udp -p 8080:8080 -v /opt/qbittorrentee/config:/config -v /mnt/mmcblk0p1/share/downloads --restart unless-stopped superng6/qbittorrentee:latest
WebUI:http://localhost:8080
WebUI 管理員用戶名是:admin
前往終端日志得到臨時密碼:EEjWhu2Cs
在程序首選項中設置你自己的webui密碼

 玩客云armv7l芯片也能玩1panel?armbian 下成功實踐 知識探索

教程資源下載鏈接:

https://x.bangshun.com/alist/share/%E6%90%9E%E6%9C%BA%E4%B8%AD%E5%BF%83/%E7%8E%A9%E5%AE%A2%E4%BA%91

THE END
相關文章
評論列表
發布評論
驗證碼