<?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>Tech Blog &#187; linux</title>
	<atom:link href="http://informationideas.com/news/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://informationideas.com/news</link>
	<description>Using technology to help your business</description>
	<lastBuildDate>Sat, 17 Mar 2012 02:14:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Auto start Sphinx searchd after reboot on Linux</title>
		<link>http://informationideas.com/news/2012/02/16/auto-start-sphinx-searchd-after-reboot-on-linux/</link>
		<comments>http://informationideas.com/news/2012/02/16/auto-start-sphinx-searchd-after-reboot-on-linux/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 22:09:07 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Sphinx]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=212</guid>
		<description><![CDATA[By default, after you install and configure Sphinx, you will find that once your OS restarts, search will not be working. That is because searchd is not setup to auto start. The following will solve that problem. Create file /etc/init.d/searchd. sudo vi /etc/init.d/searchd Copy the following into searchd. #!/bin/bash case "${1:-''}" in 'start') /usr/local/bin/searchd ;; [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>By default, after you install and configure Sphinx, you will find that once your OS restarts, search will not be working. That is because searchd is not setup to auto start. The following will solve that problem.</p>
<p>Create file /etc/init.d/searchd.<br />
<code>sudo vi /etc/init.d/searchd</code></p>
<p>Copy the following into searchd.<br />
<code>#!/bin/bash</code></p>
<p>case "${1:-''}" in<br />
'start')<br />
/usr/local/bin/searchd<br />
;;<br />
'stop')<br />
/usr/local/bin/searchd --stop<br />
;;<br />
'restart')<br />
/usr/local/bin/searchd --stop &amp;&amp; /usr/local/bin/searchd<br />
;;<br />
*)<br />
echo "Usage: $SELF start|stop|restart"<br />
exit 1<br />
;;<br />
esac</p>
<p>Add execute to the file<br />
<code>sudo chmod -x /etc/init.d/searchd</code></p>
<p>Register with auto start<br />
<code>sudo update-rc.d searchd defaults</code></p>
<div class="shr-publisher-212"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2012/02/16/auto-start-sphinx-searchd-after-reboot-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replacing OpenGeo Suites on Windows with GeoServer on Linux</title>
		<link>http://informationideas.com/news/2011/04/05/replacing-opengeo-suites-on-windows-with-geoserver-on-linux/</link>
		<comments>http://informationideas.com/news/2011/04/05/replacing-opengeo-suites-on-windows-with-geoserver-on-linux/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 00:43:47 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[GeoServer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[our development]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=176</guid>
		<description><![CDATA[After our initial installation of OpenGeo Suites for WMS service on Windows, we encountered some stability issues that could not be resolved. We could have hired some high priced consultants to debug the issue but we opted for a lighter weight infrastructure. Our initial system specs: Windows Server 2008 4GB ram Quad core Open Geo [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>After our initial installation of OpenGeo Suites for WMS service on Windows, we encountered some stability issues that could not be resolved. We could have hired some high priced consultants to debug the issue but we opted for a lighter weight infrastructure.</p>
<p>Our initial system specs:</p>
<ul>
<li>Windows Server 2008</li>
<li>4GB ram</li>
<li>Quad core</li>
<li>Open Geo Suites running as Windows application</li>
</ul>
<p>Our slim and fast system specs:</p>
<ul>
<li>Ubuntu 10.04</li>
<li>512MB ram</li>
<li>Quad core</li>
<li>GeoServer running as java process</li>
</ul>
<p>So far so good. All layers are loading super fast. We will see how the stability issue is resolved. At least we are using a lot few resources now which makes scaling out to a cluster of GeoServers much more affordable.</p>
<div class="shr-publisher-176"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2011/04/05/replacing-opengeo-suites-on-windows-with-geoserver-on-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Running stored procedures on MSSQL via any language on Linux</title>
		<link>http://informationideas.com/news/2011/03/11/running-stored-procedures-on-mssql-via-any-language-on-linux/</link>
		<comments>http://informationideas.com/news/2011/03/11/running-stored-procedures-on-mssql-via-any-language-on-linux/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 23:48:14 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[MSSql]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=170</guid>
		<description><![CDATA[If you need to run store procedures on Microsoft SQL Server on perl, php, ruby, etc., you need to configure /etc/freetds/freetds.conf with the server connection information. Specifically, specify the tds version to be 8.0. Something like the following. /etc/freetds/freetds.conf [Server80] host = domain.com port = 1433 tds version = 8.0 Connection to the server via [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>If you need to run store procedures on Microsoft SQL Server on perl, php, ruby, etc., you need to configure /etc/freetds/freetds.conf with the server connection information. Specifically, specify the tds version to be 8.0. Something like the following.</p>
<p>/etc/freetds/freetds.conf<br />
<code><br />
[Server80]<br />
        host = domain.com<br />
        port = 1433<br />
        tds version = 8.0<br />
</code></p>
<p>Connection to the server via php would look like this.<br />
<code><br />
$link = mssql_connect("Server80", "user", "pass");<br />
</code></p>
<div class="shr-publisher-170"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2011/03/11/running-stored-procedures-on-mssql-via-any-language-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scaling down from MS to open source</title>
		<link>http://informationideas.com/news/2011/03/03/scaling-down-from-ms-to-open-source/</link>
		<comments>http://informationideas.com/news/2011/03/03/scaling-down-from-ms-to-open-source/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 00:37:31 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[MSSql]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[our development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=167</guid>
		<description><![CDATA[We just moved a service that was running on the Microsoft stack (Windows Server 2008, .NET, MSSql Server, IIS) to an open source stack (Ubuntu Server, php, Codeigniter framework, apache2, postgres). We now run the service on a cloud server with dual cpu and 256MB ram (Yes, that's megabytes). The old server ran on dual [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>We just moved a service that was running on the Microsoft stack (Windows Server 2008, .NET, MSSql Server, IIS) to an open source stack (Ubuntu Server, php, Codeigniter framework, apache2, postgres). </p>
<p>We now run the service on a cloud server with dual cpu and 256MB ram (Yes, that's megabytes).</p>
<p>The old server ran on dual core with 2GB of ram.</p>
<div class="shr-publisher-167"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2011/03/03/scaling-down-from-ms-to-open-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A four letter word can ruin your day</title>
		<link>http://informationideas.com/news/2011/02/09/a-four-letter-word-can-ruin-your-day/</link>
		<comments>http://informationideas.com/news/2011/02/09/a-four-letter-word-can-ruin-your-day/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 21:48:24 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=159</guid>
		<description><![CDATA[halt + Amazon EC2 + Instance Store = A bad day I did a stupid thing while on vacation. Decided to clone an EC2 server and executed halt from commandline without checking to see if the server was using Instance Store. Whoops, Amazon showed the server as terminating...terminated... ahhhhh. After having to rebuild the server [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>halt + Amazon EC2 + Instance Store = A bad day</p>
<p>I did a stupid thing while on vacation. Decided to clone an EC2 server and executed halt from commandline without checking to see if the server was using Instance Store. Whoops, Amazon showed the server as terminating...terminated... ahhhhh. </p>
<p>After having to rebuild the server while on vacation, I have learned a valuable lesson.</p>
<div class="shr-publisher-159"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2011/02/09/a-four-letter-word-can-ruin-your-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sendmail[2525]: My unqualified host name (servername) unknown</title>
		<link>http://informationideas.com/news/2010/08/05/sendmail2525-my-unqualified-host-name-servername-unknown/</link>
		<comments>http://informationideas.com/news/2010/08/05/sendmail2525-my-unqualified-host-name-servername-unknown/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 22:53:22 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=150</guid>
		<description><![CDATA[If you see these messages in your syslog, your sendmail is not configured correctly with the domain name. If you are sending from a fully qualified domain, add it to the local-host-names file. In Ubuntu, it would be /etc/mail/local-host-names. Make sure it reads something like this. localhost [domain.com] [server name] Now in the /etc/hosts, make [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>If you see these messages in your syslog, your sendmail is not configured correctly with the domain name. If you are sending from a fully qualified domain, add it to the local-host-names file. In Ubuntu, it would be /etc/mail/local-host-names. Make sure it reads something like this.</p>
<p>localhost<br />
[domain.com]<br />
[server name]</p>
<p>Now in the /etc/hosts, make sure it reads the following.</p>
<p>127.0.0.1 [domain.com] [server name] localhost<br />
...</p>
<p>Then</p>
<p>sudo /etc/init.d/sendmail restart</p>
<p>and the error should not continue filling the syslog.</p>
<div class="shr-publisher-150"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2010/08/05/sendmail2525-my-unqualified-host-name-servername-unknown/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Changing Mysql data directory require change to AppArmor</title>
		<link>http://informationideas.com/news/2010/04/15/changing-mysql-data-directory-require-change-to-apparmor/</link>
		<comments>http://informationideas.com/news/2010/04/15/changing-mysql-data-directory-require-change-to-apparmor/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 18:44:43 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/2010/04/15/changing-mysql-data-directory-require-change-to-apparmor/</guid>
		<description><![CDATA[After a bit of googling and hair-pulling, I realized that if I just changed the datadir directive in my.cnf will cause mysql start to fail on Ubuntu. The other thing is to add permissions to apparmor for mysql to access the new data directories. Steps 1. sudo vi /etc/apparmor.d/usr.sbin.mysqld 2. Add /newdir/ r, /newdir/** rwk, [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>After a bit of googling and hair-pulling, I realized that if I just changed the datadir directive in my.cnf will cause mysql start to fail on Ubuntu. The other thing is to add permissions to apparmor for mysql to access the new data directories.</p>
<p>Steps<br />
1. <code>sudo vi /etc/apparmor.d/usr.sbin.mysqld</code><br />
2. Add<br />
/newdir/ r,<br />
/newdir/** rwk,<br />
3. <code>sudo /etc/init.d/apparmor restart</code><br />
4. <code>sudo /etc/init.d/mysql restart</code></p>
<p>If that still does not work, check the nix permissions to be sure mysql is owner and group for the new directory recursively.<br />
<code>chown -R mysql:mysql “new datadir path”</code></p>
<div class="shr-publisher-135"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2010/04/15/changing-mysql-data-directory-require-change-to-apparmor/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 Karmic slow Firefox</title>
		<link>http://informationideas.com/news/2009/12/08/ubuntu-9-10-karmic-slow-firefox/</link>
		<comments>http://informationideas.com/news/2009/12/08/ubuntu-9-10-karmic-slow-firefox/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 18:54:38 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[ubuntu 9.10]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=117</guid>
		<description><![CDATA[There is a bug in the IPv6 lookup in Karmic that is making any application requesting IPv6 while a NAT is not configured to respond to IPv6 respond very slowly. It is still a bug not solved at this time. Buta solution for Firefox is given here as a work around for now.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>There is a bug in the IPv6 lookup in Karmic that is making any application requesting IPv6 while a NAT is not configured to respond to IPv6 respond very slowly. It is still a bug not solved at this time. But<a href="https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/417757/comments/13">a solution for Firefox</a> is given here as a work around for now.</p>
<div class="shr-publisher-117"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/12/08/ubuntu-9-10-karmic-slow-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Server must be reconfigured when there is a kernel upgrade</title>
		<link>http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/</link>
		<comments>http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 16:42:09 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=107</guid>
		<description><![CDATA[If the linux kernel is upgraded, vmware will not load http://localhost:8222.  It requires a reconfigure when this happens.  Do the following. sudo /usr/bin/vmware-config.pl]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>If the linux kernel is upgraded, vmware will not load http://localhost:8222.  It requires a reconfigure when this happens.  Do the following.</p>
<p>sudo /usr/bin/vmware-config.pl</p>
<div class="shr-publisher-107"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forget your mysql root password?</title>
		<link>http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/</link>
		<comments>http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 05:33:59 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=105</guid>
		<description><![CDATA[This following line saved my butt when something happened and my root password was no longer working. sudo dpkg-reconfigure mysql-server-5.0 It will allow you to reset your root password without messing with the data or any other configuration in my.cnf.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>This following line saved my butt when something happened and my root password was no longer working.</p>
<blockquote><p>sudo dpkg-reconfigure mysql-server-5.0</p></blockquote>
<p>It will allow you to reset your root password without messing with the data or any other configuration in my.cnf.</p>
<div class="shr-publisher-105"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

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

