If I want to play linux, my computer doesn't want to install dual systems, the performance is not enough to run the virtual machine, and the Raspberry Pi cannot afford it. What should I do? Android phone
This article takes Nexus 5X (PureNexus 7.1.2) as an example to introduce how to run Linux on mobile phones. This is the easiest and best-looking method I think, and it can be replaced by many software and methods.
For more linux tutorials, you can join the group: 790701373 for more content
The first step is to configure the Android system
If your phone comes with root, you can skip this step
First, your phone needs to install a third-party recovery and obtain root permissions
If you find it troublesome or don’t understand, you can use various domestic masters, assistants and wizards to complete this step. Here I installed TWRP and flashed into SuperSU.
Install BusyBox and LinuxDeploy applications
BusyBox for Android not only has this BusyBox application, depending on personal preference, you can also add it directly to the system without installing software
Linux Deploy
You can easily next JuiceSSH, which will be used in the future.
I recommend a website that can download the GooglePlay application directly without ss. Copy the two 404 URLs to generate a download link.
The second step is to use BusyBox to extend Android commands and applications
If you have already installed BusyBox by other means, you can skip this step
Open the installed BusyBox application, SU will prompt you BusyBox to request Root permission, select GRANT to allow
Enter the page, select INSATALL installation in the lower right corner, YES to confirm the installation
The third step is to use LinuxDeploy to run Linux
If you have already installed Linux in other ways, you can... Then why do you still read this tutorial?
Open LinuxDeploy, the interface is similar
The three horizontal lines in the upper left corner are some configurations of the LinuxDeploy program, the three dots in the upper right corner are some operations on Linux, and the download icon in the lower right corner is the configuration of Linux
Since we are installing for the first time, we need to configure Linux first, click the lower right corner
Choose the type of container distribution architecture installation you want to use. The latest CentOS doesn’t know why you can’t open SSH and VNC. Use it with caution
I don’t know how to choose it. Just set it like in the picture.
Choose your username to log in and the password area is recommended to choose as shown in the figure, otherwise the Chinese characters may not be displayed correctly
Similarly, if you don’t know how to choose, just set it like in the picture.
Some other options
After the setting is complete, return, click on the upper right corner to select Install
If you change any Linux configuration later, you need to click Configure instead of installing
SU also prompts that Root permission is required
Installed, wait patiently
The installation is complete
Click START to start
Startup complete
Fourth step use
You can use the terminal emulator in your phone or connect via SSH to operate your Linux
Another: some other settings of DeployLinux
Click on the upper left corner of the interface to enter
Multiple Linux can be configured, supported Linux can be viewed, terminal emulator can be entered
Click Settings
Can switch and adjust functions as needed
The following is the effect after installation:
The above is the Linux-related knowledge shared by Liangxu Tutorial Network for all friends.