﻿<?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>Sam's Geek Log &#187; FreeBSD</title>
	<atom:link href="http://blog.agitatorsltd.com/tag/freebsd/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.agitatorsltd.com</link>
	<description>My Problems, Observations and Solutions with IT</description>
	<lastBuildDate>Tue, 29 Mar 2011 18:41:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Upgrading from FreeBSD 6.2 to FreeBSD 6.4</title>
		<link>http://blog.agitatorsltd.com/unix/install-freebsd/?p=32</link>
		<comments>http://blog.agitatorsltd.com/unix/install-freebsd/?p=32#comments</comments>
		<pubDate>Sat, 03 Jan 2009 18:20:51 +0000</pubDate>
		<dc:creator>scoker3</dc:creator>
				<category><![CDATA[FreeBSD -- Setup]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[updating]]></category>

		<guid isPermaLink="false">http://blog.agitatorsltd.com/?p=32</guid>
		<description><![CDATA[I have been slack about keeping my BSD server up to date. I have a replacement box ready to install FreeBSD 7, but I noticed that 7.1 is about ready to move to RELEASE and 8 should be out shortly. &#8230; <a href="http://blog.agitatorsltd.com/unix/install-freebsd/?p=32">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have been slack about keeping my BSD server up to date.  I have a replacement box ready to install FreeBSD 7, but I noticed that 7.1 is about ready to move to RELEASE and 8 should be out shortly.  Until the I decide which way I want to move, I have decided to update to the latest version of 6.x.</p>
<ul>
<li><strong>Find the version you are currently on</strong><br />
	<code><br />
<blockquote>
	# uname -a<br />
	FreeBSD xxx.xxx.org 6.2-RELEASE-p11 FreeBSD 6.2-RELEASE-p11 #0: Wed Feb 13 06:44:57 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
	</p></blockquote>
<p></code>
	</li>
<li><strong>Create a cvsup file with the following information:</strong><br />
	<code><br />
<blockquote>
	*default host=cvsup.freebsd.org<br />
	*default base=/var/db<br />
	*default prefix=/usr<br />
	*default release=cvs<br />
	*default delete use-rel-suffix compress<br />
	src-all tag=RELENG_6_4<br />
	ports-all tag=RELENG_6_4<br />
	doc-all tag=RELENG_6_4
	</p></blockquote>
<p></code><br />
	This will update source, ports and docs.
	</li>
<li><strong>Clean your source tree</strong><br />
	<code><br />
<blockquote>
	cd /usr/src &#038;&#038; make cleanworld
	</p></blockquote>
<p></code>
	</li>
<li><strong>Update your sources, ports and docs.</strong><br />
	<code><br />
<blockquote>
	cvsup -L 2 ./cvsupfile
	</p></blockquote>
<p></code><br />
        Go get a cup of coffee and relax for awhile.  This step takes some time.
	</li>
<li><strong>Make world &#038; kernal, then install kernel</strong><br />
        <code><br />
<blockquote>
	# cd /usr/src<br />
	# make buildworld<br />
	# make buildkernel<br />
	# make installkernel<br />
	# nextboot -o "-s" -k kernel<br />
	# reboot
	</p></blockquote>
<p>	</code>
       	</li>
<li><strong>The system will come up in single user mode, check and mount the file system.</strong><br />
        <code><br />
<blockquote>
	# fsck -p<br />
	# mount -u /<br />
	# mount -a -t ufs<br />
	# swapon -a
	</p></blockquote>
<p>	</code>
       	</li>
<li><strong>Finish updating system</strong><br />
        <code><br />
<blockquote>
	# cd /usr/src<br />
	# mergemaster -p<br />
	# make installworld<br />
	# mergemaster –Ui<br />
	# reboot
	</p></blockquote>
<p>	</code>
       	</li>
<li><strong>Check that update worked</strong><br />
	<code><br />
<blockquote>
	# uname -a<br />
	# FreeBSD leon.agitators.org 6.4-RELEASE-p1 FreeBSD 6.4-RELEASE-p1 #0: Sat Jan  3 15:31:37 EST 2009     root@xxx.xxx.org:/usr/obj/usr/src/sys/GENERIC  i386<br />
	</code></p></blockquote>
</li>
</ul>
<p><map name='google_ad_map_32_90bb51bbd79c7857'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/32?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_32_90bb51bbd79c7857' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=32&amp;url= http%3A%2F%2Fblog.agitatorsltd.com%2Funix%2Finstall-freebsd%2F%3Fp%3D32' /></p>]]></content:encoded>
			<wfw:commentRss>http://blog.agitatorsltd.com/unix/install-freebsd/?p=32/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating FreeBSD 6.2</title>
		<link>http://blog.agitatorsltd.com/unix/freebsd-2/?p=22</link>
		<comments>http://blog.agitatorsltd.com/unix/freebsd-2/?p=22#comments</comments>
		<pubDate>Thu, 06 Dec 2007 03:02:10 +0000</pubDate>
		<dc:creator>scoker3</dc:creator>
				<category><![CDATA[FreeBSD -- General]]></category>
		<category><![CDATA[6.2]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[updating]]></category>

		<guid isPermaLink="false">http://blog.agitatorsltd.com/?p=22</guid>
		<description><![CDATA[Ah good old FreeBSD sometimes you forget that you actually have to patch it. While I am fairly good about keeping my release current, this is one of the few times that I have had to update because of an &#8230; <a href="http://blog.agitatorsltd.com/unix/freebsd-2/?p=22">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ah good old FreeBSD sometimes you forget that you actually have to patch it.  While I am fairly good about keeping my release current, this is one of the few times that I have had to update because of an exploit that concerned me enough that I patched because of it.  <a href="http://security.freebsd.org/advisories/FreeBSD-SA-07:09.random.asc">FreeBSD-SA-07:09.random.asc</a></p>
<p>Seeing this I also noticed my documentation on updating was out of date, especially in light of a few FreeBSD ports that now make it easier.  This is the quick and dirty way of updating a 6.2 FreeBSD System</p>
<p><em>Dependencies:  portmanager,  portsnap, pkg_version</em></p>
<h3>Applying Binary Security  Patches</h3>
<p></p>
<ol>
<li>Grab the latest binary updates<br />
<blockquote><p># freebsd-update fetch </p></blockquote>
</li>
<li>Install the updates<br />
<blockquote><p># freebsd-update install</p></blockquote>
</li>
<li>Check OS Level<br />
<blockquote><p># uname -a</p></blockquote>
</li>
<li>Reboot the System<br />
<blockquote><p># shutdown -r now</p></blockquote>
</li>
<li>Confirm Update<br />
<blockquote><p># uname -a</p></blockquote>
</li>
</ol>
<h3>Updating Software &#038; Applications</h3>
<p></p>
<ol>
<li>Update your ports tree<br />
<blockquote><p># portsnap fetch</p></blockquote>
<p>     If you are running Portsnap for the first time, extract the snapshot into /usr/ports:</p>
<blockquote><p># portsnap extract</p></blockquote>
<p>     If you already have a populated /usr/ports and you are just updating, run the following command instead:</p>
<blockquote><p># portsnap update</p></blockquote>
</li>
<li>Display ports that need updating<br />
<blockquote><p># pkg_version -vIL=</p></blockquote>
</li>
<li>upgrade installed ports:<br />
<blockquote><p># portmanager -u</p></blockquote>
</li>
</ol>
<p><map name='google_ad_map_22_90bb51bbd79c7857'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/22?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_22_90bb51bbd79c7857' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=22&amp;url= http%3A%2F%2Fblog.agitatorsltd.com%2Funix%2Ffreebsd-2%2F%3Fp%3D22' /></p>]]></content:encoded>
			<wfw:commentRss>http://blog.agitatorsltd.com/unix/freebsd-2/?p=22/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.376 seconds -->

