<?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>23rd World &#187; Apache</title>
	<atom:link href="http://23rdworld.com/category/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://23rdworld.com</link>
	<description>The public notebook of Mahalie Stackpole, Web Developer.</description>
	<lastBuildDate>Fri, 07 Oct 2011 18:43:02 +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>Tips on Install of WordPress on Mac OSX</title>
		<link>http://23rdworld.com/2011/07/29/tips-on-install-of-wordpress-on-mac-osx/</link>
		<comments>http://23rdworld.com/2011/07/29/tips-on-install-of-wordpress-on-mac-osx/#comments</comments>
		<pubDate>Sat, 30 Jul 2011 00:51:50 +0000</pubDate>
		<dc:creator>mahalie</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Content Management]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://23rdworld.com/?p=272</guid>
		<description><![CDATA[Prerequisites / WordPress Dependencies Local Apache web server with PHP &#038; Mysql. If you don&#8217;t already have your local dev environment set up, consider installing MAMP or MAMP Pro. MAMP is a one-click install which will provide you with a clean, isolated stack for local development that has Mysql and PHP pre-configured. Another benefit of [...]]]></description>
			<content:encoded><![CDATA[<h2>Prerequisites / WordPress Dependencies</h2>
<p>Local Apache web server with PHP &#038; Mysql.</p>
<p>If you don&#8217;t already have your local dev environment set up, consider installing <a href="http://www.mamp.info">MAMP or MAMP Pro</a>. MAMP is a one-click install which will provide you with a clean, isolated stack for local development that has Mysql and PHP pre-configured. Another benefit of MAMP is that it is very popular so there are countless tutorials and examples to follow.</p>
<p>If for some reason you don&#8217;t want to use MAMP or you&#8217;ve already configured your local enviro somewhat but you still need PHP and/or MySQL, check out this article: <a href="http://www.thermalexposure.com/2010/09/02/install-and-configure-wordpress-on-mac-os-x-snow-leopard-step-by-step/#comment-59">Install and Configure WordPress on Mac OS X Snow Leopard Step-By-Step</a> by awilliams of Thermal Exposure. It takes you from zero to WordPress using Leopard&#8217;s built-in Apache server, although I do recommend you supplement these instructions with these tips and my other article <a href="http://23rdworld.com/2011/07/29/install-mysql-for-local-dev-on-mac-osx-10-6">Install Mysql for Local Dev on Mac OSX 10.6</a></p>
<h2>Download WordPress</h2>
<p>Download and extract <a href="http://wordpress.org/">the latest WordPress</a> package.</p>
<p>Move it somewhere good like in your /Sites/ folder (most usual place but depends on your config, it can go anywhere you desire so long as your local web server is configured to look there).</p>
<p>I moved mine to <code>/users/me/Sites/wordpress</code> and renamed &#8216;wordpress&#8217; to &#8216;wptest.loc&#8217; resulting in: <code>/users/me/Sites/wptest.loc</code>. You can rename it whatever you want &#8211; probably the name of your project or client&#8217;s site is a good idea.</p>
<p>WordPress needs permission to modify files during installation and runs as user &#8220;_www&#8221; so make sure it can do this.<br />
<code>
<pre>cd /Users/me/Sites/
sudo chown -R _www wptest.loc
sudo chmod -R g+w wptest.loc</pre>
<p></code></p>
<h2>Create a Database</h2>
<p>Now we need a database, a database user and a password. Technically you can use any user or add WordPress tables to an existing database but I like to keep things separate so it&#8217;s easy to port elsewhere or start over without worrying about wrecking other things. I&#8217;m going to create a database called wptest, database user named wptest_user. You can do this using a GUI (phpMyAdmin, etc.) but I guarantee you cannot do that faster than I can type this ;)</p>
<p><code>
<pre>
bash > mysql -u root -p
mysql > create database wptest;
mysql > GRANT ALL ON wptest.* TO wptest_user@localhost IDENTIFIED BY "secretpassword";
mysql > exit</pre>
<p></code></p>
<h2>Configure Site Address</h2>
<p>Remember how I renamed the <code>wordpress</code> folder to <code>wptest.loc</code>? This is because I plan on accessing it in the browser via http://wptest.loc instead of http://127.0.0.1/ or http://localhost.</p>
<p>To do this I use Virtual Hosts in my environment and point the virtual domains to my local IP address in my hosts file. It&#8217;s confusing at first but once you do it a time or two it will be second nature. It&#8217;s important if you&#8217;d like to work on multiple sites on your local environment concurrently and don&#8217;t want to rely on weird subdirectories or other work-arounds that wouldn&#8217;t easily port to a live web server.</p>
<p><a href="http://brassblogs.com/tutorials/setting-up-virtual-hosts-on-mamp">Setting Up Virtual Hosts on MAMP</a> explains how to set this system up. I provide only abbreviated steps below (MAMP not assumed).</p>
<h3>Setting up Virtual Hosts (in short)</h3>
<ul>
<li>In your httpd.conf file there should lines like this:<br />
<code>
<pre># Virtual Hosts
Include /path/to/your/httpd-vhosts.conf</pre>
<p></code></li>
<li>In your httpd-vhosts.conf file there should be a line like this:<br />
<code>
<pre>NameVirtualHost *:80
Include /path/to/your/httpd-vhosts.conf</pre>
<p></code></li>
</ul>
<h3>Create A Virtual Host</h3>
<p>Now, whenever you want to create a new virtual (local only) site:</p>
<ul>
<li>In your httpd-vhosts.conf file add an entry like this:<br />
<code>
<pre>&lt;VirtualHost *>
    ServerName wptest.loc
    DocumentRoot "/Users/me/Sites/wptest.loc"
  &lt;Directory "/Users/me/Sites/wptest.loc">
    Order allow,deny
    Allow from all
    DirectoryIndex index.php index.html
  &lt;/Directory>
&lt;/VirtualHost></pre>
<p></code></li>
<li>In your hosts file (mine is /etc/hosts) add another entry for your local IP:<br />
<code>
<pre>127.0.0.1    wptest.loc</pre>
<p></code></li>
</ul>
<h2>Install WordPress</h2>
<p>Point your browser to http://wptest.loc</p>
<p>If no config file is found you can edit it yourself, <code>wp-config-sample.php</code> as <code>wp-config.php</code> and adding the correct information for the database you created. Try using <code>172.0.0.1</code> as the Dataase Host if <code>localhost</code> doesn&#8217;t work.</p>
]]></content:encoded>
			<wfw:commentRss>http://23rdworld.com/2011/07/29/tips-on-install-of-wordpress-on-mac-osx/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install Mysql for Local Dev on Mac OSX 10.6</title>
		<link>http://23rdworld.com/2011/07/29/install-mysql-for-local-dev-on-mac-osx-10-6/</link>
		<comments>http://23rdworld.com/2011/07/29/install-mysql-for-local-dev-on-mac-osx-10-6/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 23:02:15 +0000</pubDate>
		<dc:creator>mahalie</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://23rdworld.com/?p=274</guid>
		<description><![CDATA[Do not be intimidated, it&#8217;s not that hard. If you don&#8217;t mind reading a little documentation, the hardest thing about installing Mysql (IMO) is figuring out what package to install. If you&#8217;ve previously tried and failed (and done who knows what to your local config) or if you don&#8217;t have a particular reason not to, [...]]]></description>
			<content:encoded><![CDATA[<h2>Do not be intimidated, it&#8217;s not that hard.</h2>
<p>If you don&#8217;t mind reading a little documentation, the hardest thing about installing Mysql (IMO) is figuring out what package to install.</p>
<p class="warning">If you&#8217;ve previously tried and failed (and done who knows what to your local config) or if you don&#8217;t have a particular reason not to, why don&#8217;t you just <a href="http://www.mamp.info">get MAMP and skip all this</a>?</p>
<p class="warning"><strong>USE THIS INFORMATION AT YOUR OWN RISK.</strong> Any information found on this website is offered only as informational and includes no warranty, guarantees or support. The author claims no authority on any subject whatsoever. </p>
<ol>
<li>Go to <a href="http://dev.mysql.com/downloads/mysql/">http://dev.mysql.com/downloads/mysql/</a>
<ul>
<li>This will offer latest version (yes, you want the MySQL Community Server, btw) &#8211; if you have a good reason, you can access a previous version from here as well.</li>
</ul>
</li>
<li><strong>Choose the DMG Archive</strong> for your architecture (32-bit or 64-bit). You&#8217;ll have to log in or (more likely if you&#8217;re reading this article) register with MySQL. It&#8217;s annoying but fast and I&#8217;ve never received spam from them.</li>
<li>After jumping through sign in and mirror download hoops you&#8217;ll have a DMG file, something like <code>mysql-5.x.x-osx10.6-x86.DMG</code> which will contain an similarly named .pkg file. That&#8217;s all you <em>need</em>. But the most important file is the ReadMe.txt &#8211; which is actually useful and contains important steps you need to take. <strong>Open the ReadMe.txt</strong>.</li>
<li><strong>Read the ReadMe.txt file.</strong></li>
</ol>
<p>Ok, before you get mad at me &#8211; a lot of folks don&#8217;t provide useful ReadMe files, which is why I think it&#8217;s worth calling out in this case. Also, I saw so many tutorials on this, and worse, problems in forums where it was clear they didn&#8217;t follow the steps provided. Also, there are docs online that are mostly a repeat of this file &#8211; but it&#8217;s easy to accidentally read instructions for the wrong product version. So, as we OGs say, RTFM.</p>
<p>Following are notes from my specific install experience. It may be useful for you but you&#8217;ll need to verify your own system paths and configuration. Happy databasing!</p>
<ul>
<li>Restarted apache a whole bunch, can&#8217;t remember when or exactly when you need to but if something doesn&#8217;t work, that might help:<br />
<code>
<pre>sudo apachectl -k restart</pre>
<p></code></li>
<li>I installed MySQLStartupItem.pkg &#8211; while regularly using it this makes sense, and it&#8217;s easy to stop auto startup when you&#8217;re done working on a project using mysql. Also the commands to start Mysql are much shorter this way and I&#8217;m lazy.<br />
<code>
<pre>
$ sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
(ENTER YOUR PASSWORD, IF NECESSARY)</pre>
<p></code></li>
<li>Update my PATH environment variable:<br />
<code>
<pre>
//make a back up in case you muck something up
$ sudo cp /etc/paths /etc/paths_BAK
// edit your paths file - see vi reference or using pico, vim, emacs whatever
$ sudo vi /etc/paths
// insert /usr/local/mysql/bin and then save/quit
// test result
$ echo $PATH
// do you see /usr/local/mysql/bin in there somewheres? good!
$ mysql
// is bash prompt replaced with mysql> ? yay!
</pre>
<p></code>
</li>
<li>Create a password for root:<br />
<code>
<pre>$ mysqladmin -u root password aw3^s0mePAs5</pre>
<p></code></li>
</ul>
<p>More good notes (for 5.5, be sure to select correct manual option):</p>
<ul>
<li><a href="http://dev.mysql.com/doc/refman/5.5/en/macosx-installation-notes.html">http://dev.mysql.com/doc/refman/5.5/en/macosx-installation-notes.html</a></li>
<li><a href="http://dev.mysql.com/doc/refman/5.5/en/macosx-installation-startupitem.html">http://dev.mysql.com/doc/refman/5.5/en/macosx-installation-startupitem.html</a></li>
</ul>
<h2>What Next?</h2>
<ul>
<li>Login, create a db, <a href="http://en.wikibooks.org/wiki/MySQL/CheatSheet">do stuff</a>, <a href="http://dev.mysql.com/tech-resources/articles/mysql_intro.html">lern stuff</a>&#8230;<br />
<code>
<pre>$ mysql --help<br />
$ mysql -u root -p<br />
mysql> SHOW DATABASES;<br />
mysql> \h<br />
</code></li>
<li>Install a GUI - I like 'em, it's nice for visualization, although I think you definitely learn more &#038; more better if you stick with CLI or at least the query window.
<ul>
<li><strong><a href="http://www.sequelpro.com/">Sequel Pro</a></strong> - recently turned onto this. LOVE it. <a href="http://www.macgasm.net/2011/01/17/sequel-pro-review/">Good review here</a>.</li>
<li><strong><a href="http://wb.mysql.com/">MySQL Workbench</a></strong> - the official one. Cause you're a company wo/man!</li>
<li><strong><a href="http://www.phpmyadmin.net/home_page/index.php">PHP MyAdmin</a></strong> - cause you an OG! And/or you follow or make a lot of tutorials (most apache web hosts provide this).</li>
<li><strong><a href="http://www.araelium.com/querious/">Querious</a></strong> - cause it's worth a few bucks for a nice user experience.</li>
<li><strong><a href="http://www.navicat.com/">Navicat</a></strong> - cause money is no object! (If that's the case, please get me a copy! Love but cannot justify $$ at this time.)</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://23rdworld.com/2011/07/29/install-mysql-for-local-dev-on-mac-osx-10-6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Connecting to MS SQL via PHP on LAMP</title>
		<link>http://23rdworld.com/2011/03/18/ms-sql-php-lamp/</link>
		<comments>http://23rdworld.com/2011/03/18/ms-sql-php-lamp/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 21:22:07 +0000</pubDate>
		<dc:creator>mahalie</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://23rdworld.com/?p=262</guid>
		<description><![CDATA[After almost two full weeks of blood, sweat &#038; tears I was finally able to successfully retrieve and display data from a remote MS SQL server from a LAMP via PHP. Tutorial to follow. But in the meantime &#8211; SELF HIGH FIVE, yes! p.s. credit goes to @thesethings for pointing me to that awesome animated [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://23rdworld.com/2011/03/18/ms-sql-php-lamp/"><img src="http://23rdworld.com/wp-content/uploads/2011/03/tinyfeyfive.gif" alt="Animated gif of Tina Fey giving herself a high-five" title="tinyfeyfive" width="262" height="200" class="alignright size-full wp-image-263" /></a>After almost two full weeks of blood, sweat &#038; tears I was finally able to successfully retrieve and display data from a remote MS SQL server from a LAMP via PHP. Tutorial to follow. But in the meantime &#8211; SELF HIGH FIVE, yes!</p>
<p><small>p.s. credit goes to <a href="http://twitter.com/thesethings">@thesethings</a> for pointing me to that awesome animated GIF!</small></p>
]]></content:encoded>
			<wfw:commentRss>http://23rdworld.com/2011/03/18/ms-sql-php-lamp/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Drupal 5.x on Ubuntu LAMP</title>
		<link>http://23rdworld.com/2008/04/09/drupal-5x-on-ubuntu-lamp/</link>
		<comments>http://23rdworld.com/2008/04/09/drupal-5x-on-ubuntu-lamp/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 23:50:06 +0000</pubDate>
		<dc:creator>mahalie</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Content Management]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[instructions]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://23rdworld.com/?p=124</guid>
		<description><![CDATA[USE THIS INFORMATION AT YOUR OWN RISK. Any information found on this website is offered only as informational and includes no warranty, guarantees or support. The author claims no authority on any subject whatsoever. Why Drupal, Why Ubuntu? For me it's all about community. I've always enjoyed apache web development in part because of the [...]]]></description>
			<content:encoded><![CDATA[<a href='http://23rdworld.com/wp-content/uploads/2008/04/drupal_ubuntu.jpg'><img src="http://23rdworld.com/wp-content/uploads/2008/04/drupal_ubuntu.jpg" alt="The quick and dirty dev install of Drupal on Ubuntu" title="Drupal 5.x on Ubuntu LAMP" width="500" height="128" class="aligncenter size-full wp-image-126" /></a>
<p class="warning"><strong>USE THIS INFORMATION AT YOUR OWN RISK.</strong> Any information found on this website is offered only as informational and includes no warranty, guarantees or support. The author claims no authority on any subject whatsoever. </p>
<h2>Why Drupal, Why Ubuntu?</h2>
For me it's all about community. I've always enjoyed apache web development in part because of the active and helpful user groups, forums, irc channels, etc. I use <a href="http://www.ubuntu.com/products/whatisubuntu/serveredition" title="learn more about Ubuntu server edition">Ubuntu</a> as the operating system for my<a href="http://en.wikipedia.org/wiki/LAMP_(software_bundle)" title="about the Linux Apache MySQL PHP web server stack"> LAMP</a> because it's really popular right now - it has a very active forum and pretty good documentation. <a href="http://drupal.org/">Drupal</a> is an open-source content management system, or you could look at it as a framework since it was built to make it easy for coders to override almost anything it does without hacking the core. This means you could make it do anything you want if you happen to be good enough at PHP and still take advantage of core development and security updates no matter how much you modify the product.
<h2>Why write installation instructions?</h2>
Good question? Well, the <a href="http://drupal.org/getting-started/5/install/download">installation instructions at Drupal.org</a> are good but they cover all sorts of environments (who wants to slog through all that?) and those in the  <a href="https://help.ubuntu.com/community/Drupal">Ubuntu Community Docs</a> are great and pretty specific but cover Drupal 4.6.7 and 5.1. I probably should update the docs at Ubuntu, perhaps I will after I hash it out here and after a few people let me know they worked or what to change. Also, I like to search for instructions specific to my situation whenever I approach a new installation. It's good to see what other people in similar circumstances have encountered, I call it due diligence. I would suggest any user doing this install review the documentation mentioned above thoroughly. Also see related links at the end of this article.
<h2>Environment</h2>
These instructions don't cover the setup of your server environment. Mine happens to be:
<ul>
	<li>Ubuntu 6.06 LTS server</li>
	<li>Apache 2.0.5.5</li>
	<li>PHP 5.1.2</li>
	<li>MySQL 5.0.22</li>
</ul>
<h2>Get Drupal</h2>
<code>wget http://ftp.drupal.org/files/projects/drupal-5.7.tar.gz<br />
tar -zxvf drupal-5.7.tar.gz
</code>
<p>I'm a big fan of apt-get but there were a lot of issues in the forum started by people having problems with Drupal in the repositories. <a href="https://help.ubuntu.com/community/Drupal">Community Docs</a> recommend getting the latest package from <a href="http://drupal.org/">Drupal.org</a>, right now that happens to be Drupal <a href="http://drupal.org/drupal-5.7">5.7</a>. (Drupal 6 is out now as well, and is very cool, but CCK/Views aren't ready for prime-time and I'm installing for the purposes of following tutorials written for 5.x.)</p>
<h2>Move Drupal</h2>
<code>sudo mkdir /var/www/drupaltest<br />
sudo mv drupal-5.3/* drupal-5.3/.htaccess /var/www/drupaltest<br />
sudo mkdir /var/www/drupaltest/files
</code>
<p>My apache install is pretty much setup to default config. /var/www is my web root, yours may vary. Because I'm just using this particular install as a test which I plan on destroying later I'm going to put it in the boring old subdirectory 'drupaltest', actually I named mine d57_test_01 but thought drupaltest would be more comprehendable in the example.</p>
<p>In the mv command we explicitly move .htaccess because it's a hidden file.</p>
<h2>Database Setup</h2>
<code>mysqladmin -u root -p create db_drupaltest<br />
mysql -u root -p
</code>
<p>Create the database for Drupal to use - you can replace 'db_drupaltest' with whatever you'd like to call the database. You'll need to enter your mySQL root password. If you get an access denied error make sure you're using the mySQL root password and not your login or Ubuntu root password. The second command puts you in mySQL monitor, the command line interface for <a href="http://dev.mysql.com/tech-resources/articles/mysql_intro.html">managing your MySQL server</a>. The commands in the next code section are SQL. You could also run this in phpMyAdmin if you'd rather have a GUI.</p>
<code>
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON db_drupaltest.* TO 'drupal_usr'@'localhost' IDENTIFIED BY 'secretpassword';
<br />
FLUSH PRIVILEGES;
\q
</code>
<p>Change the datebase name, the username 'drupal_usr' and 'secretpassword' to whatever you like. Just don't forget to write it down somewhere safe because you'll need to know it later.</p>
<h2>Edit Settings.php</h2>
<code>
sudo vi /var/www/drupaltest/sites/default/settings.php
</code>
<p>Using vi (or whatevs) change the $db_url line. Note: If you use a fancy charcters or dashes in your user, password or database names replace them URI hex encodings, this is detailed in database settings comments section in the settings.php file.</p>
<code>$db_url="mysql://drupal_usr:secretpassword@localhost/db_drupaltest";</code>
<h2>Up Your PHP Memory Allocation</h2>
<p>If you have a new LAMP install the default memory setting for scripts is 8M. This is redonkulous and Drupal will suck. Look for the 'Resource Limits' section and change memory_limit to 32M and then restart apache.</p>
<code>sudo vi /etc/php5/apache2/php.ini
sudo /etc/init.d/apache2 restart
</code>
<h2>Final Steps</h2>
<p>Go to http://localhost/drupaltest/install.php (or your servername instead of localhost if DNS is setup). You should see this:</p>

<a href='http://23rdworld.com/wp-content/uploads/2008/04/drupal57_coplete.jpg'><img src="http://23rdworld.com/wp-content/uploads/2008/04/drupal57_coplete.jpg" alt="Screenshot of Drupal Installation Message" title="drupal57_complete" width="500" height="321" class="aligncenter size-full wp-image-125" /></a>
<p>One last thing, if you click Administer you will probably get a 'one or more problems were detected' error message. Two things: your files directory isn't writable and you cron job hasn't run. The first one is easy - just make the files area writable by all:</p>
<code>sudo chmod 777 /var/www/drupaltest/files</code>
<p>As for cron, you can just click 'run cron manually' on the Status report page - but you'll need to do this anytime you want to update the index. For a quick dev install you're likely to trash soon it may not be necessary but for a production or long-term dev install you'll want to set up a cron job to hit http://localhost/drupaltest/admin/logs/status/run-cron every few minutes depending upon your site's traffic and requirements. See <a href="http://drupal.org/cron">Configuring cron jobs</a> in Drupal's Getting Started guide for more.</p>
<p>That's it. Good luck folks, now enjoy surfing the Drupal learning curve...heheh.</p>
<h2>Related Links</h2>
<ul>
	<li><a href="https://help.ubuntu.com/community/Drupal">Ubuntu Documentation &gt; Drupal</a></li>
	<li><a href="http://groups.drupal.org/drubuntu">Drubuntu Group</a> - "for people using Ubuntu for developing Drupal core or contributed modules, and also for people using the Ubuntu LAMP stack as a server for Drupal."<ul><li><a href="http://groups.drupal.org/node/6261?">Drubuntu Howto</a> a Wiki Page that explains how to install and configure an Ubuntu/LAMP/Eclipse Drupal development environment.</li>
	<li><a href="http://groups.drupal.org/node/6260?">Drupal Dev on VMWare</a> - including Eclipse setup.</li>
</ul></li>
	<li><a href="http://www.lullabot.com/videocast/install-local-web-server-ubuntu">Install a Local Web Server on Ubuntu</a> (11/2007) - screencast using Ubuntu desktop version, covers Drupal install.</li>
	<li><a href="http://drupal.org/node/483">Installing PHP, MySQL and Apache under Linux</a><a href="http://drupal.org/node/483"></a> on Drupal.org (Developing for Drupal » Setting up a development environment » Local server setup » Linux specific ) - covers enabling mod_rewrite which you'll need for clean URLs.</li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://23rdworld.com/2008/04/09/drupal-5x-on-ubuntu-lamp/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Kill is Your Friend</title>
		<link>http://23rdworld.com/2008/01/17/kill-is-your-friend/</link>
		<comments>http://23rdworld.com/2008/01/17/kill-is-your-friend/#comments</comments>
		<pubDate>Fri, 18 Jan 2008 03:32:43 +0000</pubDate>
		<dc:creator>mahalie</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Bad Behavior]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[evil]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[httpd.conf]]></category>
		<category><![CDATA[kill]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[penguins]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[sites-enabled]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://23rdworld.com/2008/01/17/kill-is-your-friend/</guid>
		<description><![CDATA[Ah, slowly I am earning my beans in Ubuntu land. Tonight I had my first legitimate need to use kill and even found out what a PID number was and EVEN read my LOG FILES!! Wow. If you&#8217;re just learning Apache admin stuff and just can&#8217;t reload or restart your web server, head on over [...]]]></description>
			<content:encoded><![CDATA[<p>Ah, slowly I am <a href="http://ubuntuforums.org/showthread.php?p=4157550#post4157550">earning my beans in Ubuntu land</a>. Tonight I had my first legitimate need to use kill and even found out what a PID number was and EVEN read my LOG FILES!! Wow. If you&#8217;re just learning Apache admin stuff and just can&#8217;t reload or restart your web server, head on over to /var/log/apache2 and check out your error.log file. You prolly shouldn&#8217;t randomly kill .pids but if you&#8217;re getting a repeated httpd error like mine: &#8220;httpd (pid 5347?) not started&#8221; it could be that the server was manually shut down (oops, old Windows debugging tactic) and the process just needs to be murdered.</p>
<p><code>kill 5347</code></p>
<p>Worked like a charm. Another hint for you fellow newbs&#8230;maybe reading an Apache admin book would actually SAVE you time, eh? All I needed to do to enable my dern rewrite was to change AllowOverride None to AllowOverride all in my sites-enabled config. Hmmm&#8230;.I bet a quick doc on configuring sites in Apache2 would have saved me all that. But then I wouldn&#8217;t have ever found out <a href="http://www.terminally-incoherent.com/blog/2007/10/05/how-to-kill-stuff-on-linux/">how to kill stuff on linux</a>&#8230;so then again, maybe it was all worth it.
</p>
<p><a href="http://www.flickr.com/photos/pureevilbunny/1102170080/"><img src="http://farm2.static.flickr.com/1424/1102170080_60595cd77e.jpg" title="psycho penguins" /></a><br />
<br /><small>Awesome drawing by <a href="http://www.flickr.com/photos/pureevilbunny/">pure evil bunny</a> on Flickr.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://23rdworld.com/2008/01/17/kill-is-your-friend/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

