Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Install Debian Linux with R on the Android system     - Download Manager uGet 2.0 installed in Debian, Ubuntu, Linux Mint and Fedora (Linux)

- Cross server / client backup command: rsync use (Server)

- Node.JS different ways to install under Ubuntu 15.04 (Linux)

- OpenGL Programming Guide (8th edition of the original book) - compute shader (Programming)

- Introduction and MongoDB CRUD (Database)

- Fedora 22 installation and configuration optimization (Linux)

- Analysis JavaBean (Programming)

- How to install with JSON support in Ubuntu 15.04 SQLite 3.9.1 (Database)

- Linux common commands ll namely ls -l --color = auto (Linux)

- How to install Unbound and DNSCrypt in Archlinux (Server)

- Graphic Git (Linux)

- Preps - Print within the specified range of IP addresses (Linux)

- Linux upgrade Glibc (Linux)

- MySQL In can not be overridden with an internal connection (Database)

- How to Set Free SSH password on CentOS / RHEL (Linux)

- Linux add a new hard disk (Linux)

- Ubuntu Slingscold (Linux)

- Use Markdown editor for document work under Linux (Linux)

- Let MySQL 5.6 support Emoji expression (Database)

- Type Linux commands (Linux)

 
         
  Install Debian Linux with R on the Android system
     
  Add Date : 2016-11-09      
         
       
         
  In fact, the Android tablet through third-party software, can already provide many similar ships desktop Linux system tool. Commonly used Firefox, VLC, LibreOffice and terminal emulators have Android version, combined with Busybox also owns most coreutils tool, such as Terminal IDE even stop this development tool programs (but does not support Android 5.0+). If you want to be close to the desktop level experience, then, like you want to use the next R locale, or install a complete Linux environment better.

On the Android platform, if Unlock Bootloader and gained root privileges, then there is a big vote of ways to customize a variety of depth or will or will complete Linux environment to install up, there are many online tutorials, not repeat them. The method described herein is:

Without root, without modifying the system partition or Bootloader;
Installation is normal Debian Linux ARM version, available updates from the official repository, compatible third-party backport repository;
Allows multiple Linux distributions coexist, very easy to remove or rebuild without worrying about the system or SD card has a strange residue.
First of the protagonist GNURoot and GNURoot Wheezy. The former at the application level to provide a virtual root file system that allows desktop Linux distributions running on its fine-tuning; the latter is evident that to build its version of Debian Wheezy.

GNURoot itself supports a number of different Linux distributions, Fedora is also commonly used in the next which, however, because the old packaging is also no longer maintained Fedora 17, it is not recommended. As for the version of Debian WheezyX, wait instructions.

GNURoot fairly intuitive to use. Step 1. Select the root file system to be created, if not installed Wheezy mentioned above, then jump to the selection prompts to install the Play Store. After a short moment is created, you can choose to start in the second step, and remember the hook on "Launch As Fake Root" option. The third option is to delete the root file system, click When selected root file system will clean deleted, it is estimated that you will not want to click on it right now ...

But before you start clicking, the best you are ready to confirm the appropriate input device, because you are about to meet is just a terminal emulator, and install R operation requires a lot of operator terminal. If there is a Bluetooth keyboard the best, if not recommended to use this virtual keyboard called Hacker's Keyboard can provide many terminal commonly used keys.

Debian Wheezy The root file system generation time earlier, so of course one up through apt-get upgrade to the latest version. In addition, such as less, `vim` like tools or installed feels correct. There are several points to note:

The default login is the root account;
Host built-in memory and SD memory cards and other devices are mounted under / storage;
Because Android system permissions defined, built-in memory can be written, can not write to an external SD card;
Including GNURoot and GNURoot Wheezy, including programs can not be moved to the SD card, because there is no enforceable authority on the SD card concept.
Since Debian Stable for management strategy, in order to spend the latest R must backport repository. According Debian Package for R Software description, we need to add the following information to the warehouse at the end of /etc/apt/sources.list file:

deb http: // / bin / linux / debian wheezy-cran3 /

For the next network is both the following address:

deb http://mirrors.ustc.edu.cn/CRAN/bin/linux/debian wheezy-cran3 /

By way of echo plus redirection can be very easy to add it to the end of the file.

Then add the public key to encrypt:

apt-key adv --keyserver keys.gnupg.net --recv-key 381BA480

Down is installed:

apt-get update apt-get install r-base r-base-dev

This process is relatively long, one is derived from Debian FTP access speed, the other is the installation and unpacking time. After a wait or sleep, you can use the R language fun on the plate it!

It has been used for a graphical IDE Rstudio on the following terms, R or terminal need to know under:

Run the script requires Rscript, instead of R CMD BATCH.
Use help.start () can be started with the help of manual HTML pages can be viewed in the browser in Android system environment.
Similarly, graphing and tables and the like, can also be nested output Shiny way to the Web page, and then after the Android system browser to view.
Finally talk about the same author produced WheezyX and GNURoot Debian. The former is when you start to initialize a vnc service, making it possible to use local or remote VNC client to see the X graphical interface. The next attempt to install on their basis LXDE desktop environments, extreme long wait failed, unable to start LXDE. The latter is the name of the author of the new work, in accordance with its instructions is a new combination, but it seems there are still many issues to be addressed according to a review of view.

