<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Self-Assembled &#187; logs</title>
	<atom:link href="http://yocto.wordpress.com/category/logs/feed/" rel="self" type="application/rss+xml" />
	<link>http://yocto.wordpress.com</link>
	<description>notes, aphorisms, and logs.</description>
	<lastBuildDate>Mon, 07 Sep 2009 19:26:33 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='yocto.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/d9f4043178470c56b960ec94fccbcc15?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Self-Assembled &#187; logs</title>
		<link>http://yocto.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://yocto.wordpress.com/osd.xml" title="Self-Assembled" />
		<item>
		<title>Lab Install of Fedora 9</title>
		<link>http://yocto.wordpress.com/2008/05/22/lab-install-of-fedora-9/</link>
		<comments>http://yocto.wordpress.com/2008/05/22/lab-install-of-fedora-9/#comments</comments>
		<pubDate>Thu, 22 May 2008 22:43:25 +0000</pubDate>
		<dc:creator>bcbarnes</dc:creator>
				<category><![CDATA[logs]]></category>
		<category><![CDATA[anaconda]]></category>
		<category><![CDATA[autofs]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[downgrade]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[fc9]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[fedora 9]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firstboot]]></category>
		<category><![CDATA[nvidia]]></category>

		<guid isPermaLink="false">http://yocto.wordpress.com/?p=8</guid>
		<description><![CDATA[Fedora 9 was released last week.  Our lab&#8217;s servers and workstations all run varying versions of Fedora or CentOS,  the RHEL-clone server distribution.  In preparation for the release of F9, we had decided to replace some aging 32-bit workstations.  The new workstations all have Intel Q9300 CPUs, four gigs of RAM, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yocto.wordpress.com&blog=2917713&post=8&subd=yocto&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://docs.fedoraproject.org/release-notes/f9/en_US/">Fedora 9</a> was <a href="http://fedoraproject.org/en/get-fedora">released</a> last week.  Our lab&#8217;s servers and workstations all run varying versions of Fedora or <a href="http://www.centos.org/">CentOS</a>,  the RHEL-clone server distribution.  In preparation for the release of F9, we had decided to replace some aging 32-bit workstations.  The new workstations all have <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16819115043">Intel Q9300</a> CPUs, four gigs of RAM, <a href="http://www.nvidia.com/object/geforce_9600gt.html">NVidia 9600GT</a> video cards, and a pair of 250GB SATA drives.  The 250GB drives are kind of overkill &#8212; we do most of the heavy work on our servers and clusters these days &#8212; but hard drives are cheap.</p>
<p>When configuring new computers, we usually keep a log in a notebook.  This time, I decided to add the log here.  Hopefully others performing a clean installation of F9 in a science/programming environment may find it useful.</p>
<h3><font color="blue">Clean Install Procedure</font></h3>
<p>The install procedure, guided by Fedora&#8217;s <a href="http://fedoraproject.org/wiki/Anaconda">Anaconda</a>, is as trouble-free as it was in recent Fedoras.  On one older machine, we had trouble booting from the Fedora DVD (in particular, a crc error when loading the kernel and initrd).  This was remedied by using another DVD burn of the install disc, but burned at a slower speed.  The first burn just wasn&#8217;t entirely reliable.</p>
<p>Our dual SATA drivers were partitioned using a custom layout.  In our case, we created identical software <a href="http://en.wikipedia.org/wiki/RAID">RAID partitions</a> on each disc: 4 gig for swap, 1 gig for /boot, with / getting the remainder.  /boot needs to be partitioned as RAID-1, but swap and / were partitioned as RAID-0 for maximum speed.  If a disk fails, it&#8217;s not a big deal for us: all of our important data and home directories are on a RAID-5 fileserver.  After the RAID, the only time consuming thing in the initial setup is specifying the network info, which includes our static IP addresses.</p>
<p>Our packages to install are in the default &#8220;Office and Productivity&#8221; section and the &#8220;Software Development&#8221; section.  The most important part of this log is the following list of packages added for our customized install, the first batch of which are on the DVD:</p>
<ul>
<li><a href="http://www.gnu.org/software/emacs/">emacs</a> &#8211; it&#8217;s surprising that vi is installed by default, but emacs is not</li>
<li>openbabel &#8211; a chemistry utility in the science and engineering subsection</li>
<li>all optional packages in the graphics subsection &#8211; <a href="http://www.imagemagick.org/script/index.php">imagemagick</a> is particularly important</li>
<li><a href="http://k3b.plainblack.com/">k3b</a> &#8211; the best CD/DVD burner to be found for linux</li>
<li>lynx &#8211; the classic text-only web browser</li>
<li>the fedora packager subsection</li>
<li>gnuchess &#8211; how can other games be installed, but not chess?!</li>
<li>memtest86+ &#8211; useful for hardware troubleshooting</li>
<li>the system tools subsection</li>
<li>the legacy software compatibility subsection</li>
<li>tcsh &#8211; most of our lab uses this shell!  this should be installed by default</li>
<li>gnome-netstatus &#8211; a useful widget</li>
<li>thunderbird &#8211; a couple members of our lab use this for reading mail</li>
<li>the authoring and publishing subsection &#8211; mostly for the TexLive packages</li>
</ul>
<h3><font color="blue">Things to do at Firstboot</font></h3>
<p>After the 1300+ packages finish installing, a couple things (such as <a href="http://en.wikipedia.org/wiki/Network_Information_Service">NIS logins</a>) are configured on firstboot.  Logging in as root, we need to configure two additional repositories: <a href="http://rpm.livna.org/rlowiki/">livna</a> and <a href="http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm">adobe-linux</a>.  Then, we install additional packages from the Fedora repository via <a href="http://fedoraproject.org/wiki/Tools/yum">yum</a>:</p>
<ul>
<li>xpdf &#8211; lightweight, fast, and useful pdf viewer</li>
<li>xdvik &#8211; amazingly, xdvi is not distributed with F9&#8217;s TexLive packages</li>
<li><a href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/s1-nfs-mount.html">autofs</a> &#8211; this is needed to mount our /home directories, and is surprisngly omitted from the F9 DVD</li>
<li><a href="http://www.open-mpi.org/">openmpi</a> and openmpi-devel &#8211; parallel (MPI) compilers</li>
<li><a href="http://www.scipy.org/">scipy</a> &#8211; a suite of modules for doing science with Python</li>
<li><a href="http://pyx.sourceforge.net/">PyX</a> &#8211; a nifty module for drawing graphics with Python and LaTeX</li>
<li><a href="http://plasma-gate.weizmann.ac.il/Grace/">grace</a> &#8211; the best 2D graphing program for GNU/linux</li>
<li>readahead &#8211; a small package which helps cache files to speed the boot process</li>
</ul>
<p>Lastly, the media packages, (mostly) from livna and adobe-linux:</p>
<ul>
<li>nspluginwrapper.i386 and alsa-lib.i386 &#8211; needed for getting i386 (32-bit) Flash to work with x86_64 (64-bit) Firefox.  alsa-lib is needed for sound.</li>
<li>flash-plugin &#8211; flash itself, via the adobe-linux repository</li>
<li><a href="http://www.mplayerhq.hu/design7/news.html">mplayer</a> &#8211; for playing movies and mp3s, via livna</li>
<li>lame &#8211; a mp3 encoder/decoder</li>
<li>libdvdcss &#8211; a DVD decoder</li>
<li>amarok-extras-nonfree &#8211; more plugins for Amarok, an alternative to mplayer (will install h.264 support as a dependency)</li>
</ul>
<p>While using yum to install all these packages, many dependencies will also be installed.  This is normal.</p>
<h3><font color="blue">Services</font></h3>
<p>Now that autofs and other packages have been installed, the default services need to be configured at System&gt;Administration&gt;Services.<br />
The following are switched to <strong>disabled</strong>:</p>
<p><a href="http://fedoraproject.org/wiki/Tools/NetworkManager">NetworkManager</a> &#8211; a new service being pushed by Fedora, but it overrode our static IPs with DHCP IPs<br />
bluetooth &#8211; not needed on workstations<br />
ip6tables &#8211; we don&#8217;t use IPv6<br />
isdn &#8211; we don&#8217;t use ISDN</p>
<p>The following are switched to <strong>enabled</strong> (all these are needed for our lab&#8217;s local network):</p>
<p>autofs &#8211; automounting remote nfs shares<br />
netfs &#8211; needed for autofs and other remote mounting<br />
network &#8211; replaces NetworkManager<br />
ypbind &#8211; NIS client</p>
<p>Additionally, smartd and lm_sensors may be enabled if you plan on carefully monitoring your hardware.</p>
<h3><font color="blue">NVidia 3D Drivers and Fedora 9&#8217;s X.org</font></h3>
<p>One thing I haven&#8217;t mentioned yet is the NVidia 3D video driver.  Fedora 9 includes a <a href="http://www.phoronix.com/scan.php?page=article&amp;item=xorg_74">pre-release version of X.org</a>, and NVidia&#8217;s <a href="http://www.nvnews.net/vbulletin/showthread.php?t=111460">proprietary, closed-source drivers</a> have <a href="http://www.nvnews.net/vbulletin/showthread.php?t=107725">not yet been updated</a> to support it.  Even the supposed -ignoreABI and Disable &#8220;glx&#8221; workarounds completely <font color="red">fail</font>.  The solution is to downgrade some key X.org packages to the Fedora 8 versions.  A minimal downgrade can be successful by only changing five packages.  However, depending on your own particular hardware and software configuration, more packages may have to be downgraded.  Here&#8217;s the procedure:</p>
<ol>
<li>Get the following files:
<p>xorg-x11-drv-keyboard-1.2.2-2.fc8.x86_64.rpm<br />
xorg-x11-drv-mouse-1.2.3-1.fc8.x86_64.rpm<br />
xorg-x11-drv-nv-2.1.6-1.fc8.x86_64.rpm<br />
xorg-x11-server-utils-7.3-2.fc8.x86_64.rpm<br />
xorg-x11-server-Xorg-1.3.0.0-44.fc8.x86_64.rpm</p>
<p>http://wuarchive.wustl.edu/pub/fedora8.64/Packages/<br />
http://wuarchive.wustl.edu/pub/linux/distributions/fedora/updates/8/x86_64/</p>
<p>Other packages some people may need include xorg-x11-drv-void, xorg-x11-drv-vesa, xorg-x11-drv-evdev, xorg-x11-drv-fbdev, xorg-x11-drv-vmmouse, and xorg-x11-xkb-utils.</li>
<li>Install, with
<pre>
rpm -Uvh --oldpackage --replacefiles --replacepkgs --nodeps xorg*
</pre>
</li>
<li>Get the nvidia driver from Livna:
<pre>
yum install xorg-x11-drv-nvidia-173.08-1.lvn9.x86_64
</pre>
<p>NOTE: that exact version is <font color="red">important</font>.  The 173.08-2-lv9.x86_64 package (note the -2 instead of the -1) was found to fail on our workstations.  If you do not see the -1 version as an option and do not want to download and install it by hand, try installing the &#8220;yum-allowdowngrade&#8221; package and then seeing if the older version shows up.<br />
xorg-x11-drv-nvidia will also want to install the following, as dependencies:</p>
<p>kmod-nvidia, xorg-x11-drv-nvidia-libs, akmod-nvidia, livna-config-display, kmodtool, kernel-devel, akmods</p>
<p>Make sure the kmod-nvidia, xorg-x11-drv-nvidia-libs, and akmod-nvidia versions match the xorg-x11-drv-nvidia version (-1 instead of -2).  The kernel-devel rpm that is installed will typically be the newest one, which will not match a non-updated Fedora 9 kernel.  Now would be a good time to do a
<pre>yum update kernel*</pre>
<p> as well.</li>
<li>Finally,  add the line:
<pre>
exclude=xorg-x11*
</pre>
<p>to the end of /etc/yum.conf so that the next time you upgrade anything it doesn&#8217;t replace all the F8 files with F9 ones.</li>
<li>Reboot; the nvidia driver should get built during the boot sequence. Might require two reboots for this, or manually restarting
<pre>
service nvidia restart
</pre>
</li>
</ol>
<h3><font color="blue">emacs and Firefox 3 tweaks</font></h3>
<p>There are a few other tweaks a fresh install of F9 needs.  In particular, emacs defaults to courer 12, which is a bit larger than needed.  To have it default to courier 10, add the following to your .emacs file:</p>
<blockquote>
<pre>
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(default ((t (:stipple nil :background "#ffffff" :foreground "#000000" :inverse-video nil :box nil :strike-through nil <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> verline nil :underline nil :slant normal :weight normal :height 122 :width normal :family "adobe-courier")))))
</pre>
</blockquote>
<p>Also, the Firefox 3 beta 5 address bar may be particularly ugly to people accusomted to the cleaner Firefox 2 interface.  Much of the previous style can be restored by modifying some settings in &#8220;about:config&#8221;:</p>
<ol>
<li>In the address bar, type &#8220;about:config&#8221; and hit enter.</li>
<li>Accept the &#8220;void your warranty&#8221; warning</li>
<li>Filter for &#8220;urlbar&#8221;</li>
<li>Double click on browser.urlbar.autoFill</li>
<li>Double click on browser.urlbar.matchOnlyTyped</li>
<li>Double click on browser.urlbar.maxRichResults and changed the number from 12 to something more tolerable, like 2 or 3.</li>
</ol>
<p>Now the address bar should behave a little more like Firefox 2.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/yocto.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/yocto.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yocto.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yocto.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yocto.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yocto.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yocto.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yocto.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yocto.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yocto.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yocto.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yocto.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yocto.wordpress.com&blog=2917713&post=8&subd=yocto&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://yocto.wordpress.com/2008/05/22/lab-install-of-fedora-9/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/479e9f74c4b394f84d2aebc7f4265e27?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bcbarnes</media:title>
		</media:content>
	</item>
		<item>
		<title>Personal Installation of OS X 10.5.2</title>
		<link>http://yocto.wordpress.com/2008/02/27/personal-installation-of-os-x-1052/</link>
		<comments>http://yocto.wordpress.com/2008/02/27/personal-installation-of-os-x-1052/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 15:21:05 +0000</pubDate>
		<dc:creator>bcbarnes</dc:creator>
				<category><![CDATA[logs]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://yocto.wordpress.com/?p=3</guid>
		<description><![CDATA[Adventures with OS X. I decided to keep a detailed record of my fresh, custom install of OS X 10.5 (Leopard), after being an Apple &#8220;switcher&#8221; and Tiger user for about six months.  I&#8217;m also a computational chemist, and my install will feature many scientific or programming related applications.  My Mac is a Santa Rosa MacBook [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yocto.wordpress.com&blog=2917713&post=3&subd=yocto&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Adventures with <span class="Apple-style-span" style="color:#ff0000;">OS X</span>. I decided to keep a detailed record of my fresh, custom install of OS X 10.5 (Leopard), after being an Apple &#8220;switcher&#8221; and Tiger user for about six months.  I&#8217;m also a computational chemist, and my install will feature many scientific or programming related applications.  My Mac is a Santa Rosa MacBook Pro (65nm Merom, 2.4 GHz, 2007), and it&#8217;s great.<br />
<h3><span class="Apple-style-span" style="color:#0000ff;">Backup</span></h3>
<ul>
<li>Before performing the erase and install, I backed up everything to my <a href="http://www.seagate.com/www/en-us/products/external/freeagent_desktop_data_movers/">Seagate Freeagent Desktop</a> 500GB external USB drive.  It was partitioned into three sections: one for a Disk Utility backup, one for a <a href="http://www.shirt-pocket.com/blog/">SuperDuper</a> 2.5 backup, and one for a <a href="http://twocanoes.com/winclone/">Winclone</a> 1.6.6 archive of the Boot Camp partition.</li>
</ul>
<h3><span class="Apple-style-span" style="color:#0000ff;">Special Items</span></h3>
<ul>
<li>There were a few things from Tiger which I wanted needed to export or remind myself of their location before continuing:  Mail.app settings for <a href="http://mail.google.com/support/bin/bin/topic.py?topic=12913">Gmail IMAP</a>, <a href="http://cogmod.osu.edu/wiki/index.php/Emacs_customization">Aquamacs key binding customization</a>, Safari Bookmarks, and a <a href="http://trac.macports.org/projects/macports/ticket/14443">custom py25-pyx Portfile</a>.</li>
</ul>
<h3><span class="Apple-style-span" style="color:#0000ff;">The Fresh Install Procedure</span></h3>
<ul>
<li>After backing everything up, I performed an &#8220;erase and install&#8221;.  I like my OS nice and clean, with no settings or software left from a previous version.  I customized the install to exclude foreign languages and most printer drivers.  I retained X11.  There are a lot of lists on the web touting themselves as &#8220;50 essential Mac apps&#8221; are other <span style="font-weight:bold;" class="Apple-style-span">nonsense</span>. My list of installed apps really are essential for my day-to-day workflow and entertainment.  I strive to keep my system as <span style="font-style:italic;" class="Apple-style-span">minimalist as possible</span>.  The following items were installed in order.</li>
<li><a href="http://www.apple.com/support/downloads/">10.5.2 combo update</a> downloaded from Apple&#8217;s website.  Note, my Freeagent was not detected from inside 10.5.0, and I did not want to use software update for this step.  Reboot.<a href="http://developer.apple.com/"></a></li>
<li><a href="http://developer.apple.com/">Xcode 3.0, Dashcode, and the ADC Reference Library</a>.  Xcode and Dashcode were optional installs from the Leopard DVD, and the ADC Library was copied to /Developer from the March ADC Monthly mailing disk image, which I had stored on my Freeagent.  The ADC Library contains over five gigabytes of documentation which is not installed by default with Xcode.</li>
<li><a href="http://trac.macosforge.org/projects/xquartz">Xquartz</a> 2.1.4, a significant upgrade over Leopard&#8217;s X11.  This will be needed later by Macports applications which use X11.  Jeremy Huddleston and Ben Byer maintain this package, and both work for Apple.</li>
<li>iLife &#8216;08 and iWork &#8216;08.  They&#8217;re nice collections of apps.  I find Keynote, iPhoto and iMovie to be of particular value.</li>
<li>After all the Apple software was installed, I performed the online Software Update.  14 updates were found.  By design, none of the applications had been opened yet.  After a reboot, I completed the keyboard firmware update and ran Software Update again.  Two updates were found; I did not keep track if they were part of the original batch of 14.  The last updates installed smoothly.</li>
<li>Now was a good time to open an iWork application and complete the mandatory registration, and enter in my Quicktime Pro upgrade code.</li>
<li><a href="http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx">Flip4Mac</a> 2.2.0.49 and <a href="http://perian.org/">Perian</a> 1.1 began the parade of third-party applications.  These are nice codec collections for Quicktime, although I think <a href="http://www.videolan.org/vlc/">VLC</a> is pretty good too.</li>
<li><a href="http://lightheadsw.com/caffeine/">Caffeine</a> 1.01 and <a href="http://www.islayer.com/index.php?op=item&amp;id=21">iStat Nano</a> 2.2 are two widget applications.  Caffeine loads in the menu bar, and is a simple way to toggle power-saving features of laptops.  I prefer the minimalist approach of iStat Nano over the more popular iStat Pro.</li>
<li><a href="http://www.skype.com/download/skype/macosx/">Skype</a> 2.7.0.257, their first official Leopard release.  Not everyone can be reached via iChat.</li>
<li><a href="http://www.ks.uiuc.edu/Research/vmd/">VMD</a> 1.8.6, a wonderful visualization tool for chemists and biologists.</li>
<li><a href="http://aquamacs.org">Aquamacs</a> 1.3a, a port of the popular *nix editor, emacs, to an OS X native Aqua interface.  Awesome.  I want to use the Xcode IDE environment more, but Aquamacs has better syntax highlighting for Fortran, and I use emacs on Linux systems.</li>
<li>I also installed a <a href="http://maxao.free.fr/xcode-fortran-plugin/">fortran plugin for Xcode 3.0</a>.  I learned about this at the nifty site <a href="http://www.macresearch.org">macresearch.org</a>.  The only drawback to using Xcode is that its syntax highlighting for fortran isn&#8217;t quite as good as aquamacs / emacs. Anyway, don&#8217;t forget to<code> defaults write com.apple.Xcode DBGFortranBasePath /opt/local/bin/gfortran-mp-4.2</code><br class="webkit-block-placeholder" /></li>
<li><a href="http://www.macports.org">Macports</a> 1.6.0 base installer.</li>
</ul>
<h3><span class="Apple-style-span" style="color:#0000ff;">Macports Configuration and Package Installations</span></h3>
<ul>
<li>There is a bug in the Macports 1.6.0 base installer which doesn&#8217;t set a couple paths (and perhaps other things) on Leopard.  So, I ran the Macports <a href="http://lists.macosforge.org/pipermail/macports-users/2008-January/008600.html">svn repository postflight script</a>.</li>
<li>Next, I edited a <a href="http://guide.macports.org/#development.local-repositories">setting in sources.conf</a> to install my macports local portfile: <a href="http://trac.macports.org/projects/macports/ticket/14443">py25-pyx</a>, and copied the Portfile to the appropriate local directory.</li>
<li>As I have two cores for compiling, I set the macports.conf <a href="http://guide.macports.org/#reference.phases">buildmakejobs to 2.</a></li>
<li>Now it&#8217;s time to &#8220;port install&#8221; the packages I need.  Macports will automatically install the ports for any dependencies.  I started with <a href="http://gcc.gnu.org/">gcc42</a> (4.2.3).  Leopard/Xcode 3.0 comes with gcc 4.0.1 and does not provide gfortran.</li>
<li>Next, the parallel compiler package, <a href="http://www.open-mpi.org/">openmpi +fortran</a> (1.2.5).  Again needed to handle the 4.2.x compilers and parallel fortran.</li>
<li><a href="http://plasma-gate.weizmann.ac.il/Grace/">grace</a> (5.1.21), a wonderful 2D plotting program which is also popular on Linux systems.  Grace uses X11, and one of its major dependencies is openmotif (more on that later).</li>
<li>PyX, a Python package for creating 2D/3D graphics with a TeX interface.  In Macports, this is <a href="http://pyx.sourceforge.net/">py25-pyx</a> (0.10).  I need PyX for some 2D vector graphics creation from simulation output.  A notable dependency of py25-pyx in my Portfile is <a href="http://www.tug.org/texlive/">TeX Live </a>2007 (by default it depends on teTeX).  Several users have had problems installing texlive on Leopard, <a href="http://trac.macports.org/projects/macports/ticket/14253">possibly due to missing openmotif or a strange X11R6 path problem</a>.  There is a syntax bug in a TeX Live fonts map file which PyX warns about, but <a href="http://bugs.gentoo.org/show_bug.cgi?id=168177#c54">it is easily corrected</a>.  Finally, py25-zlib (a dependency for py25-pyx) failed to build, but <a href="http://trac.macports.org/projects/macports/ticket/13406">I came up with a workaround</a>.</li>
<li><a href="http://www.imagemagick.org/script/index.php">ImageMagick</a> (6.3.8).  This suite of command-line graphics tools is great to have on any *nix system.  It&#8217;s useful in scripting when dealing with large numbers of graphics files.</li>
<li>I recently installed <a href="http://wiki.python.org/moin/TkInter">Tkinter</a> and the <a href="http://www.pythonware.com/products/pil/">Python Imaging Library</a>.  py25-tkinter needed the same workaround as py25-zlib, but py25-pil installed easily.  At least one person has found <a href="http://lists.macosforge.org/pipermail/macports-users/2008-March/009241.html">my note about the zlib and tkinter workaround to be useful</a>.</li>
</ul>
<h3><span class="Apple-style-span" style="color:#0000ff;">Leopard System Preferences</span></h3>
<ul>
<li>The first thing to go was the desktop background, which was changed to the Black &amp; White &#8220;Sea Mist&#8221; provided by OS X.</li>
<li>I set all four hot corners, to Screen Saver, Expose, Dashboard and Spaces.</li>
<li>Next were two of my favorite settings which I probably should have changed earlier, Trackpad clicking and two finger secondary click.</li>
<li>To Dashboard!  I added iTunes (I like that little control) and Stickies, while deleting that ridiculous calculator.</li>
<li>On to more serious work.  Gmail IMAP setup isn&#8217;t that bad (see the gmail link in my Special Items section), but the best options aren&#8217;t documented on gmail.com.  Do not store drafts or notes on server, do store junk on server.  I use &#8220;plain text composing&#8221; because many good people still use <a href="http://www.washington.edu/pine/">Pine.  </a> I deleted the Apple Hot News RSS feed.  Set the IMAP Path Prefix to [Gmail].  Now the initial IMAP mail import can be done.  When that&#8217;s finished, right-click on the Gmail folders to use the Gmail ones for Sent, Trash, and Junk.  Note, the IMAP sync to Gmail&#8217;s &#8220;All Mail&#8221; folder was rather slow, as has been <a href="http://timshadel.com/2007/12/26/gmail-imap-in-mailapp-slow/">noticed elsewhere</a>.  Also, my Spam folder is <a href="http://mail.google.com/support/bin/answer.py?hl=en&amp;answer=6579">filtered on the Gmail side</a> so that items in it do not appear as unread.</li>
<li>Security settings!  Amazingly, even after installing 10.5.2, the Leopard firewall was still disabled by default.  So, after allowing ssh remote access in &#8220;Sharing&#8221;, I enabled the firewall (allowing ssh) and enabled the screen saver + login password prompts.</li>
<li>Speaking of ssh, next I copied the names and addresses of the machines in our lab&#8217;s local network from our main fileserver&#8217;s /etc/hosts file, and added them to my Mac&#8217;s /etc/hosts file.</li>
<li>Open <a href="http://www.macosxhints.com/article.php?story=20050422040229515">PDF files in Preview</a> instead of Safari, by default.</li>
<li>Lastly, <a href="http://www.macosxhints.com/article.php?story=2007101815375480">banish the 3D dock</a>.  How I hate it so.  This not only makes things look better, it <span style="font-style:italic;" class="Apple-style-span"><span style="font-weight:bold;" class="Apple-style-span">visibly increases performance</span></span> of minimizing/maximizing windows, dock scrolling and dashboard.  I had already applied the Leopard Graphics Update 1.0, and this performance difference is still present.  Hopefully it&#8217;s fixed in a future OS X update, but I do like the 2D look better anyway.</li>
<li>One thing which did not have to be changed was <a href="http://docs.info.apple.com/article.html?artnum=301302">disabling Bluetooth wake from sleep</a>, which Leopard does by default (Tiger did not).</li>
</ul>
<h3><span style="color:#0000ff;" class="Apple-style-span">Put the External Drive Back to Work</span></h3>
<ul>
<li>It was about time to restore my personal data.  My movies, music, pictures, data and anything else that was backed up but not yet reinstalled.  This was the easy part; I just had to be sure to restore the iTunes database by copying over all its folders.</li>
<li>I configured Time Machine to use one of the three 160 GB partitions on my Freeagent.  This allows me to keep a complete backup of my old, bootable Tiger and Windows partitions for the time being. Unfortunately, the first attempt at using Time Machine failed!   I had erased the partition and set it up to do the initial TM backup, then I went to sleep.  Although it was running on external power, my MBP apparently went to sleep as well, after about 10GB of the backup.  TM did not recover gracefully, and I had to cancel it, and reboot in order to successfully reformat the Freeagent partition.  I tried Time Machine again the next day, this time using the Caffeine applet to disable system sleep.  It worked.</li>
</ul>
<h3><span style="color:#0000ff;" class="Apple-style-span">Wishlist</span></h3>
<ul>
<li>Acquire/install Adobe Web Premium CS3.</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/yocto.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/yocto.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yocto.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yocto.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yocto.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yocto.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yocto.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yocto.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yocto.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yocto.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yocto.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yocto.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yocto.wordpress.com&blog=2917713&post=3&subd=yocto&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://yocto.wordpress.com/2008/02/27/personal-installation-of-os-x-1052/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/479e9f74c4b394f84d2aebc7f4265e27?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bcbarnes</media:title>
		</media:content>
	</item>
	</channel>
</rss>