Teach you how to install linux system on the phone

Want to play linux, computers do not want to install dual system, performance is not enough not run virtual machines, Raspberry Pi can not afford to buy, how to do? Android phone ah
This paper focuses on Nexus 5X (PureNexus 7.1.2) , for example, describes how to run Linux on the phone, I think this is a better look at the easiest method, in fact, it can be replaced by many software and methods.
For more linux tutorials, can be added to the group: 790 701 373 for more content
The first step to configure Android
If your phone comes with root you can skip this step
First you need to install a third-party recovery phone and gain root privileges
If you suspect trouble or can not read, you can use a variety of domestic and assistant master of a certain wizard to do this, where I installed the TWRP and brush into SuperSU
Install BusyBox application and LinuxDeploy
BusyBox for Android there is more than this one BusyBox application, depends on personal preference, you can not install software directly added to the system
Linux Deploy
After the next JuiceSSH can easily be used on a great chance
 
Here recommend a ss can not directly download applications GooglePlay website, copy the URL into two 404 can generate download links
 
 
The second step uses BusyBox to extend the application of commands and Android
If you have already installed the BusyBox in other ways, you can skip this step
Open BusyBox installed applications, SU will prompt you BusyBox request Root privileges, allowing the selection GRANT
Enter the page, select INSATALL install the lower right corner, YES to confirm installation
 
The third step is to use Linux to run LinuxDeploy
If you have already installed Linux in other ways, you can also see ...... doing this tutorial
Open LinuxDeploy, the interface is referred like
Three horizontal upper left corner is some configuration of LinuxDeploy program, three upper-right corner of some operations running Linux, download the lower right corner of the icon is configured for Linux
Since we are first installed, you need to configure Linux, click the bottom right corner
选择你想使用的容器 发行版本 架构 安装类型,最新的CentOS不知道为什么打不开SSH和VNC 慎用
不知道该怎么选的就像图里一样设置就行了
选择你的用户名 登陆密码 区域建议如图选择,否则可能不能正确显示汉字
同样的,不知道该怎么选的就像图里一样设置就行了
一些其他选项
设置完成后返回,点击右上角选择Install 安装
如果之后你更改了任何Linux的配置,需要点击Configure 配置而不是安装
SU又提示需要Root权限 允许
开始安装了,耐心等待
安装完成
点击START启动
启动完成
 
第四步 使用
可以使用手机里的终端模拟器或者通过SSH连接来操作你的Linux
另:DeployLinux其他的一些设置
点击界面的左上角进入
可以配置多个Linux 可以查看受支持的Linux 可以进入终端模拟器
点击Settings设置
可以根据需要开关和调整功能
以下是安装好之后的效果:
 
 

Guess you like

Origin www.cnblogs.com/xuegod/p/11890657.html