<?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>Want Linux</title>
	<atom:link href="http://www.wantlinux.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wantlinux.net</link>
	<description>WantLinux.net Ubuntu the way I like it.</description>
	<lastBuildDate>Tue, 22 Dec 2009 16:08:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Pitch FX mysql database with pitch type</title>
		<link>http://www.wantlinux.net/2009/10/pitch-fx-data-with-pitch-type/</link>
		<comments>http://www.wantlinux.net/2009/10/pitch-fx-data-with-pitch-type/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 13:38:16 +0000</pubDate>
		<dc:creator>Darrell</dc:creator>
				<category><![CDATA[Baseball Data]]></category>

		<guid isPermaLink="false">http://www.wantlinux.net/?p=146</guid>
		<description><![CDATA[


As always please help me with my bandwidth costs for this data.  Just buy me a beer.  Thanks,



 
2007-2009 Pitch FX database in mysql
I have went through this year and reworked the import scripts from Mike Fast and especially the mysql  database to make the import faster much much much faster with [...]]]></description>
			<content:encoded><![CDATA[<p>As always please help me with my bandwidth costs for this data.  Just buy me a beer.  Thanks,</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="hosted_button_id" type="hidden" value="4631235" />
<input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" type="image" /> <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="" width="1" height="1" /></form>
<p>2007-2009 Pitch FX database in mysql</p>
<p>I have went through this year and reworked the import scripts from <a href="http://fastballs.wordpress.com/">Mike Fast</a> and especially the mysql  database to make the import faster much much much faster with indexes.  It was taking over 5 minutes to import a game in 2009 with all the previous data in the database, and now it takes 30 seconds at most.  I fixed games that had data errors, and made sure they imported.  There is alot of time and effort that goes into this import with my brother bugging me to scripting it, to my brother bugging me, to testing, to my brother bugging me.  It really isn&#8217;t that bad, but some times it feels like it. The import is up to 151MB compressed so we might have to look at splitting this up by year in the future or something.  Ideas?  I will only be releasing one file from now on for the Pitch fx MySQL database import is named pbp2.sql.  Here is the reworked file that gets updated daily.</p>
<p>Please would also like to know when the 2009 data from retrosheet is out so I can import that data, and maybe rework the output.  I have have hear people wanting it out by 10 or 20 years spans.  I can do it I just would like to know that people will use it before I do it.</p>
<p><a href="http://www.wantlinux.net/baseball/pbp2.sql.gz">Download Pitch F/X Database here</a>
<p>Here is how it is all done.  I have 4 scripts that run a night<br />
1. hack_4day.pl</p><p style="float: left;margin: 4px;"><script type="text/javascript"><!--
google_ad_client = "pub-1842667318455177";
/* wantlinux 336x280 */
google_ad_slot = "9922757146";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p></p>
<li>Downloads files from MLB for only the last 4 days to speed up the import.</li>
<li> Deletes files older then 4 days.</li>
<p>2. hack_pbp2.pl</p>
<li>Downloads all files from MLB to make sure I have a full set of xml files to use if needed.</li>
<p>3. 2009.pl</p>
<li>Imports the xml files that are downloaded by the hack_4day.pl script into the pitch fx mysql database.</li>
<li>Deletes each games xml files to keep the process clean as to only store one set of xml files and one set of records in the pitch fx mysql database</li>
<p>4. update_db_with_count.pl</p>
<li>Updates db with counts on the pitches.  great script.</li>
<p>All the scripts are available on the <a href="http://www.wantlinux.net/baseball">downloads page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wantlinux.net/2009/10/pitch-fx-data-with-pitch-type/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Default server build</title>
		<link>http://www.wantlinux.net/2009/10/default-server-build/</link>
		<comments>http://www.wantlinux.net/2009/10/default-server-build/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 17:46:27 +0000</pubDate>
		<dc:creator>Darrell</dc:creator>
				<category><![CDATA[General Information]]></category>

		<guid isPermaLink="false">http://www.wantlinux.net/?p=141</guid>
		<description><![CDATA[default server build
munin-node nagios-nrpe-server nagios-plugins nagios-plugins-basic nagios-plugins-standard ldap-auth-client postfix rdist
ln -s /bin/bash /usr/local/bin/bash
ln -s /usr/bin/rdist /usr/local/bin/rdist
vi /etc/auth-client-config/profile.d/open_ldap
###################################################################
[open_ldap]
nss_passwd=passwd: files ldap
nss_group=group: files ldap
nss_shadow=shadow: files ldap
nss_netgroup=netgroup: files ldap
pam_auth=auth       required     pam_env.so
        auth       sufficient   pam_unix.so [...]]]></description>
			<content:encoded><![CDATA[<p>default server build</p>
<p>munin-node nagios-nrpe-server nagios-plugins nagios-plugins-basic nagios-plugins-standard ldap-auth-client postfix rdist</p>
<p>ln -s /bin/bash /usr/local/bin/bash<br />
ln -s /usr/bin/rdist /usr/local/bin/rdist</p>
<p>vi /etc/auth-client-config/profile.d/open_ldap<br />
###################################################################<br />
[open_ldap]<br />
nss_passwd=passwd: files ldap<br />
nss_group=group: files ldap<br />
nss_shadow=shadow: files ldap<br />
nss_netgroup=netgroup: files ldap<br />
pam_auth=auth       required     pam_env.so<br />
        auth       sufficient   pam_unix.so likeauth nullok<br />
#the following line (containing pam_group.so) must be placed before pam_ldap.so<br />
#for ldap users to be placed in local groups such as fuse, plugdev, scanner, etc &#8230;<br />
        auth       required     pam_group.so use_first_pass<br />
        auth       sufficient   pam_ldap.so use_first_pass<br />
        auth       required     pam_deny.so<br />
pam_account=account    sufficient   pam_unix.so<br />
        account    sufficient   pam_ldap.so<br />
        account    required     pam_deny.so<br />
pam_password=password   sufficient   pam_unix.so nullok md5 shadow<br />
        password   sufficient   pam_ldap.so use_first_pass<br />
        password   required     pam_deny.so<br />
pam_session=session    required     pam_limits.so<br />
        session    required     pam_unix.so<br />
        session    optional     pam_ldap.so<br />
##################################################################</p>
<p> auth-client-config -a -p open_ldap </p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-1842667318455177";
/* wantlinux 234x60 */
google_ad_slot = "7210436948";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>]]></content:encoded>
			<wfw:commentRss>http://www.wantlinux.net/2009/10/default-server-build/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Vista Fonts in Ubuntu</title>
		<link>http://www.wantlinux.net/2009/04/installing-vista-fonts-in-ubuntu/</link>
		<comments>http://www.wantlinux.net/2009/04/installing-vista-fonts-in-ubuntu/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 14:26:50 +0000</pubDate>
		<dc:creator>Darrell</dc:creator>
				<category><![CDATA[Ubuntu Desktop]]></category>

		<guid isPermaLink="false">http://www.wantlinux.net/?p=132</guid>
		<description><![CDATA[Installing Vista Fonts in Ubuntu
Microsoft’s new ClearType fonts for Vista are great. The fonts include Constantia, Corbel, Calibri, Cambria, Candara and Consolas.

Getting them installed in Ubuntu is a breeze, thanks to a script I found.
To install the Vista ClearType fonts in Ubuntu, you need to install cabextract first. Cabextract is a utility found in the [...]]]></description>
			<content:encoded><![CDATA[<p>Installing Vista Fonts in Ubuntu<br />
Microsoft’s new <a href="http://www.microsoft.com/typography/ClearTypeFonts.mspx">ClearType fonts for Vista</a> are great. The fonts include Constantia, Corbel, Calibri, Cambria, Candara and Consolas.<br />
<img src="http://ubuntu.files.wordpress.com/2007/09/vista-fonts.jpg" alt="Microsoft Vista Fonts" width="400" /></p>
<p>Getting them installed in Ubuntu is a breeze, thanks to a script I found.<br />
To install the Vista ClearType fonts in Ubuntu, you need to install cabextract first. <a href="http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=cabextract&amp;searchon=names&amp;subword=1&amp;version=feisty&amp;release=all">Cabextract</a> is a utility found in the universe repository, so before you run the following command, make sure you have universe enabled in your repository list. Once this is done, install cabextract using:</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wantlinux.net/2009/04/installing-vista-fonts-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Perl One-Liners</title>
		<link>http://www.wantlinux.net/2009/04/126/</link>
		<comments>http://www.wantlinux.net/2009/04/126/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 18:35:56 +0000</pubDate>
		<dc:creator>Darrell</dc:creator>
				<category><![CDATA[General Information]]></category>

		<guid isPermaLink="false">http://www.wantlinux.net/?p=126</guid>
		<description><![CDATA[Perl one liners I hate having to search for everytime I need it.

# the always present hello world program
    perl -e 'print "Hello World!\n"'

    # rename in each file name the string aaa by bbb
    ls &#124; perl -ne 'chomp; next unless -e; $o = $_; [...]]]></description>
			<content:encoded><![CDATA[<pre>Perl one liners I hate having to search for everytime I need it.

# the always present hello world program
    perl -e 'print "Hello World!\n"'

    # rename in each file name the string aaa by bbb
    ls | perl -ne 'chomp; next unless -e; $o = $_; s/aaa/bbb/; next if -e; rename $o, $_'; 

    # add first and last column in each line of file foo.txt and print it out
    perl -lane 'print $F[0] + $F[-1]' foo.txt

    # print lines 15 to 17 of file foo.txt
    perl -ne 'print if 15 .. 17' foo.txt

    # a second way to print lines 3 to 5 of file foo.txt
    perl -pe 'exit if 3&lt;$. &amp;&amp; $.&lt;5' foo.txt

    # change all words "foo"s to "bar"s in every .c file and keep backups
    perl -p -i.bak -e 's/\bfoo\b/bar/g' *.c

    # the same but without backup. Remember the flags: "eat the pie"
    perl -p -i -e 's/foo/bar/g' *.c

    # changes ^M newline characters to newlines
    perl  -p -i -e 's/\012?\015/\n/g'  $1

    # the same but with all files with name filename
    perl -p -i -e  's/foo/bar' `find . -name "filename"`

    # substitution can also be applied to binary files like test.ppm
    perl -p -i -e 's/255/127/g' test.ppm

    # substitute "xyz.math" to "abc.math" in every .html file and keep backups
    perl -p -i.bak -e 's/xyz\.math/abc\.math/g' *.html

    # insert department name after each title and keep backup
    perl -p -i.bak -e 's#&lt;title&gt;#&lt;title&gt;Harvard .: #i' *.html

    # delete first 10 lines in foo.txt and keep backup foo.txt.bak
    perl -i.bak -ne 'print unless 1 .. 10' foo.txt

    # change isolated occurrence of aaa to bbb in each file *.c or *.h
    perl -p -i.bak -e 's{\baaa\b}{bbb}g' *.[ch]

    # reverses lines of file foo.txt and print it
    perl -e 'print reverse &lt;&gt;' foo.txt

    # find palindromes in a dictionary /usr/share/dict/words
    perl -lne 'print if $_ eq reverse' /usr/share/dict/words

    # reverses paragraphs in file foo.txt
    perl -00 -e 'print reverse &lt;&gt;' foo.txt

    # increments all numbers in foo.tx by 1
    perl -pe 's/(\d+)/ 1 + $1 /ge' foo.txt

    # reverses order of characters in each line of foo.txt
    perl -nle 'print scalar reverse $_' foo.txt

    # print lines beween START and END in foo.txt to STDOUT
    perl -ne 'print if /^START$/ .. /^END$/' foo.txt

    # delete lines beween START and END and backup original file
    perl -i.old -ne 'print unless /^START$/ .. /^END$/' foo.txt

    # look for duplicated words in a line
    perl -0777 -ne 'print "$.: doubled $_\n" while /\b(\w+)\b\s+\b\1\b/gi' foo.txt

    # start Perl debugger "stand-alone"
    perl -d -e 42

    # run a Perl program program.pl with warnings
    perl -w program.pl

    # run a Perl program program.pl with debugger
    perl -d program.pl

    # Run perl program program.pl, check syntax, print warnings
    perl -wc program.pl</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.wantlinux.net/2009/04/126/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql MLB Pitch FX data</title>
		<link>http://www.wantlinux.net/2009/04/mysql-mlb-pitch-f-x-data/</link>
		<comments>http://www.wantlinux.net/2009/04/mysql-mlb-pitch-f-x-data/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 19:59:51 +0000</pubDate>
		<dc:creator>Darrell</dc:creator>
				<category><![CDATA[Baseball Data]]></category>

		<guid isPermaLink="false">http://www.wantlinux.net/?p=106</guid>
		<description><![CDATA[Pitch FX data from 2007 to current.
Please help with bandwidth costs for this download by donating.



 

I have imported all the pitch f x data from mlb.com for 2007, to current date using Fastballs wordpress site.  It is available in a mysql export.  Please let me me know if you have any questions, or issues [...]]]></description>
			<content:encoded><![CDATA[<h2><strong>Pitch FX data from 2007 to current.</strong></h2>
<p>Please help with bandwidth costs for this download by donating.</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="hosted_button_id" type="hidden" value="4631235" />
<input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" type="image" /> <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="" width="1" height="1" /><br />
</form>
<p>I have imported all the pitch f x data from mlb.com for 2007, to current date using <a href="http://fastballs.wordpress.com/2007/08/23/how-to-build-a-pitch-database/">Fastballs wordpress site</a>.  It is available in a mysql export.  Please let me me know if you have any questions, or issues with this download. Please comment and I will get back with you.  If you are looking for game data please check out the retrosheet database I have made available for <a href="http://www.wantlinux.net/2009/04/retrosheet-baseball-mysql-database-download/">download  here.</a></p>
<p><span style="color: #ff0000;"><br />
<h2><strong>UPDATE 10/23/2009</strong></h2>
<p></span>I have re-imported everything since 2007 up to today, and have it available for download.  I will be removing the pbp.sql files, and only going forward with the pbp2.sql which is the pitchfx with pitch type.  I should have this done by the time baseball is over.  <img src='http://www.wantlinux.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />   Let me know if you have any questions.  I fixed a couple of games that had hit errors where a runner didn&#8217;t reach base the system didn&#8217;t know what to do with that, so I used a sledge hammer to get rid of the no base runner hit errors.  It could also be data import errors but who knows.</p>
<p>Thanks,</p>
<p>Darrell</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wantlinux.net/2009/04/mysql-mlb-pitch-f-x-data/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 Converting an ext3 filesystem to ext4</title>
		<link>http://www.wantlinux.net/2009/04/ubuntu-904-converting-an-ext3-filesystem-to-ext4/</link>
		<comments>http://www.wantlinux.net/2009/04/ubuntu-904-converting-an-ext3-filesystem-to-ext4/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 18:47:55 +0000</pubDate>
		<dc:creator>Darrell</dc:creator>
				<category><![CDATA[Ubuntu Desktop]]></category>

		<guid isPermaLink="false">http://www.wantlinux.net/?p=112</guid>
		<description><![CDATA[
Converting an ext3 filesystem to ext4
It is possible to mount both ext3 (and ext2, in kernels 2.6.28 and later) filesystems directly using the ext4 filesystem driver. This will allow you to use many of the in-core performance enhancements such as delayed allocation (delalloc) and multi-block allocation (mballoc), and large inodes if your ext3 filesystem have [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-114" title="Ubuntu 9.04" src="http://www.wantlinux.net/wp-content/uploads/2009/04/ubuntu_904.png" alt="Ubuntu 9.04" width="225" height="59" /></p>
<p>Converting an ext3 filesystem to ext4</p>
<p>It is possible to mount both ext3 (and ext2, in kernels 2.6.28 and later) filesystems directly using the ext4 filesystem driver. This will allow you to use many of the in-core performance enhancements such as delayed allocation (delalloc) and multi-block allocation (mballoc), and large inodes if your ext3 filesystem have been formatted with large inodes as is the default with newer versions of e2fsprogs. Simply mounting an ext3 (or ext2) filesystem with a modern (2.6.27+) version of ext4 will not change the on-disk structures, and it is possible to revert to the ext3 (or ext2) driver should there be any problem with ext4.</p>
<p>In addition to the in-core performance enhancements, there are additional features which modify the on-disk format from what ext3 understands, such as extents, which can significantly improve the ext4 filesystem performance, but mean the filesystem cannot be mounted by kernels that do not support ext4. There are additional ext4 features, such as flex_bg and &gt; 16TB filesystem support that can only be enabled at format time via mke2fs.</p>
<p>To change an ext2 filesystem (should you still have one) to ext3 (enabling the journal feature), use the command:</p>
<p># tune2fs -j /dev/DEV</p>
<p>To enable the ext4 features on an existing ext3 filesystem, use the command:</p>
<p># tune2fs -O extents,uninit_bg,dir_index /dev/DEV</p>
<p>WARNING: Once you run this command, the filesystem will no longer be mountable using the ext3 filesystem!</p>
<p>After running this command, you MUST run fsck to fix up some on-disk structures that tune2fs has modified:</p>
<p># e2fsck -fD /dev/DEV</p>
<p>NOTE: by enabling the extents feature new files will be created in extents format, but this will not convert existing files to use extents. Non-extent files can be transparently read and written by Ext4.</p>
<p>WARNING: It is NOT recommended to resize the inodes using resize2fs with e2fsprogs 1.41.0 or later, as this is known to corrupt some filesystems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wantlinux.net/2009/04/ubuntu-904-converting-an-ext3-filesystem-to-ext4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu upgrade from 8.10 to 9.04 Desktop and Server</title>
		<link>http://www.wantlinux.net/2009/04/ubuntu-upgrade-from-810-to-904-desktop-and-server/</link>
		<comments>http://www.wantlinux.net/2009/04/ubuntu-upgrade-from-810-to-904-desktop-and-server/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 18:29:08 +0000</pubDate>
		<dc:creator>Darrell</dc:creator>
				<category><![CDATA[Ubuntu Desktop]]></category>

		<guid isPermaLink="false">http://www.wantlinux.net/?p=109</guid>
		<description><![CDATA[Upgrading from Ubuntu 8.10 Desktop to Ubuntu 9.04 Desktop
To upgrade from Ubuntu 8.10 on a desktop system, press Alt+F2 and type in &#8220;update-manager -d&#8221; (without the quotes) into the command box. Update Manager should open up and tell you: New distribution release &#8216;9.04&#8242; is available. Click Upgrade and follow the on-screen instructions.
Upgrading from Ubuntu 8.10 [...]]]></description>
			<content:encoded><![CDATA[<p>Upgrading from Ubuntu 8.10 Desktop to Ubuntu 9.04 Desktop</p>
<p>To upgrade from Ubuntu 8.10 on a desktop system, press Alt+F2 and type in &#8220;update-manager -d&#8221; (without the quotes) into the command box. Update Manager should open up and tell you: New distribution release &#8216;9.04&#8242; is available. Click Upgrade and follow the on-screen instructions.</p>
<p>Upgrading from Ubuntu 8.10 Server to Ubuntu 9.04 Server</p>
<p>To upgrade from Ubuntu 8.10 on a server system: install the update-manager-core package if it is not already installed; edit /etc/update-manager/release-upgrades and set Prompt=normal; launch the upgrade tool with the command sudo do-release-upgrade; and follow the on-screen instructions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wantlinux.net/2009/04/ubuntu-upgrade-from-810-to-904-desktop-and-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xten X-lite install on Ubuntu 9.04</title>
		<link>http://www.wantlinux.net/2009/04/xten-x-lite-install-on-ubuntu-904/</link>
		<comments>http://www.wantlinux.net/2009/04/xten-x-lite-install-on-ubuntu-904/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 10:37:02 +0000</pubDate>
		<dc:creator>Darrell</dc:creator>
				<category><![CDATA[Ubuntu Desktop]]></category>

		<guid isPermaLink="false">http://www.wantlinux.net/?p=100</guid>
		<description><![CDATA[Installing Xten X-lite on Ubuntu 9.04 Jaunty Jackalope.

The other day I was looking for a soft phone on my Ubuntu 9.04 desktop, and am used to X-lite on my windows machines, but have not found a soft phone that i like on Linux yet.  Ekiga is to commercial, and Twinkle very basic.  So [...]]]></description>
			<content:encoded><![CDATA[<p>Installing Xten X-lite on Ubuntu 9.04 Jaunty Jackalope.<br />
<img class="alignnone size-full wp-image-103" title="Xten X-lite" src="http://www.wantlinux.net/wp-content/uploads/2009/04/xten_x-lite.jpg" alt="Xten X-lite" width="412" height="262" /><br />
The other day I was looking for a soft phone on my Ubuntu 9.04 desktop, and am used to X-lite on my windows machines, but have not found a soft phone that i like on Linux yet.  Ekiga is to commercial, and Twinkle very basic.  So I decided to try the Xten X-lite install on my Ubuntu Jaunty Jackalope desktop.  I ran into so issues, and have provided instructions for a Xten X-lite install on Ubuntu 9.04.  Please follow my steps closely, and your Xten X-lite Ubuntu 9.04 setup will be completed in no time.</p>
<p>1.) Aquire Xten X-lite from Counterpaths website.</p>
<p>$ wget http://counterpath.s3.amazonaws.com/downloads/X-Lite_Install.tar.gz</p>
<p>2.) Untar X-lite_install.tar.gz for use.</p>
<p>$ tar -xzvf X-Lite_Install.tar.gz</p>
<p>This will create a  xten-xlite directory with a README file, and the xtensoftphone binary.</p>
<p>3.) Install libstdc++5 which is required to run the xtensoftphone binary.</p>
<p>$ sudo apt-get install libstdc++5</p>
<p>4.) Start the Xten X-lite software on Ubuntu 9.04 and configure it for your phone system.</p>
<p>$ xten-xlite/xtensoftphone</p>
<p>I was not very pleased with this version of Xten X-lite for Linux, but I do like the windows version, and I guess I will be sticking to my twinkle soft phone for now.  When Counterpath gets off it&#8217;s butt and builds a newer version of the X-lite for Linux I will try to install it again on my Ubuntu 9.04 Desktop. Please let me know if you have any questions or issues with these instructions and feel free to look at some of my other pages. <a href="http://www.wantlinux.net/2009/04/nvidia-6200-xorgconf-twinview-setup-ubuntu-904-juanty-jackalope/"> Nvidia 6200 Xorg.conf with Twinview setup Ubuntu 9.04 Juanty Jackalope</a> or <a hred="http://www.wantlinux.net/2009/04/ubuntu-904-bind-dns-caching-server/">Ubuntu 9.04 BIND DNS Caching server</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wantlinux.net/2009/04/xten-x-lite-install-on-ubuntu-904/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 BIND DNS Caching server</title>
		<link>http://www.wantlinux.net/2009/04/ubuntu-904-bind-dns-caching-server/</link>
		<comments>http://www.wantlinux.net/2009/04/ubuntu-904-bind-dns-caching-server/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 10:44:48 +0000</pubDate>
		<dc:creator>Darrell</dc:creator>
				<category><![CDATA[Walkthroughs]]></category>

		<guid isPermaLink="false">http://www.wantlinux.net/?p=94</guid>
		<description><![CDATA[BIND, for /Berkeley Internet Name Domain, or named, is the most
commonly used DNS server on the Internet, especially on Unix-like
systems, where it is a /de facto/ standard.  I have found many reasons for a BIND DNS Caching server, and a few of them are email servers to prevent the load from spilling onto your dns [...]]]></description>
			<content:encoded><![CDATA[<p>BIND, for /Berkeley Internet Name Domain, or named, is the most<br />
commonly used DNS server on the Internet, especially on Unix-like<br />
systems, where it is a /de facto/ standard.  I have found many reasons for a BIND DNS Caching server, and a few of them are email servers to prevent the load from spilling onto your dns servers, apache web servers for the same reason, and for my internal home server just so I can clear my BIND DNS caching server when I want.  I especially like having my own BIND DNS caching server when I am working on a clients DNS so once I make the changes I can clear my cache on my DNS server, and test the change. Lets get started on how to install a BIND DNS Caching server on Ubuntu 9.04.</p>
<p>1.) Install BIND 9 and the BIND 9 utils using apt-get for our BIND DNS caching server.</p>
<p>sudo apt-get update<br />
sudo apt-get install bind9 bind9utils</p>
<p>2.) Point your /etc/resolv.conf to the new servers ip address.</p>
<p>vi /etc/resolv.conf<br />
add &#8220;nameserver xxx.xxx.xxx.xxx&#8221; to the file</p>
<p>3.) Test your BIND DNS caching server.<br />
dig www.wantlinux.net</p>
<p>You should notice a response the &#8220;Query time: 18 msec&#8221; from the output of the dig command.  Once you make note of the response time repeat the dig command and your response time to decrease drastically.  Congratulations your BIND DNS caching server is working.  For example my second output was &#8220;Query time: 2 msec&#8221;.  A 16 ms increase in DNS queries might not seem like alot, but when you use spamassassin with DNS options turned on you can make 10-30 DNS queries per email.  It adds up quickly when your email server receives 4 messages a second.  </p>
<p>Other options for your BIND DNS caching server would be to use your ISP&#8217;s dns servers as forwarders, but this does not give you the flexibility of clearing your DNS server cache whenever you want.  If you clear your cache you do not clear your ISP&#8217;s DNS cache and you will get the same DNS response. </p>
<p>Note that BIND caches DNS information to RAM and not disk. In most cases this will not be a problem since most machines have plenty of memory and old records are purged from memory after a period of time. However, if you expect your server to get a lot of traffic you may want to periodically flush the cache using the following command.<br />
sudo rndc -s localhost flush</p>
<p>or set the maximum amount of memory to use (in essence forcing overflow data to be deleted before it expires) by setting the max-cache-size option in the configuration file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wantlinux.net/2009/04/ubuntu-904-bind-dns-caching-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Iptables Firewall Script for /etc/init.d</title>
		<link>http://www.wantlinux.net/2009/04/ubuntu-iptables-firewall-script-for-etcinitd/</link>
		<comments>http://www.wantlinux.net/2009/04/ubuntu-iptables-firewall-script-for-etcinitd/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 13:06:27 +0000</pubDate>
		<dc:creator>Darrell</dc:creator>
				<category><![CDATA[Walkthroughs]]></category>

		<guid isPermaLink="false">http://www.wantlinux.net/?p=90</guid>
		<description><![CDATA[I have used alot of diffierent firewall scripts over the years, and I
have fell in love with the following script wriiten by Tero Karvinen  It
is a simple Iptables firewall script and it is easy to maintain.  Not
alot of variables, and totally customizable.  Why would I want anything
else.  I have below my [...]]]></description>
			<content:encoded><![CDATA[<p>I have used alot of diffierent firewall scripts over the years, and I<br />
have fell in love with the following script wriiten by Tero Karvinen  It<br />
is a simple Iptables firewall script and it is easy to maintain.  Not<br />
alot of variables, and totally customizable.  Why would I want anything<br />
else.  I have below my mail servers Iptables firewall configuration with<br />
a state hitcount to slow down potential spammers, I have it set for a<br />
mail server that accepts 16 messages a second.  That is 1.3 million<br />
emails a day.  So the iptables firewall script works.  Here is how to<br />
install it.</p>
<p>1.) Copy the following lines.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
#!/bin/sh<br />
# Cleanup old rules # All the time firewall is in a secure, closed state<br />
iptables -P INPUT DROP<br />
iptables -P FORWARD DROP<br />
iptables &#8211;flush        # Flush all rules, but keep policies<br />
iptables &#8211;delete-chain<br />
## Workstation Minimal firewall ###<br />
iptables -P FORWARD DROP<br />
iptables -P INPUT DROP<br />
iptables -A INPUT -i lo &#8211;source 127.0.0.1 &#8211;destination 127.0.0.1 -j ACCEPT<br />
iptables -A INPUT -m state &#8211;state &#8220;ESTABLISHED,RELATED&#8221; -j ACCEPT<br />
iptables -A INPUT -p icmp &#8211;icmp-type destination-unreachable -j ACCEPT<br />
iptables -A INPUT -p icmp &#8211;icmp-type time-exceeded -j ACCEPT<br />
iptables -A INPUT -p icmp &#8211;icmp-type echo-request -j ACCEPT<br />
iptables -A INPUT -p icmp &#8211;icmp-type echo-reply -j ACCEPT<br />
####### HOLES ####### Edit holes below, then run this script again<br />
# munin<br />
iptables -A INPUT -p TCP -s 192.168.1.16/32 &#8211;destination-port 4949 -j ACCEPT<br />
# mysql<br />
iptables -A INPUT -p TCP -s 192.168.1.0.0/24 &#8211;destination-port 3306 -j ACCEPT<br />
# nagios<br />
iptables -A INPUT -p TCP -s 192.168.1.16/32 &#8211;destination-port 5666 -j ACCEPT<br />
# sshd<br />
iptables -A INPUT -p TCP -s 192.168.1.0/24 &#8211;destination-port 22 -j ACCEPT<br />
iptables -A INPUT -p TCP -s 10.0.0.0/24 &#8211;destination-port 22 -j ACCEPT<br />
# smtp<br />
iptables -A INPUT -p TCP &#8211;dport 25 -j ACCEPT<br />
iptables -I INPUT -p TCP &#8211;dport 25 -i eth0 -m state &#8211;state NEW -m recent &#8211;set<br />
iptables -I INPUT -p TCP &#8211;dport 25 -i eth0 -m state &#8211;state NEW -m recent &#8211;update &#8211;seconds 600 &#8211;hitcount 45 -j DROP<br />
# pop<br />
iptables -A INPUT -p TCP -s 0/0 &#8211;destination-port 110 -j ACCEPT<br />
# imap<br />
iptables -A INPUT -p TCP -s 0/0 &#8211;destination-port 143 -j ACCEPT<br />
# 587<br />
iptables -A INPUT -p TCP -s 0/0 &#8211;destination-port 587 -j ACCEPT<br />
##################### Edit above<br />
# iptables -A INPUT -j LOG -m limit &#8211;limit 40/minute<br />
iptables -A INPUT -j DROP<br />
# Save<br />
# iptables-save &gt; /etc/sysconfig/iptables<br />
echo &#8220;: Done.&#8221;#!/bin/sh<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
2.) Open /etc/init.d/firewall.sh with your favorite editor.</p>
<p>$ sudo vi /etc/init.d/firewall.sh</p>
<p>3.) Paste script into your editor, and edit the ports to your liking.  Make sure your are in insert mode in vi before you paste.</p>
<p>4.) Change permissions to all execute on the file.</p>
<p>$ sudo chmod 744 /etc/init.d/firewall.sh</p>
<p>5.)  Start the script</p>
<p>$ sudo /etc/init.d/firewall.sh</p>
<p>6.) Add the script to start-up</p>
<p>$ sudo  update-rc.d firewall.sh defaults</p>
<p>Please let me know if you have any questions about this really easy and nice Ubuntu iptables firewall script.  Like I said I have tried a bunch and this is the best iptables firewall script I have found.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wantlinux.net/2009/04/ubuntu-iptables-firewall-script-for-etcinitd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
