termux Linux

mowen 2021-08-09 1351

1、下载termux

https://f-droid.org/packages/com.termux/


2、更换tuna源

termux-change-repo


3、安装openssh、查看ip地址、查看账户、设置密码、设置端口、启动ssh

apt install openssh
ifconfig
passwd
whoami
sshd -p 9000
sshd &


4、ssh工具连接上,允许访问本机存储、apt更新、安装proot、安装vim、python

termux-setup-storage
apt update
apt upgrade
apt install proot
apt install vim
apt install python


5、安装、运行proxy

pip install proxy.py
proxy.py


6、安装centos

mkdir CentOS && cd CentOS && pkg install wget openssl-tool proot -y && hash -r && wget https://raw.fastgit.org/EXALAB/AnLinux-Resources/master/Scripts/Installer/CentOS/centos.sh && sed -i 's/githubusercontent.com/fastgit.org/' centos.sh && bash centos.sh && rm centos.sh
git clone https://github.com/sqlsec/termux-install-linux
cd termux-install-linux
python termux-linux-install.py


最新回复 (0)
返回
发新帖
X