Termux 高级终端安装使用配置教程
替换国内(
清华大学
)源
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 |
安装基础工具(
curl wget git screen
)
1 | pkg install curl wget git screen -y |
美化shell(安装
Zsh
)按照
oh my zsh
直接参考官网
1 | 访问手机的存储 |
配置
zsh
主题和插件
1 | vim ~/.zshrc |
卸载
zsh
1 | uninstall_oh_my_zsh |
修改启动
问候语
1 | vim $PREFIX/etc/motd |
1 | ████████╗███████╗██████╗ ███╗ ███╗██╗ ██╗██╗ ██╗ |
Apache2
搭建网站
1 | 安装apache2 |
安装
Mysql
1 | 安装mysql |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 林夕博客!