1.下載地址
https://f-droid.org/zh_Hans/packages/com.termux/
2.換源
看此文章 可以指復(fù)制命令或使用termux的可視化換源 文章地址: https://mirrors.tuna.tsinghua.edu.cn/help/termux/ 也可直接執(zhí)行此命令
sed -i 's@^\(deb.*stable main\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/apt/termux-main stable main@' $PREFIX/etc/apt/sources.list
apt update && apt upgrade
3.開啟ssh
1.下載
pkg install openssh
2. 修改默認(rèn)密碼
passwd
3. 查看用戶名
whoami
4. 開啟 默認(rèn)端口號(hào)為8002
sshd
4開始安裝linux
1. 下載linux系統(tǒng)的工具
pkg install proot-distro
2.查看可以安裝的linux列表
proot-distro list
3.開始安裝ubuntu
proot-distro install ubuntu
3.登錄到ubuntu
# 登錄
proot-distro login ubuntu
# 推出
exit
5安裝圖形化界面
1.輸入以下命令
bash -c "$(curl -Lv gitee.com/mo2/linux/raw/master/debian.sh)"
2.需要自己選擇一些配置,也可以一路回車下去
3.彈出界面選擇簡(jiǎn)體中文
4.選擇安裝工具
5.等待安裝后,選擇GUI圖形桌面環(huán)境
6.選擇rootless DE
7.選擇xfce
8.選擇XuBuntu
9.根據(jù)需要選擇是否安裝需要的軟件 —等待安裝
輸startx11vnc啟動(dòng)x11vnc服務(wù),x11vnc能運(yùn)行tightvnc無(wú)法打開的某些應(yīng)用哦!
若您的宿主機(jī)為Android系統(tǒng),則在termux原系統(tǒng)下輸startvnc將同時(shí)啟動(dòng)安卓版Realvnc客戶端和kali-xfce_arm64的VNC服務(wù)端。輸startxsdl將啟動(dòng)安卓版XSDL,并于9秒后自動(dòng)啟動(dòng)kali-xfce_arm64的x11。 You can also type startxsdl to start xclient & server.
您也可以在kali-xfce_arm64容器內(nèi)輸startvnc來(lái)單獨(dú)啟動(dòng)tight或tigervnc服務(wù),輸stopvnc停止
You can type startvnc to start tight/tigervnc server,type stopvnc to stop it.
小提示06: 在kali-xfce_arm64容器內(nèi)輸tmoe t啟動(dòng)軟件安裝及遠(yuǎn)程桌面配置管理工具。 You can type tmoe t to start tmoe tools.
小提示07: 在宿主機(jī)的終端里輸debian單獨(dú)啟動(dòng)kali-xfce_arm64容器,此時(shí)將不會(huì)自動(dòng)啟動(dòng)遠(yuǎn)程桌面服務(wù)。 You can type debian to start kali-xfce_arm64 container. 在v1.10beta及其之后的版本中,debian命令實(shí)際上調(diào)用了tmoe ヽ(??▽?)ノ 例如啟動(dòng)proot kali-xfce_arm64容器的完整命令為tmoe proot kali xfce arm64
當(dāng)前已經(jīng)配置的命令分別為startvnc, tightvnc, tigervnc, startxsdl, startx11vnc, novnc & stopvnc
相關(guān)閱讀
本文內(nèi)容根據(jù)網(wǎng)絡(luò)資料整理,出于傳遞更多信息之目的,不代表金鑰匙跨境贊同其觀點(diǎn)和立場(chǎng)。
轉(zhuǎn)載請(qǐng)注明,如有侵權(quán),聯(lián)系刪除。