Ubuntu – Run an ubuntu 16.04 server instance on an Android device (no GUI necessary)

16.04android

I'm not a fan of the recurring fee subscriptions necessary to launch cloud instances. I'd like to make a cheap purchase of an Android phone and use it as an Ubuntu Server. I would basically use only the command line interface; There's a lot of tutorials for putting the Ubuntu GUI on your phone, I just want a server instance though that I can shell into.

Surprisingly, I can't seem to find any tutorials of doing this, even on rooted devices. Does anyone have any experience with running an Ubuntu server from an Android device? I'd hope that all packages would remain valid even from the Android hardware.

It's possible to do something similar with laptops, I know. But laptops require more power and are less discrete & mobile than phones.

I'm also wondering if there will be any problems with hardware compatibility in doing this. Like, obviously, I wouldn't be able to add a USB interface (without additional hardware).

Best Answer

I have been using Termux which is a linux emulator environment for Android. It seems to have a large open-source community around it.

You can enable things like SSH.