What's new

Closed Installation of GNU /Linux /Android Termux

Status
Not open for further replies.

SiRVoid0

Enthusiast
Joined
May 27, 2020
Posts
7
Reaction
15
Points
42
One-click installation of GNU / Linux chroot container on GNU / Linux. One-click installation of GNU / Linux proot container on Android Termux. One-click installation of the desktop environment on WSL. Android and Win10 also support configuring audio services.

Supported containers:
Debian buster / sid
Ubuntu 20.04
Kali rolling A
Arch
Fedora 31
CentOS 8
Gentoo
Funtoo
Alpine edge
OpenSUSE tumbleweed
Void
Raspbian buster
Mint tricia
Devuan ascii
Slackware
Armbian

Debian、Ubuntu、Kali、Arch、Fedora 和 Gentoo(x64)。
All configuration and optimization steps only apply to Debian,Ubuntu,Kali,Arch and Fedora.
View attachment 856468
Support one-key graphical user interface installation.
View attachment 856469
Supported GUIDE;

✓ xfce4
✓ lxde
✓ mate
lxqt
kde plasma 5
cinnamon
gnome 3
deepin desktop

1:Only some systems support desktop environment installation.

2: Prioritize XFCE

3: Some desktops may not display properly through the remote desktop

1.Arch + Deepin desktop will be black screen under VNC The Arch shown below is a chroot container running in debian.

2. As shown in the figure below, after Debian sid + KDE Plasma 5 forwards X11, there will be problems in the window display. Note: This problem is not reproduced under RDP
You do not have permission to view the full content of this post. Log in or register now.
Supported architecture;

Debian containers support arm64 (aarch64), armhf, armel, amd64 (x86_64), i386 (x86), s390x and ppc64el

In addition, the mipsel architecture is also supported! The developer has tested it on the router.

2020-03-24 already supports the mipsel architecture! (Already tested on the router)


May support RISC-V (Since the basic container image of risc-v cannot be built at this time, qemu can only be used to simulate other architecture systems on risc-v devices.)

This may be one of the few full-frame, full-platform projects you have seen.

Containers other than debian may only support mainstream architectures, not s390x and ppc64el. Other system containers may only support mainstream amd64, arm64 and other architectures, not s390x and ppc64el and other popular architectures.

Installation tutorials for different platforms.

You can run this tool not only on Android, but also on GNU/Linux.


1.Windows10

Tutorial :

Q:I don't know how to use it?

A:Run PowerShell as an administrator and enter the following command.

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart


After restarting the system, run powershell as an administrator again, and then enter the following commands starting with wsl.

wsl --set-default-version 2

View attachment 856474View attachment 856475
When you download the subsystem from the Microsoft Store, be sure to choose Ubuntu, Kali and Debian. If you cannot connect to the Microsoft Store, you can also install it manually. Please choose from the following three:
Debian
Kali
Ubuntu

Open the subsystem and update the Linux kernel of WSL2 according to the prompt. After the update is complete, when prompted to enter the user name of the UNIX account, if you do not care about security issues, then you can close the window directly. The advantage of this is that you do not need to enter the sudo password.


: This defaults to the root account, which can save the step of inputting the sudo password, and then you can use the adduser command to add the ordinary account separately. By default, the root account of the subsystem running as a non-administrator does not have windows administrator rights! Only have root permissions for linux, if you run the subsystem as an administrator, you really need to be cautious. The problem of using root account for PC is not big, and it is not a server.


Restart the subsystem;

If you do not live in China, please enter

sudo apt update
sudo apt install -y wget
bash -c "$(wget -O- git.io/linux.sh)"

If you are in the country, then please enter

sudo apt update
sudo apt install -y wget
bash -c "$(wget -O- l.tmoe.me)"

Finally, press Enter and arrow keys to operate.

Note: WSL please select the installation tool When prompted Tool /Manager select tool


Q; How to start the X server?

A; Just enter "startxsdl"

Q; How to start the VNC?

A;Just enter startvnc
And you can also enter debian-i to start the tmoe-linux tool


Later note: It is recommended that WSL users install gui directly, do not install the chroot container first, then install gui, because this will cause the windows program to fail to call.

Q; How to stop VNC?

A;enter "stopvnc"



WSL users only need to remember "startxsdl"
Android users only need to remember "startvnc".

View attachment 856476
View attachment 856477

2.Android-Termux

1.Go to google play, then install Termux and Termux:api
2.Open termux and enter the following command.

bash -c "$(curl -Lv You do not have permission to view the full content of this post. Log in or register now.)"


3-EN.Goto Google Play,then install VNC client or X server

3-CN. If you want to use gui, you may also need to install VNC apk, you can go to Google play or use Tmoe-linux debian-i to download. Note: novnc on the web does not need to install apk, but the touch operation experience is not good.


3. Debian / Ubuntu / Mint / Kali / Deepin / Devuan / MX and other deb series distributions


Enter this command;

sudo apt update
sudo apt install -y wget
bash -c "$(wget -O- You do not have permission to view the full content of this post. Log in or register now.)"

4.RedHat/Fedora/CentOS

dnf install -y curl || yum install -y curl
bash -c "$(curl -Lv You do not have permission to view the full content of this post. Log in or register now.)"

5.Arch/Manjaro

pacman -Syu --noconfirm curl
bash -c "$(curl -Lv You do not have permission to view the full content of this post. Log in or register now.)"


6.OpenWRT/Entware

opkg update

opkg install libustream-openssl ca-bundle ca-certificates wget bash

bash -c "$(wget --no-check-certificate -O- You do not have permission to view the full content of this post. Log in or register now.)"

7.Alpine

apk update
apk add wget bash
wget -O /tmp/.tmoe-linux.sh You do not have permission to view the full content of this post. Log in or register now.
bash /tmp/.tmoe-linux.sh

8.Void


xbps-install -S
xbps-install -y wget
bash -c "$(wget -O- You do not have permission to view the full content of this post. Log in or register now.)"


9.Gentoo/Funtoo

emerge -avk net-misc/wget
bash -c "$(wget -O- You do not have permission to view the full content of this post. Log in or register now.)"

10. Other systems are not tested. Please resolve dependencies for the following systems For example: OpenSuse and GuixSD and other distributions. The relevant dependency is "git aria2 pv wget curl grep procps less tar xz newt (whiptail)"
 
Status
Not open for further replies.

Similar threads

Back
Top