How do I install Kiln 1.x? - Kiln Knowledge Exchange most recent 30 from http://kiln.stackexchange.com2013-06-19T14:11:49Zhttp://kiln.stackexchange.com/feeds/question/421http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://kiln.stackexchange.com/questions/421/how-do-i-install-kiln-1-xHow do I install Kiln 1.x?Jason Rosoff2010-01-19T20:07:02Z2012-09-04T17:07:47Z
<p>I was wondering if you had a step-by-step setup guide for installing Kiln 1.0, 1.1, or 1.2 on my own server.</p>
<p>See <a href="http://kiln.stackexchange.com/questions/2387/how-do-i-install-kiln-2-x" rel="nofollow">"How Do I install Kiln 2.x?"</a> for Kiln 2 installation.</p>
http://kiln.stackexchange.com/questions/421/how-do-i-install-kiln-1-x/424#424Answer by Jason Rosoff for How do I install Kiln 1.x?Jason Rosoff2010-01-19T23:05:06Z2010-03-03T14:37:39Z<h2>Overview</h2>
<p>Every licensed Kiln customer can download an installer which has a wizard to help guide you through the various steps needed to get Kiln running on your server. For the vast majority of customers, <strong>the defaults we've selected will be your best bet</strong> for a successful installation.</p>
<p>This document has a few sections:</p>
<ol>
<li>System Requirements</li>
<li>Before you begin</li>
<li>Installer Walk-through</li>
<li>Advanced Instructions</li>
</ol>
<h2>1. System Requirements</h2>
<p>Kiln supports a narrow range of systems at the moment. Make sure you're installing on a system that meets these requirements because we can't support anything else right now (sorry!).</p>
<h3>Operating System(s)</h3>
<p>Windows 2003 and 2008 server</p>
<h3>Database Server(s)</h3>
<p>Microsoft SQL Server 2005, MSSQL 2008, and SQL Server Express 2008</p>
<h2>2. Before You Begin</h2>
<p>Just a few things that we wanted to let you know before you begin the installation process:</p>
<ol>
<li><p><strong>The installer may require a restart to finish.</strong> If it does, the installer will pick up right where it left off once you log back on to the server. If possible, it's best to schedule the installation of Kiln during off-hours if you are installing on a production machine.</p></li>
<li><p><strong>Kiln requires some FogBugz components.</strong> We actually launch a seriously trimmed down FogBugz installer during the setup process. Don't worry; This is totally normal :) </p></li>
<li><p><strong>You need to run the installer as a SQL and Windows administrator.</strong> We make changes to Windows and SQL Server that require administrator access. If your SQL Server is on another computer, you need to take extra care to make sure your user has the right privileges.</p></li>
<li><p><strong>If you want Kiln and FogBugz to work together, they have to run on the same server.</strong> At least the front-end components do. It is possible to have your DB and Mercurial repositories elsewhere.</p></li>
</ol>
<h2>3. Installer Walk-through</h2>
<h3>Welcome</h3>
<p>The easy one. Just click <code>Next</code> because you've already got these instructions open (pat yourself on the back).</p>
<h3>FogBugz Base</h3>
<p>Kiln uses parts of FogBugz, specifically the authentication bits. This step either links the Kiln installation to an existing FogBugz installation on this machine, or allows you to install the core FogBugz components needed to get Kiln running. <strong>If you want fully integrated Kiln and FogBugz, they <em>must</em> be installed on the same server.</strong></p>
<h3>Kiln Storage Service</h3>
<p>The Kiln storage service manages the Mercurial repositories that you create while using Kiln. <strong><em>We strongly recommend</strong> that you install the Storage Service on the same machine as the Kiln front end.</em> It is slightly more secure, and it reduces complexity which makes managing your Kiln installation easier.</p>
<h3>Database Instance</h3>
<p>Kiln uses SQL server to store meta data about your code and code reviews. Basically, it's what we use to make the Kiln web front end work. Your code isn't stored here. You can choose any SQL Server 2005/2008 or SQL Express 2008 instance. If you don't have one available, Kiln can install and configure a SQL Express instance for you.</p>
<h3>The Web Platform Installer</h3>
<p>You'll see some instructions in the installer about this, but it worth breaking them out here. Once the initial configuration is complete, the web platform installer will:</p>
<ol>
<li>Install Kiln and all of its pre-requisites</li>
<li>Launch the FogBugz installer to install/upgrade the FogBugz Base components</li>
<li>Launch the Kiln Storage Service installer</li>
<li>Ask you to set your FogBugz user as a DB owner of the Kiln DB</li>
<li>Launch Kiln in your default web browser to let you log on and install licenses</li>
</ol>
<h3>Kiln & Prereqs</h3>
<p>The defaults here are all correct, so all you need to do is click <code>Install</code>. This step will install all of the Kiln files and all of the supporting software needed to run Kiln. This varies depending on the state of your system. If you've asked the Kiln installer to set up a SQL Express instance for you, <strong>this step can take a while</strong>. Go get yourself a cup of cocoa, and relax for a little while.</p>
<h3>The FogBugz Installer</h3>
<p>If you've ever installed FogBugz, you will recognize the installer and probably realize that it is seriously shortened. The only critical thing here is setting up the FogBugz user. The web components and system services for both Kiln and FogBugz will run as this user. It is also used to connect to the SQL database. <strong>If SQL Server is on a different machine, you will want to make this a domain user.</strong></p>
<h3>Kiln Storage Service Installer</h3>
<p>This installer asks for some very basic information about where you want to install it, and where you want it to store your Mercurial repositories. Mercurial is <em>very</em> efficient about how it uses storage, but you will want to make sure you put your repository directory in a place with plenty of available disk space (10GB minimum, likely more).</p>
<h3>Login to Kiln, and enter your licenses</h3>
<p>For the duration of the beta, a 100 user license will come pre-installed with Kiln. After that, this step will take you through the normal licenses installation procedure. If you already had FogBugz, you will need to log on to Kiln with a FogBugz administrator account and enter your Kiln licences on the <code>Admin -> Licenses</code> page. Otherwise, you will login with the default administrator account and enter your licenses.</p>
<h2>4. Advanced Instructions</h2>
<p>If you've gotten this far you've already mastered Windows permissions entanglement theory. That's not advanced enough for you?</p>
<p><strong>Using Mixed-Mode authentication to connect to the Kiln database.</strong> You needed to run the installer as a user with administrator permissions on the database. After Kiln is installed, you can change the connection string in the web.config file to use a specific database user, rather than a Windows user. The database user will need to be an administrator for the Kiln database. Just replace <code>Integrate Security=SSPI;</code> with <code>User Id=myUsername;Password=myPassword;</code>. Once you've done this you can revoke permissions to the user that was setup by the installer (typically the FogBugz user). </p>
<p>This section will continue to be filled out as people try, and we work to support, more complex environments for Kiln.</p>
http://kiln.stackexchange.com/questions/421/how-do-i-install-kiln-1-x/425#425Answer by stevenringo for How do I install Kiln 1.x?stevenringo2010-01-21T00:10:30Z2010-01-21T00:18:36Z<p>You mention in this answer that one <strong>can</strong> download an installer, however the Kiln site says:</p>
<p><em>During the beta, Kiln is only available via On Demand. Once the beta is complete, we will be working on a licensed version of Kiln that will run on your servers.</em></p>
<p>Does that mean I can download a trial hosted version? We are currently FogBugz customers, and I am "licenced" on Kiln-on-demand</p>
http://kiln.stackexchange.com/questions/421/how-do-i-install-kiln-1-x/439#439Answer by Markus for How do I install Kiln 1.x?Markus2010-01-22T00:49:02Z2010-01-22T01:58:15Z<p><strike>The installer works better as described: after installing on MSSQL 2008 the newly created local account for FogBugz has already a valid login and is configured as db_owner in the database.</strike></p>
<p>I was wrong, Jason wrote that the <strong>Kiln</strong>-Database needs the FogBugz-User not the <strong>FogBugz</strong>-Database. Sorry.</p>
http://kiln.stackexchange.com/questions/421/how-do-i-install-kiln-1-x/1464#1464Answer by neslekkiM for How do I install Kiln 1.x?neslekkiM2010-05-26T09:51:39Z2010-05-26T09:51:39Z<p>Purchased Fogbugz with Kiln, got an installer called: "Kiln-Setup-1.2.138.exe"</p>
<p>When installing, i come to the point where to: "Enter Database Instance", so I enter the name of our DB Server, and gets this:</p>
<hr>
<h2>Setup</h2>
<h2>The database is not accessible or does not exist. Please enter an existing database that you can access with this account.</h2>
<h2>OK</h2>