<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>virtual server Archives - Sky&#039;s Blog</title>
	<atom:link href="https://blog.red7.com/tag/virtual-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.red7.com/tag/virtual-server/</link>
	<description>Communicating in a networked world</description>
	<lastBuildDate>Sat, 15 Dec 2012 22:00:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.red7.com/wp-content/uploads/2018/01/skyhi-wind-icon-256x256-120x120.png</url>
	<title>virtual server Archives - Sky&#039;s Blog</title>
	<link>https://blog.red7.com/tag/virtual-server/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Slicehost- Tomcat installation on a tiny virtual server</title>
		<link>https://blog.red7.com/slicehost-tomcat-installation-on-a-tiny-virtual-server/</link>
					<comments>https://blog.red7.com/slicehost-tomcat-installation-on-a-tiny-virtual-server/#respond</comments>
		
		<dc:creator><![CDATA[sky]]></dc:creator>
		<pubDate>Mon, 07 Sep 2009 16:00:48 +0000</pubDate>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Geeks only!]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JSP]]></category>
		<category><![CDATA[Slicehost]]></category>
		<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[virtual host]]></category>
		<category><![CDATA[virtual server]]></category>
		<category><![CDATA[VPS]]></category>
		<guid isPermaLink="false">http://sky.dlfound.org/?p=1879</guid>

					<description><![CDATA[<p>Geek alert! This article is for Slicehost geeks only. Talk about playing on the edge, I almost fell off this time. I have eight slices (virtual servers, that is) on Slicehost (which is now owned by Rackspace) and believe me they are tiny![1] But they can serve low-volume to medium-volume web sites pretty well. For [&#8230;]</p>
<p>The post <a href="https://blog.red7.com/slicehost-tomcat-installation-on-a-tiny-virtual-server/">Slicehost- Tomcat installation on a tiny virtual server</a> appeared first on <a href="https://blog.red7.com">Sky&#039;s Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><span style="color: #800000;"><em><img decoding="async" class="size-full wp-image-583 alignleft" style="border: 0pt none; margin: 2px 12px;" title="Slicehost" src="/wp-content/uploads/2009/01/picture-2.png" alt="Slicehost" width="40" height="45" /> <span style="color: #ff9900;">Geek alert! This article is for <strong>Slicehost</strong> geeks only.</span></em></span></p>
<p>Talk about playing on the edge, I almost fell off this time. I have eight <em>slices</em> (virtual servers, that is) on <a href="http://slicehost.com/" target="_blank">Slicehost</a> (which is now owned by Rackspace) and believe me they are tiny!<sup>[1]</sup> But they can serve low-volume to medium-volume web sites pretty well. For instance, <a href="http://www.shapingyouth.org/" target="_blank">Shaping Youth</a> (several thousand visitors a day) and <a href="http://girlshorseclub.com/" target="_blank">GirlsHorseClub</a> are on these little servers and they serve up pretty rapidly.<sup>[2]</sup> Nice thing about Slicehost is that any host can be scaled up from the tiny size to 16x that size, and because it’s cloud computing, you can also bring up multiple instances of any server and have them share load. This allows me to implement the traditional three-tiered architecture (web/application/database) quite well without having to worry about whether my servers will be able to handle the load because I can scale ’em up whenever I need to.</p>
<p>But, the catch is that when you start with the tiniest slice (256MB RAM) you really have to fine-tune your operating system and applications in order to get good performance out of them.<span id="more-1879"></span></p>
<p>This has led me to some fun discoveries about 1) how to make Apache work in a really tight space; 2) how to add additional web serving using NGINX (engine-X); 3) how to run MySQL in less space; and finally 4) how to use Java and Tomcat wedged into a non-existent memory slice.</p>
<p>Today’s lesson for me was installing Tomcat 5.5 on Slicehost. I started by reading <a href="http://www.mkyong.com/tomcat/how-to-install-tomcat-in-ubuntu/" target="_blank">How to Install Tomcat on Ubuntu</a> in the mkyong blog. Not bad at all. The essence is to first find out what version of Tomcat is available on your slice:</p>
<blockquote><p>sudo apt–cache search tomcat</p></blockquote>
<p>Then install that version and the admin app for it:</p>
<blockquote><p>apt–get ––fix–missing install tomcat5.5<br />
apt–get ––fix–missing install tomcat5.5-webapps<br />
apt–get ––fix–missing install tomcat5.5-admin</p></blockquote>
<p>Then I like to have /usr/local/tomcat defined (like on all my other servers):</p>
<blockquote><p>ln –s /usr/share/tomcat5.5/server/ /usr/local/tomcat</p></blockquote>
<p>That was about all it took. It serves by default on port 8180 &#8211; and the admin app was there and ready to go. My next step was to port a Java app that I have been running on bigger servers over to this little server. That actually worked quite well, requiring about 6 hours to port, recompile (to eliminate a few warnings) and test.</p>
<hr class="hr_dashed" />[1] Six of them are 256MB (RAM) and two are 512MB.</p>
<p>[2] These two slices actually had to be boosted to 512MB recently in order to handle anticipated high traffic. But I can reduce their size after the stress-out period passes.</p>
<p>The post <a href="https://blog.red7.com/slicehost-tomcat-installation-on-a-tiny-virtual-server/">Slicehost- Tomcat installation on a tiny virtual server</a> appeared first on <a href="https://blog.red7.com">Sky&#039;s Blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.red7.com/slicehost-tomcat-installation-on-a-tiny-virtual-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1879</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 

Served from: blog.red7.com @ 2026-03-29 10:02:03 by W3 Total Cache
-->