<?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>The Blog of an Egyptian Songbird &#187; CentOS</title>
	<atom:link href="http://blog.twinklesprings.com/tag/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.twinklesprings.com</link>
	<description>A translation of my mind's short circuits.</description>
	<lastBuildDate>Thu, 05 Mar 2009 20:57:09 +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>Wordpress 2.5 Released [Reflection on upgrade and SVN]</title>
		<link>http://blog.twinklesprings.com/2008/04/03/wordpress-25-released-reflection-on-upgrade-and-svn/</link>
		<comments>http://blog.twinklesprings.com/2008/04/03/wordpress-25-released-reflection-on-upgrade-and-svn/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 11:33:58 +0000</pubDate>
		<dc:creator>Shadi Almosri</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://blog.twinklesprings.com/?p=47</guid>
		<description><![CDATA[So on Saturday the latest version of wordpress (2.5) has been released, which has been in the making for the past 6months.
I have always been an extremely fond user of wordpress, and the system never fails to impress me, as a blogging interface, a CMS, site management, it is incredibly clean, intuitive and simply &#8220;beautiful&#8221;. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.twinklesprings.com/wp-content/uploads/2008/04/wordpress_logo.png"><img class="alignleft size-medium wp-image-48" style="float: left; margin-left: 15px; margin-right: 15px; margin-top: 10px; margin-bottom: 10px;" title="wordpress_logo" src="http://blog.twinklesprings.com/wp-content/uploads/2008/04/wordpress_logo.png" alt="Wordpress Logo" width="250" height="68" /></a>So on Saturday the latest version of wordpress (2.5) has been released, which has been in the making for the past 6months.</p>
<p>I have always been an extremely fond user of wordpress, and the system never fails to impress me, as a blogging interface, a CMS, site management, it is incredibly clean, intuitive and simply &#8220;beautiful&#8221;. In a time when there is are so many systems out there geared for blogging, wordpress excels.</p>
<p>The new admin interface is very refreshing, clean and with a new built in &#8220;visual editor&#8221; for writing out articles.  Adding media to your blogs seems to be a lot easier now.</p>
<p>The upgrade process as usual with wordpress was incredibly easy, and took only a few moments to do (just remember to look after your plug-ins directory).</p>
<p>But i have been intrigued with SVN (subversion) for quite a while, and with the rather time saving command of:</p>
<p><code>svn update</code></p>
<p>To carry out updates, i thought it was time to indulge myself in SVN. It was remarkably easy to get working.</p>
<p><strong>Installing SVN</strong></p>
<p>The server i currently host this blog on is running CentOS 5.1, to install the SVN client you simply do:</p>
<p><code><br />
[root@hera httpdocs]# <strong>yum install subversion</strong><br />
Loading "installonlyn" plugin<br />
Setting up Install Process<br />
Setting up repositories<br />
Reading repository metadata in from local files<br />
Parsing package install arguments<br />
Resolving Dependencies<br />
--&gt; Populating transaction set with selected packages. Please wait.<br />
---&gt; Downloading header for subversion to pack into transaction set.<br />
subversion-1.4.2-2.el5.i3 100% |=========================|  42 kB    00:00<br />
---&gt; Package subversion.i386 0:1.4.2-2.el5 set to be updated<br />
--&gt; Running transaction check</code></p>
<p>Dependencies Resolved</p>
<p>=============================================================================<br />
Package                 Arch       Version          Repository        Size<br />
=============================================================================<br />
Installing:<br />
subversion              i386       1.4.2-2.el5      base              2.3 M</p>
<p>Transaction Summary<br />
=============================================================================<br />
Install      1 Package(s)<br />
Update       0 Package(s)<br />
Remove       0 Package(s)</p>
<p>Total download size: 2.3 M<br />
Is this ok [y/N]:<strong> y</strong><br />
Downloading Packages:<br />
(1/1): subversion-1.4.2-2 100% |=========================| 2.3 MB    00:00<br />
Running Transaction Test<br />
/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/local/sitebuilder/tmp(/.*)?.<br />
Finished Transaction Test<br />
Transaction Test Succeeded<br />
Running Transaction<br />
/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/local/sitebuilder/tmp(/.*)?.<br />
Installing: subversion                   ######################### [1/1]</p>
<p>Installed: subversion.i386 0:1.4.2-2.el5<br />
Complete!</p>
<p>Then you can check your SVN install:</p>
<p><code><br />
[root@hera httpdocs]# <strong>svn --version</strong><br />
svn, version 1.4.2 (r22196)<br />
compiled Mar 14 2007, 20:55:55</code></p>
<p>Copyright (C) 2000-2006 CollabNet.<br />
Subversion is open source software, see http://subversion.tigris.org/<br />
This product includes software developed by CollabNet (http://www.Collab.Net/).</p>
<p>Now you have two options, you can either do a fresh install of wordpress, or convert your current setup to an SVN able setup, this will enable you to use the simple SVN command to do future updates.</p>
<p>Initially i did some test runs on a dummy folder, to test out how SVN worked, it seems to be summed up with a few commands:</p>
<p><code>svn co</code></p>
<p>This command &#8220;checks-out&#8221; the code from the server and places it in the directory of your chosing i.e.</p>
<p><code>svn co http://svn.automattic.com/wordpress/trunk/ .</code></p>
<p>This will install the trunk version of the code in the current working directory (that&#8217;s what the final . states).</p>
<p>The <strong>trunk</strong> version is the &#8220;latest bleeding edge&#8221; version of a project, this would have the latest builds but could potentially (and somewhat likely) to have bugs, and should only be used for developers attempting to work with new code for future versions (i.e. making plug-ins or themes).</p>
<p>To download the current &#8220;stable&#8221; version (which in this case is 2.5) you would carry out the following command:</p>
<p><code>svn co http://svn.automattic.com/wordpress/tags/2.5 .</code></p>
<p>Next time you wish to upgrade to a newer version, for example when version 2.6 gets released, then you would carry ou the following command:</p>
<p><code>svn sw http://svn.automattic.com/wordpress/tags/2.5/ </code></p>
<p>You can carry out the above commands to do a <a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion#New_Install_2">Clean Install</a> or <a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion#Converting_a_.22Traditional.22_WordPress_Blog_to_a_Subversion_Checkout">Convert a traditional install to subversion</a>.  I think the documentation at wordpress.org is quite thorough and will get you through with easy.</p>
<p>So as with the cliche of wordpress upgrades, I&#8217;ve rewarded myself this blog post!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.twinklesprings.com/2008/04/03/wordpress-25-released-reflection-on-upgrade-and-svn/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remote Mail Delivery for Google Apps and Postfix Mail Server</title>
		<link>http://blog.twinklesprings.com/2008/03/27/remote-mail-delivery-for-google-apps-and-postfix-mail-server/</link>
		<comments>http://blog.twinklesprings.com/2008/03/27/remote-mail-delivery-for-google-apps-and-postfix-mail-server/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 12:57:04 +0000</pubDate>
		<dc:creator>Shadi Almosri</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[relay]]></category>

		<guid isPermaLink="false">http://blog.twinklesprings.com/2008/03/27/remote-mail-delivery-for-google-apps-and-postfix-mail-server/</guid>
		<description><![CDATA[After stumbling upon this issue various times I’ve decided to finally resolve it.
The Issue:
If you have a domain hosted on a server, but you have setup Google Apps for your domain to use the Gmail style email system for your domain, then you might notice a problem with sending mail to your own domain.
The problem [...]]]></description>
			<content:encoded><![CDATA[<p>After stumbling upon this issue various times I’ve decided to finally resolve it.</p>
<p><strong>The Issue:</strong></p>
<p>If you have a domain hosted on a server, but you have setup Google Apps for your domain to use the Gmail style email system for your domain, then you might notice a problem with sending mail to your own domain.</p>
<p>The problem is due to the domains hosted on the server telling your SMTP server that this server is the final destination for the email and all email will be sent using the local delivery methods on Linux.</p>
<p>To force your mail server (in this case Postfix) to relay your emails to the Google mail servers, then you will need to change the settings in the transport file:</p>
<p><code><br />
[12:40:21] [root@localhost /etc/postfix]# cd /<br />
[12:46:33] [root@localhost /]# cd /etc/postfix/<br />
[12:46:39] [root@localhost /etc/postfix]# nano transport<br />
</code></p>
<p>in the transport file you might see a line similar to:</p>
<p><code><br />
mydomain.com    maildrop:<br />
</code></p>
<p>Where &#8220;mydomain.com&#8221; is the domain you have hosted on the server.</p>
<p>To fix the domain relay issue to use the MX records at Google, you will need to change the above line to:</p>
<p><code><br />
mydomain.com relay:ASPMX.L.GOOGLE.com<br />
</code></p>
<p>if you have multiple domains on the server, of which some could be a mix of google hosted or locally hosted (for email), then you can simply set the file to look something like:</p>
<p><code><br />
mydomain.com		relay:ASPMX.L.GOOGLE.com<br />
mygoogledomain.com	relay:ASPMX.L.GOOGLE.com<br />
mylocaldomain.com	maildrop:<br />
</code></p>
<p>Then run the commands:</p>
<p><code><br />
[12:47:43] [root@localhost /etc/postfix]# postmap /etc/postfix/transport<br />
[12:47:44] [root@localhost /etc/postfix]# /etc/init.d/postfix reload<br />
Reloading postfix:                                         [  OK  ]<br />
[12:47:44] [root@localhost /etc/postfix]#<br />
</code></p>
<p>You can now test your emails by sending a mail on the server to a local domain, you can do it using a simple PHP script:</p>
<p>&lt; ?php<br />
mail(&#8220;youremail@yourdomain.com&#8221;, &#8220;test &#8211; mailserver&#8221;, &#8220;Message body&#8221;);<br />
?&gt;</p>
<p>If at any time you wish to see what postfix is doing, then you can keep an eye on your log file:</p>
<p><code><br />
[12:53:40] [root@localhost /etc/postfix]# tail -f /var/log/maillog<br />
</code></p>
<p>This will stream the maillog file and show you what postfix is doing.</p>
<p>[NOTE: This was carried out and tested on CentOS 5.1 but it should work on any Postfix Linux install]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.twinklesprings.com/2008/03/27/remote-mail-delivery-for-google-apps-and-postfix-mail-server/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