After such a toss, I feel a lot of Android tablet still can play and toss the place, especially for Linux users. If you have more frustrating experience or experience, or contributions may wish to share in the comments.

July 22 update

In the article published on the third day, GNURoot Debian released a new version 0.2, which again two days later the body (zhe) test (teng) under:

And GNURoot completely different, can not continue to use the root file system you created earlier, and only supports Debian
Upgrading to Debian Jessie 8.1 Stable version and hardware architecture supports floating point armhf
Mounting and interact with the system and change the way a lot, $ HOME partition can be accessed directly in the Android system, there are some strange mount output did not understand
Jessie came with special streamlined, not even vi, create a root partition after a common tool to install a lot of ...
CRAN Backport where R seemingly only for armel, and Jessie Backport in version too old, then thought, simply compile yourself the R 3.2.1 version, when a total of two and a half hours, but fortunately,
At least in the Z4 Tablet I use to install some applications (such as git, openssh-client) prompts Can not open audit interface, Google said it might be related with the kernel or mount, has been submitted to Issue Report and other feedback ...
Theoretically RStudio Server can be compiled, but at least solve the above problems need to install the necessary dependencies.
August 4th update

Last weekend GNURoot Debian has released version 0.26 to solve the problem before feedback, means that the compiler RStudio Server!

Go RStudio first official website to download the source code package.
After the extract to somewhere, read one of the INSTALL instructions.
RStudio need R shared library, if not add --enable-R-shlib option manually before the process of compiling R word (actually not enabled by default), recompile it first ...
According to legend, you can use the contents of dependencies / linux / install-dependency-debian file dependencies handling of compiled RStudio. Since GNURoot Debian default is not configured sudo, this proposal is still better to manually install each dependent
Some need to be reminded of:
No need to install special OpenJDK 6, R compile time can be used for OpenJDK 7
Without worrying about AppArmor, Qt SDK dependent, Server version irrelevant
After you resolve any debian file described with reference to the common / install-common contents of further processing dependencies, it is recommended that the same reference, but the manual process, in fact, is performed manually install other starting with the same script directory. Of course, in the previous step debian script does not need to be addressed through the warehouse, such as boost and pandoc
At this point you can refer to answer Forum RStudio, including downloading the latest version of Closure Complier to replace src / gwt / tools directory of the old version, you have created an empty directory pandoc are worthy applications. It also referred to the use of Oracle JDK 8 to accelerate the GWT build, which I did not try, who are interested can also look at using OpenJDK 8. Earlier this document, the new version also need some clang headers, but also like to use install script processing.
After all dependencies end processing and returns to the top-level directory of the source code, follow the instructions in the INSTALL document, create a build directory and call cmake create compile profiles,
If everything is normal, you can start using the make install compiled (not mistaken, did not make the step). On Z4 Tablet, GWT really constructed using 90 minutes, while compiling C ++ code portion with a 6-8 hours (time unknown, because halfway asleep ...)
After the end, continue to follow the instructions INSTALL document, create a running account used by the service, add init.d configuration files, create a symbolic link management script to create the necessary directories runtime
Then you can start by rstudio-server start, and then entered in the system browser, `127.0.0.1:8787`, where 8787 is rstudio-server default port number, you can see the familiar RStduio login screen it!
But do not get too excited ... you will not find root account login, prompted for a password, after the password is set or not, create a new general user, the problem remains, suggesting Error occurred during transmission ... online search solutions to the root tips partition full, uh, it does not seem related to ah ...
Receive when you try to switch to systemd startup script prompts said dbus is not available, do not know this will not be the reason?
So, RStudio Server can indeed compiled normally (although a long time) in Andriod / GNURoot Debian environment, but their normal work, seems to require some research.
     
         
       
         
  More:      
 
- The multiplexed signal driving IO (Programming)
- Using Oracle for Oracle GoldenGate to achieve a one-way data synchronization (Database)
- Android in the coordinate system and a method to obtain the coordinates (Programming)
- Docker use Dockerfile created since the launch of the service support SSH container mirror (Server)
- State and Linux nf_conntrack TCP disconnect time (Programming)
- Oracle through the alarm log view and inspect the main library, physical and snapshot standby database (Database)
- CentOS 6.5 / 6.6 modify the default SSH port number (Linux)
- Vim (Linux)
- The difference between vi and nano (Linux)
- Linux file and directory management - ls, cp, mv (Linux)
- To use Linux to create a secure managed gateway (Linux)
- Linux System Getting Started Learning: rename multiple files in Linux (Linux)
- Oracle 11g principle study Dataguard (Database)
- Reset CentOS / RHEL root account password 7 (Linux)
- CentOS 6.6 install JDK7 (Linux)
- File encryption and decryption of Linux security mechanisms (Linux)
- Linux - Common process the command (Linux)
- Getting Started Linux Shell Scripting (Programming)
- Java String and StringBuffer and StringBuilder Comments (Programming)
- CentOS7 yum install third-party source EPEL (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.