<?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>Learning the Ropes &#187; development environment</title>
	<atom:link href="http://davidmiller.serafinistudios.com/tag/development-environment/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidmiller.serafinistudios.com</link>
	<description>David&#039;s experiences interning with Serafini Studios</description>
	<lastBuildDate>Sat, 04 Dec 2010 04:17:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>PHP was a somewhat complicated install. &#8230;</title>
		<link>http://davidmiller.serafinistudios.com/2009/06/php-was-a-somewhat-complicated-install/</link>
		<comments>http://davidmiller.serafinistudios.com/2009/06/php-was-a-somewhat-complicated-install/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 17:55:48 +0000</pubDate>
		<dc:creator>intern</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[development environment]]></category>
		<category><![CDATA[mcrypt]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://davidmiller.serafinistudios.com/?p=7</guid>
		<description><![CDATA[PHP was a somewhat complicated install. I first had to download and install the inconv library, and the mcrypt library, and tell the PHP configure script about them. Furthermore I had to point the configure script at my existing mySQL installation (an easy osx package double clickey type installation) and apache installation. Only after carefully [...]]]></description>
			<content:encoded><![CDATA[<p>PHP was a somewhat complicated install.</p>
<p>I first had to download and install the inconv library, and the mcrypt library, and tell the PHP configure script about them. Furthermore I had to point the configure script at my existing mySQL installation (an easy osx package double clickey type installation) and apache installation. Only after carefully balancing the conflicting forces of each of these configure options would the make script run correctly. Notably, libmycrypt is the part of mcrypt that PHP needs. The actual mcrypt program has dependencies on some hashing algorithms that I had trouble finding, but is not actually needed. Both of these projects are available <a href="http://sourceforge.net/project/showfiles.php?group_id=87941">here</a>.</p>
<p>to test my php installation, I wrote a short PHP file that invoked phpinfo command, which brings up a screen detailing the configuration options set for PHP.</p>
<p>Once php was installed I restarted apache and tested.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidmiller.serafinistudios.com/2009/06/php-was-a-somewhat-complicated-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jump on it.  Apache 2 comes with OSX by &#8230;</title>
		<link>http://davidmiller.serafinistudios.com/2009/06/jump-on-it-apache-2-comes-with-osx-by/</link>
		<comments>http://davidmiller.serafinistudios.com/2009/06/jump-on-it-apache-2-comes-with-osx-by/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 17:08:00 +0000</pubDate>
		<dc:creator>intern</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache 2]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[development environment]]></category>
		<category><![CDATA[tar]]></category>

		<guid isPermaLink="false">http://davidmiller.serafinistudios.com/?p=6</guid>
		<description><![CDATA[Jump on it. Apache 2 comes with OSX by default. It can be activated using the system settings sharing panel. However, Apple customises this distribution of Apache to do one thing very well: share the sites folder on one&#8217;s computer. In order to get around this, and to avoid any potential issues with system updates [...]]]></description>
			<content:encoded><![CDATA[<p>Jump on it.</p>
<p>Apache 2 comes with OSX by default. It can be activated using the system settings sharing panel. However, Apple customises this distribution of Apache to do one thing very well: share the sites folder on one&#8217;s computer. In order to get around this, and to avoid any potential issues with system updates overwriting server settings, I began from scratch with a fresh tarball, directly from <a href="http://httpd.apache.org/download.cgi">the  Apache people</a>.</p>
<p>I learned the <b>tar</b> command, and used it to unzip the tarball. The modifiers x,v,z, and f are applied. <b>X</b> sets the tar operation to extraction; <b>tar</b> can also compress archives, inspect them, and so on.. <b>V</b> asks tar to operate in verbose mode, <b>f</b> uses the file &#8216;archive&#8217; to unpack files and folders, rather than the compilation dependent source location, and <b>z</b> tells <b>tar</b> to use the gzip library to decompress tarballs.</p>
<p>Once the installation files are unzipped, I navigated into their directory, and ran the configure script included. This creates installation files optimised for the setup of my particular computer.</p>
<p>I ran the make script generated to build an installation for the laptop. Lastly, I <b>sudo</b> ran the make install script, to install the server with administrative privileges.</p>
<p>The final step is to start the server. Inside the <b>/usr/local/apache2</b> folder where apache&#8217;s default install puts itself, there is a <b>bin</b> folder, and therein a script called <b>apachectl</b>. This script handles starting, stopping, and restarting the apache server, and must be run as an administrator.</p>
<p>Using the VI text editor, I set the home directory for apache, in apache&#8217;s httpd.conf file. I then create a short html document for testing purposes and placed it in this home directory. To test that the server is working, I pointed a browser at <a href="http://localhost" rel="nofollow">http://localhost</a>.</p>
<p>After some careful checking of settings, the html file loaded. Time to get PHP running!</p>
]]></content:encoded>
			<wfw:commentRss>http://davidmiller.serafinistudios.com/2009/06/jump-on-it-apache-2-comes-with-osx-by/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Since my internship began on Monday, I r&#8230;</title>
		<link>http://davidmiller.serafinistudios.com/2009/06/since-my-internship-began-on-monday-i-r/</link>
		<comments>http://davidmiller.serafinistudios.com/2009/06/since-my-internship-began-on-monday-i-r/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 15:51:08 +0000</pubDate>
		<dc:creator>intern</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[development environment]]></category>
		<category><![CDATA[tasks]]></category>

		<guid isPermaLink="false">http://davidmiller.serafinistudios.com/?p=4</guid>
		<description><![CDATA[Since my internship began on Monday, I rapidly come up to speed on the development environment in use by the studio, and used that platform to roll out this blog. The process began with my aging but virginal Macbook Pro, and opening many terminal windows. My early computer experiences were with text-based operating systems, so [...]]]></description>
			<content:encoded><![CDATA[<p>Since my internship began on <a href="http://www04.wolframalpha.com/input/?i=Monday%2C+June+15th%2C+2009">Monday</a>, I rapidly come up to speed on the development environment in use by the studio, and used that platform to roll out this blog.</p>
<p>The process began with my aging but virginal Macbook Pro, and opening many terminal windows. My early computer experiences were with text-based operating systems, so this was something I was somewhat comfortable with. However, Unix commands are pretty new to me, so almost everything I have learned has been a transfer of old skills into a new environment. I used <a href="http://www.ss64.com/bash/">this helpful reference</a> extensively. I know it says Linux at the top. It works for MacOS too.</p>
<p>My task list included setting up and learning to use the following:</p>
<ul>
<li><a href="http://www.apache.org">Apache 2</a> web http server</li>
<li><a href="http://www.php.net">PHP 5<a /> </li>
<li><a href="www.gnu.org/software/libiconv/">iconv library</a> for PHP</li>
<li><a href="http://mcrypt.sourceforge.net">mcrypt library</a> for PHP</li>
<li><a href="http://www.mysql.com">MySQL</a></li>
<li><a href="www.phpmyadmin.net">phpMyAdmin</a> browser based database management software</li>
<li><a href="subversion.tigris.org">Subversion</a> version control client</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://davidmiller.serafinistudios.com/2009/06/since-my-internship-began-on-monday-i-r/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

