Recent Posts

RSS Feeds

Non-root Tomcat on Port 80 on a VPS without Apache

Java web applications don't need an Apache web server. In memory constrained systems like virtual private servers (VPS) you may get rid of the Apache web server to save memory and gain speed. The idea is to use iptables to replace port 80 in requests to port 8080 of the tomcat connector. Special problem on VPS systems are solved.[Read More]

  Share

Permalink     Kommentare[5]

Basic VPS security with simple firewall rules

Every server facing the internet should be protected by a firewall. Linux servers include the iptables firewall which is very capable. But on VPS systems this firewall is often restricted so much that many well known firewall configuration tools don't work. This article explains how to find out the firewall capabilities of your VPS system and how to configure a basic protection with a few hand coded firewall rules.[Read More]

  Share

Permalink    

Low Cost Grails / Java Web Hosting HowTo - vServer memory and java heap size trouble

Sun Java 5 automatic heap size dimensioning does not know about the memory management of a Linux virtual server instance and therefore fails to get the size right. Even simple calls like "java -version" or the installation by your Linux distribution package manager does fail.
Solutions for these kind of problems are given.

[Read More]

  Share

Permalink     Kommentare[4]

Low Cost Grails / Java Web Hosting - How much server memory do you need?

To host your Grails / Java web application on a dedicated or virtual server (vServer) you'll need to know how much main memory your application needs and how much heap space is available to your application in a known environment. I'll give you formulas I derived from extensive experiments and rule of thumb for calculation with examples.[Read More]

  Share

Permalink