Small Linux distro for demo systems that still runs Java

烈酒焚心 提交于 2019-12-12 08:10:17

问题


I'm looking for advice on a really small linux distro that I can run inside VirtualBox without killing the host system and that can also run the latest Sun/Oracle-Java. I don't need anything else on it with the exception of Postgres and a text editor.

I lost track of the millions of different distros, but maybe some of you guys are already deploying stuff like that to your sales droids?


回答1:


http://susestudio.com/ seems like a good fit- Java, Postgres, and nothing else is a fairly uncommon configuration. Alternatively, starting with Debian minimal, apt-getting what you need, and then redistributing the VirtualBox disk image is a good/quick option.




回答2:


If you're happy with making all the settings yourself, and you genuinely only need those two packages, I'd recommend SliTaz. It's a tiny distro, only about 30 MB on the ISO and ~100 MB installed, and still has a GUI available. With Java and PostgreSQL installed, it only takes up ~430 MB, if you remove the setup files. I got both Java and PostgreSQL working in about 15 minutes. Just a note, you need to install the Oracle JDK from their website, and not the package manager's version, as that is OpenJDK or somesuch.




回答3:


If you want a binary distro you can go with vector or just ubuntu. You can configure either to run in a small amount of ram. I run ubuntu on virtualbox with the macbookpro as a host and it works just fine. I gave it 2GB or ram, but it would probably run fine in 256MB or less (your java needs might be higher). With ArchLinux you can get a really basic setup too, but it takes more work.

There are other choices if you really want to tweak the sytem. With Gentoo or Sabayon you can compile just what you need.

So it comes down to: if you really want to tweak the crap out of your linux install go with Arch. If you want to compile your system go with Gentoo. If you want to get up and running fast go with ubuntu. The great thing about linux and vms is if you dont like your choice you can just create another vm with another distro.




回答4:


The seems obvious but would DSL work? Since I don't know what you've looked at, that's the first thing that comes to mind.




回答5:


If you're up for making it from source here are two options.

  • Linux from Scratch
  • Gentoo


来源:https://stackoverflow.com/questions/4867571/small-linux-distro-for-demo-systems-that-still-runs-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!