<?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; Servers</title>
	<atom:link href="http://23rdworld.com/category/servers/feed/" rel="self" type="application/rss+xml" />
	<link>http://23rdworld.com</link>
	<description>Home of Seattle-based web site designer and blog consultant, Mahalie Pech.</description>
	<lastBuildDate>Tue, 02 Mar 2010 19:22:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Using Drupal book source on Dreamhost</title>
		<link>http://23rdworld.com/2009/03/26/installing-using-drupal-book-source-on-dreamhost/</link>
		<comments>http://23rdworld.com/2009/03/26/installing-using-drupal-book-source-on-dreamhost/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 03:58:00 +0000</pubDate>
		<dc:creator>mahalie</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Content Management]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[oreilly]]></category>
		<category><![CDATA[webhost]]></category>

		<guid isPermaLink="false">http://23rdworld.com/?p=164</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.
I just started reading the recently published book Using Drupal, 1st Edition, published by trusty ol&#8217; O&#8217;Reilly and written by a [...]]]></description>
			<content:encoded><![CDATA[<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>
<p><div class="wp-caption alignright" style="width: 250px"><a href="http://usingdrupal.com/"><img alt="Using Drupal, 1st Edition by OReilly" src="http://usingdrupal.com/sites/default/files/using_drupal_sidebar.png" title="Using Drupal, 1st Edition" width="240" height="315" /></a><p class="wp-caption-text">Using Drupal, 1st Edition by O&#39;Reilly</p></div>I just started reading the recently published book <a href="http://usingdrupal.com/">Using Drupal</a>, 1st Edition, published by trusty ol&#8217; <a href="http://oreilly.com/catalog/9780596515805/">O&#8217;Reilly</a> and written by a bunch of <a href="http://www.lullabot.com/" title="Mahalie's favorite Drupal consultants and trainers">Lullabots</a>.</p>
<p>So far the book is great, but the instructions on setting up a dev environment aren&#8217;t exactly crystal clear for those completely new to Drupal. I thought I&#8217;d help out the next geek that bothers to <acronym title="Google That Shit">GTS</acronym> to find pitfalls before starting.</p>
<p>First review the preface section 2.7 &#8216;Downloading Drupal&#8217;. If you&#8217;ve never installed Drupal before, or any web application on a web server before, it&#8217;s a good idea to check out Lullabot Addison Berry&#8217;s very easy to follow video, <a href="http://www.lullabot.com/videocasts/installing-drupal-6">Installing Drupal 6</a>.</p>
<p>These instructions are specific to the context of a shared hosting account on Dreamhost, but may work for your environment as well. Be sure to review <a href="http://oreilly.com/catalog/9780596515805/errata/">the book&#8217;s errata</a> &#8211; the &#8216;confirmed errata&#8217; will let you know about any code mistakes or problems with source discovered since the book was published. For troubleshooting help related to the books exercises and installation issues, review the <a href="http://forums.oreilly.com/category/39/Using-Drupal/">Using Drupal book forum</a>.</p>
<p class="warning"><strong>THESE INSTRUCTIONS MAY CAUSE YOUR DATAZ TO BE LOST.</strong>  In addition to setting up things quickly, these steps include how to quickly delete all the stuff in your database, without bothersome &#8216;back up your data first&#8217; steps. The idea is you are just creating a sandbox and nuking your install is no big deal.</p>
<p>Enough blab, let&#8217;s do this:</p>
<style type="text/css">
<!--
ul.this li {font-weight:bold;margin-top:6px;margin-bottom:0;}
ul.this li ul {margin-top:2px;}
ul.this li ul li {font-weight:normal;margin-top:2px;}
-->
</style>
<ul class="this">
<li>Create a subdomain for your dev environment like drupal.yourdomain.com
<ul>
<li>Dreamhost panel &gt; Domains &gt; Mandage Domains &gt; Add New Domain / Sub-Domain</li>
</ul>
</li>
<li>Create a new database (on a new or existing subdomain)
<ul>
<li>Goodies &gt; Manage MySQL, scroll to the bottom where it says &#8216;Create a new MySQL database:&#8217;</li>
<li>Enter something in all the fields:database name must be unique system wide so get creative, create a new hostname like mysql.drupal.yourdomain.com, you can use your own username but I created a special username and password that I&#8217;ll also be using for the admin user in the Drupal install (note: dev enviro, not recc&#8217;d for production), you might want to put something to remind you what this is later in the comment field like &#8220;Sandbox for Using Drupal Book&#8221;.</li>
<li>Write down all that DB stuff so you can use it later.</li>
<li>Wait a while for new database host name and/or new subdomain to propagate.</li>
</ul>
</li>
<li>Download the <a href="http://www.usingdrupal.com/source_code">latest source</a> from the book site.
<ul>
<li>Extract the zip somewhere you can find it, like your desktop.</li>
</ul>
</li>
<li>Change the database connection string in using_drupal_source\drupal\sites\default\default.settings.php
<ul>
<li>Open default.settings.php with your favorite text editor</li>
<li>change connection string stored in $db_url (line 92 at <acronym class="Time of Writing">TOW</acronym>) from mysql://username:password@localhost/databasename to something like <code>mysql://name:psswd@mysql.drupal.yourdomain.com/dbname</code></li>
</ul>
</li>
<li>Copy default.settings.php in the same folder and call it settings.php
<ul>
<li>There should now be 2 files in the default folder</li>
</ul>
</li>
<li>Save a backup copy of your default folder somewhere
<ul>
<li>I just copied the default folder and renamed it &#8216;_default&#8217;, or save somewhere on your hard drive, thumb drive, whatever&#8230;the point is, settings.php and default.settings.php that will soon live on your web server are going to change and you&#8217;re going to want these files again someday.</li>
</ul>
</li>
<li>Upload the contents of using_drupal_source\drupal to the root of your new subdomain</li>
<li>chmod /sites/default to 777
<ul>
<li>On you web server (via your FTP client) navigate to /drupal/sites/default</li>
<li>If you&#8217;re using FileZilla, right click (ctrl+click for macs) the default folder and select file permissions, this will allow you to enter the numeric value 777 or just check read/write/execute for all roles</li>
</ul>
</li>
<li>Open http://drupal.yourdomain.com</li>
</ul>
<p><div class="wp-caption aligncenter" style="width: 510px"><a href="http://farm4.static.flickr.com/3430/3386803484_ab8ee6a755_o.jpg"><img alt="Installation profile options on successful install" src="http://farm4.static.flickr.com/3430/3386803484_52ce422bc7.jpg" title="Using Drupal" width="500" height="471" /></a><p class="wp-caption-text">Installation profile options on successful install</p></div></p>
<p>You&#8217;ll be prompted to select an &#8216;Installation Profile&#8217;. The book source code includes scripts to automatically install a site with assets and modules used in their examples for you. If you are just starting Chapter 2. where they send you off to the Appendix for installation instruction, chose the last option &#8211; the generic/basic Drupal install.</p>
<p>Here&#8217;s how to &#8220;start over&#8221; so you can use a different installation profile. These steps will cause you to lose any data you entered in Drupal &#8211; you will end up with a brand new install and a chance to chose a diferent installation profile:</p>
<ul class="this">
<li>Nuke all your database tables</p>
<ul>
<li>Note I said &#8216;tables&#8217;, not the database.</li>
<li>Go to http://mysql.drupal.yourdomain.com (phpMyAdmin screen) and login</li>
<li>Select you Drupal database from the databases list at left (e.g. NOT information_schema)</li>
<li>Scroll to the bottom of tables listing page and select &#8216;Check All&#8217;, change the &#8216;With selected:&#8217; drop down to &#8216;Drop&#8217;.</li>
<li>You will see a screen asking if you really want to execute this command. Click &#8216;Yes&#8217;.</li>
</ul>
</li>
<li>CHMOD /sites/default to 777 again
<ul>
<li>On your web server, go to /sites/default</li>
<li>CHMOD default to 777 (again, because the previous install process modified the permissions) and be sure to check &#8216;recursive&#8217; (or use -R on commandline) because there&#8217;s new files in there and we need to blow everything in the default folder away.</li>
</ul>
</li>
<li>Delete everything in /sites/default</li>
<li>Put a clean copy of default.settings.php and settings.php in /sites/default
<ul>
<li>Remember that saved copy of default.settings.php and settings.php?</li>
</ul>
</li>
<li>Go to http://drupal.yourdomain.com/install.php and start all over again :)</li>
</ul>
<p><div class="wp-caption alignnone" style="width: 510px"><a href="http://farm4.static.flickr.com/3623/3388465649_ec71b0cc0d_o.jpg"><img alt="Bold moves in phpMyAdmin. Select all  drop." src="http://farm4.static.flickr.com/3623/3388465649_331c0e6b91.jpg" title="Dropping Drupal Database Tables" width="500" height="267" /></a><p class="wp-caption-text">Bold moves in phpMyAdmin. Select all &gt; drop. </p></div></p>
<p>I hope that was helpful for someone. I remember all to well not even knowing what chmod was and trying to write perl scripts, ouch! As you might guess, with as much time as I spend documenting when I should be doing book exercises I don&#8217;t really have time to offer support, but please let me know if anything I&#8217;ve written here needs to be corrected or elaborated on. Have fun in Drupal land!</p>
]]></content:encoded>
			<wfw:commentRss>http://23rdworld.com/2009/03/26/installing-using-drupal-book-source-on-dreamhost/feed/</wfw:commentRss>
		<slash:comments>1</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 active [...]]]></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>8</slash:comments>
		</item>
		<item>
		<title>Installing Plone 3.0 on Ubuntu 6.06</title>
		<link>http://23rdworld.com/2007/11/02/installing-plone-30-on-ubuntu-606/</link>
		<comments>http://23rdworld.com/2007/11/02/installing-plone-30-on-ubuntu-606/#comments</comments>
		<pubDate>Sat, 03 Nov 2007 04:36:49 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[Plone]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[fortechhelpblog]]></category>

		<guid isPermaLink="false">http://23rdworld.com/2007/11/02/installing-plone-30-on-ubuntu-606/</guid>
		<description><![CDATA[
Plone 3.0.2 on an 32-bit Ubuntu 6.06 LTS &#8216;Dapper Drake&#8217; LAMP
What is Plone? &#8211; Plone is a pretty cool content management system (CMS). Well, I think it&#8217;s cool based on some videos and documentation on their site. After comparing a lot of CMS options (including some really expensive closed-source stuff and 2 weeks of developer [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://23rdworld.com/2007/11/02/installing-plone-30-on-ubuntu-606/plone-on-ubuntu/' rel='attachment wp-att-122' title='Plone on Ubuntu'><img src='http://23rdworld.com/wp-content/uploads/2007/11/plone_ubuntu.jpg' alt='Plone on Ubuntu' /></a><br />
Plone 3.0.2 on an 32-bit Ubuntu 6.06 LTS &#8216;Dapper Drake&#8217; <a href="http://en.wikipedia.org/wiki/LAMP_(software_bundle)">LAMP</a></p>
<p><strong>What is Plone?</strong> &#8211; <a href="http://plone.org/">Plone</a> is a pretty cool content management system (CMS). Well, I think it&#8217;s cool based on <a href="http://plone.org/about/movies">some videos</a> and <a href="http://plone.org/about/plone">documentation</a> on their site. After comparing <a href="http://www.oscom.org/matrix/index.html">a lot of CMS options</a> (including some really expensive closed-source stuff and 2 weeks of developer training on Sharepoint) I&#8217;m trying out Plone because a) <a href="http://en.wikipedia.org/wiki/Open_source">open source</a> is cool. b) Google people are smart, c) it supports <a href="http://plone.org/products/ploneldap">LDAP authentication</a> which I need for my all-M$ work enviro, d) there&#8217;s <a href="http://plone.org/events/training">training</a>/<a href="http://plone.org/events/conferences">conferences</a>/<a href="http://plone.org/documentation/books">books</a>/<a href="http://plone.net/">commercial support!?</a> available and d) I&#8217;ve read some great reviews and CMS comparisons that rated it #1.</p>
<p>That was the good, now the most common complaint: hellish learning curve. Well, if you&#8217;re a developer and you&#8217;re going to customize beyond the existing system and available plugins. Why? Well, you&#8217;ll have to learn some python and the database is the rather obscure Zope instead of MySQL or SQL. In fact, I just read this on <a href="http://www.456bereastreet.com/archive/200503/content_management_with_plone/">456 Berea St</a> (one of my fav dev blogs) and it gave me the shivers:</p>
<blockquote><p>And the inital learning curve, even though I was a fairly good python programmer, was insane.</p>
</blockquote>
<p>Then again, people told me Perl was insane too and I loved working with Perl. Besides, we&#8217;re just playing right now, right?</p>
<p><strong>What is Ubuntu? </strong>- <a href="http://www.ubuntu.com/">Ubuntu</a> is a community developed, linux-based operating system that I use for a web server. &#8216;Dapper Drake&#8217; is the release name for 6.06 LTS. (Keyword: LTS &#8211; long term support). It&#8217;s surprisingly easy to install. If you&#8217;re bored, geeky and/or have extra VMs or boxes lying around you should try a LAMP install and get your web server up in 15 minutes!</p>
<p>There&#8217;s already a <a href="http://ubuntuforums.org/showthread.php?t=50925&#038;highlight=plone">Plone From Scratch HOWTO</a> on the Ubuntu Forums, however it is for a previous version of Plone (2.0.5) and uses the apt-get method which I&#8217;ve noticed a lot of people in the forums having trouble with. <span class="alert">Disclaimer: I do not provide &#8216;undo/uninstall&#8217; instructions, other than, whip up a a LAMP on VMware and test it first or backup your system. I would welcome uninstall directions if someone who knows what they are doing could provide them.</span></p>
<p><strong>Doesn&#8217;t Plone provide installation instructions?</strong> Well, <a href="http://plone.org/documentation/tutorial/installing-plone-3-with-the-unified-installer">yes</a>. But when I started to read them I got real nervous. What the heck is gcc? libssl? TLS? etc. Those poor geeks at Plone don&#8217;t realize how noob <a href="http://en.wikipedia.org/wiki/Newbie">noob</a> can be! I tried to find better instructions (for me) at the <a href="http://ubuntuforums.org/">Ubuntu Forums</a> and instead I found a lot of people having problems trying to install Plone via Synaptic or apt-get instead of using Plone&#8217;s instructions. So here ya go.</p>
<p>You should already have gcc, g++, make and tar installed by default, but if you want to be anal do this:</p>
<p><code>sudo apt-get update<br />
sudo apt-get install gcc g++ make tar</code></p>
<blockquote><p><em>Sidetrack</em> > (Possibly totally unnecessary step!) If you&#8217;re a fair server noob like me you have no idea what libssl and readline libraries and development headers are and what the heck is TLS? Google suggests it has something to do with mail encryption. I read some confusing stuff on Ubuntu Forums about RPM and a program called Alien that converts RPMs to DEB packages seemed probably unrelated but like a handy utility to have and so:</p>
<p><code>sudo apt-get install alien</code></p></blockquote>
<p>Download the Plone Installer Package. I saved it in my home folder &#8211; it doesn&#8217;t really matter where you put it so long as you can find it.</p>
<p><code>wget -c http://plone.googlecode.com/files/Plone-3.0.2-UnifiedInstaller-Rev2.tar.gz<br />
tar zxf Plone-3.0.2-UnifiedInstaller-Rev2.tar.gz<br />
cd Plone-3.0.2-UnifiedInstaller<br />
</code></p>
<p>Here&#8217;s where you have to pay attention. You can do a ZEO or Stand-Alone install. &#8220;WTF?&#8221; you say? Yeah, well just pick your poison after reading all about it. Me, I&#8217;m doing a Stand-Alone as root install.</p>
<p>According to the README.TXT in the installation package my choice of standalone instance installed as root will result in Plone being installed to /opt/Plone-3.0.2 and libz and libjpeg libraries getting built in /user/local. A &#8220;plone&#8221; user will be added and Zope will be configured to run under that user id. You need to start Zope as root user (via sudo).</p>
<p><code>sudo ./install.sh standalone</code></p>
<p>Then a whole bunch of stuff happens. Lots of gcc (compiling) and checking for things (lots of yes and a few no-s in my case). Just wait, watch, hail Mary and knock on wood. This is a good time to read about the rest of this tutorial or <a href="http://plone.org/documentation/tutorial/installing-plone-3-with-the-unified-installer/creating-new-instances">creating new Zope/Plone instances</a> if you want to do that. Or just catch up on your RSS feeds and I&#8217;ll hold your hand some more ;o)</p>
<p>If you&#8217;re real lucky, this is what you&#8217;ll see when it&#8217;s all said and done:</p>
<p><code><br />
#####################################################################<br />
######################  Installation Complete  ######################<br />
Use the account information below to log into the Zope Management Interface<br />
The account has full 'Manager' privileges.<br />
  Username: admin<br />
  Password: XXXXXXX<br />
Before you start Plone, you should review the settings in:<br />
 /opt/Plone-3.0.2/zinstance/etc/zope.conf<br />
Adjust the ports Plone uses before starting the site, if necessary<br />
To start Plone, issue the following command in a Terminal window:<br />
 sudo /opt/Plone-3.0.2/zinstance/bin/zopectl start<br />
To stop Plone, issue the following command in a Terminal window:<br />
 sudo /opt/Plone-3.0.2/zinstance/bin/zopectl stop<br />
Plone successfully installed at /opt/Plone-3.0.2<br />
See /opt/Plone-3.0.2/zinstance/adminPassword.txt<br />
for password and startup instructions<br />
Ask for help on plone-users list or #plone<br />
Submit feedback and report errors at http://dev.plone.org/plone<br />
This installer was created by Kamal Gill (kamalgill at mac.com)<br />
Maintainers for Plone 3 are Kamal Gill and Steve McMahon (steve at dcn.org)</code></p>
<p>First, write down your admin password!! Then, check zope.conf to &#8216;review settings&#8217;. I&#8217;m not familiar with them, so I just scanned for the port. Found it on line 969 (YMMV), set to the default Zope/Plone standalone install grabs, port 8080.</p>
<p><code>sudo vi /opt/Plone-3.0.2/zinstance/etc/zope.conf</code></p>
<p>Use :q! to quit vi without messing anything up</p>
<p>Use netcat to see what ports you have open already. (Netcat comes with Ubuntu install)</p>
<p><code>nc -z -v -w2 localhost 1-65535</code></p>
<p>After confirming that 8080 is avail (or changing it in zope.conf if it is not available) continue following directions.</p>
<p><code>sudo /opt/Plone-3.0.2/zinstance/bin/zopectl start  #that last part is an L not a 1, took me a while...</code></p>
<p>Then go to: http://localhost:8080 (or sub servername for localhost to test from other computer). If you&#8217;re lucky AGAIN you&#8217;ll see the Zope Quick Start page!! Wahoo! Hii Fiiiiveh to self! Then look at the example site: http://localhost:8080/Plone, and then check out the management interface at http://localhost:8080/manage. Have fun. I hope it was as good for you as it was for me!</p>
<p>BTW: I suggest the <a href="http://ubuntuforums.org/">Ubuntu Support Forum</a> and <a href="http://www.nabble.com/Plone-f6741.html">Plone Support Forum</a> for help. I am totally new at server administration, I prolly shouldn&#8217;t even publish this and I definitely can&#8217;t support your lazy arse!</p>
]]></content:encoded>
			<wfw:commentRss>http://23rdworld.com/2007/11/02/installing-plone-30-on-ubuntu-606/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Virtual Server Website Admin problem</title>
		<link>http://23rdworld.com/2006/06/08/virtual-server-website-admin-problem/</link>
		<comments>http://23rdworld.com/2006/06/08/virtual-server-website-admin-problem/#comments</comments>
		<pubDate>Fri, 09 Jun 2006 04:44:03 +0000</pubDate>
		<dc:creator>mahalie</dc:creator>
				<category><![CDATA[Opinions]]></category>
		<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://23rdworld.com/2006/06/08/virtual-server-website-admin-problem/</guid>
		<description><![CDATA[In my case, it&#8217;s not a box, it&#8217;s a laptop.  After downloading and installing I was a little befuddled by the lack of classic exe interface.  It&#8217;s got a web admin panel.  The problem for me was it was opening, and then requesting authentication to view it.  My admin credentials didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>In my case, it&#8217;s not a box, it&#8217;s a laptop.  After downloading and installing I was a little befuddled by the lack of classic exe interface.  It&#8217;s got a web admin panel.  The problem for me was it was opening, and then requesting authentication to view it.  My admin credentials didn&#8217;t work.  Then I noticed something funny (aside from the fact that Firefox is my default browser) &#8211; the url said http://computername/VirtualServer/VSWebApp.exe?view=1 but I&#8217;ve never set up a domain controller or IPs or anything.  I&#8217;m learning from the ground up and my default IIS site is http://localhost.  Changing the Virtual Server Website Administration url to http://<strong>localhost</strong>/VirtualServer/VSWebApp.exe?view=1 fixed the problem. (You can fix the link in the program group by right-clicking the &#8216;Virtual Server Administration Website and selecting properties.)<br />
<img alt="virtual server 2005 r2" id="image54" src="http://23rdworld.com/wp-content/uploads/2006/06/vs2005r2.jpg" /></p>
<p>Now, anyone who knows me may be wondering what the hey? Now, I&#8217;m as a web designer, I have to say, nothing is yummier than Apache and PHP.  But, I&#8217;m learning development for my job, they&#8217;re a great firm that does amazing design work (architecture), so I&#8217;ve come to accept that for all their charms they are an MS shop.</p>
<p>My plan with Virtual Server? Well, I have to admit I&#8217;m kind of excited about SharePoint&#8217;s next iteration.  I&#8217;m almost through with a course at Netdesk, which has been engrossing and enlightening and I&#8217;m trying to set up a good test environment for Microsoft Office SharePoint Server (MOSS).  MOSS is soo cool, the knowledge harvesting, management and communication possibilities are huge.  I will keep you informed of my painful process.</p>
<p>New to MS > I&#8217;m not a Sysadmin > I&#8217;m barely a web developer > FEEL MY PAIN!</p>
<p>p.s. That screenshot is using IE7 beta. It&#8217;s much, much better than IE 6, more like Firefox, <em>almost </em>as clean and snappy.</p>
]]></content:encoded>
			<wfw:commentRss>http://23rdworld.com/2006/06/08/virtual-server-website-admin-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
