Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required. A minimal base system is installed automatically - additional packages are available using the APT package manager.
不需要root即可直接将自己的安卓机化身一台linux服务器。
1. 文件映射
termux-setup-storage
2. 换源
推介清华源:https://mirrors.tuna.tsinghua.edu.cn/help/termux/
3. 安装ssh
pkg install openssh
4. frp
https://github.com/fatedier/frp/releases
https://github.com/fatedier/frp/releases/download/v0.37.0/frp_0.37.0_linux_arm64.tar.gz
5. wget
pkg install wget
6. git
pkg install git
7. 关于@PREFIX
vim @PREFIX/etc/ssh/............