This is the 14th day of my participation in the August More Text Challenge. For details, see:August is more challenging

One, foreword

Usually, we have a lot of cloud disk storage needs, currently there are two main types of cloud disk products on the market:

One is baidu cloud disk represented by a large number of open storage space, limited bandwidth cloud disk.

Another kind, is such as Ali cloud disk on high bandwidth, small space cloud disk. (This may not be true)

The speed limit is still pretty annoying to use, and the cost of NAS like Qunhui is too high, so I thought of using old mobile phones to build a personal cloud disk.

2. Enable the root permission

(Root is a risk, not an abandoned phone with caution)

This personal feeling should be the most troublesome step, the individual tried, but the product brand mobile phone official does not provide device code, a day to do not fix, it is best to rely on a certain treasure money ability less than an hour to solve (or let the professional come).

Install Busy Box (optional)

The Busy Box provides support for some common commands used by Linux Deploy, but does not require installation, so you can choose to skip this step.

Since the system directory will be used, you need to unlock the system first.

Download syslock: www.coolapk.com/apk/com.ler…

Download the. Apk file, pass the data line to the phone, and install and start:

Busy Box download: github.com/meefik/busy…

Just click install.

(This screenshot was not taken before)

Install Linux Deploy

Download at github.com/meefik/linu…

Install as above (there seems to be some app stores that offer downloads, which I haven’t seen).

The page is as follows:

Configure Linux Deploy

1. Mobile phone configuration

Clicking on the “three” in the upper left corner brings up the following menu:

Where we need to change is in the configuration file and Settings section:

1. In the configuration file, we can save different Settings (we don’t need them here), or change the name.

2. Modify the Settings as follows:

Turn off the screen to save power, the corresponding CPU wake up must be turned on (otherwise the lock screen is dropped); Lock wi-fi to prevent service interruption due to system problems.

2. Configure the Linux system

Click on the slightly different “three” in the lower right corner to bring up the following Settings:

1. First, choose the Linux distribution, architecture (the architecture should correspond to the phone), and version, in my case, the lightweight Debian system.

2. Source address, using Ali source and other mirror source can be installed in a few billion faster.

3. The installation type depends on individual requirements. The image file is assigned a fixed size (the following image size is determined).

4. The default file system is ext4.

5. There are also user name and password Settings below, which depends on the individual.

6. Most important: to enable SSH, do not let the connection!!

7. The following graphical interface, see personal preferences to add (will eat resources, I did not add).

3. Download and run the system

Open the menu in the upper left corner of the main page (three dots) and click Install. The Installation of Linux system will start automatically (time-consuming).

Wait until the Debian installation is complete and see <<< deploy:

Stop once the installation is complete, and then click Start:

In the LOCAL area network through SSH connection software, such as Xshell SSH connection (the address in the local area network is above), you can enter the system for operation.

Six, the last

Here we are, running Linux on an Android phone.

The following chapter describes how to set up a cloud disk and other configurations.