Termux 搭建个人工作


2022-01-28 14:23:42

思路:换源-->安装远程-->重启-->安装插件-->修改主题样式-->准备kali环境

1、执行更换清华源 

# 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

2、安装openssh

# apt intsall openssh

 启动ssh

# sshd

 退出重启termux

3、安装插件

# pkg install curl

# pkg install git

# pkg install wget

# pkg install vim

4、修改主题样式

1> 安装oh-my-zsh

# apt install zsh

# sh -c "$(curl -fsSL https://html.sqlsec.com/termux-install.sh)"

    在之后出现的选择背景色和字体,这里选择的字体和颜色是 14,6:

Enter a number, leave blank to not to change: 14

Enter a number, leave blank to not to change: 6  

2> 修改主题:

# vim .zshrc
    ZSH_THEME="xiong-chiamiov-plus" 

    ……

5、完成以后的界面样式: