Ubuntu PE based on pure GTK3 for CDROM/USB/PC(LiveCD)
Ubuntu LiveCD 精简安装与Docker的安装
Ubuntu PE for CDROM/USB:
Ubuntu 22.04 LTS Live PE, with UEFI Class3 + Secure Boot (LANG = en_US | zh_CN, ~506MB):
Download (x64): https://github.com/ghostplant/ubuntu-pe/releases/download/ubuntu-22.04/jammy-mate-x86_64-20230312.iso
Ubuntu 20.04 LTS Live PE (LANG = en_US | zh_CN, ~585MB):
Download (x64): https://github.com/ghostplant/ubuntu-pe/releases/download/ubuntu-20.04/focal-mate-x86_64-20221002.iso
Ubuntu 18.04 LTS Live PE (LANG = en_US | zh_CN, ~497MB, No WimTool Support):
Download (x64): https://github.com/ghostplant/ubuntu-pe/releases/download/ubuntu-18.04/bionic-mate-amd64-20200222.iso
Download (x86): https://github.com/ghostplant/ubuntu-pe/releases/download/ubuntu-18.04/bionic-mate-i386-20200222.iso
Ubuntu 16.04 LTS Live PE (LANG = en_US | zh_CN, ~381MB, No WimTool Support):
Download (x64): https://github.com/ghostplant/ubuntu-pe/releases/download/ubuntu-18.04/xenial-classic-amd64-20180303.iso
Ubuntu 22.04 LTS Live PE Terminal Core (LANG = en_US, ~145MB):
1. Write Ubuntu PE ISO to USB:
XML/HTML代码
- sudo dd if=./focal-mate-x86_64-xxxxxxxx.iso of=/dev/<usb-dev-file> bs=16K && sync
2. Ubuntu PE Supported Features (Only for Ubuntu 20.04, 22.04 and future versions):
1. Support Booting USB/CDROM in both MBR & UEFI machines;
2. Support Installing Ubuntu Image to Hard Drive: sudo ubi-lite
3. Support Installing Windows Image to MBR Hard Drive: sudo wiminstall.mbrboot /dev/<os-part-name> <WIM file> <image-id>
XML/HTML代码
- ex-1: sudo wiminstall.mbrboot /dev/sda1 ./xp-sp3.wim
- ex-2: sudo wiminstall.mbrboot /dev/sda1 ./windows-7.wim 4
- ex-3: sudo wiminstall.mbrboot /dev/sda1 ./windows-11.wim 1
- [Method-2: Not Erase Grub in Hard drive, but need three-step manual configuration on boot settings]
- step-1: Ensure Ubuntu + Grub has been installed on hard driver partitions other than /dev/sda1
- step-2: sudo wiminstall /dev/sda1 ./xp-sp3.wim
- step-3: Reboot, login Ubuntu and run: sudo update-grub
- [Method-3: For UEFI Installation to GPT Hard Drive]
- sudo EFI=/dev/<efi-part-name> wiminstall.gptboot /dev/<os-part-name> <WIM file> <image-id>
Ubuntu PE Desktop for Remote Internet:
(Default VNC password: 123456, and you can update it via 'vncpasswd' command inside VNC X session)
Docker运行Ubuntu PE:
XML/HTML代码
- # Download/Update latest Ubuntu image
- docker pull ghostplant/flashback
- # Boot Service: Using web browser to login - http://localhost:8443/
- docker run -it --rm -p 8443:8443 -v /external:/root ghostplant/flashback
- # Other Example 1 - Language: Set locale to en_US.UTF-8
- docker run -it --rm -e LANG=en_US.UTF-8 -p 8443:8443 -p 5901:5901 -v /external:/root ghostplant/flashback
- # Other Example 2 - Resolution Size : Set display resolution to 1366x768
- docker run -it --rm -e GEOMETRY=1366x768 -p 8443:8443 -p 5901:5901 -v /external:/root ghostplant/flashback
- # Other Example 3 - Initial Password: Set initial VNC password (length of password must be between 6 to 8).
- docker run -it --rm -e INIT_PASS=123456 -p 8443:8443 -p 5901:5901 -v /external:/root ghostplant/flashback
- # Other Example 4 - Resolution Quality: Using 24-bit high resolution quality (Only recommended in high-bandwidth network)
- docker run -it --rm -e INIT_PASS=123456 -e DEPTH=24 -p 8443:8443 -p 5901:5901 -v /external:/root ghostplant/flashback
XML/HTML代码
- HTTP: x-www-browser http://localhost:8443/
- HTTPS: x-www-browser https://localhost:8443/
拉取源代码:
XML/HTML代码
- git clone https://github.com/ghostplant/ubuntu-pe.git
- cd ubuntu-pe
XML/HTML代码
- focal:
- docker build -t ghostplant/flashback -f Dockerfile.2004 --network=host .
- docker run -it --rm -p 8443:8443 -p 5901:5901 -e GEOMETRY=1024x768 -v /external:/root ghostplant/flashback || true
- bionic:
- docker build -t ghostplant/flashback -f Dockerfile.1804 --network=host .
- docker run -it --rm -p 8443:8443 -p 5901:5901 -e GEOMETRY=1024x768 -v /external:/root ghostplant/flashback || true
- xenial:
- docker build -t ghostplant/flashback -f Dockerfile.1604 --network=host .
- docker run -it --rm -p 8443:8443 -p 5901:5901 -e GEOMETRY=1024x768 -v /external:/root ghostplant/flashback || true
根据需求修改密码和分辨率,默认系统root目录映射在本机 /external 目录,可以按照需求修改。
X86版本:
XML/HTML代码
- docker run -d --name ubuntu \
- --dns=223.5.5.5 -u=0:0 \
- -v=/mnt:/mnt:rslave \
- --shm-size=512m \
- -p 6901:6901 \
- -e VNC_PW=password \
- -e VNC_USE_HTTP=1 \
- --restart unless-stopped \
- linkease/desktop-ubuntu-full-amd64
全量版本或者标准版本,二选一。
全量版本:(包含WPS、中文输入法等,镜像3.5G左右。)
docker pull linkease/desktop-ubuntu-full-arm64:latest
标准版本:(单纯的系统,镜像1.6G左右。)
docker pull linkease/desktop-ubuntu-standard-arm64:latest
根据自己的设备选择合适平台,其他参数自行修改。
其他远程Linux桌面容器:
Dockerhub:https://hub.docker.com/u/kasmweb
alpine-desktop:https://hub.docker.com/r/kasmweb/alpine-317-desktop
XML/HTML代码
- docker run --rm -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/alpine-317-desktop:1.13.0
XML/HTML代码
- run --rm -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/kali-rolling-desktop:1.13.0
XML/HTML代码
- docker run --rm -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/chromium:1.13.0
https://IP_OF_SERVER:6901
User : kasm_user Password: password
其他的各个版本的Linux桌面均有,需要的自行查看。
Neko--A self hosted virtual browser that runs in docker and uses WebRTC
其他好用的Docker版云桌面: