<?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>DJS Consulting Tech Blog &#187; Web Servers</title>
	<atom:link href="http://djs-consulting.com/linux/blog/category/web-servers/feed" rel="self" type="application/rss+xml" />
	<link>http://djs-consulting.com/linux/blog</link>
	<description>Technical Information You Can Use (or not - but hey, at least it&#039;s free!)</description>
	<lastBuildDate>Tue, 02 Mar 2010 19:11:29 +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>Apache and MySQL Are Back</title>
		<link>http://djs-consulting.com/linux/blog/2004/apache-and-mysql-are-back</link>
		<comments>http://djs-consulting.com/linux/blog/2004/apache-and-mysql-are-back#comments</comments>
		<pubDate>Wed, 08 Sep 2004 06:00:55 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Internet Apps]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.djs-consulting.com/linux/blog/2004/apache-and-mysql-are-back</guid>
		<description><![CDATA[I was finally able to resolve my problems with Apache and MySQL.  When I decided to mount my FAT32 drive under /home/summersd, I inadvertently caused myself some problems.  From talking to a Linux guy at work, I found that no processes that weren&#8217;t running under my user ID could access those files.  [...]]]></description>
			<content:encoded><![CDATA[<p>I was finally able to resolve my problems with Apache and MySQL.  When I decided to mount my FAT32 drive under /home/summersd, I inadvertently caused myself some problems.  From talking to a Linux guy at work, I found that no processes that weren&#8217;t running under my user ID could access those files.  The reason is that Linux looks up the entire diretory tree, back to /, to determine if you can access the file.  So, although I had &#8220;-rwxrwxrwx summersd summersd&#8221; on every file, /home/summersd was &#8220;drwx&#8212;&#8212; summersd summersd&#8221;, and /home was &#8220;drwxr-xr-x&#8221;.  The permissions on /home/summersd was keeping Apache from seeing /home/summersd/drive_d/wwwroot, and MySQL from seeing or writing to /home/summersd/drive_d/mysql/data.  I moved the drive to /mnt/drive_d, with the mount point being owned by &#8220;root&#8221;, still mounting the drive with my user name, and everything worked.</p>
<p>In the process of reconfiguring Thunderbird, I believe I may have found out how to share the address book across operating systems.  The file ~/.thunderbird/default.[something]/prefs.js has a listing of all the preferences and settings.  I modified this file to change the location of my mail files, and there is a setting there for an address book (which isn&#8217;t shown in the configuration dialog &#8211; after all, it is 0.7.3&#8230;)  I&#8217;ll play with that later &#8211; right now I&#8217;m just elated to have Apache and MySQL working again.</p>
]]></content:encoded>
			<wfw:commentRss>http://djs-consulting.com/linux/blog/2004/apache-and-mysql-are-back/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Success with Wine &amp; Diagnostics</title>
		<link>http://djs-consulting.com/linux/blog/2004/success-with-wine-diagnostics</link>
		<comments>http://djs-consulting.com/linux/blog/2004/success-with-wine-diagnostics#comments</comments>
		<pubDate>Sun, 05 Sep 2004 06:00:57 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Wine]]></category>
		<category><![CDATA[Wireless Support]]></category>

		<guid isPermaLink="false">http://www.djs-consulting.com/linux/blog/2004/success-with-wine-diagnostics</guid>
		<description><![CDATA[At work, we use an editor called Visual SlickEdit (VSlick).  It&#8217;s got a lot of features, and supports color-coding for many different languages.  I decided that I&#8217;d give wine another shot, as we only have the Windows version of this program.  I installed wine and winesetuptk, used winesetuptk to configure the installation, [...]]]></description>
			<content:encoded><![CDATA[<p>At work, we use an editor called <a href="http://www.slickedit.com/">Visual SlickEdit</a> (VSlick).  It&#8217;s got a lot of features, and supports color-coding for many different languages.  I decided that I&#8217;d give wine another shot, as we only have the Windows version of this program.  I installed wine and winesetuptk, used winesetuptk to configure the installation, then ran the installation program.  Everything installed, and the program ran up to a point, when it started complaining about a missing DLL.  I booted to WXP, found the DLL, copied it to the FAT32 drive, rebooted to Linux, and copied the DLL into the &#8220;fake windows&#8221; system directory.  Soon, it was working great!  I can&#8217;t believe it &#8211; success with wine!</p>
<p>I also have made little headway towards getting Apache and MySQL to working.  I changed the process that Apache uses to run as &#8220;summersd&#8221;, and I was able to see pages (although any pages that relied on a database didn&#8217;t work).  I still haven&#8217;t figured this one out yet&#8230;</p>
<p>I&#8217;m still getting kernel panics from time to time, and it seems to be whenever I access networking.  A suggestion from one of the folks on the WBEL users list was to download the <a href="http://www.ultimatebootcd.com/">Ultimate Boot CD</a>, filled with diagnostic programs.  I downloaded it, burned it, and ran some memory checks.  Those checked out, so I&#8217;m going to run a &#8220;CPU Burn-In&#8221; program to see if it can detect errors from the CPU.  It runs for up to 7 days, but I think I&#8217;ll just run it overnight &#8211;            folding@home didn&#8217;t take nearly that long to crash it before.</p>
]]></content:encoded>
			<wfw:commentRss>http://djs-consulting.com/linux/blog/2004/success-with-wine-diagnostics/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Month in Summary</title>
		<link>http://djs-consulting.com/linux/blog/2004/a-month-in-summary</link>
		<comments>http://djs-consulting.com/linux/blog/2004/a-month-in-summary#comments</comments>
		<pubDate>Tue, 31 Aug 2004 06:00:44 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Audio / Video]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Internet Apps]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Red Hat / Fedora]]></category>
		<category><![CDATA[White Box]]></category>
		<category><![CDATA[Wireless Support]]></category>

		<guid isPermaLink="false">http://www.djs-consulting.com/linux/blog/2004/a-month-in-summary</guid>
		<description><![CDATA[Well, the last month has been interesting.  I was able to get my Windows and Linux installations synchronized by creating a mount point for my second drive under /mnt/drive_d .  Under that, I created a directory called /thunderbird for my e-mail, and moved my e-mail and newsgroup folders over there.  (The first [...]]]></description>
			<content:encoded><![CDATA[<p>Well, the last month has been interesting.  I was able to get my Windows and Linux installations synchronized by creating a mount point for my second drive under /mnt/drive_d .  Under that, I created a directory called /thunderbird for my e-mail, and moved my e-mail and newsgroup folders over there.  (The first time, I missed the &#8220;newsrc&#8221; file, which is important &#8211; it tells what newsgroups you&#8217;ve subscribed to and which messages you&#8217;ve read.)  Under Windows, I pointed it to &#8220;D:\thunderbird\pop3.knology.net&#8221;, and under Linux, it was configured to &#8220;/mnt/drive_d/thunderbird/pop3.knology.net&#8221;.  I then moved the &#8220;wwwroot&#8221; directory from &#8220;C:\Inetpub&#8221; to drive D:, and pointed IIS to the new location.  Under Linux, I did something a little different.  As &#8220;root&#8221;, I deleted the directory /var/www/html, and instead created /var/www/html as a symbolic link to /mnt/drive_d/wwwroot (the actual command is &#8220;ln -s /mnt/drive_d/wwwroot /var/www/html&#8221;).  That worked great as well.</p>
<p>MySQL was more complicated, but I was eventually able to get it working as well.  I created the directory             &#8220;D:\mysql\data&#8221; for the data, then configured /etc/my.cnf under Linux to look at &#8220;/mnt/drive_d/mysql/data&#8221;.  I kept             getting &#8220;Could not connect to server using socket /var/lib/mysql/mysql.sock&#8221;.  After some digging, it appeared to be a permissions problem.  All the documentation said that the default socket was /tmp/mysql.sock, so I changed my.cnf to point there instead, restarted mysqld, and it worked!  So, I have no idea what a Unix socket it, but I know that now I have one!  <img src='http://djs-consulting.com/linux/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I was also able to get DVDs playing using xine, compiling it myself, and using <a href="http://developers.videolan.org/libdvdcss/">libdvdcss</a>, I can even watch commercial DVDs.  I&#8217;m really impressed with xine &#8211; it handles all kinds of media out of the box, including DivX and up to version 8 of WMV files.  You can add codecs to it as well, to support almost anything you want to do from an audio or video perspective.  Compiling the player took around 20 minutes, and compiling the front end took another 5.  And, it was simple &#8211; download the .tar.gz file, do &#8220;tar xvfz [name].tar.gz&#8221;, &#8220;cd [name]&#8220;, &#8220;./configure&#8221;, &#8220;make install&#8221;.  The &#8220;./configure&#8221; script is the key in the whole process &#8211; it looks at what you have installed, and creates make files that will work with your compiler.</p>
<p>Everything started going south, though, when I started having freezes.  Eventually, I got to where I could not boot without a kernel panic, and then boot errors (which I detailed in <a href="http://beau.org/pipermail/whitebox-users/2004-August/003197.html">this e-mail to the WBEL user&#8217;s list</a>.  Encouraged by my success over the past month, I decided to return to WBEL &#8211; it&#8217;s supposed to be more stable than FC2, and I bet that I can get ndiswrapper, the dual-booting web server, the common e-mail, and maybe even some other stuff working again.</p>
]]></content:encoded>
			<wfw:commentRss>http://djs-consulting.com/linux/blog/2004/a-month-in-summary/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wow</title>
		<link>http://djs-consulting.com/linux/blog/2004/wow</link>
		<comments>http://djs-consulting.com/linux/blog/2004/wow#comments</comments>
		<pubDate>Sun, 01 Aug 2004 06:00:02 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Internet Apps]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Red Hat / Fedora]]></category>
		<category><![CDATA[Wireless Support]]></category>

		<guid isPermaLink="false">http://www.djs-consulting.com/linux/blog/2007/wow</guid>
		<description><![CDATA[Today I installed Fedora Core 2.  This thing is slick!  WBEL looked a lot like RH8, which I had seen before my renewed Linux learning began.  FC2 has a graphical loader that hides a lot of the background stuff (unless an error occurs) &#8211; that&#8217;s cool.  During the install, I skipped [...]]]></description>
			<content:encoded><![CDATA[<p>Today I installed Fedora Core 2.  This thing is slick!  WBEL looked a lot like RH8, which I had seen before my renewed Linux learning began.  FC2 has a graphical loader that hides a lot of the background stuff (unless an error occurs) &#8211; that&#8217;s cool.  During the install, I skipped OpenOffice.org and MySQL, although I installed PHP with MySQL support.  The reason for that is that I wanted to get the latest and greatest versions of those two products.  We&#8217;ll see if this proves to be a good decision or not.</p>
<p>The wireless network card still wasn&#8217;t recognized (phooey).  I did some more searching, armed with the knowledge that I have an adm8211 chipset.  One of the first hits under Google&#8217;s Linux search for &#8220;adm8211&#8243; pointed me to a project called <a href="http://ndiswrapper.sourceforge.net/">NDISwrapper</a>.  This is a &#8220;wrapper&#8221; that uses the vendor&#8217;s Windows DLL file, and converts the hooks from Windows to Linux.  Doing this, this driver can (in theory) support most any network card, especially those that aren&#8217;t in the Linux Hardware Compatibility List (HCL).  I downloaded it, compiled it, and followed the directions to install my driver under it.  I still wasn&#8217;t able to create a connection, but on a hunch, I restarted the computer.  NDISwrapper is also a kernel module, and I know that often those are only read at startup.  Once the computer was restarted, I was able to create a connection, and now my network card works!  YEA!!!  (And it was only one night&#8217;s worth of work &#8211; much better.)</p>
<p>Now that I have networking working under both operating systems, I plan to try to get four things working the same, whether I&#8217;m booted to WXP or Linux &#8211; E-mail (using Mozilla Thunderbird), PHP (using Apache on Linux, IIS on WXP), MySQL (using the exact same version on both), and a web server that uses the same html root directory (again, Apache on Linux, IIS on WXP).  If I didn&#8217;t already have IIS up, running, and configured under WXP, I&#8217;d probably just do Apache on both, but this will be interesting &#8211; it should work, as I don&#8217;t have many creative permission rules.</p>
]]></content:encoded>
			<wfw:commentRss>http://djs-consulting.com/linux/blog/2004/wow/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
