<?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>Pintmaster &#187; linux</title>
	<atom:link href="http://pintmaster.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://pintmaster.com</link>
	<description></description>
	<lastBuildDate>Thu, 04 Feb 2010 16:39:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to compile MSSQL support into PHP in Ubuntu Dapper Drake</title>
		<link>http://pintmaster.com/20060530/how-to-compile-mssql-support-into-php-in-ubuntu-dapper-drake/</link>
		<comments>http://pintmaster.com/20060530/how-to-compile-mssql-support-into-php-in-ubuntu-dapper-drake/#comments</comments>
		<pubDate>Wed, 31 May 2006 03:52:51 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Work-Related]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.pintmaster.com/wordpress/index.php/20060530/how-to-compile-mssql-support-into-php-in-ubuntu-dapper-drake/</guid>
		<description><![CDATA[This information is specific to Ubuntu Dapper Drake, but it may work on other versions of the software. This will allow you to connect to Microsoft's SQL Server 2000 to use Apache and PHP to connect to a MSSQL database.

Install support packages

sudo aptitude install freetds-dev
sudo aptitude install tdsodbc

Modify the Freetds file to access the server: [...]]]></description>
			<content:encoded><![CDATA[<p>This information is specific to Ubuntu Dapper Drake, but it may work on other versions of the software. This will allow you to connect to Microsoft's SQL Server 2000 to use Apache and PHP to connect to a MSSQL database.</p>
<ul>
<li>Install support packages</li>
</ul>
<pre>sudo aptitude install freetds-dev</pre>
<pre>sudo aptitude install tdsodbc</pre>
<ul>
<li>Modify the Freetds file to access the server: sudo nano /etc/freetds/freetds.conf <em>(not sure if this is necessary)</em></li>
</ul>
<pre># Our SQL Server
[FSData]
host = 192.168.x.x
port = 1433
tds version = 8.0</pre>
<ul>
<li>Tell UnixODBC where to find the FreeTDS driver and give it a name:
<ul>
<li>Modify /etc/odbcinst.ini</li>
</ul>
</li>
</ul>
<pre>[FreeTDS]
Description = FreeTDS 0.61-5 Deb
Driver = /usr/lib/odbc/libtdsodbc.so
Setup = /usr/lib/odbc/libtdsS.so
FileUsage = 1
CPTimeout = 5
CPReuse = 5</pre>
<ul>
<li>
<ul>
<li>Modify the odbc.ini file: sudo nano /etc/odbc.ini</li>
</ul>
</li>
</ul>
<pre>[Products]
Description = Products on Our MSSQL Server
Driver = FreeTDS
Servername = FSData
Database = Products</pre>
<ul>
<li>Download dpkg</li>
</ul>
<pre>sudo aptitude install dpkg-dev</pre>
<ul>
<li>Download php-src</li>
</ul>
<pre>sudo aptitude source php5</pre>
<ul>
<li>Go into the new php5 directory</li>
<li>Edit the debian/rules file - add the following to the common config sudo nano debian/rules</li>
</ul>
<pre>--with-mssql</pre>
<ul>
<li>build dependencies</li>
</ul>
<pre>sudo aptitude build-dep php5</pre>
<ul>
<li>build the package</li>
</ul>
<pre>sudo dpkg-buildpackage</pre>
<ul>
<li>install the new PHP w/ MSSQL</li>
</ul>
<pre>sudo dpkg -i php5_5*.deb</pre>
<ul>
<li>copy the new libphp5.so to the correct directory (otherwise it will still use the old one)</li>
</ul>
<pre>sudo cp ~/php5-*/apache2-build/libs/libphp5.so /usr/lib/apache2/modules/libphp5.so</pre>
<ul>
<li>restart Apache</li>
</ul>
<pre>sudo /etc/init.d/apache2 restart</pre>
]]></content:encoded>
			<wfw:commentRss>http://pintmaster.com/20060530/how-to-compile-mssql-support-into-php-in-ubuntu-dapper-drake/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Fedora Core 5 on Dell Poweredge 1850</title>
		<link>http://pintmaster.com/20060418/fedora-core-5-on-dell-poweredge-1850/</link>
		<comments>http://pintmaster.com/20060418/fedora-core-5-on-dell-poweredge-1850/#comments</comments>
		<pubDate>Tue, 18 Apr 2006 18:45:36 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Work-Related]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.pintmaster.com/wordpress/index.php/20060418/fedora-core-5-on-dell-poweredge-1850/</guid>
		<description><![CDATA[I tried installing Fedora Core 5 on a Dell Poweredge 1850 with Perc 4e/si raid at work today. Unfortunately the driver (megaraid) seems to have a bug that causes the system to crash. Im not alone in the problem and it seems others have had the same thing happen.
Im going to give Ubuntu a try [...]]]></description>
			<content:encoded><![CDATA[<p>I tried installing Fedora Core 5 on a Dell Poweredge 1850 with Perc 4e/si raid at work today. Unfortunately the driver (megaraid) seems to have a bug that causes the system to crash. Im not alone in the problem and it seems <a href="http://linux.derkeiler.com/Mailing-Lists/Fedora/2005-01/3072.html">others have had the same thing happen</a>.</p>
<p>Im going to give <a href="http://ubuntu.com">Ubuntu</a> a try to see if I can avoid switching back to Debian. Not that I dont like Debian, but it is just a big pain to get things set up.</p>
<p>Update: I got <a href="http://ubuntu.com">Ubuntu</a> installed and it works like a dream. I expected this since it is built on debian. It is much easier to manage and is better documented. The community is a lot less <a href="http://en.wikipedia.org/wiki/Leet">1337</a> than the Debian community. It makes it a lot easier to get help when linux is not your full time job / life.</p>
]]></content:encoded>
			<wfw:commentRss>http://pintmaster.com/20060418/fedora-core-5-on-dell-poweredge-1850/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
