Skip to content

Instantly share code, notes, and snippets.

@oPOCCOMAXAo
Created September 17, 2023 17:52
Show Gist options
  • Save oPOCCOMAXAo/d9a89d03e2a259c5194e0b9a9ca21fd5 to your computer and use it in GitHub Desktop.
Save oPOCCOMAXAo/d9a89d03e2a259c5194e0b9a9ca21fd5 to your computer and use it in GitHub Desktop.

Install linux server on Android 10

1. Install Termux

Source

Install apk from f-droid catalog: link

Google Play versions are deprecated.

2. Install ssh server

Source

Install openssh.

pkg update
pkg upgrade
pkg install openssh

Start server.

sshd

Stop server.

pkill sshd

Connect to server from outside.

Note: change ip to your phones.

ssh -p 8022 192.168.111.111

3. Install ubuntu arm64

Update libs.

pkg update
pkg upgrade

Install proot-distro. About

pkg install proot-distro

Install ubuntu.

proot-distro install ubuntu

Start ubuntu session.

proot-distro login ubuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment