How to install a Linux(debian/anything) in Android and use it from Windows with SSH: The goal of this operation(Just joking)/post is to use linux command line tools on Windows without installing linux on PC.It can save somne time/space of persistent memory too.But you must remember that the whole thing will be used from Android. So keep your phone healthy. I am posting this to help people to use both system without booting or installing system.
1. First install "Linux on Android" on your Android(Make sure your phone is rooted)
2. Then install "Terminal Emulator" on Android and download and install a Linux distro .The tutorial can be found inside the app
3. Keep the zip file and extract the zip file that has the image file and keep the zip file for future use.
4. Now install "Putty-SSH client for windows" on your pc
5. Now find the IP address of your Android with netstat command(you can see your device's IP on Wifi option too).
6. (You must use wifi or tether your Android with the PC if you want to use this)
7. Login information: username: debian (If you are using debian.img) password: root root password: debian (For Advanced level only)
8. Launch the Linux and keep the terminal emulator open. Remember FAQ:
1. How to download necessary image files from Internet?
==> You can find these image files on Sourceforge. These files are available under Linux on Android app. Just google it with "Linux on Android" and you can find the files
2. App not working
==> The app might have some problems. Install the app from Sourceforge first. Then install the version of the app from Google Playstore and use it.
3. How to mount specific directory? ==> Configure the image file with configure option.
4. How to increase memory of image file?
==> In configure option check the 1 GB swap for increasing the space so that you can add up more space with the image file.
5. How should I open more terminals if I want to use more on Android Terminal Emulator?
==> Use and ssh client app or find ssh binaries and paste them in the /system/bin or /system/xbin and execute directly with the terminal app. Login basic is described already.
6. Is there any possibilities that I can make my Android weak?
==> Not at all.Linux is the fastest OS ever happened with planet earth.Linux obeys you like a dog.(Not bite you like a dog like windows).And another thing is what happens in Vegas Stays in Vegas.I mean if anything happens it will be happening inside the image file. If you face a problem you can againg re-extract the zip file and again install that image file.
7. Why the post is not helpful for beginners?
==> This post is only for Advance users.Because the beginners can brick their phone or do something wrong with their Android. Windows won't have any problem since you are using the client only.
Saturday, April 1, 2017
How to install a Linux(debian/anything) in Android and use it from Windows with SSH
Labels:
Android,
command-line,
linux,
ssh,
windows
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment