<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<rss version="2.0">
<channel>
<title>GeekISP FAQ - The five questions posted most recently:</title>
<description>GeekISP Faq System</description>
<link>http://geekisp.com/faq</link>	<item>
		<title><![CDATA[How do I setup a user for database access?]]></title>
		<description><![CDATA[<p>
First, create a new database.  Once you&#39;ve done this, control_mysql automatically creates a database user with the same name as your system username.  The password is set to a random value.  To set the password to something you like, do:<br />
<br />
control_mysql password user_name<br />
<br />
It will prompt you to enter a password twice.<br />
<br />
New users can be created with the &#39;adduser&#39; command to control_mysql, i.e.:<br />
<br />
control_mysql adduser new_user_name<br />
<br />
You can then use the standard MySQL grant system to give this user access to tables in your databases.  For example:
</p>
<p>
$ mysql -u user_name -h db -p
</p>
<p>
mysql&gt; grant all privileges on my_new_db.* to new_user_name@&#39;%&#39;
</p>
]]></description>
		<link>http://geekisp.com/faq/content/3/10/en/how-do-i-setup-a-user-for-database-access.html</link>
		<pubDate>Thu, 02 Oct 2008 18:05:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[How do I add a new database?]]></title>
		<description><![CDATA[<p>
Simply log into the shell server and use the control_mysql script:<br />
<br />
/usr/local/bin/control_mysql add my_new_db<br />
<br />
If this is the first database you&#39;re adding, it will also create a new database user for you.  If your login is &#39;bob&#39;, your new DB user will also be named &#39;bob&#39;.  From there, you can set the password for &#39;bob&#39; and go about working with your database:
</p>
<p>
/usr/local/bin/control_mysql password bob 
</p>
]]></description>
		<link>http://geekisp.com/faq/content/3/1/en/how-do-i-add-a-new-database.html</link>
		<pubDate>Thu, 02 Oct 2008 17:54:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[What's the SSH fingerprint of the shell server?]]></title>
		<description><![CDATA[
<p>The shell server has 2 SSH keys, and their fingerprints are:</p><p>RSA: 95:bf:73:35:ca:73:39:8d:92:ea:0f:0c:90:f8:30:3e<br />DSA: 7e:16:65:db:ce:34:36:98:59:f6:df:c4:8f:2a:39:0b</p>]]></description>
		<link>http://geekisp.com/faq/content/4/75/en/what_s-the-ssh-fingerprint-of-the-shell-server.html</link>
		<pubDate>Thu, 19 Jun 2008 00:23:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[How do I unsubscribe from your announce@ mailing list?]]></title>
		<description><![CDATA[<p>To unsubscribe, simply send a blank email to:</p><pre>announce-unsubscribe@geekisp.com</pre><p>Be sure to send that mail from the account on which you're receiving messages.  The mailing list system will send you a confirmation email, and once confirmed, you will be removed from the list.</p>
<p>If you're unable to successfully unsubscribe, send an email to support@geekisp.com and we'll try to remove you manually.</p>]]></description>
		<link>http://geekisp.com/faq/content/1/74/en/how-do-i-unsubscribe-from-your-announce%40-mailing-list.html</link>
		<pubDate>Mon, 11 Feb 2008 21:18:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[How does Tomcat work at GeekISP?]]></title>
		<description><![CDATA[
<p>Tomcat support at GeekISP is pretty straightforward.  First of all, Tomcat is an optional, ala carte service.  Please check the <a href="http://www.geekisp.com/prices/alacarte.php">ala carte page</a> for the latest prices.  If you'd like to add Tomcat service for a particular domain, just email support requesting it.</p><p>When Tomcat is enabled, there are several options in how its set up.  By default, we now map your entire domain onto Tomcat, but that's not strictly required - we could only map a portion of your URL space.</p><p>For instance if you wanted only JSP files to be served by Tomcat, that's very easy to do.  If you were planning a mixed deployment (i.e. some files served by Tomcat, some by Apache), just tell us how you'd like it configured.  We use mod_jk to forward requests from Apache to Tomcat, so any simple url mapping is possible.  For instance:</p><pre>Keep PHP files on Apache:</pre><pre>*.php</pre><pre>Send anything in the /myapp/ url to Tomcat:</pre><pre>/myapp/*</pre><p>Any basic pattern like that is easy to support.  While the above is possible, we do highly recommend that you devote your entire domain to Tomcat to simplify deployment.  If you have a main site (example.com) and want to add a few apps in support of your existing site, it may be simpler to configure 'java.example.com' and deploy your apps there.</p><p>Deployment is done via WAR files automatically.  Assuming you have a standard setup (i.e. all URLs are mapped to Tomcat) for your example.com domain, you would deploy files like so:</p><ul><li>To setup an application to serve the '/' URL for your domain (i.e. the default app), drop a file named ROOT.war into your ~/www.example.com directory.  </li><li>If you want another app to handle /myapp, just drop a WAR named myapp.war into ~/www.example.com.  </li><li>Note that your 'htdocs' and 'cgi-bin' directories are not used in this case, since all files are served from the contents of the WAR files.</li></ul><p>On the backend, we run a single shared Tomcat instance, but we have redundant configurations running across several web servers.  Sessions are sticky, but not replicated.  That means that after the first request is served, a user will only be connected to a single Tomcat backend unless a Tomcat server should go down.</p>]]></description>
		<link>http://geekisp.com/faq/content/6/73/en/how-does-tomcat-work-at-geekisp.html</link>
		<pubDate>Fri, 01 Feb 2008 13:28:00 GMT</pubDate>
	</item>
</channel>
</rss>