XDA论坛的smitna为我们带来了一段脚本,使得您的Android手机不需要基于Google的虚拟机也能运行Linux的本地程序, Smitna是这样说的:
可安装的本地软件部分列表如下:
详细安装教程
用户有了这个bash script ,就可以安装开源社区(GUN)或者Linux社区所提供的超过80款的Linux本地应用程序,并且您可以在这些程序中获得很好的使用体验,当然这些程 序都不附带GUI(用户界面)。目前只能通过命令工具的帮助,辅助管理。您不需要问我安装这些程序有什么意义,因为选不选择安装这些程序是你的决定,我可 以明确告诉你,您甚至可以把MySQL装到您的Android设备上目前作者使用了 Samsung Galaxy S II作为测试机,据作者称,该bash script可以支持绝大部分机型,所以有兴趣的朋友们可以去试一试哦。
可安装的本地软件部分列表如下:
PHP 5.3.8 (with almost all extensions and XCache) MySQL 5.5.19 (if you want a full database server on your phone...) lighttpd 1.4.30 OpenSSH 5.9p1 OpenSSL 1.0.0f Samba 3.6.1 cURL 7.23.1 bash 4.2 BusyBox 1.19.3 ImageMagick 6.7.4-4 OpenVPN 2.2.2 Python 2.7.2 Node.js 0.6.7 git 1.7.8.3 Wget 1.13.4 Rsync 3.0.9 TCPDUMP 4.2.0 Midnight Commander 4.8.1 Pure-FTPd 1.0.35 screen 4.0.3 iptables 1.4.10 (without bionic bug "getnetbyaddr()" and with iptables-save/restore!) BIND 9.8.1-P1 Lua 5.2.0 usbutils 004 MTDUtils latest git GCC 4.6.2 (c, c++) GNU Coreutils 8.14, Binutils 2.22, Findutils 4.4.2, Inetutils 1.8 QEMU 0.15.1 ... a lot of libraries, development tools and other useful programs ...
详细安装教程