GithubHelp home page GithubHelp logo

nluhux / nspawn-deepinwine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from loaden/nspawn-qq

0.0 0.0 0.0 250 KB

利用systemd-nspawn容器跑Deepin 20.2.3或者Debian 10,安装deepinwine,稳定运行QQ、微信、钉钉、深度商店等应用。低内存,高性能,沙盒机制不污染宿主机,支持多用户,理论上可在任何Linux发行版上运行。成功解决MIT-SHM导致的崩溃,好开心!现在很稳定了。

License: GNU General Public License v3.0

Shell 94.62% C 5.38%

nspawn-deepinwine's Introduction

nspawn-deepinwine

介绍

利用systemd-nspawn容器跑Deepin 20.2.3或者Debian 10,安装deepinwine,稳定运行QQ、微信、钉钉、深度商店等应用。低内存,高性能,沙盒机制不污染宿主机,支持多用户,理论上可在任何Linux发行版上运行。成功解决MIT-SHM导致的崩溃,好开心!现在很稳定了。

软件架构

软件架构说明:amd64

安装教程

  1. 下载或者克隆源码库
  2. 终端打开源码库所在路径

使用说明

  1. 在源码库脚本所在路径终端执行命令:sudo -s 获取管理员权限
  2. 执行:./nspawn-debian.sh 安装 Debian 10
  3. 或者:./nspawn-deepin.sh 安装 Deepin 20.2.3
  4. 也可以:sudo ./nspawn-debian.sh 这种方式
  5. 也可以同时安装两个容器:install.sh
  6. 安装应用,请终端执行:debian-install-qq 或者 deepin-install-qq
  7. 更多应用安装,请查看:ls /bin/-install-
  8. 启动器中查找QQ或者微信启动,也可以终端启动,例如:debian-qq
  9. 卸载软件请先安装终端:debian-install-terminal,之后进终端命令卸载

多系统配置

  1. 自动安装的容器支持多系统共享,请提前做好~/.machines的软链接
  2. 管理员权限执行:sudo ./debian-config.sh 或者 sudo ./deepin-config.sh
  3. 如果同时配置两个容器,可以终端管理员权限执行:sudo ./config.sh

高级用法

  1. 如果稳定性不佳,请同时禁用宿主机和容器的MIT-SHM扩展:sudo DISABLE_HOST_MITSHM=1 ./nspawn-config.sh
  2. 注意:禁用宿主机MIT-SHM后,需要重启电脑才生效!

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

致谢

Debian 容器用到了 https://deepin-wine.i-m.dev/ 的作品。 在此感谢作者为开源做出的贡献。

nspawn-deepinwine's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.