<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>LinuxQuestions.org - Blogs - jjthomas</title>
		<link>http://www.linuxquestions.org/questions/blog.php?u=90086</link>
		<description>LinuxQuestions.org offers a free Linux forum where Linux newbies can ask questions and Linux experts can offer advice. Topics include security, installation, networking and much more.</description>
		<language>en</language>
		<lastBuildDate>Tue, 24 Nov 2009 14:28:18 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://e1h7.simplecdn.net/lqcdn/images/questions/images/misc/rss.jpg</url>
			<title>LinuxQuestions.org - Blogs - jjthomas</title>
			<link>http://www.linuxquestions.org/questions/blog.php?u=90086</link>
		</image>
		<item>
			<title>Part 2, php and setting up Apache2</title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=1431</link>
			<pubDate>Tue, 16 Dec 2008 14:35:00 GMT</pubDate>
			<description><![CDATA[Create test.php: 
 
Code: 
--------- 
<?php 
phpinfo(); 
?> 
--------- 
Test with localhost/test.php.]]></description>
			<content:encoded><![CDATA[<div>Create test.php:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 66px;
		text-align: left;
		overflow: auto">&lt;?php
phpinfo();
?&gt;</pre>
</div>Test with localhost/test.php.<br />
<br />
Does not work.  At this point I simply edit my /etc/httpd/httpd.conf file, after backing it up, of course.<br />
<br />
My first item is to clean out all the comments.  Since most of the work I do  now is by an ssh shell (too many computers, not enough monitors) I can have one session open for editing and another session open for reading the comments, looking at man pages, etc.  I also have a browser open pointing to my slackware box at <a href="http://192.168.0.2/manual" target="_blank">http://192.168.0.2/manual</a>.<br />
<br />
The cause of the above error code can be found in the httpd.conf file, notibly:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 66px;
		text-align: left;
		overflow: auto"># Uncomment the following line to enable PHP:
#
#Include /etc/httpd/mod_php.conf</pre>
</div>Removing the # from the above Include line, *AND* /etc/rc.d/rc.httpd restart gets me my phpinfo.<br />
<br />
<br />
========================================<br />
At this point I decided to bump back to<br />
slackware 12.1.  Their are somethings I<br />
want to do with Gnome SlackBuild.  Once<br />
GSB is out I will most likely revisit<br />
Slackware 12.2</div>

]]></content:encoded>
			<dc:creator>jjthomas</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=1431</guid>
		</item>
		<item>
			<title>My Slackware 12.2 installation</title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=1428</link>
			<pubDate>Mon, 15 Dec 2008 16:18:17 GMT</pubDate>
			<description><![CDATA[Computer Hardware: 
P-III 866Mhz with 512MB of RAM 
nVidia GeForce2 GTS/Pro with 64 MB RAM 
2 3com 3c905B 100BaseTX NIC's 
1 LINKSYS WMP55AG A+G Wifi...]]></description>
			<content:encoded><![CDATA[<div>Computer Hardware:<br />
P-III 866Mhz with 512MB of RAM<br />
nVidia GeForce2 GTS/Pro with 64 MB RAM<br />
2 3com 3c905B 100BaseTX NIC's<br />
1 LINKSYS WMP55AG A+G Wifi card <br />
SB PCI 128<br />
<br />
HDA = 28 GB Maxtor<br />
HDB = 28 GB Maxtor<br />
HDC = DVD RW drive<br />
SDA = 9 GB Cheeta<br />
4GB Tape Backup (SCSI)<br />
SCSI Ricoh CD-RW<br />
1.44MB 3.5 floppy<br />
1.2MB 5.25 floppy.<br />
Power is supplied by an Enermax 300 watt Power Supply.<br />
<br />
The first step is to install Slackware 12.2, of course.  Since this will be a dedicated machine, all the drives are used for Slackware.<br />
The drive layout is:<br />
/dev/sda1 ext2     /boot  100MB<br />
/dev/sda2 jfs      /       8GB<br />
/dev/hda1 swap             540MB<br />
/dev/hda2 ext2     /tmp    2GB<br />
/dev/hda3 jfs      /home   4GB<br />
/dev/hda4 jfs      /Storage1 20GB<br />
/dev/hdb1 swap<br />
/dev/hdb2 jfs      /var     6GB<br />
/dev/hdb3 jfs      /Storage2 20GB<br />
<br />
After laying out the disks I do a full install with everything except KDEI.<br />
<br />
With the mixed drives (SCSI and ATA) I have to manually set up LILO, using the expert option.  (The default installation goes to /dev/hda, hence the expert installation) I install my LILO on the boot record of the SCSI drive, since that is my boot drive.  <br />
<br />
I use a static IP address, and set up the gpm mouse<br />
<br />
I disable rc.fuse,everything is Linux so I don't need it.  I don't have any PCMIA cards, so I disable that as well.  I do enable rc.ntpd.<br />
<br />
My hardware clock is set to UTC, so I configure the clock accordingly along with the appropriate time zone.<br />
<br />
I run the kde desktop, select it;  root password and reboot.  I sorta watch the screen during the bootup for any errors.<br />
<br />
At this point I will ssh into the Slack computer.<br />
<br />
First I set my ntp.conf file for appropriate permission and to my local pool.  Then I restart the ntp daemon.<br />
<br />
For the end of today's work, I get, compile and install apcupsd.  Then I configure apcupsd.conf, set rc.local to start the apcups daemon.  Run rc.local. Check my logs and make sure there are no errors.<br />
<br />
And that concludes today's installment of Slackware 12.2.  More to follow.<br />
<br />
-JJ</div>

]]></content:encoded>
			<dc:creator>jjthomas</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=1428</guid>
		</item>
	</channel>
</rss>
