Repo Meta
Notes
Changelog
0.90 及以上 版本需要 Android7.0 及以上版本的系统. 此安装包由 F-Droid 编译并签名, 且保证与此源代码 tarball 保持一致.
模拟 Ubuntu (获取 ROOT)
Init History
sed -i 's@^\(deb.*stable main\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/termux-packages-24 stable main@' $PREFIX/etc/apt/sources.list sed -i 's@^\(deb.*games stable\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/game-packages-24 games stable@' $PREFIX/etc/apt/sources.list.d/game.list sed -i 's@^\(deb.*science stable\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/science-packages-24 science stable@' $PREFIX/etc/apt/sources.list.d/science.list apt update && apt upgrade
#then install vim
vim $PREFIX/etc/apt/sources.list.d/game.list
deb https://mirrors.tuna.tsinghua.edu.cn/termux/game-packages-24 games stable
vim $PREFIX/etc/apt/sources.list.d/science.list
deb https://mirrors.tuna.tsinghua.edu.cn/termux/science-packages-24 science stable
vim $PREFIX/etc/apt/sources.list
deb https://mirrors.tuna.tsinghua.edu.cn/termux/termux-packages-24 stable main
# refer to https://mirrors.tuna.tsinghua.edu.cn/help/termux/
termux-setup-storage
# acquire the access of storage
Run server via: https://www.v2ex.com/t/997001#reply3
Run exe
file
- wait Termux 运行 EXE
- https://zhuanlan.zhihu.com/p/573876989 使用了
wineandlinuxfortermux.tar.xz
- https://ivonblog.com/posts/how-to-use-termux/
- Termux Proot 安裝 Box64 與 Box86,Android 手機執行 Windows exe https://ivonblog.com/posts/termux-proot-box86-box64/
- Termux 如何安裝 Debian 系統 https://ivonblog.com/posts/termux-proot-distro-debian/
- Android 手機安裝 Linux 發行版:Termux proot-distro 使用教學 https://ivonblog.com/posts/termux-proot-distro/
- https://zhuanlan.zhihu.com/p/573876989 使用了
- wait Wine 在代理下运行 proxy
SSH Develop
git config –global user.name ‘xxxxx’
git config –global user.email ‘xxx@xx.xxx’
ssh-keygen -t rsa -C ‘上面的邮箱’
ssh -T git@github.com # 测试SSH到 GITHUB 是否通路
电脑 SSH 到平板
termux-change-repo # 选择镜像源 USTC Best
apt install openssh
passwd
sshd # 开启SSH服务,之后每次重新打开APP都需要重新执行这条
ifconfig
ssh -p 8022 192.168.0.4
SSH 上传到 Github
Note
注意不要使用 Clash For Android,否则无法建立连接,不清楚原因;