Linux deploy a quick installation on Android devices running the Linux operating system, App, follow the GPLv3 agreement.
I have spent some time to talk about my experience, I have the following Linux deploy abbreviated as Ld.
First, download and install Ld, Ld after running into a completely black screen, in fact, is a built-in terminal emulator, but no input function can only be displayed.
Press the Menu button (three dots arranged vertically lower right corner), select Settings to enter the settings.
Set in the project:
# 1: lock screen: this can choose to open, close recommendation based on personal preferences, because you want to operate, then linux using VNC Viewer or ssh, and not half dime Ld, shut it.
# 2: Lock Wi-Fi: Turn this recommendation, suddenly dropped prevent vnc or ssh, ssh later speaks how to set up services and vnc service, you can also turn off wifi linux in the local operation.
# 3: Language: Simplified Chinese is selected, exit the software re-enter to complete the language switch.
# 4: Font Size: own terminal font size, adjusted according to personal preferences, default 12.
# 5: Scroll Size: The maximum number of terminals carrying retain data lines, 100 lines by default.
# 6: Topic: divided into dark and light, adjust according to personal preference.
# 7: Show icon: Recommended turn, prevent background killed by the system.
# 8: boot: Recommended shutdown.
# 9: Environment directory: Ld system environment directory, not recommended.
# 10: Built-in terminal: can be enabled by default.
# 11: Create a symbolic link: I do not know why, anyway off the line.
# 12: Updating the environment: after setting needs to be run once, if there is, then modify the # 9, you need to run once again after modification.
# 13: Remove the environment: this option to perform a modification in # 9 before.
# 14: Debug Mode: display various debugging information.
# 15: Tracking Mode: Personally, I understood as an enhanced version # 14, to display more data, including the background of the command are displayed.
# 16: LOG: Select whether the operation log recording terminal, it is recommended to close, according to personal prefer.
# 17: The log file: # 16 to select a directory to save.
After the setup is complete you can install the linux.
You can be adjusted under the name of the configuration file.
My setup is like debian, because I'm using debian.
Press the little penguins on the left
Followed by the button above to add a new profile, modify the name of the currently selected profile, delete the current selected profile option.
Options can import or export the configuration file settings, backup and recovery is very convenient, but the export file does not include Ld own settings.
After the setup is complete you can press the return key to return directly to the terminal interface.
Here you can start the download and install linux, I use debian, so Take as an example the debian.
Different distributions have individual settings are different, but in general are the same, but different from those they do not seem to do anything to modify.
Press the arrow icon to download the page to enter the configuration file is modified.
Look directly deploy the following settings.
Release: includes lot, I chose Debian.
Release Version: Release every update a code, this self-Baidu, I like Debian jessie on behalf of Debian 8.x version, I chose jessie.
Architecture: Depending on the processor, you need to choose a different architecture, I use the machine is Xiaomi 2S, so I chose armhf, generally do not automatically recognize and select the current CPU architecture.
Mirror Address: Default is the official release of the default source, are abroad, they can set their own domestic sources, like I was Debian, Debian Chinese official to set source: http: //ftp.cn.debian.org / debian /
Installation Type: select the default file.
Install Path: This setting would be more trouble, many machines by default is / storage / emulated / 0 / and so this type, which are particularly easy to read error occurs, it is recommended to modify the / sdcard / xxx format, xxx can custom storage directory, of course, you directly img An image storage root directory is also no reason why not.
Image size: this was in accordance with the memory of your file system and the remaining space to set, if the FAT32 file system that can not exceed the maximum set 4095MB, but this restriction is no exFAT or Ext4, as long as you enough space to set how much are can.
Username: linux user name, needless to say.
User password: linux user password, the default is changeme, I say about the reason why the default password, because no matter how you set this thing, if you want to connect to the VNC service, then the password is changeme, do not know BUG.
DNS server: This is generally not filled.
Localization: The locale setting is linux, Chinese word is zh_CN.UTF-8.
Desktop Environment: default LXDE, I chose Xfce, if you are confident, then you can try the other, anyway, I XTerm, LXDE, Xfce can operate normally, the other full x-server crashes, do not know why.
Select components: the desktop environment based on personal preferences, if you do not choose the desktop environment VNC server can not run, the election will not be installed on top of the desktop environment. Recommended election on SSH, linux operating on Android or command line easy to use them more.
Chroot directory: This setting tube.
SSH: Recommended on, or use JuiceSSH ConnectBot SSH to manage easily.
SSH settings: Adjust the SSH service port, the default 22, not recommended.
GUI: If you install the desktop environment and VNC server open it.
Graphics Subsystem: default VNC, the other two I have not set not be introduced.
Graphical interface settings: color depth to 24, DPI does not move, length and width of the machine according to their own situation to adjust.
Custom Script: I have not used ...
Custom Mounting: Recommended on, you can access the machine's memory.
Mount point: mount directory absolute path, directly set the root directory / there's nothing wrong, can in linux cd / mnt access and management.
Once set, the operation returns a list of the top-most, perform the installation to start the download and installation.
According to speed the installation process different variable length of time, when the installation is complete there will be < < < install the word, check whether there is an error, is not, then the installation was successful.
To perform a stop, and then the word appears <<< stop starting point, there is the word < < < start start command is complete, check whether the error, if error-free service you can use VNC or SSH service.
For setting the VNC and SSH server, if you are working on the phone, you can directly fill in the address localhost, default SSH port number is 22 (in front of the modified their own adjustments), VNC default port number 5900.
If networking then displayed in the right top of the title bar of the configuration file name [xxxx] network address, you can connect via a local area network with other hosts, such as my home WiFi connection, the display is 192.168.0.101, I can directly on linux ssh 192.168.0.101:22 connecting my phone Ld running linux and management, VNC settings empathy.