|
本帖最后由 aatest 于 2021-9-20 04:37 编辑
#unas安装LXD容器
#添加源
- nano /etc/apt/sources.list #编辑源文件,文件头或文件尾添加以下内容
复制代码
按ctrl+x,y,回车 #保存文件
- apt update && apt upgrade #更新源
复制代码
#------------------------------------------------------------------------------
#安装LXD相关及LXD
#------------------------------------------------------------------------------
#初始化及网络配置
#希望有大神对初始化和网络,磁盘这部分跟个贴说明一下
#-------------------------------------------------------------------------------
#LXC镜像加速
- lxc remote add tuna-images https://mirrors.tuna.tsinghua.edu.cn/lxc-images/ --protocol=simplestreams --public #创建LXC镜像下载源
复制代码
#--------------------------------------------------------------------------------
#示例:启动容器CENTOS7虚拟机并安装小皮面板
- lxc launch tuna-images:centos/7/amd64 centos7-phpstudy #启动容器虚拟机,centos7系统
复制代码
#下面指令在虚拟机里面运行
- yum install -y wget && wget -O install.sh https://notdocker.xp.cn/install.sh && sh install.sh
复制代码
#安装完成后会显示登陆用户名密码和管理面板IP,使用浏览器登陆管理
#----------------------------------------------------------------------------------
#WEIUI管理。我没安装成功,希望有大神做个UNAS的安装教程
- https://github.com/adaptivescale/lxdui
复制代码
|
|