<?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>For the Developer &#187; ubuntu</title>
	<atom:link href="http://forthedeveloper.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://forthedeveloper.com</link>
	<description>By Developers, For Developers</description>
	<lastBuildDate>Tue, 20 Jul 2010 23:54:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>GIT SSH keys with Hudson on Ubuntu’s Tomcat</title>
		<link>http://forthedeveloper.com/2010/git-ssh-keys-with-hudson-on-ubuntu%e2%80%99s-tomcat/</link>
		<comments>http://forthedeveloper.com/2010/git-ssh-keys-with-hudson-on-ubuntu%e2%80%99s-tomcat/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 23:54:14 +0000</pubDate>
		<dc:creator>Randy Merrill</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[continuous integration]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[hudson]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[private]]></category>
		<category><![CDATA[tomcat6]]></category>

		<guid isPermaLink="false">http://forthedeveloper.com/?p=220</guid>
		<description><![CDATA[I&#8217;ve recently covered how to configure git with Hudson on Ubuntu&#8217;s Tomcat and it has worked quite well. After taking the plunge and subscribing to have private repositories on github I ran into an issue of not being able to clone the private repository since it was&#8230; well, private. Here is the message I was [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently covered how to <a href="/2010/git-config-with-hudson-on-ubuntus-tomcat/">configure git with Hudson on Ubuntu&#8217;s Tomcat</a> and it has worked quite well. After taking the plunge and subscribing to have private repositories on <a href="http://github.com">github</a> I ran into an issue of not being able to clone the private repository since it was&#8230; well, private.</p>
<p>Here is the message I was seeing:</p>
<blockquote><p><code>ERROR: Error cloning remote repo 'origin' : Could not clone https://username@github.com/username/repository.git<br />
ERROR: Cause: Error performing git clone -o origin https://username@github.com/username/repository.git /srv/hudson/jobs/repository/workspace<br />
Trying next repository<br />
ERROR: Could not clone from a repository<br />
FATAL: Could not clone<br />
hudson.plugins.git.GitException: Could not clone<br />
	at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:587)<br />
	at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:535)<br />
	at hudson.FilePath.act(FilePath.java:753)<br />
	at hudson.FilePath.act(FilePath.java:735)<br />
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:535)<br />
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1038)<br />
	at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)<br />
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)<br />
	at hudson.model.Run.run(Run.java:1257)<br />
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)<br />
	at hudson.model.ResourceController.execute(ResourceController.java:88)<br />
	at hudson.model.Executor.run(Executor.java:129)</code></p></blockquote>
