Small Linux distro for demo systems that still runs Java

后端 未结 5 1590
-上瘾入骨i
-上瘾入骨i 2021-02-09 11:23

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\'

相关标签:
5条回答
  • 2021-02-09 11:30

    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.

    0 讨论(0)
  • 2021-02-09 11:45

    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.

    0 讨论(0)
  • 2021-02-09 11:50

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

    • Linux from Scratch
    • Gentoo
    0 讨论(0)
  • 2021-02-09 11:52

    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.

    0 讨论(0)
  • 2021-02-09 11:54

    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.

    0 讨论(0)
提交回复
热议问题