<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>dboettger&#039;s Blog</title>
	<atom:link href="http://dboettger.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dboettger.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 13 Feb 2011 17:53:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dboettger.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>dboettger&#039;s Blog</title>
		<link>http://dboettger.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dboettger.wordpress.com/osd.xml" title="dboettger&#039;s Blog" />
	<atom:link rel='hub' href='http://dboettger.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Debootstrap Ubuntu Lucid 10.04 on a Rootserver</title>
		<link>http://dboettger.wordpress.com/2010/09/07/debootstrap-ubuntu-lucid-10-04-on-a-rootserver/</link>
		<comments>http://dboettger.wordpress.com/2010/09/07/debootstrap-ubuntu-lucid-10-04-on-a-rootserver/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 12:27:04 +0000</pubDate>
		<dc:creator>dboettger</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dboettger.wordpress.com/?p=56</guid>
		<description><![CDATA[Hello, I didn&#8217;t post for a while. But now i have some new stuff. I had some trouble installing ubuntu on a Rootserver ( 1&#38;1 ) where i only had a rescue system available. The only dependency is that the recovery console is a debian based system. The system was already partitioned and some software [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=56&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>I didn&#8217;t post for a while. But now i have some new stuff. I had some trouble installing ubuntu on a Rootserver ( 1&amp;1 ) where i only had a rescue system available. The only dependency is that the recovery console is a debian based system.</p>
<p>The system was already partitioned and some software raid&#8217;s were already available.</p>
<p>Create new swap space:<br />
mkswap /dev/sda2</p>
<p>Reformat md1 with ext3:<br />
mkfs.ext3 /dev/md1</p>
<p>mkdir /ubuntu<br />
mount /dev/md1 /ubuntu</p>
<p>wget http://archive.ubuntu.com/ubuntu/pool/main/d/debootstrap/debootstrap_1.0.23_all.deb<br />
dpkg &#8211;install debootstrap_1.0.23_all.deb</p>
<p>debootstrap &#8211;arch amd64 lucid /ubuntu http://archive.ubuntu.com/ubuntu</p>
<p>echo &#8220;127.0.0.1 localhost&#8221; &gt; /ubuntu/etc/hosts<br />
echo &#8220;ilaegir01&#8243; &gt; /ubuntu/etc/hostname</p>
<p>vi /etc/network/interfaces</p>
<p># Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or<br />
# /usr/share/doc/ifupdown/examples for more information.</p>
<p># The loopback network interface<br />
auto lo<br />
iface lo inet loopback</p>
<p>auto eth0<br />
iface eth0 inet dhcp</p>
<p>vi /ubuntu/etc/fstab</p>
<p>/dev/md1   /         ext3     defaults    0 1<br />
/dev/sda2   swap      swap     defaults    0 0<br />
proc        /proc     proc     defaults    0 0<br />
sysfs       /sys      sysfs    defaults    0 0</p>
<p>mount &#8211;bind /dev /ubuntu/dev<br />
mount &#8211;bind /proc /ubuntu/proc<br />
chroot /ubuntu<br />
apt-get update</p>
<p>apt-get install linux-image-server openssh-server grub</p>
<p>cp /proc/mounts /etc/mtab<br />
aptitude install mdadm<br />
mkdir /boot/grub<br />
grub-install /dev/sda<br />
update-grub</p>
<p>aptitude install nano</p>
<p>nano /boot/grub/menu.lst</p>
<p>change following lines:<br />
kernel		/boot/vmlinuz-2.6.32-21-server root=/dev/md1 ro quiet splash<br />
AND<br />
kernel		/boot/vmlinuz-2.6.32-21-server root=/dev/md1 ro single</p>
<p>TO:<br />
kernel		/boot/vmlinuz-2.6.32-21-server root=/dev/md1 ro quiet splash console=tty0 console=ttyS0,57600<br />
AND<br />
kernel		/boot/vmlinuz-2.6.32-21-server root=/dev/md1 ro single console=tty0 console=ttyS0,57600</p>
<p>Be warned to execute update-grub on every kernel security update, then choose the package maintainers version<br />
of menu.lst and add the console again to the kernel parameter!</p>
<p>nano /etc/init/ttyS0.confab</p>
<p># ttyS0 &#8211; getty<br />
#<br />
# This service maintains a getty on ttyS0 from the point the system is<br />
# started until it is shut down again.</p>
<p>start on stopped rc RUNLEVEL=[2345]<br />
stop on runlevel [!2345]</p>
<p>respawn<br />
exec /sbin/getty -L 57600 ttyS0 vt100</p>
<p>passwd</p>
<p>exit</p>
<p>After reboot you should edit the /etc/apt/sources.list and replace it with the wolling content</p>
<p>nano /etc/apt/sources.list</p>
<p># deb cdrom:[Ubuntu-Server 10.04 LTS _Lucid Lynx_ - Release amd64 (20100427)]/ lucid main restricted</p>
<p>#deb cdrom:[Ubuntu-Server 10.04 LTS _Lucid Lynx_ - Release amd64 (20100427)]/ lucid main restricted<br />
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to<br />
# newer versions of the distribution.</p>
<p>deb http://de.archive.ubuntu.com/ubuntu/ lucid main restricted<br />
deb-src http://de.archive.ubuntu.com/ubuntu/ lucid main restricted</p>
<p>## Major bug fix updates produced after the final release of the<br />
## distribution.<br />
deb http://de.archive.ubuntu.com/ubuntu/ lucid-updates main restricted<br />
deb-src http://de.archive.ubuntu.com/ubuntu/ lucid-updates main restricted</p>
<p>## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu<br />
## team. Also, please note that software in universe WILL NOT receive any<br />
## review or updates from the Ubuntu security team.<br />
deb http://de.archive.ubuntu.com/ubuntu/ lucid universe<br />
deb-src http://de.archive.ubuntu.com/ubuntu/ lucid universe<br />
deb http://de.archive.ubuntu.com/ubuntu/ lucid-updates universe<br />
deb-src http://de.archive.ubuntu.com/ubuntu/ lucid-updates universe</p>
<p>## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu<br />
## team, and may not be under a free licence. Please satisfy yourself as to<br />
## your rights to use the software. Also, please note that software in<br />
## multiverse WILL NOT receive any review or updates from the Ubuntu<br />
## security team.<br />
deb http://de.archive.ubuntu.com/ubuntu/ lucid multiverse<br />
deb-src http://de.archive.ubuntu.com/ubuntu/ lucid multiverse<br />
deb http://de.archive.ubuntu.com/ubuntu/ lucid-updates multiverse<br />
deb-src http://de.archive.ubuntu.com/ubuntu/ lucid-updates multiverse</p>
<p>## Uncomment the following two lines to add software from the &#8216;backports&#8217;<br />
## repository.<br />
## N.B. software from this repository may not have been tested as<br />
## extensively as that contained in the main release, although it includes<br />
## newer versions of some applications which may provide useful features.<br />
## Also, please note that software in backports WILL NOT receive any review<br />
## or updates from the Ubuntu security team.<br />
# deb http://de.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse<br />
# deb-src http://de.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse</p>
<p>## Uncomment the following two lines to add software from Canonical&#8217;s<br />
## &#8216;partner&#8217; repository.<br />
## This software is not part of Ubuntu, but is offered by Canonical and the<br />
## respective vendors as a service to Ubuntu users.<br />
# deb http://archive.canonical.com/ubuntu lucid partner<br />
# deb-src http://archive.canonical.com/ubuntu lucid partner</p>
<p>deb http://security.ubuntu.com/ubuntu lucid-security main restricted<br />
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted<br />
deb http://security.ubuntu.com/ubuntu lucid-security universe<br />
deb-src http://security.ubuntu.com/ubuntu lucid-security universe<br />
deb http://security.ubuntu.com/ubuntu lucid-security multiverse<br />
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse</p>
<p>aptitude update<br />
aptitude safe-upgrade</p>
<p>If there is any new kernel added, then execute update-grub after the installation.<br />
Then add the entries fot the console to the menu.lst again.</p>
<p>Sorry, this is just a quick post with only a minimum of explanations, but i hope i am able to help somebody out there. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dboettger.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dboettger.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dboettger.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dboettger.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dboettger.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dboettger.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dboettger.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dboettger.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dboettger.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dboettger.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dboettger.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dboettger.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dboettger.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dboettger.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=56&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dboettger.wordpress.com/2010/09/07/debootstrap-ubuntu-lucid-10-04-on-a-rootserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24deac15c1d5ee792c824f7051cf5338?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dboettger</media:title>
		</media:content>
	</item>
		<item>
		<title>Test SMTP authentication with telnet</title>
		<link>http://dboettger.wordpress.com/2010/06/23/test-smtp-authentication-with-telnet/</link>
		<comments>http://dboettger.wordpress.com/2010/06/23/test-smtp-authentication-with-telnet/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 09:30:45 +0000</pubDate>
		<dc:creator>dboettger</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mail]]></category>

		<guid isPermaLink="false">http://dboettger.wordpress.com/?p=49</guid>
		<description><![CDATA[If you want to test your SMTP authentication in postfix or any other MTA via commandline / telnet. You can create a BASE64 encoded passwordstring like that: perl -MMIME::Base64 -e &#8216;print encode_base64(&#8220;00USERNAME00password&#8220;)&#8217; Copy the base64. Open a telnet console to your MTA like that: telnet localhost 25 After you are connected send a ehlo message [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=49&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you want to test your SMTP authentication in postfix or any other MTA via commandline / telnet. You can create a BASE64 encoded passwordstring  like that:</p>
<p>perl -MMIME::Base64 -e &#8216;print encode_base64(&#8220;00<em>USERNAME</em>00<em>password</em>&#8220;)&#8217;</p>
<p>Copy the base64.</p>
<p>Open a telnet console to your MTA like that:</p>
<p><code>telnet localhost 25</code></p>
<p>After you are connected send a ehlo message to the MTA.</p>
<p><code>ehlo server</code></p>
<p>The MTA should answer with something like that:</p>
<p><code><br />
250-PIPELINING<br />
250-SIZE 10240000<br />
250-ETRN<br />
250-STARTTLS<br />
250-AUTH PLAIN LOGIN<br />
250-AUTH=PLAIN LOGIN<br />
250-ENHANCEDSTATUSCODES<br />
250-8BITMIME<br />
250 DSN<br />
</code></p>
<p>These lines are important:</p>
<p><code><br />
250-AUTH PLAIN LOGIN<br />
250-AUTH=PLAIN LOGIN<br />
</code></p>
<p>Then you can enter:</p>
<p><code><br />
AUTH PLAIN <em>BASE64String</em><br />
</code></p>
<p>The MTA should reply with:</p>
<p>235 2.7.0 Authentication successful</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dboettger.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dboettger.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dboettger.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dboettger.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dboettger.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dboettger.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dboettger.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dboettger.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dboettger.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dboettger.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dboettger.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dboettger.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dboettger.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dboettger.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=49&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dboettger.wordpress.com/2010/06/23/test-smtp-authentication-with-telnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24deac15c1d5ee792c824f7051cf5338?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dboettger</media:title>
		</media:content>
	</item>
		<item>
		<title>Restrict authentication to specific groups only</title>
		<link>http://dboettger.wordpress.com/2010/06/23/restrict-authentication-to-specified-group-only/</link>
		<comments>http://dboettger.wordpress.com/2010/06/23/restrict-authentication-to-specified-group-only/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 09:20:46 +0000</pubDate>
		<dc:creator>dboettger</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mail]]></category>

		<guid isPermaLink="false">http://dboettger.wordpress.com/?p=44</guid>
		<description><![CDATA[Today i had some trouble with the SMTP &#8211; authentication and postfix. I just wanted that one group is able to authenticate against my postfix. After reading the pam documentation for a while, i found the very nice solution to create a textfile with all allowed users. I am using postfix sasl with pam authentication. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=44&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today i had some trouble with the SMTP &#8211; authentication and postfix.<br />
I just wanted that one group is able to authenticate against my postfix.<br />
After reading the pam documentation for a while, i found the very nice solution to create a textfile with all allowed users.</p>
<p>I am using postfix sasl with pam authentication.<br />
My /etc/pam.d/smtp now looks like that:<br />
<code><br />
auth required pam_listfile.so onerr=fail item=group sense=allow file=/etc/smtp.group.allow<br />
auth required /lib/security/pam_unix_auth.so<br />
account required /lib/security/pam_unix_acct.so<br />
password required /lib/security/pam_unix_passwd.so<br />
session required /lib/security/pam_unix_session.so<br />
</code></p>
<p>Then i created the file /etc/smtp.group.allow.<br />
This file looks like that:</p>
<p><code><br />
# Add all the groups which are allowed<br />
# to authenticate against postfix sasl<br />
smtpusers<br />
</code></p>
<p>After changing these lines only users in the group smtpusers are allowed to authenticate.<br />
Of course this can also be used for any other service using pam authentication. Just add the line<br />
auth required pam_listfile.so onerr=fail item=group sense=allow file=/etc/<br />
as first line in the pam.d/<em>SERVICE</em> &#8211; file.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dboettger.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dboettger.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dboettger.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dboettger.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dboettger.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dboettger.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dboettger.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dboettger.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dboettger.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dboettger.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dboettger.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dboettger.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dboettger.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dboettger.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=44&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dboettger.wordpress.com/2010/06/23/restrict-authentication-to-specified-group-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24deac15c1d5ee792c824f7051cf5338?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dboettger</media:title>
		</media:content>
	</item>
		<item>
		<title>Migrating sites from standalone Drupal to the AEgir hosting system</title>
		<link>http://dboettger.wordpress.com/2010/01/27/migrating-sites-from-standalone-drupal-to-the-aegir-hosting-system/</link>
		<comments>http://dboettger.wordpress.com/2010/01/27/migrating-sites-from-standalone-drupal-to-the-aegir-hosting-system/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 15:47:57 +0000</pubDate>
		<dc:creator>dboettger</dc:creator>
				<category><![CDATA[AEgir]]></category>
		<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://dboettger.wordpress.com/?p=41</guid>
		<description><![CDATA[As we are decided to use the great AEgir hosting system for all upcoming Drupalprojects i needed to migrate some sites from standalone installations to our new Aegir hosting system. First i needed to backup the tables in my mysql database. My database&#8217;s name was drupal ( not that good idea ) and i was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=41&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As we are decided to use the great AEgir hosting system for all upcoming Drupalprojects i needed to migrate some sites from standalone installations to our new Aegir hosting system.</p>
<p>First i needed to backup the tables in my mysql database. My database&#8217;s name was drupal ( not that good idea ) and i was using table prefixes ( this idea was even worse <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  ).<br />
The tableprefix of the website was website_<br />
Only the tables were exported, not the CREATE DATABASE!<br />
After exporting the tables into the drupal.sql file i opened the file with a editor, searched for website_ and replaced it with an empty string.</p>
<p>I created the folder /var/aegir/drupal-website as user aegir on myaegirHost.<br />
<code><br />
su - aegir<br />
mkdir drupal-website<br />
</code></p>
<p>Then i copied all the content of the drupalfolder from my standalone drupalsystem to my aegirhost.<br />
<code><br />
cd /var/www/drupal<br />
scp -r * aegir@myaegirHost:/var/aegir/drupal-website<br />
</code></p>
<p>Then i needed to copy and import the mysql database.<br />
<code><br />
<em>Source host:</em><br />
scp drupal.sql aegir@myaegirHost:/var/aegir/</p>
<p><em>Target host:</em><br />
mysql -u root -p<br />
CREATE DATABASE drupal;<br />
GRANT ALL ON drupal.* TO 'drupal'@localhost IDENTIFIED BY 'drupal';<br />
exit<br />
mysql -u root -p -D drupal &lt; drupal.sql<br />
</code></p>
<p>After the database and all the files has been created i created a new platform in Aegir called drupal-website and entered the folder /var/aegir/drupal-website.<br />
Aegir then creates the new platform and imports all sites from the platform.</p>
<p>Then i migrated all the sites to another platform. The manually created database called drupal gets renamed to the Aegir &#8211; style site_NUMBER scheme.</p>
<p>If there are any missing modules for a single site (shown under the migration tab), it&#8217;s possible to add the modules on a per site base with drush.<br />
<code><br />
su - aegir<br />
cd /var/aegir/drupal-website/sites/website<br />
/var/aegir/drush/drush.php dl modulename<br />
</code></p>
<p>After installing the missing modules it was still showing missing in the Aegir migration tab. I ignored that and clicked on the button migrate. After two minutes the site was moved to the new platform.</p>
<p>If u need any further assistance, don&#8217;t hesitate to contact me!</p>
<p>Greetings,</p>
<p>Dom</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dboettger.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dboettger.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dboettger.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dboettger.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dboettger.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dboettger.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dboettger.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dboettger.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dboettger.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dboettger.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dboettger.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dboettger.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dboettger.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dboettger.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=41&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dboettger.wordpress.com/2010/01/27/migrating-sites-from-standalone-drupal-to-the-aegir-hosting-system/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24deac15c1d5ee792c824f7051cf5338?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dboettger</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing PHP 5.3.1 under Snow Leopard 10.6.2 without ports!</title>
		<link>http://dboettger.wordpress.com/2010/01/19/installing-php-5-3-1-under-snow-leopard-10-6-2-without-ports/</link>
		<comments>http://dboettger.wordpress.com/2010/01/19/installing-php-5-3-1-under-snow-leopard-10-6-2-without-ports/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 10:53:52 +0000</pubDate>
		<dc:creator>dboettger</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://dboettger.wordpress.com/?p=39</guid>
		<description><![CDATA[Again a quick documentation about my installation on my Macbook curl -O ftp://ftp.cac.washington.edu/imap/imap.tar.gz tar xvzf imap.tar.gz cd imap-2007e ./configure make sudo mkdir -p /usr/local/imap-2007e/include /usr/local/imap-2007e/lib sudo cp c-client/*.h /usr/local/imap-2007e/include/ sudo cp c-client/*.c /usr/local/imap-2007e/lib/ sudo cp c-client/c-client.a /usr/local/imap-2007e/lib/libc-client.a curl -O http://heanet.dl.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz curl -O http://www.ijg.org/files/jpegsrc.v8.tar.gz curl -O http://freefr.dl.sourceforge.net/project/libpng/00-libpng-stable/1.2.42/libpng-1.2.42.tar.gz curl -O http://de.php.net/distributions/php-5.3.1.tar.gz tar xvzf libmcrypt-2.5.8.tar.gz cd libmcrypt-2.5.8 ./configure [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=39&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Again a quick documentation about my installation on my Macbook</p>
<p><code><br />
curl -O ftp://ftp.cac.washington.edu/imap/imap.tar.gz<br />
tar xvzf imap.tar.gz<br />
cd imap-2007e<br />
./configure<br />
make<br />
sudo mkdir -p /usr/local/imap-2007e/include /usr/local/imap-2007e/lib<br />
sudo cp c-client/*.h /usr/local/imap-2007e/include/<br />
sudo cp c-client/*.c /usr/local/imap-2007e/lib/<br />
sudo cp c-client/c-client.a /usr/local/imap-2007e/lib/libc-client.a</p>
<p>curl -O http://heanet.dl.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz<br />
curl -O http://www.ijg.org/files/jpegsrc.v8.tar.gz<br />
curl -O http://freefr.dl.sourceforge.net/project/libpng/00-libpng-stable/1.2.42/libpng-1.2.42.tar.gz<br />
curl -O http://de.php.net/distributions/php-5.3.1.tar.gz</p>
<p>tar xvzf libmcrypt-2.5.8.tar.gz<br />
cd libmcrypt-2.5.8<br />
./configure<br />
make<br />
sudo make install</p>
<p>tar xvzf jpegsrc.v8.tar.gz<br />
cd jpeg-8<br />
./configure<br />
make<br />
sudo make install</p>
<p>tar xvzf libpng-1.2.42.tar.gz<br />
cd libpng-1.2.42<br />
./configure<br />
make<br />
sudo make install</p>
<p>tar xvzf php-5.3.1.tar.gz<br />
cd php-5.3.1<br />
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-apxs2=/usr/sbin/apxs --sysconfdir=/private/etc --with-config-file-path=/etc --with-ldap=/usr --with-ldap-sasl=/usr --with-libxml-dir=/usr --with-kerberos=/usr --with-curl=/usr --with-zlib-dir=/usr --enable-bcmath --enable-exif --enable-exif --with-bz2=/usr --enable-ftp --with-openssl=/usr --enable-mbstring --enable-mbregex --enable-calendar --enable-sockets --with-iodbc=/usr --with-curl=/usr --sysconfdir=/private/etc --with-mysqli=mysqlnd --with-mysql=mysqlnd --with-xmlrpc --with-xsl=/usr --with-pear --with-libxml-dir=/usr --with-iconv=/usr --with-pdo-mysql=mysqlnd --with-gd --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-shmop --with-xsl=/usr --with-iconv-dir=/usr --with-iodbc=/usr --with-snmp=/usr --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-iconv=/usr --with-pcre-regex --with-imap=/usr/local/imap-2007e --with-imap-ssl --with-mcrypt=/usr/local --enable-soap --enable-cli --with-pear<br />
make<br />
sudo make install</p>
<p>sudo nano /etc/apache2/httpd.conf</p>
<p>Uncomment the following line:<br />
#LoadModule php5_module        libexec/apache2/libphp5.so<br />
to<br />
LoadModule php5_module        libexec/apache2/libphp5.so</p>
<p>Restart Apache!</p>
<p>sudo apachectl restart<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dboettger.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dboettger.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dboettger.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dboettger.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dboettger.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dboettger.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dboettger.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dboettger.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dboettger.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dboettger.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dboettger.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dboettger.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dboettger.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dboettger.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=39&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dboettger.wordpress.com/2010/01/19/installing-php-5-3-1-under-snow-leopard-10-6-2-without-ports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24deac15c1d5ee792c824f7051cf5338?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dboettger</media:title>
		</media:content>
	</item>
		<item>
		<title>ZendServer on MacOSX 10.6.2</title>
		<link>http://dboettger.wordpress.com/2010/01/17/29/</link>
		<comments>http://dboettger.wordpress.com/2010/01/17/29/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 22:09:38 +0000</pubDate>
		<dc:creator>dboettger</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dboettger.wordpress.com/?p=29</guid>
		<description><![CDATA[Today i tried to install ZendServer on my Macbook. The installation of the server is a bit buggy. I had to adjust some settings to get the server work. It was not possible to open the configuration page on localhost 10081 or 10083 (https). There was some trouble with a missing certificate for lighttpd I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=29&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">Today i tried to install ZendServer on my Macbook. The installation of the server is a bit buggy. I had to adjust some settings to get the server work.</div>
<div>It was not possible to open the configuration page on localhost 10081 or 10083 (https). There was some trouble with a missing certificate for lighttpd</div>
<div>I made these changes:</p>
</div>
<div>Edit the /etc/profile and added these two lines at the end of the file.</div>
<div>PATH=$PATH:/usr/local/zend/binLD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/zend/lib</div>
<div>
<div id="_mcePaste">LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/zend/lib</div>
</p>
<div>Then i changed the directory to /usr/local/zend/etc/tls/certs and creadted the missing certificate with openssl.</div>
<div>sudo openssl req -new -x509 -keyout server.pem -out lighttpd.pem -days 365 -nodes</div>
</p>
<div>To execute apache on port 80 and on localhost only i had to edit apachectl and httpd.conf</div>
<div>nano /usr/local/zend/apache2/conf/httpd.conf</div>
<div>I changed the line</div>
<div>
<div>Listen 10088</div>
<div>to</div>
<div>Listen 127.0.0.1:80</div>
</p>
</div>
<div>nano /usr/local/zend/apache2/bin/apachectl</div>
<div>I changed the line</div>
<div>STATUSURL=&#8221;http://localhost:10088/server-status&#8221;</div>
<div>to</div>
<div>STATUSURL=&#8221;http://localhost/server-status&#8221;</p>
</div>
<div>I was now able to start the server with</div>
<div>/usr/local/zend/bin/zendctl.sh start</div>
<div>And to stop i just execute</div>
<div>/usr/local/zend/bin/zendctl.sh stop</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dboettger.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dboettger.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dboettger.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dboettger.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dboettger.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dboettger.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dboettger.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dboettger.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dboettger.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dboettger.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dboettger.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dboettger.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dboettger.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dboettger.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=29&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dboettger.wordpress.com/2010/01/17/29/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24deac15c1d5ee792c824f7051cf5338?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dboettger</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP 5.3.1 with Oracle Instantclient on Snow Leopard</title>
		<link>http://dboettger.wordpress.com/2009/11/24/php-5-3-1-with-oracle-instantclient-on-snow-leopard/</link>
		<comments>http://dboettger.wordpress.com/2009/11/24/php-5-3-1-with-oracle-instantclient-on-snow-leopard/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 15:21:00 +0000</pubDate>
		<dc:creator>dboettger</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://dboettger.wordpress.com/?p=24</guid>
		<description><![CDATA[Updated Guide with php 5.3.1 MySQL Just install the package from mysql.com. Macports First install the Macport from macports.org. You also need the Apple developer tools to compile software. The developmentkit from apple ships with the wonderful gcc compiler . After you install macports ( a package management for MacOSX) you are able to install [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=24&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Updated Guide with php 5.3.1</p>
<p><strong>MySQL</strong></p>
<p>Just install the package from mysql.com.</p>
<p><strong>Macports</strong></p>
<p>First install the Macport from macports.org. You also need the Apple developer tools to compile software. The developmentkit from apple ships with the wonderful gcc compiler <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  .</p>
<p>After you install macports ( a package management for MacOSX) you are able to install the needed libraries. Just execute the following commands:</p>
<p>sudo port install jpeg<br />
sudo port install libpng<br />
sudo port install freetype<br />
sudo port install mcrypt<br />
sudo port install libiconv<br />
sudo port install cclient</p>
<p><strong>Oracle Installation (Instantclient only):</strong></p>
<p>Download the oracle client basic Version 10.2 and SDK 10.2 from the Oracle download page.<br />
Move the extracted files to /opt/instantclient_10_2.</p>
<p>export LD_LIBRARY_PATH=/opt/oracle/instantclient_10_2/sdk/include/:/opt/oracle/instantclient_10_2:.</p>
<p>cd /opt/instantclient_10_2<br />
ln -s libclntsh.dylib.10.1 libclntsh.dylib<br />
ln -s libclntsh.dylib libclntsh.so</p>
<p>export NLS_LANG=”American_America.UTF8″<br />
export DYLD_LIBRARY_PATH=/opt/instantclient_10_2</p>
<p>Download php 5.3.1 from php.net.<br />
Extract the php sourcefile into a diretory.</p>
<p>./configure  &#8211;prefix=/usr &#8211;with-apxs2=/usr/sbin/apxs &#8211;with-ldap=/usr &#8211;with-kerberos=/usr &#8211;with-zlib-dir=/usr &#8211;enable-exif &#8211;enable-ftp &#8211;enable-mbstring &#8211;enable-mbregex &#8211;enable-sockets &#8211;with-iodbc=/usr &#8211;with-curl=/usr &#8211;with-config-file-path=/etc/php5/php5.3.1-apache2 &#8211;sysconfdir=/private/etc &#8211;with-mysqli=mysqlnd &#8211;with-mysql=mysqlnd &#8211;with-openssl=shared,/opt/local &#8211;with-xmlrpc &#8211;with-xsl=/usr &#8211;with-pear &#8211;with-libxml-dir=/usr &#8211;with-iconv=shared,/opt/local &#8211;with-pdo-mysql=mysqlnd &#8211;with-gd &#8211;with-jpeg-dir=/opt/local &#8211;with-png-dir=/opt/local &#8211;with-freetype-dir=/opt/local &#8211;with-mcrypt=/opt/local &#8211;with-imap=/opt/local &#8211;with-imap-ssl &#8211;enable-soap &#8211;with-oci8=instantclient,/opt/instantclient_10_2 &#8211;with-pdo-oci=instantclient,/opt/instantclient_10_2,10.2.0.4 &#8211;enable-cli  &#8211;with-pear</p>
<p>We have to edit the Makefile to run a successful compile.</p>
<p>nano Makefile<br />
Edit the line with the EXTRA_LIBS = ….. stuff.<br />
Add -lresolv to the line, save and exit the file.</p>
<p>After editing the Makefile we are able to compile the binaries. Just enter make to execute the compilation.</p>
<p>If make was successful we have to execute make install as superuser. The command sudo make install is our friend <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  .</p>
<p>We have to create the following directory and link the library to it. Don’t ask just the strange oraclestuff.<br />
mkdir -p /b/32_216/rdbms/lib<br />
ln -s /opt/instantclient_10_2/libclntsh.dylib.10.1 /b/32_216/rdbms/lib/</p>
<p>Apache configuration</p>
<p>The last modification we have to add is the initconfiguration of the apacheservice. We need some variables set in the runtime environment.</p>
<p>We will edit the /System/Library/LaunchDaemons/org.apache.httpd.plist file like that or something similar for you locales.</p>
<p>nano /System/Library/LaunchDaemons/org.apache.httpd.plist</p>
<p>&nbsp;</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;!DOCTYPE plist PUBLIC &#8220;-//Apple Computer//DTD PLIST 1.0//EN&#8221; &#8220;http://www.apple.com/DTDs/PropertyList-1.0.dtd&#8221;&gt;<br />
&lt;plist version=&#8221;1.0&#8243;&gt;<br />
&lt;dict&gt;<br />
&lt;key&gt;Disabled&lt;/key&gt;<br />
&lt;true/&gt;<br />
&lt;key&gt;Label&lt;/key&gt;<br />
&lt;string&gt;org.apache.httpd&lt;/string&gt;<br />
&lt;key&gt;ProgramArguments&lt;/key&gt;<br />
&lt;array&gt;<br />
&lt;string&gt;/usr/sbin/httpd&lt;/string&gt;<br />
&lt;string&gt;-D&lt;/string&gt;<br />
&lt;string&gt;FOREGROUND&lt;/string&gt;<br />
&lt;/array&gt;<br />
&lt;key&gt;OnDemand&lt;/key&gt;<br />
&lt;false/&gt;<br />
&lt;key&gt;SHAuthorizationRight&lt;/key&gt;<br />
&lt;string&gt;system.preferences&lt;/string&gt;<br />
&lt;key&gt;EnvironmentVariables&lt;/key&gt;<br />
&lt;dict&gt;<br />
&lt;key&gt;DYLD_LIBRARY_PATH&lt;/key&gt;<br />
&lt;string&gt;/opt/instantclient_10_2&lt;/string&gt;<br />
&lt;key&gt;TNS_ADMIN&lt;/key&gt;<br />
&lt;string&gt;/opt/oracle/tns&lt;/string&gt;<br />
&lt;key&gt;LANG&lt;/key&gt;<br />
&lt;string&gt;de_DE.UTF-8&lt;/string&gt;<br />
&lt;key&gt;NLS_LANG&lt;/key&gt;<br />
&lt;string&gt;GERMAN_GERMANY.UTF8&lt;/string&gt;<br />
&lt;/dict&gt;<br />
&lt;/dict&gt;<br />
&lt;/plist&gt;</p>
<p>&nbsp;</p>
<p>I hope i was able to help you guys. If you have any question, don’t hesitate to contact me or post some comments.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dboettger.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dboettger.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dboettger.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dboettger.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dboettger.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dboettger.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dboettger.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dboettger.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dboettger.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dboettger.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dboettger.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dboettger.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dboettger.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dboettger.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=24&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dboettger.wordpress.com/2009/11/24/php-5-3-1-with-oracle-instantclient-on-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24deac15c1d5ee792c824f7051cf5338?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dboettger</media:title>
		</media:content>
	</item>
		<item>
		<title>Installation of APC Cache for PHP under MacOSX</title>
		<link>http://dboettger.wordpress.com/2009/11/03/installation-of-apc-cache-for-php-under-macosx/</link>
		<comments>http://dboettger.wordpress.com/2009/11/03/installation-of-apc-cache-for-php-under-macosx/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 10:47:47 +0000</pubDate>
		<dc:creator>dboettger</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://dboettger.wordpress.com/?p=19</guid>
		<description><![CDATA[APC is a free, open, and robust framework for caching and optimizing PHP intermediate code. &#8212; http://pecl.php.net/package/APC The Installation of APC &#8211; Cache is quite easy. I assume you already have the Xcode development tools installed on your system and possibly compiled php on your own. Just open the Terminal. sudo pecl install apc The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=19&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>APC is a free, open, and robust framework for caching and optimizing PHP intermediate code. &#8212; http://pecl.php.net/package/APC</em></p>
<p>The Installation of APC &#8211; Cache is quite easy. I assume you already have the Xcode development tools installed on your system and possibly compiled php on your own.</p>
<p>Just open the Terminal.</p>
<p>sudo pecl install apc</p>
<p>The following question should pop up. Please answer with yes:</p>
<p>Use apxs to set compile flags (if using APC with Apache)? [yes] : yes</p>
<p>After the installation completes, just edit the php.ini under /etc.</p>
<p>nano /etc/php.ini</p>
<p>In the extensions subsection just add following line:</p>
<p>extension=apc.so</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dboettger.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dboettger.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dboettger.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dboettger.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dboettger.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dboettger.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dboettger.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dboettger.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dboettger.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dboettger.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dboettger.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dboettger.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dboettger.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dboettger.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=19&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dboettger.wordpress.com/2009/11/03/installation-of-apc-cache-for-php-under-macosx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24deac15c1d5ee792c824f7051cf5338?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dboettger</media:title>
		</media:content>
	</item>
		<item>
		<title>Install Apache couchdb on MacOSX</title>
		<link>http://dboettger.wordpress.com/2009/10/18/install-apache-couchdb-on-macosx/</link>
		<comments>http://dboettger.wordpress.com/2009/10/18/install-apache-couchdb-on-macosx/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 17:24:36 +0000</pubDate>
		<dc:creator>dboettger</dc:creator>
				<category><![CDATA[Couchdb]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[MacOSX]]></category>

		<guid isPermaLink="false">http://dboettger.wordpress.com/?p=15</guid>
		<description><![CDATA[Last year on the PHP Conference in Mainz it was the first time i heard about couchdb. I was quite impressed, but had no use case for this database. In the near future i will need to improve our document handling in the applications. So i want to work with couchdb to improve versioning and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=15&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last year on the PHP Conference in Mainz it was the first time i heard about couchdb. I was quite impressed, but had no use case for this database. In the near future i will need to improve our document handling in the applications. So i want to work with couchdb to improve versioning and searching.</p>
<p>You can find more information about couchdb on http://couchdb.apache.org.</p>
<p>As anybody know, the first step is to install the couchdb on the local system. As i am a apple follower <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . I looked for a guide to install it on snow leopard.</p>
<p>Original information from http://blog.deadinkvinyl.com/2008/07/12/couchdb-on-macosx-leopard/</p>
<p>I did some corrections for the copy and paste guys like me <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . But the original post has much more information about the single steps.</p>
<p># Install needed packages via macports<br />
sudo port install icu erlang spidermonkey</p>
<p># Download the latest couchdb file<br />
tar xvzf apache-couchdb-0.10.0.tar.gz<br />
./configure<br />
make</p>
<p>sudo make install</p>
<p># Show all used userId&#8217;s<br />
dscl . -list /Users UniqueID | awk &#8216;{print $2}&#8217; | sort -n</p>
<p># Show all used groupId&#8217;s<br />
dscl . -list /Groups PrimaryGroupID | awk &#8216;{print $2}&#8217; | sort -n</p>
<p># We use groupid and userid 103 for the couchdbuser<br />
sudo dseditgroup -o create -i 103 -r &#8220;CouchDB Users&#8221; couchdb<br />
sudo dscl . -create /Users/couchdb<br />
sudo dscl . -create /Users/couchdb UniqueID 103<br />
sudo dscl . -create /Users/couchdb UserShell /bin/bash<br />
sudo dscl . -create /Users/couchdb RealName &#8220;CouchDB Administrator&#8221;<br />
sudo dscl . -create /Users/couchdb NFSHomeDirectory \<br />
/usr/local/var/lib/couchdb<br />
sudo dscl . -create /Users/couchdb PrimaryGroupID 103<br />
sudo dscl . -create /Users/couchdb Password *</p>
<p>sudo chown -R couchdb:couchdb /usr/local/var/lib/couchdb<br />
sudo chown -R couchdb:couchdb /usr/local/var/log/couchdb</p>
<p># Startup couchdb</p>
<p>sudo -u couchdb couchdb</p>
<p>Create a copy of the plist file and edit it.</p>
<p>cp /usr/local/Library/LaunchDaemons/org.apache.couchdb.plist \<br />
/var/tmp/org.apache.couchdb.plist<br />
open /var/tmp/org.apache.couchdb.plist</p>
<p>1. Open Root → EnvironmentVariables<br />
2. Click on Add Child<br />
3. Name: PATH<br />
4. Value: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin<br />
5. File → Save<br />
6. Quit Property List Editor</p>
<p>sudo cp /var/tmp/org.apache.couchdb.plist \<br />
/usr/local/Library/LaunchDaemons/org.apache.couchdb.plist</p>
<p># To control the database, simply execute<br />
sudo launchctl load \<br />
/usr/local/Library/LaunchDaemons/org.apache.couchdb.plist<br />
# to start<br />
# or<br />
sudo launchctl unload \<br />
/usr/local/Library/LaunchDaemons/org.apache.couchdb.plist<br />
# to stop the database</p>
<p># Automatically launch<br />
sudo ln -s /usr/local/Library/LaunchDaemons/org.apache.couchdb.plist \<br />
/Library/LaunchDaemons/org.apache.couchdb.plist</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dboettger.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dboettger.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dboettger.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dboettger.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dboettger.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dboettger.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dboettger.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dboettger.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dboettger.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dboettger.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dboettger.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dboettger.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dboettger.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dboettger.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=15&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dboettger.wordpress.com/2009/10/18/install-apache-couchdb-on-macosx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24deac15c1d5ee792c824f7051cf5338?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dboettger</media:title>
		</media:content>
	</item>
		<item>
		<title>Installation of PHP 5.2.11 on MacOSX Snow Leopard with Oracle Instantclient</title>
		<link>http://dboettger.wordpress.com/2009/10/18/installation-of-php-5-2-11-on-macosx-snow-leopard-with-oracle-instantclient/</link>
		<comments>http://dboettger.wordpress.com/2009/10/18/installation-of-php-5-2-11-on-macosx-snow-leopard-with-oracle-instantclient/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 16:27:47 +0000</pubDate>
		<dc:creator>dboettger</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://ar0und.wordpress.com/?p=11</guid>
		<description><![CDATA[MySQL Just install the package from mysql.com. Macports First install the Macport from macports.org. You also need the Apple developer tools to compile software. The developmentkit from apple ships with the wonderful gcc compiler . After you install macports ( a package management for MacOSX) you are able to install the needed libraries. Just execute [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=11&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>MySQL</p>
<p>Just install the package from mysql.com.</p>
<p><strong>Macports</strong></p>
<p>First install the Macport from macports.org. You also need the Apple developer tools to compile software. The developmentkit from apple ships with the wonderful gcc compiler <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
<p>After you install macports ( a package management for MacOSX) you are able to install the needed libraries. Just execute the following commands:</p>
<p>sudo port install jpeg<br />
sudo port install libpng<br />
sudo port install freetype<br />
sudo port install mcrypt<br />
sudo port install libiconv<br />
sudo port install cclient</p>
<p><strong>Oracle Installation (Instantclient only):</strong></p>
<p>Download the oracle client basic Version 10.2 and SDK 10.2 from the Oracle download page.<br />
Move the extracted files to /opt/instantclient_10_2.</p>
<p>export LD_LIBRARY_PATH=/opt/oracle/instantclient_10_2/sdk/include/:/opt/oracle/instantclient_10_2:.</p>
<p>cd /opt/instantclient_10_2<br />
ln -s libclntsh.dylib.10.1 libclntsh.dylib<br />
ln -s libclntsh.dylib libclntsh.so</p>
<p>export NLS_LANG=&#8221;American_America.UTF8&#8243;<br />
export DYLD_LIBRARY_PATH=/opt/instantclient_10_2</p>
<p>Download php 5.2.11 from php.net.<br />
Extract the php sourcefile into a diretory.</p>
<p>./configure &#8211;prefix=/usr &#8211;with-apxs2=/usr/sbin/apxs &#8211;with-ldap=/usr &#8211;with-kerberos=/usr &#8211;enable-cli &#8211;with-zlib-dir=/usr &#8211;enable-exif &#8211;enable-ftp &#8211;enable-mbstring &#8211;enable-mbregex &#8211;enable-sockets &#8211;with-iodbc=/usr &#8211;with-curl=/usr &#8211;with-config-file-path=/etc &#8211;sysconfdir=/private/etc &#8211;with-mysql-sock=/var/mysql &#8211;with-mysqli=/usr/local/mysql/bin/mysql_config &#8211;with-mysql=/usr/local/mysql &#8211;with-openssl=shared,/opt/local &#8211;with-xmlrpc &#8211;with-xsl=/usr &#8211;with-pear &#8211;with-libxml-dir=/usr &#8211;with-iconv=shared,/opt/local &#8211;with-pdo-mysql=/usr/local/mysql/bin/mysql_config &#8211;with-gd &#8211;with-jpeg-dir=/opt/local &#8211;with-png-dir=/opt/local &#8211;with-freetype-dir=/opt/local &#8211;with-mcrypt=/opt/local &#8211;with-imap=/opt/local &#8211;with-imap-ssl &#8211;enable-soap &#8211;with-oci8=instantclient,/opt/instantclient_10_2 &#8211;with-pdo-oci=instantclient,/opt/instantclient_10_2,10.2.0.4</p>
<p>We have to edit the Makefile to run a successful compile.</p>
<p>nano Makefile<br />
Edit the line with the EXTRA_LIBS = &#8230;.. stuff.<br />
Add -lresolv to the line, save and exit the file.</p>
<p>After editing the Makefile we are able to compile the binaries. Just enter make to execute the compilation.</p>
<p>If make was successful we have to execute make install as superuser. The command sudo make install is our friend <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
<p>We have to create the following directory and link the library to it. Don&#8217;t ask just the strange oraclestuff.<br />
mkdir -p /b/32_216/rdbms/lib<br />
ln -s /opt/instantclient_10_2/libclntsh.dylib.10.1 /b/32_216/rdbms/lib/</p>
<p><strong>Apache configuration</strong></p>
<p>The last modification we have to add is the initconfiguration of the apacheservice. We need some variables set in the runtime environment.</p>
<p>We will edit the /System/Library/LaunchDaemons/org.apache.httpd.plist file like that or something similar for you locales.</p>
<p>nano /System/Library/LaunchDaemons/org.apache.httpd.plist</p>
<p>&lt;code&gt;</p>
<p>&lt;!DOCTYPE plist PUBLIC &#8220;-//Apple Computer//DTD PLIST 1.0//EN&#8221; &#8220;http://www.apple.com/DTDs/PropertyList-1.0.dtd&#8221;&gt;<br />
&lt;plist version=&#8221;1.0&#8243;&gt;<br />
&lt;dict&gt;<br />
&lt;key&gt;Disabled&lt;/key&gt;<br />
&lt;true/&gt;<br />
&lt;key&gt;Label&lt;/key&gt;<br />
&lt;string&gt;org.apache.httpd&lt;/string&gt;<br />
&lt;key&gt;ProgramArguments&lt;/key&gt;<br />
&lt;array&gt;<br />
&lt;string&gt;/usr/sbin/httpd&lt;/string&gt;<br />
&lt;string&gt;-D&lt;/string&gt;<br />
&lt;string&gt;FOREGROUND&lt;/string&gt;<br />
&lt;/array&gt;<br />
&lt;key&gt;OnDemand&lt;/key&gt;<br />
&lt;false/&gt;<br />
&lt;key&gt;SHAuthorizationRight&lt;/key&gt;<br />
&lt;string&gt;system.preferences&lt;/string&gt;<br />
&lt;key&gt;EnvironmentVariables&lt;/key&gt;<br />
&lt;dict&gt;<br />
&lt;key&gt;DYLD_LIBRARY_PATH&lt;/key&gt;<br />
&lt;string&gt;/opt/instantclient_10_2&lt;/string&gt;<br />
&lt;key&gt;TNS_ADMIN&lt;/key&gt;<br />
&lt;string&gt;/opt/oracle/tns&lt;/string&gt;<br />
&lt;key&gt;LANG&lt;/key&gt;<br />
&lt;string&gt;de_DE.UTF-8&lt;/string&gt;<br />
&lt;key&gt;NLS_LANG&lt;/key&gt;<br />
&lt;string&gt;GERMAN_GERMANY.UTF8&lt;/string&gt;<br />
&lt;/dict&gt;<br />
&lt;/dict&gt;<br />
&lt;/plist&gt;</p>
<p>&lt;/code&gt;</p>
<p>I hope i was able to help you guys. If you have any question, don&#8217;t hesitate to contact me or post some comments.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dboettger.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dboettger.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dboettger.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dboettger.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dboettger.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dboettger.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dboettger.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dboettger.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dboettger.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dboettger.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dboettger.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dboettger.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dboettger.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dboettger.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dboettger.wordpress.com&amp;blog=9994166&amp;post=11&amp;subd=dboettger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dboettger.wordpress.com/2009/10/18/installation-of-php-5-2-11-on-macosx-snow-leopard-with-oracle-instantclient/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24deac15c1d5ee792c824f7051cf5338?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dboettger</media:title>
		</media:content>
	</item>
	</channel>
</rss>
