腾讯极光5PRO 刷Private-X系统玩debian ; Private-X就是基于debian。
然后debian装开源nas系统。OpenMediaVault 6玩Docker玩CasaOS等。
debian上能部署的都可以玩。
1、android系统里面有一个LXC容器,容器里面运行完整debian系统,Private-X就是基于debian开发的云手机
2、安装宝塔面板(宝塔面板自带Docker管理器)
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh
3、安装OMV6
- 手动添加并安装omv官方秘钥环
apt-get install --yes gnupg
wget -O "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc" https://packages.openmediavault.org/public/archive.key
apt-key add "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc"
-
添加清华源软件包储存库加速
cat <<EOF > /etc/apt/sources.list.d/openmediavault.list
deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/public shaitan main
deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/packages shaitan main
## Uncomment the following line to add software from the proposed repository.
# deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/public shaitan-proposed main
# deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/packages shaitan-proposed main
## This software is not part of OpenMediaVault, but is offered by third-party
## developers as a service to OpenMediaVault users.
# deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/public shaitan partner
# deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/packages shaitan partner
EOF
-
设置环境变量
export LANG=C.UTF-8
export DEBIAN_FRONTEND=noninteractive
export APT_LISTCHANGES_FRONTEND=none
- 修改
做一下修改,防止安装过程中出现错误。
systemctl unmask systemd-networkd.service
- 更新软件包源并安装omv
更新
apt-get update
安装
apt-get --yes --auto-remove --show-upgraded --allow-downgrades --allow-change-held-packages --no-install-recommends --option DPkg::Options::="--force-confdef" --option DPkg::Options::="--force-confold" install openmediavault-keyring openmediavault
- 更新omv环境
omv-confdbadm populate
- 安装omv-extras
wget https://mirrors.tuna.tsinghua.ed ... asorg_6.3.1_all.deb
下载完成后,进行安装:
sudo dpkg -i openmediavault-omvextrasorg_6.3.1_all.deb
omv默认账号密码:admin/openmediavault