<?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>Skin of Stars &#187; server</title>
	<atom:link href="http://skinofstars.com/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://skinofstars.com</link>
	<description>Machines, Media and Miscellanea</description>
	<lastBuildDate>Fri, 03 Feb 2012 21:12:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
<cloud domain='skinofstars.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Moving hosted SVN, the trials and the tribulations</title>
		<link>http://skinofstars.com/2010/02/moving-hosted-svn-the-trials-and-the-tribulations/</link>
		<comments>http://skinofstars.com/2010/02/moving-hosted-svn-the-trials-and-the-tribulations/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 22:55:15 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming & Design]]></category>
		<category><![CDATA[hostedsvn]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[systems]]></category>

		<guid isPermaLink="false">http://skinofstars.com/?p=365</guid>
		<description><![CDATA[Over the last few weeks Mike Robinson and I have discussed and decided an SVN restructuring for improving our build and deployment processes. I would encourage you to read a bit more about that (and various other geekness) at his blog. So I&#8217;ve spent this week moving our company hosted SVN from Beanstalk to Springloops. I feel I&#8217;ve been swinging<a href="http://skinofstars.com/2010/02/moving-hosted-svn-the-trials-and-the-tribulations/"> ...&#160;Read the remaining 358 words</a>]]></description>
			<content:encoded><![CDATA[<p>Over the last few weeks <a href="http://akamike.net/">Mike Robinson</a> and I have discussed and decided an SVN restructuring for improving our build and deployment processes. I would encourage you to read a bit more about that (and various other geekness) at his blog.</p>
<p>So I&#8217;ve spent this week moving our company hosted <strong>SVN</strong> from <strong>Beanstalk</strong> to <strong>Springloops</strong>. I feel I&#8217;ve been swinging between hell and zen, but the learning has been awesome. As a summary of what I&#8217;ve found I thought I&#8217;d give a quick walk through how I did it.</p>
<p><span id="more-365"></span><br />
Most of this stuff was the usual <a href="http://subversion.apache.org/faq.html#dumpload">dump/load cycle</a>, but there are a couple of things which needed some extra attention.</p>
<p>Firstly, both Beanstalk and Springloops have the ability to export and import SVN dumps via easy-to-use web interfaces. This really could be as easy as download, upload. Try that first.</p>
<p>We had a couple of problems though. Previously we had a mishmash of company repos and project repos; these had to be merged and sorted. We also had different usernames on each system(!) which meant that during an import previous commits were not matched to current system users.  The author attribute needed to be updated for all previous revisions.</p>
<p>This was all done on OS X, but should be applicable to any Unix-like with the appropriate libraries, etc.  So we&#8217;ve got our dump from Beanstalk, now we just need to create a local repository to do our work on (always work on a backup!!).</p>
<pre>$ svnadmin create --pre-1.4-compatible newrepo</pre>
<p>We use the pre 1.4 compatible flag to overcome files system changes within SVN between versions. These changes can potentially cause errors (svn: Expected FS format &#8217;2&#8242;; found format &#8217;3&#8242;) when <a href="http://svnbook.red-bean.com/en/1.0/re23.html">propset</a>-ting revision histories, in my case, author/committer names.</p>
<p>Next job, import your dump file.</p>
<pre>$ svnadmin load newrepo &lt; dumpfile</pre>
<p>If you&#8217;re looking to do the merging, as I was, then you want to make yourself a directory in your repository (usual &#8216;svn mkdir&#8217; commands) and then load it in the following fashion:</p>
<pre>$ svnadmin load newrepo --parent-dir myfolder &lt; seconddumpfile</pre>
<p>Ok, we&#8217;ve done our merging, now we&#8217;re going to update our author histories.  Now the SVN manual gives you information on doing this one version at a time with a propset.  It also talks about other recursive actions such as deleting files, which isn&#8217;t our concern.  For changing authors, I found a tidy script called <a href="http://svn.apache.org/repos/asf/subversion/trunk/contrib/server-side/svn-tweak-author.py">svn-author-tweak.py</a> from CollabNet.</p>
<p>If you want to give your repository a check before you upload it, just checkout to a local test.</p>
<pre>$ svn co file:///path/to/newrepo /path/to/test/repo</pre>
<p>Once that&#8217;s done, dump the file.</p>
<pre>$ svnadmin dump newrepo &gt; my.dumpfile</pre>
<p>Upload</p>
<p>???</p>
<p>Profit</p>
]]></content:encoded>
			<wfw:commentRss>http://skinofstars.com/2010/02/moving-hosted-svn-the-trials-and-the-tribulations/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Geek Set-Up</title>
		<link>http://skinofstars.com/2008/04/geek-set-up/</link>
		<comments>http://skinofstars.com/2008/04/geek-set-up/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 15:59:24 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[geeky]]></category>
		<category><![CDATA[joke]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[semantic web]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[slashdot]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I saw this comment on slashdot by http://slashdot.org/~Sancho and it made me chuckle. Please bear in mind that this is a *very* geeky joke. Linux is ok on the desktop, but for servers, I really prefer FreeBSD. Sometimes I get tired of that, and use NetBSD for a while. A short stint with NetBSD, Apache, Postgresql, and PHP usually refreshes<a href="http://skinofstars.com/2008/04/geek-set-up/"> ...&#160;Read the remaining 15 words</a>]]></description>
			<content:encoded><![CDATA[<p>I saw this comment on slashdot by http://slashdot.org/~Sancho and it made me chuckle. Please bear in mind that this is a *very* geeky joke.</p>
<p style="padding-left: 30px;">Linux is ok on the desktop, but for servers, I really prefer FreeBSD.</p>
<p style="padding-left: 30px;">Sometimes I get tired of that, and use NetBSD for a while. A short stint with NetBSD, Apache, Postgresql, and PHP usually refreshes me long enough so that I can FreeBSD, Apache, Postgresql, and PHP again.</p>
]]></content:encoded>
			<wfw:commentRss>http://skinofstars.com/2008/04/geek-set-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making your own webdev environment on Ubuntu desktop</title>
		<link>http://skinofstars.com/2008/01/making-your-own-webdev-environment-on-ubuntu-desktop/</link>
		<comments>http://skinofstars.com/2008/01/making-your-own-webdev-environment-on-ubuntu-desktop/#comments</comments>
		<pubDate>Tue, 01 Jan 2008 12:36:00 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[These machines aren&#8217;t all fun fun fun, sometimes you have to use them for some more serious work. In this post I&#8217;m going to tell you how to make your own php/mysql web development environment on your own Ubuntu desktop. Once you&#8217;ve done this you won&#8217;t need to keep uploading files to your server just to check if something works.<a href="http://skinofstars.com/2008/01/making-your-own-webdev-environment-on-ubuntu-desktop/"> ...&#160;Read the remaining 379 words</a>]]></description>
			<content:encoded><![CDATA[<p>These machines aren&#8217;t all fun fun fun, sometimes you have to use them for some more serious work. In this post I&#8217;m going to tell you how to make your own php/mysql web development environment on your own Ubuntu desktop. Once you&#8217;ve done this you won&#8217;t need to keep uploading files to your server just to check if something works.</p>
<p>Firstly I&#8217;d like to point to the post that originally helped me do this at <a href="http://www.webmasterview.com/server_side/development_server_on_ubuntu_desktop">webmasterview.com</a>.</p>
<p>Now, time to open up our trusty terminal. It is possible to do this through synaptics, but its quicker to do it like this:</p>
<p>First thing is to install mysql for databases on our machine. Copy this bit of code into your terminal:</p>
<blockquote><p>sudo apt-get install mysql-server</p></blockquote>
<p>Next we need apache2 as our webserver. Here is the code:</p>
<blockquote><p>sudo apt-get install apache2</p></blockquote>
<p>Then we need to get php:</p>
<blockquote><p>sudo apt-get install php5</p></blockquote>
<p>There are our three basic components. Now we need to hook them together:</p>
<blockquote><p>sudo apt-get install libapache2-mod-php5</p></blockquote>
<p>and</p>
<blockquote><p>sudo apt-get install php5-mysql</p></blockquote>
<p>Now that&#8217;s just grand. We&#8217;ve now got all the elements that we need to serve files to the net. The thing is, we&#8217;re only doing this so we can work on stuff at home, in which case what we&#8217;re really looking for is an easier way to do so. What we need to do is have a public_html folder in our user directory. Perhaps now would be a good time to do that. The next step is making that work on the webserver we&#8217;ve just installed. Run this snip of code:</p>
<blockquote><p>sudo a2enmod userdir</p></blockquote>
<p>Then restart apache:</p>
<blockquote><p>sudo /etc/init.d/apache2 force-reload</p></blockquote>
<p>You should now be able to reach your home folder via http://localhost/~yourusername/</p>
<p>Finally we want to be able to administer our mysql databases. Though there are many good tools for doing this I still go back to the web based <a href="http://www.phpmyadmin.net/">phpMyAdmin</a>. Apart from the fact that it&#8217;s highly automated (which suits me just fine) it&#8217;s also a very common program to find on your paid hosting, so would also be very familiar when you go live. For the quick and dirty way of getting it up and running, download phpMyAdmin and extract to your public_html folder. Personally I rename it to something a little easier. Then rename the file within from config.example.inc.php to config.inc.php and within that file put something in the blowfish_secret field. Then all you have to do is navigate your browser to something like http://localhost/~yourusername/phpMyAdmin</p>
<p><em>addendum</em></p>
<p><em>If your server is going to be visible from the big bad world and this is your everyday machine then you need to turn off that user public_html stuff (it&#8217;s insecure for general use!). To do that just enter this instruction<br />
</em></p>
<blockquote><p><em>sudo a2dismod userdir</em></p></blockquote>
<p><em>then reload apache as before</em></p>
]]></content:encoded>
			<wfw:commentRss>http://skinofstars.com/2008/01/making-your-own-webdev-environment-on-ubuntu-desktop/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

