Home > OS >  Using android cell phones, a complete version of UBUNTU, perfect.
Using android cell phones, a complete version of UBUNTU, perfect.

Time:09-21











Android the ubuntu artful 17.10 update to the latest
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Requirements and steps of use:
1. The system needs to have root access
2. Install ubuntu system startup. The apk
3. Need to have the busybox in/system/xbin directory
4. Copy the sys/system/bin directory, permissions for 777
5. Copies ubuntu folder to/data directory permissions to read
6. Can be run in a terminal emulator sys boot ubuntu
System has been updated with apt for the latest, delete the VNC and xorg
Can use the SSH, open automatically by default, the password is root_wj,
* system packages folder with terminal and busybox
* folder ubuntu is the official original system, the original system should be started in the ubuntu system. Apk software use, no update package and Settings, according to the Chinese
System update and Settings:
1. In the/root/. Bashrc set language Chinese,
Open 256 m swap (mount selinux read-only, otherwise can't apt update
Apt) system and ping in a directory in the sys, use scripts mount selinux for ro run apt and ping, run after the completion of the recovery selinux for rw access, so that android software not error, ubuntu and android software and can be used, if there are other commands an error (no security label) can't use, also need to deal with the same command file,
2. Install tomcat8 and mysql, must be in the/etc/init. D within the manual open, can also wrote. Since the launch in bashrc,
./etc/init/mysql using mysql after start open
./etc/init/tomcat8 start browser use localhost: 8080 browse/var/lib/tomcat8/webapps page,
3. On/init. Service if start the d must be changed the corresponding user to root user group can be started manually, modify/etc/passwd file, the user x: digital number is changed to 0, need backup before modification, in order to avoid error,
4. The system password is: root_wj, mysql database password for root_wj, you can modify, pay attention to the preservation,
After 5. In ubuntu mount selinux to ro, to system updates and other operations, not an error, but the switch to android other programs to open the software will be an error, because android selinux permissions to rw, when to exit the ubuntu, automatically selinux mount for rw, run android software is not an error, the system must have root access,
Have hid system apt and ping, writing scripts mount and call these orders, so that android software not error,
6. Mount directory:/droid mount android/system directory,/etc/img mount android/data directory,/work mount android/sdcard directory,
Mobile phone is full of the latest ubuntu, learn Linux:)
Modify completion date: April 5, 2018, eventually modify,

Baidu cloud download address:
Link: https://pan.baidu.com/s/1wOD10toD9dZeB7A28Qc65g
Password: t008

CodePudding user response:

Can play, makes little sense to practical use: the theory of space occupied, often several G; Theory of performance, the mobile phone processor can run a nginx is reluctant, tomcat + mysql so severe application is impossible fluency; Theory of convenience, not directly a SSH client (such as juicessh) more convenient (general use, so usually are used in PCS, really want to use mobile phone cases are rare, a SSH client enough to cope with the),
By the way, could you recommend me the android mobile phone on a software called Linux Deploy, are free to choose the mainstream distributions (Debian, ubuntu, kali, fedora, centos, arch, gentoo... ), switch to the USTC source installed quickly,

CodePudding user response:

If you really want to learn, it is better to rent a server in a cloud, the student party 10 per month, eat less snacks at a time, when to lose weight

CodePudding user response:

It is more convenient to use linuxdeloy

CodePudding user response:

Application of ecology can't solve, also is the play cough up

CodePudding user response:

According to the program finally packed, with other cost me half a month before, all sorts of methods are tried, this is the best

CodePudding user response:

After I have done here, replaced the source
  • Related