<p><!-- more --></p>
<p>To solve the problem we need to create an ssh key for the tomcat user so that it can access the repository.</p>
<blockquote><p><code>cd /usr/share/tomcat6<br />
sudo mkdir .ssh<br />
cd .ssh/<br />
sudo touch known_hosts<br />
sudo ssh-keygen -t rsa -C "tomcat@forthedeveloper.com"</code></p></blockquote>
<p>When creating the key pair save the key to <code>/usr/share/tomcat6/.ssh/id_rsa</code>.</p>
<p>I don&#8217;t know how to tell tomcat the passphrase for a ssh key, so I just left the passphrase blank.</p>
<p>Once the key has been created we need to add the github site to the known_hosts file. If you have already setup your normal account for working with github and have xclip installed you can run the following to copy the github ssh host information:</p>
<blockquote><p><code>ssh-keygen -F github.com | xclip -sel clip</code></p></blockquote>
<p>Edit the <code>/usr/share/tomcat6/.ssh/known_hosts</code> file and paste in the copied host information.</p>
<p>To finish things up:</p>
<blockquote><p><code>sudo chown -R tomcat6:tomcat6 /usr/share/tomcat6/.ssh/<br />
sudo /etc/init.d/tomcat6 restart</code></p></blockquote>
<p>You can copy the new ssh key for tomcat to your clipboard if you have xclip installed with:</p>
<blockquote><p><code>cat /usr/share/tomcat6/.ssh/id_rsa.pub | xclip -sel clip</code></p></blockquote>
<p>If you are only using hudson for one repository you can just add the public key to the one repository in the repository admin (ex: https://github.com/username/repository/edit) under the &#8216;Deploy Keys&#8217; area. Otherwise you can <a href="https://github.com/account">add it to your account&#8217;s &#8216;SSH Public Keys&#8217;</a> to allow the tomcat server access to all of your repositories.</p>
<p>Now when you run hudson against your private github repository it should have the proper access.</p>
]]></content:encoded>
			<wfw:commentRss>http://forthedeveloper.com/2010/git-ssh-keys-with-hudson-on-ubuntu%e2%80%99s-tomcat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GIT Configuration with Hudson on Ubuntu&#8217;s Tomcat</title>
		<link>http://forthedeveloper.com/2010/git-config-with-hudson-on-ubuntus-tomcat/</link>
		<comments>http://forthedeveloper.com/2010/git-config-with-hudson-on-ubuntus-tomcat/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 04:21:22 +0000</pubDate>
		<dc:creator>Randy Merrill</dc:creator>
				<category><![CDATA[TDD]]></category>
		<category><![CDATA[continuous integration]]></category>
		<category><![CDATA[hudson]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[ci]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://forthedeveloper.com/?p=198</guid>
		<description><![CDATA[During my recent migration from using SVN to using GIT for my open source projects I was reconfiguring my Hudson CI server and started seeing this message: Caused by: hudson.plugins.git.GitException: Command returned status code 128: *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" I [...]]]></description>
			<content:encoded><![CDATA[<p>During my recent migration from using SVN to using GIT for my open source projects I was reconfiguring my Hudson CI server and started seeing this message:</p>
<blockquote><p><code><br />
Caused by: hudson.plugins.git.GitException: Command returned status code 128:<br />
*** Please tell me who you are.</p>
<p>Run</p>
<p>  git config --global user.email "you@example.com"<br />
  git config --global user.name "Your Name"<br />
</code></p></blockquote>
<p><span id="more-198"></span></p>
<p>I was a little confused to see this message since I had already configured git to have my user name and email. Then I remembered that hudson is running on tomcat which is running with the tomcat6 user. I needed to configure the tomcat6 user to have the git configuration necessary to tag on the git repositories.</p>
<p><strong>[UPDATE: 24 Jun 2010]</strong></p>
<p>I was working on repeating this process on Ubuntu 10.04 and was getting permission errors running the command to set the git config for the tomcat6 user. Here is an updated method:</p>
<p>First we need to create a <code>.gitconfig</code> file for the tomcat6 user:</p>
<blockquote><p><code><br />
sudo touch /usr/share/tomcat6/.gitconfig<br />
sudo chown tomcat6:tomcat6 /usr/share/tomcat6/.gitconfig<br />
sudo nano /usr/share/tomcat6/.gitconfig<br />
</code></p></blockquote>
<p>Place the following in the <code>.gitconfig</code> file:</p>
<blockquote><p><code><br />
[user]<br />
	name = Hudson<br />
	email = hudson@myDomain.com<br />
</code></p></blockquote>
<p>Once the file is saved&#8211;you may need to restart Tomcat&#8211;it should pick up your git configuration.</p>
<p><strong>[/UPDATE]</strong></p>
<p><strong>[ORIGINAL: see updated instructions above]</strong></p>
<p>Setup the git configuration for the tomcat6 user by doing the following:</p>
<blockquote><p><code><br />
sudo -s -H -u tomcat6<br />
git config --global user.name "Hudson"<br />
git config --global user.email "hudson@mydomain.com"<br />
exit<br />
</code></p></blockquote>
<p><em>As a note</em>, if you are using hudson to commit and push to another repository these configuration settings will be used for all commits done by Hudson.</p>
<p>The next step is to let hudson know where the <code>HOME</code> is for the tomcat6 user. On the <code><a href="http://localhost:8080/hudson/configure">hudson/configure</a></code> page there is a checkbox for defining <code>environment variables</code>. Once it is checked you will be able to put in a key-value pair. Add the following pair and save your configuration:</p>
<blockquote><p><code><br />
name: HOME<br />
value: /usr/share/tomcat6/<br />
</code></p></blockquote>
<p>The next time a hudson project is built you should see the following line close to the top of the console output:</p>
<blockquote><p><code>Env: HOME=/usr/share/tomcat6/</code></p></blockquote>
<p><strong>[/ORIGINAL]</strong></p>
<p>The git plugin should now be able to successfully tag the repository and continue with the build.</p>
]]></content:encoded>
			<wfw:commentRss>http://forthedeveloper.com/2010/git-config-with-hudson-on-ubuntus-tomcat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ColdFusion Development using VirtualBox and Ubuntu 9.10</title>
		<link>http://forthedeveloper.com/2009/coldfusion-virtualbox-and-ubuntu/</link>
		<comments>http://forthedeveloper.com/2009/coldfusion-virtualbox-and-ubuntu/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 19:29:41 +0000</pubDate>
		<dc:creator>Randy Merrill</dc:creator>
				<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://forthedeveloper.com/?p=123</guid>
		<description><![CDATA[Here is how I setup a VirtualBox Virtual Machine (VM) running Ubuntu 9.10 Server edition for ColdFusion development on my MacBook Pro. Step 1: Download Needed Files The first step is to download all the files you will need. Since the downloads usually take some time we&#8217;ll get them out of the way first. For [...]]]></description>
			<content:encoded><![CDATA[<p>Here is how I setup a <a title="VirtualBox" href="http://www.virtualbox.org/">VirtualBox</a> Virtual Machine (VM) running <a title="Ubuntu" href="http://www.ubuntu.com/">Ubuntu 9.10</a> Server edition for <a title="Adobe ColdFusion" href="http://www.adobe.com/products/coldfusion/">ColdFusion</a> development on my MacBook Pro.</p>
<p><span id="more-123"></span></p>
<h3>Step 1: Download Needed Files</h3>
<p>The first step is to download all the files you will need. Since the downloads usually take some time we&#8217;ll get them out of the way first.</p>
<p>For my installation I wanted to get more familiar with the Server edition of Ubuntu and to require fewer resources. You should be able to do a similar installation with the Desktop edition.</p>
<ul>
<li><strong>Download VirtualBox</strong> &#8211; The <a title="VirtualBox Downloads" href="http://www.virtualbox.org/wiki/Downloads">official VirtualBox download page</a>.</li>
<li><strong>Download Ubuntu</strong> &#8211; To download the Server edition you will need to <a title="Ubuntu Download Mirrors" href="http://www.ubuntu.com/getubuntu/downloadmirrors#mirrors">find a mirror</a> that hosts the installer images. Once you find a mirror navigate to the 9.10 directory and find the download link for the <code>ubuntu-9.10-server-i386.iso</code> file.</li>
<li><strong>Download ColdFusion</strong> &#8211; The <a title="ColdFusion Edition Downloads" href="http://www.adobe.com/products/coldfusion/editions/">official Developer Edition Download</a> is available on the <a title="Adobe ColdFusion" href="http://www.adobe.com/products/coldfusion/">Adobe ColdFusion</a> page. Download the Linux 32 bit installer.</li>
</ul>
<h3>Step 2: Install VirtualBox</h3>
<p>Once you have downloaded all the files, run the VirtualBox installer.</p>
<p>If you would like to learn more about VirtualBox the installation comes with a user manual or you can download a pdf copy from their <a title="VirtualBox Downloads" href="http://www.virtualbox.org/wiki/Downloads">download page</a>.</p>
<h3>Step 3: Create an Ubuntu Virtual Machine</h3>
<p>Click the <code>New</code> icon in VirtualBox to start the wizard for adding a new VM.</p>
<ol>
<li>Click <code>Next</code> to start the wizard.</li>
<li>Enter <code>Ubuntu CF</code> for the <code>Name</code> of the VM.</li>
<li>Select <code>Linux</code> and <code>Ubuntu</code> in the <code>OS Type</code> drop downs.</li>
<li>Click <code>Next</code>.</li>
<li>Click <code>Next</code> to accept the default amount of RAM. (You can adjust if you want to&#8230;)</li>
<li>Click <code>Next</code> to create a new hard disk image to use for the VM.
<ol>
<li>Click <code>Next</code> to start the wizard .</li>
<li>Click <code>Next</code> to create a dynamically expanding storage.</li>
<li>Click <code>Next</code> to accept the default name and size.</li>
<li>Click <code>Finish</code> to accept the choices for the disk image.</li>
</ol>
</li>
<li>Click <code>Finish</code> to end the wizard.</li>
</ol>
<h3>Step 4: Install Ubuntu</h3>
<p>Now that there is a VM setup to hold the guest Ubuntu system we need to install Ubuntu on it.</p>
<p>In VirtualBox Double Click on the <code>Ubuntu CF</code> listed in the left column to start up the VM. Since this is the first time you are starting the VM it will bring a up a First Run Wizard to guide you in setting up the new VM.</p>
<ol>
<li>Click <code>Next</code> to start the wizard.</li>
<li>Change the <code>Media Source</code> to <code>Image File</code> and click the <code>Other...</code> icon.
<ol>
<li>Click the <code>Add</code> icon along the top.</li>
<li>Select the <code>ubuntu-9.10-server-i386.iso</code> file we downloaded earlier.</li>
<li>Click <code>Select</code> with the <code>ubuntu-9.10-server-i386.iso</code> item selected.</li>
</ol>
</li>
<li>Click <code>Next</code> to continue.</li>
<li>Click <code>Finish</code> to end the wizard.</li>
</ol>
<p>The VM should now startup and bring up the installation the Ubuntu. I&#8217;m not going to go into the details of installing Ubuntu here, so just continue with the next step once Ubuntu installation is complete. Also, since we are going to be using apache you may wish to have the setup create a LAMP server configuration when choosing features or you can install it manually afterwards.</p>
<h3>Step 5: Setup Guest Additions</h3>
<p>In order to have the Shared Folders work we will need to install the Guest Additions.</p>
<p>Before we install the Guest Additions we will need to install dkms:</p>
<pre style="padding-left: 30px; ">sudo apt-get install dkms</pre>
<p>To mount the Guest Additions disc image to the VM press <code>Command + D</code> or select <code>Devices &gt; Install Guest Additions...</code> from the VM menu. Then install the Guest Additions by running:</p>
<pre style="padding-left: 30px; ">cd /cdrom</pre>
<pre style="padding-left: 30px; ">sudo sh ./VBoxLinuxAdditions-x86.run</pre>
<h3>Step 6: Setup Shared Folders</h3>
<p>One of the goals when creating the virtual machine was to be able to edit the files natively but run them on the guest operating system that reflects the production environment.</p>
<p>With shared folders we are able to use a local directory as a share on the guest VM.</p>
<p>Before we add the shared folder we need to have a folder to share. For this example I&#8217;m using the directory I created at <code>/Users/randy/Documents/cf9/</code>.</p>
<p>With the VM powered off edit the <code>Settings</code> and select the <code>Shared Folder</code> icon.</p>
<ol>
<li>Click the <code>Add a new shared folder definition</code> icon on the right side.</li>
<li>Enter the <code>Folder Path</code> (<code>/Users/randy/Documents/cf9/</code>) or select <code>Other...</code> from the drop down and locate the directory.</li>
<li>Enter the name you would like the share to be referenced as in the <code>Folder Name</code> field. In this case I am going to call it <code>cf9</code>.</li>
</ol>
<p>Now that we have the shared folder available to the VM we want it to mount the share each time the VM starts. To do this we startup the Ubuntu VM and edit the <code>/etc/fstab</code> file and add the following line at the end of the file (note that you will need to change the username to match your user):</p>
<pre style="padding-left: 30px;"><code>cf9	/home/randy/Documents/cf9	vboxsf	uid=randy,gid=users	0	0</code></pre>
<p>You will also need to create a blank directory at <code>/home/randy/Documents/cf9</code> that the share will mount to.</p>
<p>The next time your VM is started it should have access to <code>/Users/randy/Documents/cf9</code> on the host machine at <code>/home/randy/Documents/cf9</code> on the guest machine.</p>
<h3>Step 7: Enable Port Forwarding</h3>
<p>To setup the port forwarding you will need to stop the VM. In the terminal run the following commands to setup the port forwarding. (Note that <code>"Ubuntu CF"</code> needs to match the name of the VM created above.)</p>
<pre style="padding-left: 30px;"><code>VBoxManage setextradata "Ubuntu CF" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/Protocol" TCP
VBoxManage setextradata "Ubuntu CF" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/GuestPort" 80
VBoxManage setextradata "Ubuntu CF" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/HostPort" 8580</code></pre>
<p>This will change the VM settings to have the guest port of <code>80</code> (which is the default apache port) of the guest forwarded to port <code>8580</code> on the host. Without this you would not be able to talk to the guest operating system.</p>
<h3>Step 8: Install ColdFusion</h3>
<p>Since we already downloaded the installer for ColdFusion we just need to get that file to the VM. Luckily we already setup a shared folder so if you move the installer to the <code>/Users/randy/Documents/cf9/</code> directory it will be available in the VM.</p>
<p>To run the ColdFusion installer:</p>
<pre style="padding-left: 30px; "><code>cd /home/randy/Documents/cf9/</code></pre>
<pre style="padding-left: 30px; "><code>chmod +x ColdFusion_9_WWE_linux.bin</code></pre>
<pre style="padding-left: 30px; "><code>sudo ./ColdFusion_9_WWE_linux.bin</code></pre>
<p>This should start the installer. During the installation, apache should be configured to run with ColdFusion.</p>
<h3>Step 9: Test Environment</h3>
<p>To test that the development environment is working correctly you should be able to place an <code>index.cfm</code> file in your <code>/Users/randy/Documents/cf9/</code> directory. Make sure that you place some CFML in the file to test that ColdFusion is doing it&#8217;s thing. Then visit <a href="http://localhost:8580/">http://localhost:8580/</a> in a browser on your host to test out the new development environment!</p>
]]></content:encoded>
			<wfw:commentRss>http://forthedeveloper.com/2009/coldfusion-virtualbox-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse 3.4 On Ubuntu 8.04.1</title>
		<link>http://forthedeveloper.com/2008/eclipse-3_4-on-ubuntu-8_04_1/</link>
		<comments>http://forthedeveloper.com/2008/eclipse-3_4-on-ubuntu-8_04_1/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 05:54:25 +0000</pubDate>
		<dc:creator>Randy Merrill</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://forthedeveloper.com/?p=42</guid>
		<description><![CDATA[Something that really bugged me (and still does) about the ubuntu since I installed it is that eclipse is not even close to being the latest version in the package manager. That just seems really strange to me to have such and awesome and widely used IDE not supported in Ubuntu. Anyhow I am not [...]]]></description>
			<content:encoded><![CDATA[<p>Something that really bugged me (and still does) about the ubuntu since I installed it is that eclipse is not even close to being the latest version in the package manager. That just seems really strange to me to have such and awesome and widely used IDE not supported in Ubuntu. Anyhow I am not writing this post to just complain about Ubuntu&#8217;s quirks, I am writing to detail the steps that I took to get it setup and working on my Ubuntu 8.04.1 64 bit box.</p>
<p><span id="more-42"></span></p>
<h2>Using the Sun Java</h2>
<p>I started off by doing your standard Google search and came up with this page listed promently on the Ubuntu community site:</p>
<p><a href="https://help.ubuntu.com/community/EclipseIDE" target="_blank">https://help.ubuntu.com/community/EclipseIDE</a></p>
<p>I followed the instructions to get the Java 6 from Sun installed on the system. But I stopped after the install of Java 6 since my install is basically a download of eclipse it wasn&#8217;t going to have the /etc/eclipse/java_home that was described on the community page.</p>
<p>With a little more searching I came across <a href="http://jhcore.com/2008/06/26/eclipse-34-ganymede-on-ubuntu/" target="_blank">this page</a> which gave a brief description his installation. From his post I edited my ~/.bashrc file and added in the export JAVA_HOME=/usr/lib/jvm/java-6-sun/ so that my default JAVA_HOME would be the sun java.</p>
<h2>Getting Eclipse</h2>
<p>To get the latest eclipse distribution I went to the <a href="http://www.eclipse.org/downloads/" target="_blank">eclipse download page</a> and downloaded the eclipse classic, my preferred base distro. Once I had the file I extracted the eclipse directory. I&#8217;m not a linux guru and didn&#8217;t know the &#8216;best&#8217; place to put the eclipse directory so i put it in /opt/.</p>
<h2>Running Eclipse</h2>
<p>Once I had the application in the directory I decided to add it to my applications menu. I did so by right clicking on the &#8216;Applications&#8217; menu and selecting the &#8216;Edit Menus&#8217; option. From there I went into the Applications &gt; Programming menu on the left side and created a &#8216;New Item&#8217;. I chose the type of &#8216;Application&#8217; and a name of &#8216;Eclipse&#8217;. For the command I entered &#8216;/opt/eclipse/eclipse -vm /usr/lib/jvm/java-6-sun/bin/java&#8217; just to make sure that eclipse was being loaded with the correct jvm.</p>
<h2>Using Eclipse</h2>
<p>So far I have not had any problems with any of the plugins that I commonly use (CFEclipse, Subclipse, etc) that aren&#8217;t found on all system.</p>
<p>That&#8217;s what I did to get Eclipse 3.4 Ganymede running on Ubuntu 8.04.1 Hardy Heron, so enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://forthedeveloper.com/2008/eclipse-3_4-on-ubuntu-8_04_1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ColdFusion 8.01 on Ubuntu 8.04</title>
		<link>http://forthedeveloper.com/2008/coldfusion-801-on-ubuntu-804/</link>
		<comments>http://forthedeveloper.com/2008/coldfusion-801-on-ubuntu-804/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 01:22:37 +0000</pubDate>
		<dc:creator>Randy Merrill</dc:creator>
				<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[install]]></category>

		<guid isPermaLink="false">http://blog.zdsystems.com/?p=14</guid>
		<description><![CDATA[Wow, i hadn&#8217;t realized how close in version numbers the two things are&#8230; I was thinking today of how many crazy things that I try to do, how many of them don&#8217;t work, and how many of them I don&#8217;t share when they do. So today I attempt to share a successful install of ColdFusion [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://forthedeveloper.com/wp-content/uploads/2008/07/cf8.jpg"><img class="size-medium wp-image-15" title="ColdFusion 8" src="http://forthedeveloper.com/wp-content/uploads/2008/07/cf8.jpg" alt="ColdFusion 8... can\'t you just download it?!? A case?!?" width="280" height="280" align="right" /></a>Wow, i hadn&#8217;t realized how close in version numbers the two things are&#8230;</p>
<p>I was thinking today of how many crazy things that I try to do, how many of them don&#8217;t work, and how many of them I don&#8217;t share when they do. So today I attempt to share a successful install of ColdFusion 8 (developer version) on my Ubuntu 8.04 64-bit box.</p>
<p><span id="more-18"></span></p>
<p>For this installation I am going to connect it to my apache 2 installation. So if you do not have apache or do not want to connect it to apache then just skip that part.</p>
<p>To start off I downloaded the coldfusion-801-lin64.bin file from <a title="Adobe ColdFusion" href="http://www.adobe.com/products/coldfusion/" target="_blank">Adobe</a>.</p>
<p>Once I had the file I made it executable:</p>
<blockquote><p><code>$ sudo chmod +x coldfusion-801-lin64.bin</code></p></blockquote>
<p>Now it is time to run the installer:</p>
<blockquote><p><code>$ sudo ./coldfusion-801-lin64.bin</code></p></blockquote>
<p>At first the installer extracts the files for installation then brings up the menu to select the locale. I speak only english so luckily there was the option for english.</p>
<p>Next they give you a nice introduction telling you that you are installing ColdFusion and you can go back in the installer by typing &#8216;back&#8217; and you can exit the installer by typing &#8216;quit&#8217;. ( I pressed &#8216;enter&#8217;. )</p>
<p>Next we go through the wonderful License Agreement for using ColdFusion. You should probably read it, but since I am only installing the developer version I didn&#8217;t pay much attention and pressed enter a lot until I got to the question of if I accept. Then I pressed &#8216;Y&#8217; and &#8216;enter&#8217;.</p>
<p>Next the installer goes through a pre-installation check to see if your computer has everything that is needed by ColdFusion. My box unfortunately pulled up a warning telling me:</p>
<blockquote><p><code>The installer was unable to determine if libstdc++.so.5 is available. The library is necessary for C++ custom tags, webservices and some cfimage functionality to work properly.</code></p></blockquote>
<p>When I checked my packages I have libstdc++6 installed. I&#8217;m no linux guru, just trying to learn more about it, but I continued the installation in spite of the warning. I&#8217;ll write a new post later if this comes back to bite me. So I pressed &#8216;enter&#8217; and ignored the warning.</p>
<p>For my wonderful installation attempt I chose to select the Developer Edition since I am not rich and this is only for local development anyways. If you are rich, or want to install any of the other options, go ahead, I just may not have the same options that you do.</p>
<p>Next it asks for the installer configuration that I would like to use. At first I thought that I would like to go with the multi-server install, but I have tried playing around with it in the past and it just seemed overkill for what I wanted to do for my development so I chose to do just a regular &#8216;server configuration&#8217;. I also found it interesting they decided to include a second semi-colon on this menu, adds a nice touch.</p>
<p>Ofttimes it doesn&#8217;t do well to have ColdFusion already installed and install it again. So the next step asks to make sure you don&#8217;t already have ColdFusion installed. I do not so i answer no.</p>
<p>The next part is where you get to do whatever set of addons you want. For my install I did not want the documentation since I use livedocs, and I didn&#8217;t want LiveCycle and Search Services since they would be overkill and overhead. I also removed the option to start ColdFusion on system init since I am not always developing on it and plan on having a bash script to start it up and shut it down when needed.</p>
<p>I went with the default for the install directory ( /opt/coldfusion8 ). I have no reason to change it and don&#8217;t know enough about linux to slap myself for doing it.</p>
<p>No previous version of ColdFusion installed so the next option was a no.</p>
<p>Configuring webservers is what I have had the most trouble with while trying to install ColdFusion before so I&#8217;ll see if I can get it right. I selected  the &#8216;Add Web Server Configuration&#8217; option to try and attach it to apache.</p>
<p>I am running apache so I selected the &#8216;Apache&#8217; option.</p>
<p>If you would like a handy reference for where your files are for apache check out this <a href="http://www.thecrumb.com/2007/09/07/coldfusion-8-install-on-ubuntu/" target="_blank">post from the crumb</a>.</p>
<p>Next it asks for the directory that contains the httpd.conf file. On this box that the path is:</p>
<blockquote><p><code>/etc/apache2</code></p></blockquote>
<p>Next is asked for the binary file for apache:</p>
<blockquote><p><code>/usr/sbin/apache2</code></p></blockquote>
<p>And for the control file used to start and stop apache:</p>
<blockquote><p><code>/usr/sbin/apache2ctl</code></p></blockquote>
<p>Next it shows the menu about web server configuration. But since I have done my damage I just tell it to &#8216;Continue with Installation&#8217;.</p>
<p>For the administrator location I chose &#8216;/var/www&#8217; so that it is out there where I can get to it without a lot of changes.</p>
<p>The runtime user is something that I wasn&#8217;t sure of, but one of my sys-admin friends told me to use the www-data user for it so that is what i used.</p>
<p>My password for my home dev server I put as &#8217;1d10t&#8217;. And if you want to buy some nice insurance I know a guy&#8230;.</p>
<p>RDS is one of those things that you hear about&#8230; but just never used. At least it is for me. So this time I am going to try out the RDS option this time and see what it can do for me. For that password I chose &#8216;t01d1&#8242;.</p>
<p>Now it shows the installation summary of what it is about to do.</p>
<blockquote><p><code>Installation Type:<br />
Server configuration</code></p>
<p><code>Licensing:<br />
Developer Edition</code></p>
<p><code>Installation Directories:<br />
Product: /opt/coldfusion8<br />
Web root: /var/www</code></p>
<p><code>Server Information:<br />
Web Server: Apache (/etc/apache2)<br />
Port:<br />
Search Services: not installed<br />
Adobe LiveCycle Data Services ES: not installed<br />
Documentation: not installed<br />
RDS: enabled</code></p>
<p><code>Disk Space Information (for Installation Target):<br />
Required: 432,138,779 bytes<br />
Available: 198,957,346,816 bytes</code></p></blockquote>
<p>Press enter and it whirls away in ASCII to install your ColdFusion 8 server.</p>
<p>Yeah:</p>
<blockquote><p><code>You have successfully completed the first step in installing Adobe ColdFusion 8.</code></p>
<p><code>To continue with your installation, go to /opt/coldfusion8/bin and type "./coldfusion start" to start your server.</code></p>
<p><code>Once the server, is started log in to the Configuration Wizard at http://[machinename]/CFIDE/administrator/index.cfm</code></p></blockquote>
<p>Next to see if the ColdFusion server will startup.</p>
<blockquote><p><code>$ cd /opt/coldfusion8/bin<br />
$ sudo ./coldfusion start</code></p></blockquote>
<p>From past experience if I don&#8217;t start the Coldfusion service as root it gives me some strange errors and things do not work right. So here i just told it to startup as root from the beginning.</p>
<blockquote><p><code>Starting ColdFusion 8...<br />
The ColdFusion 8 server is starting up and will be available shortly.<br />
======================================================================<br />
Running the ColdFusion 8 connector wizard<br />
======================================================================<br />
Configuring the web server connector (Launched on the first run of the ColdFusion 8 start script)<br />
Running apache connector wizard...<br />
Connector installation succeeded for apache<br />
======================================================================<br />
ColdFusion 8 has been started.<br />
ColdFusion 8 will write logs to /opt/coldfusion8/logs/cfserver.log<br />
======================================================================</code></p></blockquote>
<p>Now to test it out. I loaded up my localhost/CFIDE/administrator/ and it pulls up the coldfusion administrator. Looks good to me. Went through the administrator and setup a couple of things, tested out a cfm page in the root. All seems to be working well&#8230; good job Adobe.</p>
]]></content:encoded>
			<wfw:commentRss>http://forthedeveloper.com/2008/coldfusion-801-on-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
