What Distro is best for J2EE?
I have a Linode 100
I use Gentoo at the moment, and although I like it generally, I don't like the
way it deals with Java. I just don't see the point in compiling every Java
package. And, I certainly don't like having to fetch libs just to compile, and
test, when I don't plan on doing any of that on my server.
I plan on building up the following
Tomcat 5.0
Java 1.5 (sun jdk)
postgresql 8
I may run Apache someday, probably not sure.
I also use my system as an imap mail server
postfix
courier-imap
sasl
Any one recommend the best distro. I don't might a learning curve provided
It will be easy to maintain in the end. (Not into "fun" linuxes on servers.) I
like small, so RH is probably out.
Thanks!
3 Replies
CVE-2006-1173
Moral: if you're a dyed-in-the-wool sendmail user, don't use Debian.
Given that my Debian setup was a bit on the fat side to begin with (with a VNC server and all of the X stuff it needs), there was little difference in overall size between the two distros.
I chose the L120 (now a L150) for the breathing room. Tomcat can be a memory hog, so be sure to tighten it down some in the startup scripts. For example:
JAVA_OPTS="-Djava.awt.headless=true -Xms32m -Xmx64m"
Also be sure to check into running the headless option if you are doing any image generation, e.g. CAPTCHA, Java TechniquesAnother Caffeinated Day
> It is enough to say that my VPS host did not install the X libraries and I ended up with UnsatisfiedLinkErrors. Some research on Google and some knowledge of Linux distros, solved my problem. For the Fedora Core series I determined the following packages provided the necessary X libraries to satify the link errors on my Java/blojsom/OS combination (again I need to say, YMMV):
* Fedora Core 2: xorg-x11-libs
Fedora Core 3+: xorg-x11-deprecated-libs</list>
[
tells] you exactly what libraries are needed in a Java 1.4 environment, whereas the above packages have dependcies that need to be satisified. If the dependencies are a non-issue, load them, otherwise consider a method to get just what you need; [ [url=http://javatechniques.com/public/java/docs/hosting/headless-java-x11-libraries.html]~~Java Techniques[url=http://javatechniques.com/public/java/docs/hosting/headless-java-x11-libraries.html]~~Java Techniques ] outlines how one might go about doing so on RHL9.
Also be sure to look in to configuring PostgreSQL for tight memory environments. There is some discussion in the wiki and forums on this subject for MySQL. I'm sure PostgreSQL has similar build or configuration options.
Managing Kernel Resources