目录
- 瞎比比
- 什么都别说,先看看效果怎样?
- 需要什么材料、设备?
- root 手机
- 为 Android 手机装上 Linux 系统
- 最后
瞎比比
自从没有了学生身份之后,购买云服务器的价格是越来越贵了,不管是阿里云还是腾讯云。我寻思着能不能找到什么替代品,这让我想起之前在知乎不经意看到的,可以把 Android 手机改造成 Linux。后台回复:废旧手机 获取本文中所需要使用到的软件什么都别说,先看看效果怎样?




需要什么材料、设备?
- 屏幕还能使用的 Android 手机
- APP 软件:Linux deploy、busybox、juice ssh
- 最后,需要关注公众号:逆锋起笔 跟着我瞎折腾
root 手机
首先,将手机配置成 Linux 服务器有两种玩法。一种是徐需要 root 手机,root 之后功能是更强大的,另一种则是无法 root 手机,这是阉割版的,看你选择了。注意
请务必使用废弃手机进行试验,因为 root 手机是需要清空手机数据的。我能 root 手机
我这边提供一下小米、华为 root 方法,其他机型请自行搜索。小米:详情请看我的知乎文章 https://zhuanlan.zhihu.com/p/88777424
华为:华为现在不提供 root 服务了,可以找万能的淘宝,搜索:root华为手机
我无法 root 手机
如果你无法 root 你的手机,这里提供了替代产品。termux 是一款不用 root 就可以在手机上安装 Linux 的 APP,但是很多 Linux 命令都无法使用,运行个 python 命令行还是可以的。为 Android 手机装上 Linux 系统
到了这一步,那么我默认你已经 root 好你的 Android 手机了。首先,安装好我上面截图中的三款 APP,- Linux deploy:装载 Linux ,需要 root 权限。
- Juice ssh:手机终端 APP。
- BusyBox:扩展 Android 手机命令,因为在这装 Linux 之后,很多 Linux 命令都是没有的,需要 root 权限。
我的配置已经贴出来了,你左上角的和右下角的按钮中,分别按照图中配置就行。至于 Linux 的发型版本,你按照自己的喜好选择就行。我这里选择的是 CentOS7 ,另外提供一下 CentOS 源地址:http://chinanet.mirrors.ustc.edu.cn/centos-altarch/





最后
我觉得这算是一篇干货了,点个好看不过分吧。哈哈