<?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; Drupal</title>
	<atom:link href="http://23rdworld.com/category/content-management/drupal-content-management/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>1-Click Install of Open Atrium on Dreamhost</title>
		<link>http://23rdworld.com/2011/01/07/1-click-install-of-open-atrium-on-dreamhost/</link>
		<comments>http://23rdworld.com/2011/01/07/1-click-install-of-open-atrium-on-dreamhost/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 20:34:42 +0000</pubDate>
		<dc:creator>mahalie</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Apps]]></category>

		<guid isPermaLink="false">http://23rdworld.com/?p=250</guid>
		<description><![CDATA[Summary: If it was just one click I probably wouldn&#8217;t be writing about it ;) This is really for the ADD peeps and newbs out there, there&#8217;s nothing too challenging about this install. Here&#8217;s a quick guide to starting an Open Atrium (Drupal-based &#8220;intranet in a box&#8221;) site if you happen to be a lucky [...]]]></description>
			<content:encoded><![CDATA[<p class="warning">Summary: If it was just one click I probably wouldn&#8217;t be writing about it ;) This is really for the ADD peeps and newbs out there, there&#8217;s nothing too challenging about this install.</p>
<p>Here&#8217;s a quick guide to starting an <a href="http://openatrium.com/">Open Atrium</a> (Drupal-based &#8220;intranet in a box&#8221;) site if you happen to be a lucky <a href="http://www.dreamhost.com/r.cgi?14030">Dreamhost</a> customer. Dreamhost just added this feature today and it is pretty slick, but there&#8217;s still a couple bits of manual configuration.</p>
<p>Here&#8217;s what you&#8217;ll get:<br />
<img src="http://23rdworld.com/wp-content/uploads/2011/01/openatrium-dash.jpg" alt="screenshot of the dashboard of a fresh Open Atrium installation" title="openatrium-dash" width="500" height="321" class="aligncenter size-full wp-image-252" /></p>
<h2>How to Install Open Atrium on Dreamhost</h2>
<ol>
<li><strong>DH Panel:</strong> Go to Domains > Manage > <em>Add New Domain / Subdomain</em>, and create a spot to put your Open Atrium install. For example: oa.23rdworld.com. You can make your subdomain anything you want.</li>
<li><strong>DH Panel:</strong> Goodies > One-Click Installs > <em>OpenAtrium</em>. Select your new subdomain and leave option set to &#8216;Automatically create database&#8217;.</li>
<li>You will receive an automated email from Dreamhost that will include an link to your new site and information about your database that you will need later. Save this info!</li>
<li><strong>Set file permissions.</strong> Access your server files (FTP or shell, etc) to your new site. Just as the actually quite helpful error message says:
<p><code># Copy the ./sites/default/default.settings.php file to ./sites/default/settings.php.<br />
# Change file permissions so that it is writable by the web server. If you are unsure how to grant file permissions, please consult the on-line handbook</code></p>
<p>For you newbs, an easy way to do this is to use an FTP client (like <a href="http://filezilla-project.org/download.php">Filezilla</a>) to access your new site.</p>
<ul>
<li>Download /sites/default/default.settings.php</li>
<li>Rename default.settings.php settings.php </li>
<li>Upload settings.php to /sites/default/</li>
<li>Right-click settings.php and select file permissions (in Filezilla, will be similar in other FTP clients) and set it to 744 (server/owner can read-write)</li>
</ul>
</li>
<li>Go to your new site, for example: oa.23rdworld.com, this is where the prompts begin. Follow them.</li>
<li><a href="http://23rdworld.com/wp-content/uploads/2011/01/intall-error.jpg"><img src="http://23rdworld.com/wp-content/uploads/2011/01/intall-error-150x150.jpg" alt="Open Atrium installation settings.php file permission error" title="install-error" width="150" height="150" class="alignright size-thumbnail wp-image-253" /></a>You will get an error message (at right) if you skipped the &#8216;Set file permissions&#8217; step (above). That&#8217;s ok, you can just go back and do that now and then click &#8216;Try again&#8217;.
</li>
<li>Database settings: Fill in the database settings based on the email mentioned earlier. Make sure to <strong>open the &#8216;Advanced options&#8217; menu group and enter the hostname</strong> (also provided in the email).</li>
<li>The rest of the configuration settings should be pretty obvious.</li>
</ol>
<p>Hope this was useful for someone, I&#8217;m curious to see/hear what folks are using their Open Atrium installs for. Obviously not an intranet&#8230;unless you made it private&#8230;there&#8217;s loads of ways to do that (if there&#8217;s interest I&#8217;ll expand). I&#8217;m using mine to organize house projects with my roommate and husband. <strong>What are you using Open Atrium for?</strong></p>
<p>P.s. If anyone is looking to get a new Dreamhost account I have a $100 off invitation if you&#8217;re ready to commit to two years and there&#8217;s plenty of referral codes out there too, so find one before you sign up!</p>
]]></content:encoded>
			<wfw:commentRss>http://23rdworld.com/2011/01/07/1-click-install-of-open-atrium-on-dreamhost/feed/</wfw:commentRss>
		<slash:comments>9</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>
	</channel>
</rss>

