<?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>LiquidFoot &#187; Linux</title>
	<atom:link href="http://www.liquidfoot.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.liquidfoot.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 02 Jan 2012 22:56:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>rdesktop and Tcl/tk</title>
		<link>http://www.liquidfoot.com/2009/01/16/rdesktop-and-tcltk/</link>
		<comments>http://www.liquidfoot.com/2009/01/16/rdesktop-and-tcltk/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 16:36:17 +0000</pubDate>
		<dc:creator>Wayne</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Systems Admin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[systems administration]]></category>
		<category><![CDATA[tcl]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">http://www.liquidfoot.com/?p=242</guid>
		<description><![CDATA[This is something I did a few years ago and has been very useful. I’m a *nix admin that occasionally needs to log on to a Windows server. I used rdesktop for a long time to do this. I wanted, though, a nice GUI that would allow me to pick which server I wanted (and an excuse to play a bit with Tcl). ]]></description>
			<content:encoded><![CDATA[<p>This is something I did a few years ago and has been very useful. I&#8217;m a *nix admin that occasionally needs to log on to a Windows server. I used rdesktop for a long time to do this. I wanted, though, a nice GUI that would allow me to pick which server I wanted (and an excuse to play a bit with Tcl). This is the script I came up with to do just this:</p>
<pre name="code" class="ruby">#! /usr/bin/wish
wm title . "Remote Desktop Launcher"
frame .top -borderwidth 10
pack .top -side top -fill x
button .top.quit -text Quit -command exit
set but [button .top.run -text "Launch" -command Run]
pack .top.quit .top.run -side right
label .top.l -text Server: -padx 0
entry .top.cmd -width 20 -relief sunken -textvariable server
pack .top.l -side left
pack .top.cmd -side left -fill x -expand true
bind .top.cmd &amp;lt;Return&amp;gt; Run
focus .top.cmd
menubutton .mb -text Server -menu .mb.menu
pack .mb -padx 10 -pady 10
set m [menu .mb.menu -tearoff 1]
$m add radio -label server1 -variable server -value server1.address.edu -command Run
$m add radio -label server2 -variable server -value server2.address.edu -command Run
$m add radio -label server3 -variable server -value server3.address.edu -command Run
$m add radio -label server4 -variable server -value server4.address.edu -command Run
$m add radio -label server5 -variable server -value server5.address.edu -command Run
proc Run { } {
	global server
	exec rdesktop -u &amp;lt;user_name&amp;gt; -p &amp;lt;password&amp;gt; -g 1280x800 -x b $server
}</pre>
<p>All you need to do is plugin &#8220;real&#8221; values for the server and addresses. You can also auto-login by giving values for the username and password (may also want to change the geometry of the window unless you have a big screen).</p>
<p><a href="http://www.liquidfoot.com/wp-content/uploads/2009/01/rdesktop.png"><img class="alignnone size-medium wp-image-246" title="rdesktop" src="http://www.liquidfoot.com/wp-content/uploads/2009/01/rdesktop-300x202.png" alt="rdesktop" width="300" height="202" /></a></p>
<p>I also have bash aliases for these, but that&#8217;s a different post&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liquidfoot.com/2009/01/16/rdesktop-and-tcltk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS Access via JDBC</title>
		<link>http://www.liquidfoot.com/2007/02/02/ms-access-via-jdbc/</link>
		<comments>http://www.liquidfoot.com/2007/02/02/ms-access-via-jdbc/#comments</comments>
		<pubDate>Fri, 02 Feb 2007 22:23:14 +0000</pubDate>
		<dc:creator>Wayne</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<guid isPermaLink="false">http://www.liquidfoot.com/?p=198</guid>
		<description><![CDATA[We recently made the move from an IIS Windows web server to an Apache *nix based web server as part of our efforts to consolidate our library&#8217;s server infrastructure. And for reasons I won&#8217;t expound upon, we had one MS Access DSN that didn&#8217;t get migrated to MSSQL and that needed to be used still. [...]]]></description>
			<content:encoded><![CDATA[<div class="body">
<p>We recently made the move from an IIS Windows web server to an Apache *nix based web server as part of our efforts to consolidate our library&#8217;s server infrastructure. And for reasons I won&#8217;t expound upon, we had one MS Access DSN that didn&#8217;t get migrated to MSSQL and that needed to be used still. Since ColdFusion uses a Windows only driver for MS Access, I needed to figure out a way around this. I found a couple of JDBC drivers for Access (Easysoft&#8217;s <a href="http://www.easysoft.com/products/data_access/jdbc_odbc_bridge/index.html">JDBC-ODBC Bridge</a> and HXTT&#8217;s <a href="http://www.hxtt.com/access.html">Access Pure Java JDBC Drivers</a>), but these seemed to be a bit on the expensive side for the short amount of time that I&#8217;d need to keep Access in production.</p>
<p>I did notice on Easysoft&#8217;s website that they were using the JdbcOdbc bridge, so after a little bit more digging, I found the syntax to use configure ColdFusion to use MS Access through the JdbcOdbc Bridge; the JDBC URL is</p>
<div class="code">jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=/path/to/datasource.mdb;DriverID22;</div>
<p>and the Driver Class</p>
<div class="code">sun.jdbc.odbc.JdbcOdbcDriver</div>
<p>For the very basic inserting of data from a seldom-used web form into a single table, this band aid fix has been doing pretty good!</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.liquidfoot.com/2007/02/02/ms-access-via-jdbc/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>RedHat Support Kudos</title>
		<link>http://www.liquidfoot.com/2006/12/14/redhat-support-kudos/</link>
		<comments>http://www.liquidfoot.com/2006/12/14/redhat-support-kudos/#comments</comments>
		<pubDate>Thu, 14 Dec 2006 23:04:25 +0000</pubDate>
		<dc:creator>Wayne</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<guid isPermaLink="false">http://www.liquidfoot.com/?p=200</guid>
		<description><![CDATA[It&#8217;s been a while since I&#8217;ve posted anything, so I figured this would be a good point to start on&#8230; To start the process of standardizing our server platform in the library, we recently purchased a couple of servers to run RedHat on. I was going through the process yesterday of activating the subscriptions, and [...]]]></description>
			<content:encoded><![CDATA[<div class="body">
<p>It&#8217;s been a while since I&#8217;ve posted anything, so I figured this would be a good point to start on&#8230;</p>
<p>To start the process of standardizing our server platform in the library, we recently purchased a couple of servers to run RedHat on. I was going through the process yesterday of activating the subscriptions, and a funny thing happened&#8230;the second subscription got appended to the first as an extension instead of a new subscription.</p>
<p>I looked all over the place trying to figure out where the subscription had gone to, and read, and reread the directions (there&#8217;s not really that much to it). I had deleted and re-added the system (in an effort to clear the entitlements) so many times I lost count.</p>
<p>I finally broke down and decided to give RedHat a call. I have to say this was perhaps one of the best service calls I&#8217;ve ever had with a software vendor. After my last several experiences with software vendors (we just put in a new media center for college students), I had pretty low expectations. I figured I&#8217;d be on the phone for most of the morning trying to convince someone that I did in fact have two, three-year subscriptions and not one, three-year with a three-year extension.</p>
<p>Things started off normal enough for these things&#8230;a labyrinth of options to choose from. After I got the options to get to technical support, someone actually picked up the phone on the second ring! After I explained what I had done, he looked at my account and immediately knew what had happened. He said that he wasn&#8217;t able to help, but would transfer me to someone who could. Now this is what surprised me, instead of me getting transferred to the folks that could help me, he actually talked to those people, explained what the problem was, and then connected me so I could talk to those people. By the time I actually spoke with the account rep, she already knew what the problem was and what needed to be done to fix the problem instead of me rehashing my story over and over again.</p>
<p>I wish more companies handled issues like this&#8230;my five minute problem literally took five minutes to resolve. Too many times in the recent past I&#8217;ve gotten the run-around for what I believed a rather straight-forward issue. It&#8217;s very refreshing to have this kind of experience with a software vendor!</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.liquidfoot.com/2006/12/14/redhat-support-kudos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postgres on Ubuntu</title>
		<link>http://www.liquidfoot.com/2006/08/31/postgres-on-ubuntu/</link>
		<comments>http://www.liquidfoot.com/2006/08/31/postgres-on-ubuntu/#comments</comments>
		<pubDate>Thu, 31 Aug 2006 15:52:16 +0000</pubDate>
		<dc:creator>Wayne</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">http://www.liquidfoot.com/?p=206</guid>
		<description><![CDATA[I was setting my computer up for a database systems class I&#8217;m taking this semester. I got to the point of getting PostgreSQL 8.1, pgAdmin III, and the JDBC drivers installed, but I couldn&#8217;t figure out how to connect to the darn thing. I knew it created the account postgres, but since I was installing [...]]]></description>
			<content:encoded><![CDATA[<div class="body">
<p>I was setting my computer up for a database systems class I&#8217;m taking this semester. I got to the point of getting PostgreSQL 8.1, pgAdmin III, and the JDBC drivers installed, but I couldn&#8217;t figure out how to connect to the darn thing. I knew it created the account postgres, but since I was installing through apt-get, there wasn&#8217;t any point that I set the password.</p>
<p>I finally broke down and started reading the documentation (which is excellent by the way), but all of the documents about the initial configuration were on compiling from the sources. I finally got tired of clicking &#8220;Next&#8221; in the docbook files and stumbled across a post at <a href="http://hocuspok.us/journal/postgresql-on-ubuntu-linux-how-to-updated">hocuspok.us</a>.</p>
<p>The step I was missing (and I&#8217;m sure I would have eventually found) was running:</p>
<div class="code">&gt; sudo su postgres -c psql template1<br />
template1=# ALTER USER postgres WITH PASSWORD &#8216;$password$&#8217;;<br />
template1=# \q</div>
<p>Even after just playing with this for a couple of hours, I&#8217;m seriosly thinking of changing my development DB from MySQL to PostgreSQL. Pretty impressive!</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.liquidfoot.com/2006/08/31/postgres-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improving Ubuntu GUI Resposiveness</title>
		<link>http://www.liquidfoot.com/2006/08/17/improving-ubuntu-gui-resposiveness/</link>
		<comments>http://www.liquidfoot.com/2006/08/17/improving-ubuntu-gui-resposiveness/#comments</comments>
		<pubDate>Thu, 17 Aug 2006 17:50:06 +0000</pubDate>
		<dc:creator>Wayne</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">http://www.liquidfoot.com/?p=212</guid>
		<description><![CDATA[I ran across this on Digg under the title How to Make Firefox Over 40% Faster. While the improvement actually has nothing to do with Firefox, it does cover how to improve the CPU scaling settings. Quick breakdown&#8230; Uninstall powernowd sudo apt-get remove powernowd Enable speed-stepping (I&#8217;m running Centrino) sudo modprobe speedstep-centrino Enable the ondemand [...]]]></description>
			<content:encoded><![CDATA[<div class="body">
<p>I ran across this on Digg under the title <a href="http://martin.ankerl.org/2006/08/16/how-to-make-firefox-40-percent-faster/">How to Make Firefox Over 40% Faster</a>. While the improvement actually has nothing to do with Firefox, it does cover how to improve the CPU scaling settings.</p>
<p>Quick breakdown&#8230;</p>
<p>Uninstall powernowd</p>
<div class="code">sudo apt-get remove powernowd</div>
<p>Enable speed-stepping (I&#8217;m running Centrino)</p>
<div class="code">sudo modprobe speedstep-centrino</div>
<p>Enable the ondemand governor</p>
<div class="code">sudo modprobe cpufreq-ondemand</div>
<p>This step is a change from Martin&#8217;s directions, his says to use sudo, but you can&#8217;t write to /sys with sudo, so</p>
<div class="code">echo ondemand | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor</div>
<p>Now it&#8217;s just a matter of updating your performance settings:</p>
<p>Open /etc/modules and add</p>
<div class="code">speedstep-centrino<br />
cpufreq-ondemand</div>
<p>Install sysfsutils</p>
<div class="code">sudo apt-get install sysfsutils</div>
<p>Add to /etc/sysfs.conf</p>
<div class="code">devices/system/cpu/cpu0/cpufreq/scaling_governor=ondemand</div>
<p>Basically what this is doing is stepping up the processor frequency if the CPU reaches 80% utilization.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.liquidfoot.com/2006/08/17/improving-ubuntu-gui-resposiveness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

