<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
  <channel>
    <title>Newt&#039;s System Administrator Notes</title>
    <link>http://www.newtnotes.com/newtnotes-archives/</link>
    <description></description>
    <!-- optional tags -->
    <language>en-us</language>           <!-- valid langugae goes here -->
    <generator>Nucleus CMS v3.31</generator>
    <copyright>©</copyright>             <!-- Copyright notice -->
    <category>Weblog</category>
    <docs>http://backend.userland.com/rss</docs>
    <image>
      <url>http://www.newtnotes.com/newtnotes-archives//nucleus/nucleus2.gif</url>
      <title>Newt&#039;s System Administrator Notes</title>
      <link>http://www.newtnotes.com/newtnotes-archives/</link>
    </image>
    <item>
 <title><![CDATA[How to make a "back up" copy of a movie DVD using open source tools]]></title>
 <link>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=321</link>
<description><![CDATA[I use Linux. The Linux software ecosystem has reached a maturity level where copying DVDs is actually easy. This was not always the case!<p>Tools you need:</p>

<ul>
 <li>A good Linux OS. I recommend <a href="http://www.ubuntu.com/getubuntu/download">Ubuntu's latest, 9.10</a>.</li>
 <li><a href="http://handbrake.fr/">Handbrake</a>. There are other similar tools but Handbrake is <b>by far</b> the superior choice. I've tried "KungFu DVD Ripper", "DVD::Rip", and "AcidRip" and while those all work, they are confusing and hard to configure. Finally, Handbrake worked on some hard-to-rip DVD's that the others would not.</li>
 <li><a href="http://www.rastersoft.com/programas/devede.html">Devede DVD creator</a>. It is missing some "eye candy" features that you might find in a product from, say, Apple. But Devede is <b>incredibly</b> easy to use, and is very full featured, letting you optionally configure the menu layout, DVD bitrates and anything else related to pressing the DVD short of burning it.</li>
 <li>A way to burn the final .ISO DVD image. Ubuntu comes with that already there in the form of the Brassero CD/DVD burner tool, but we won't use that directly.</li>
</ul>

<p>Step by step details, when I get a chance</p>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=321</comments>
 <pubDate>Mon, 2 Nov 2009 09:08:02 -0500</pubDate>
</item><item>
 <title><![CDATA[Solaris: Out of Memory error with pkgutil v1.5]]></title>
 <link>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=319</link>
<description><![CDATA[Solution: upgrade to latest pkgutil<p>pkgutil was spinning in an infinite loop and using all free memory when I tried to (a) do a general package upgrade and (b) install a new package. See. <a href="http://wiki.blastwave.org/forum/viewtopic.php?f=5&amp;t=252&amp;p=1023">Links</a> <a href="http://www.google.com/search?q=pkgutil+--install+out+of+memory">On This Topic</a>. Solution was to upgrade pkgutil</p>
<ol>
<li>wget 'http://ftp.math.purdue.edu/mirrors/opencsw.org/unstable/sparc/5.10/pkgutil-1.6.1,REV=2009.06.05-SunOS5.8-sparc-CSW.pkg.gz'
<li>gunzip pkgutil-1.6.1\,REV\=2009.06.05-SunOS5.8-sparc-CSW.pkg.gz 
<li>pkgrm CSWpkgutil
<li>pkgadd  -d pkgutil-1.6.1\,REV\=2009.06.05-SunOS5.8-sparc-CSW.pkg 
</ol>
<p>Answer "y" to everything.</p>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=319</comments>
 <pubDate>Tue, 14 Jul 2009 12:53:40 -0400</pubDate>
</item><item>
 <title><![CDATA[Changing InnoDB from monolithic to files-per-table data storage]]></title>
 <link>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=317</link>
<description><![CDATA[Luckily, it's easy! Not sure if that also means painless...<p>For reference, some steps and links.</p>
<p>Steps</p>
<ol>
 <li>Starting with monolithic storage, and tables already set to InnoDB storage engine</li>
 <li>Change server to use files-per: Add "innodb_file_per_table" at the end of the InnoDB options in /etc/my.cnf</li>
 <li>Restart server</li>
 <li>Re-convert the tables to the InnoDB storage engine. I.e. Run "ALTER TABLE tablename ENGINE = InnoDB;" on every table you want changed over</li>
<ol>
<p>Apparently these steps cause MySQL to reevaluaate the storage options for each table and start saving data in file-per-table format. I don't know if it is safe at this point to get rid of what is surely a huge ibdata1 file in your /path/to/mysql/data directory. It probably isn't! That is unfortunate...</p>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=317</comments>
 <pubDate>Tue, 7 Jul 2009 16:36:50 -0400</pubDate>
</item><item>
 <title><![CDATA[Java on Ubuntu Jaunty (9.04) - Problem with Fonts?]]></title>
 <link>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=315</link>
<description><![CDATA[I keep getting an error like 'Warning: Cannot convert string "-b&h-luxi sans-medium-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct' and one Java app in particular just doesn't work because of it!
<p>The Java app is the <a href="http://www.jscape.com/">JScape SSH</a> management console. JScape is really quite nice, but that's an aside.</p>
<p>The error is like this:</p>
<pre>
jeff@jeff-laptop:~
<font color="#a52a2a"><b>&gt;</b></font>&nbsp;/opt/JSCAPE_Secure_FTP_Server/client
Warning: Cannot convert string <font color="#a52a2a"><b>&quot;</b></font><font color="#ff00ff">-b&amp;h-luxi sans-medium-r-normal--*-140-*-*-p-*-iso8859-1</font><font color="#a52a2a"><b>&quot;</b></font>&nbsp;to type FontStruct
Warning: Cannot convert string <font color="#a52a2a"><b>&quot;</b></font><font color="#ff00ff">-arphic-ar pl shanheisun uni-medium-r-normal--*-*-*-*-p-*-iso10646-1</font><font color="#a52a2a"><b>&quot;</b></font>&nbsp;to type FontStruct
Warning: Cannot convert string <font color="#a52a2a"><b>&quot;</b></font><font color="#ff00ff">-arphic-ar pl uming uni-medium-r-normal--*-*-*-*-p-*-iso10646-1</font><font color="#a52a2a"><b>&quot;</b></font>&nbsp;to type FontStruct
Warning: Cannot convert string <font color="#a52a2a"><b>&quot;</b></font><font color="#ff00ff">-kochi-gothic-medium-r-normal--*-140-*-*-c-*-jisx0208.1983-0</font><font color="#a52a2a"><b>&quot;</b></font>&nbsp;to type FontStruct
Warning: Cannot convert string <font color="#a52a2a"><b>&quot;</b></font><font color="#ff00ff">-baekmuk-gulim-medium-r-normal--*-140-*-*-c-*-ksc5601.1987-0</font><font color="#a52a2a"><b>&quot;</b></font>&nbsp;to type FontStruct
</pre>
<p>I don't yet have a solution!!</p>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=315</comments>
 <pubDate>Tue, 30 Jun 2009 16:04:46 -0400</pubDate>
</item><item>
 <title><![CDATA[Skype Stuff]]></title>
 <link>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=313</link>
<description><![CDATA[Two things: better desktop notification integration, and, more importantly, fixing broken sound problems.<p>Sound solution: Install the <a href="http://www.skype.com/download/skype/linux/choose/">Static/OSS version of Skype</a>. Presto!</p>

<p>Desktop integration link here: <a href="http://webupd8.blogspot.com/2009/06/ubuntu-jaunty-notification-system-for.html">http://webupd8.blogspot.com/2009/06/ubuntu-jaunty-notification-system-for.html</a></p>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=313</comments>
 <pubDate>Fri, 26 Jun 2009 16:23:54 -0400</pubDate>
</item><item>
 <title><![CDATA[Adding "Log Out" button back to Ubuntu 9.04 Main Menu]]></title>
 <link>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=311</link>
<description><![CDATA[They took away the logout button! Why?? The Fast User Switcher applet? For logout??? That is in no way obvious, especially if you have just upgraded and are used to the previous way. Here's how to get it back.<ol>
<li>Right-click Main Menu or Menu Bar. Choose "Edit Menus". See Fig 1. </li>
<li>Scroll down in left panel of menu editor to "Applications" (actually, you can add this anywhere, but if you add it here it is most visible in the menu. I actually end up adding this to "Applications" and to "System"). See Fig 2. </li>
<li>Choose the "New Item" button</li>
<li>For item properties, choose</li>
 <ul>
  <li><b>Type:</b> Application</li>
  <li><b>Name:</b> Log Out</li>
  <li><b>Command:</b> gnome-session-save --logout-dialog</li>
  <li><b>Comment:</b> Log Out of your Desktop Session</li>
  <li>Click on the default "icon" button and browse to choose a better icon. <b>WARNING: Gnome's icon chooser sucks monkey nuts. I mean, it is just plain awful.</b> I ended up choosing /usr/share/icons/Human/scalable/actions/system-log-out.svg</li>
  <li>See Fig 3. </li>
 </ul>
<li>Choose "Ok". Item should now appear in Menu Editor. You <i>might</i> have to click the item's checkbox to uncheck-then-check-it-again to make the real menu load the item.</li>
</ol>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=311</comments>
 <pubDate>Wed, 24 Jun 2009 14:24:12 -0400</pubDate>
</item><item>
 <title><![CDATA[Palm OS device over Bluetooth]]></title>
 <link>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=309</link>
<description><![CDATA[This is sofa king frustrating. Why is this not documented? I found a couple of references on the web, but just buck LUCK. FUUUUCKK!!!!!<p>To EASILY sync your Palm OS device via Bluetooth, just use port "bt:"</p>
<p><b>THAT IS ALL!!! SHEESH!!!</b></p>
<p>Nearly all searching for "palm bluetooth" or similar, especially adding "linux" or "ubuntu" or "jpilot" in as a keyword show the PPP method, <b>which fucking SUCKS</b>.</p>
<p>Example</p>
<p>pilot-xfer -p bt: -s ~/treo/syncdir</p>
<p>(Example obtained here: <a href='http://www.wanderingjew.co.uk/2008/Jun'>http://www.wanderingjew.co.uk/2008/Jun</a>)</p>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=309</comments>
 <pubDate>Fri, 15 May 2009 07:11:29 -0400</pubDate>
</item><item>
 <title><![CDATA[Speeding up SSH connections in Ubuntu Jaunty...]]></title>
 <link>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=306</link>
<description><![CDATA[...and Feisty and Gutsy and Hardy and Intrepid, most likely.<p>Bug: <a href='https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/84899'>https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/84899</a></p>
<p>The simple answer is to disable GSSAPIAuthentication. You can do that on the command line -- "-o GSSAPIAuthentication=no", in a local config (not sure what that would be called) or in the system configuration for the SSH client.</p>
<p>Example Patch of /etc/ssh/ssh_config</p>
<code>@@ -47,5 +47,5 @@
 #   PermitLocalCommand no
     SendEnv LANG LC_*
     HashKnownHosts yes
-    GSSAPIAuthentication yes
+    GSSAPIAuthentication no
     GSSAPIDelegateCredentials no
</code>
]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=306</comments>
 <pubDate>Thu, 16 Apr 2009 15:05:55 -0400</pubDate>
</item><item>
 <title><![CDATA[Zenity is really cool, but a little confusing]]></title>
 <link>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=304</link>
<description><![CDATA[Example Zenity dialog.<p>I have a whole bunch of one-click script operations to make my life easier for operations I perform routinely. I use Zenity for some of them. One thing about the Zenity list dialog is that it is a little confusing to set up, but I finally figured out a non-confusing way to write it. Here is my example.</p>
<code>
WHICH_DB=`zenity \<br>
    --height=400 \<br>
    --list \<br>
    --radiolist \<br>
    --column="" --column="Database" \<br>
    TRUE  "database1" \<br>
    FALSE  "database2" \<br>
    FALSE  "database3" \<br>
    FALSE  "database4" \<br>
<br>
`<br>
</code>

<p>
Just write out the columns as they should appear in the dialog window, using backslash, "\", to join the lines together into a single operation. The above example produces this:
</p>
<p></p>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=304</comments>
 <pubDate>Thu, 16 Apr 2009 10:43:52 -0400</pubDate>
</item><item>
 <title><![CDATA[Various bash profile settings]]></title>
 <link>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=301</link>
<description><![CDATA[I don't know why I didn't post this years ago.<h2>Bash Prompts with Various Colors</h2>
<ul><li>Yellow Text on Blue BG</li><li>Hostname, Username, and Current Working Directory</li><li>Newline at end.</li></ul>
<code>
PS1="\[\e[1;33m\]\[\e[44m\]\h USER:\u PWD:\w \[\e[0m\]\n> "
</code>
<p>Example</p>
<p></p>
<ul>
<li>White text on Red BG</li>
<li>Hostname, Current WD</li>
</ul>
<p>I don't remember why I put the cwd and hostname in the $INFO variable.</p>
<code># export PS1=`echo '\033[30m${HOSTNAME}:>'`
INFO=${HOSTNAME}:\\w
export PS1="\[\e[31;7m\]${INFO}\n\[\e[0m\]> "
</code>
<p>Example</p>
<p></p>]]></description>
 <category>sysadmin</category>
<comments>http://www.newtnotes.com/newtnotes-archives/index.php?itemid=301</comments>
 <pubDate>Thu, 16 Apr 2009 09:15:23 -0400</pubDate>
</item>
  </channel>
</rss>