<?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"
	>

<channel>
	<title>Ez CTO</title>
	<atom:link href="http://ezcto.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ezcto.com</link>
	<description>Helping CTOs get their shit together since 2008.</description>
	<pubDate>Thu, 15 May 2008 05:11:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Load Balanced Server Architecture</title>
		<link>http://ezcto.com/2008/05/load-balanced-server-architecture/</link>
		<comments>http://ezcto.com/2008/05/load-balanced-server-architecture/#comments</comments>
		<pubDate>Thu, 15 May 2008 05:07:38 +0000</pubDate>
		<dc:creator>Will</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Postgresql]]></category>

		<category><![CDATA[Server Architecture]]></category>

		<category><![CDATA[apache]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[deployment]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[dns]]></category>

		<category><![CDATA[load balancing]]></category>

		<category><![CDATA[master]]></category>

		<category><![CDATA[replication]]></category>

		<category><![CDATA[slave]]></category>

		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://ezcto.com/?p=8</guid>
		<description><![CDATA[There is plenty of debate these days regarding the ideal load balanced architecture. This is the architecture I recommend for a small multi-server setup.

Linux
Apache
Postgresql Replication
PHP
Subversion codebase deployment


]]></description>
			<content:encoded><![CDATA[<p>There is plenty of debate these days regarding the ideal load balanced architecture. This is the architecture I recommend for a small multi-server setup.</p>
<ul>
<li>Linux</li>
<li>Apache</li>
<li>Postgresql Replication</li>
<li>PHP</li>
<li>Subversion codebase deployment</li>
</ul>
<p><img title="server-architecture" src="http://ezcto.com/wp-content/uploads/2008/05/server-architecture.png" alt="" width="714" height="714" /></p>
]]></content:encoded>
			<wfw:commentRss>http://ezcto.com/2008/05/load-balanced-server-architecture/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to setup Dreamweaver with SVN+SSH</title>
		<link>http://ezcto.com/2008/05/dreamweaver-svn-ssh/</link>
		<comments>http://ezcto.com/2008/05/dreamweaver-svn-ssh/#comments</comments>
		<pubDate>Tue, 13 May 2008 02:14:19 +0000</pubDate>
		<dc:creator>Will</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[dreamweaver]]></category>

		<category><![CDATA[putty]]></category>

		<category><![CDATA[ssh]]></category>

		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://ezcto.com/?p=3</guid>
		<description><![CDATA[HOW TO SETUP DREAMWEAVER WITH SVN+SSH (WINDOWS XP)
Assumptions:
a. You already have a working SVN repository setup on the server
b. You already have SSH access to your linux server
c. You do NOT already have the following existing file on the server: ~/.ssh/authorized_keys
(if you do, any existing public keys will be overwritten)
Instructions:
1. install dreamweaver 8 or CS3
2. [...]]]></description>
			<content:encoded><![CDATA[<p>HOW TO SETUP DREAMWEAVER WITH SVN+SSH (WINDOWS XP)</p>
<p>Assumptions:</p>
<p>a. You already have a working SVN repository setup on the server<br />
b. You already have SSH access to your linux server<br />
c. You do NOT already have the following existing file on the server: ~/.ssh/authorized_keys<br />
(if you do, any existing public keys will be overwritten)</p>
<p>Instructions:</p>
<p>1. install dreamweaver 8 or CS3</p>
<p>2. install WinSCP - <a href="http://winscp.net/eng/download.php">http://winscp.net/eng/download.php</a></p>
<p>3. install SVN4DW dreamweaver extension - <a href="http://ezcto.com/downloads/SVN4DW.zip">http://ezcto.com/downloads/SVN4DW.zip</a></p>
<p>4. install TortoiseSVN - <a href="http://tortoisesvn.net/downloads">http://tortoisesvn.net/downloads</a></p>
<p>5. download putty binaries - <a href="http://the.earth.li/~sgtatham/putty/latest/x86/putty.zip">http://the.earth.li/~sgtatham/putty/latest/x86/putty.zip</a><br />
extract them to c:\Program Files\PuTTY</p>
<p>6. run c:\Program Files\PuTTY\putty.exe</p>
<p>7. enter the hostname (or ip address) of your server<br />
enter a name for the saved session (make this different than the hostname) i.e. MySession<br />
click save<br />
click open</p>
<p>8. log in to your linux shell account with your username and password and type the following commands:<br />
[~]$ ssh-keygen -t rsa<br />
&#8211; press the enter key at each prompt &#8211;<br />
[~]$ chmod 700 .ssh<br />
[~]$ cd .ssh<br />
[~]$ cp id_rsa.pub authorized_keys<br />
[~]$ chmod 600 authorized_keys<br />
[~]$ chmod 711 ~<br />
[~]$ exit</p>
<p>9. open WinSCP (it should be on your Start Menu &gt; All Programs &gt; WinSCP)</p>
<p>10. enter the hostname (or ip address)<br />
enter your username<br />
enter your password<br />
select &#8216;SCP&#8217; as the file protocol<br />
click login</p>
<p>11. in the .ssh folder, there is a file called &#8216;id_rsa&#8217;.<br />
download this file to c:\Program Files\PuTTY\keys</p>
<p>12. run c:\Program Files\PuTTY\puttygen.exe<br />
on the conversions menu, click import key<br />
select c:\Program Files\PuTTY\keys\id_rsa<br />
click open<br />
make sure SSH-2 RSA is selected<br />
click save private key<br />
click yes when prompted to save without a passphrase<br />
save the file with the same name as your putty session, i.e. MySession.ppk</p>
<p>13. run c:\Program Files\PuTTY\putty.exe</p>
<p>14. click your saved session<br />
click load<br />
click Connection &gt; SSH &gt; Auth<br />
click browse<br />
select the ppk file you created (from step 12)<br />
scroll up and click session<br />
click save<br />
click open</p>
<p>15. type your username when prompted</p>
<p>16. it should say &#8220;Authenticating with public key&#8230;&#8221;.  if not you did something wrong.  start over.</p>
<p>17. go to &#8216;my computer&#8217; and open your hard drive &#8216;c:\&#8217;</p>
<p>18. right click inside the my computer window and choose SVN Checkout&#8230;</p>
<p>19. the URL of repository should look like this:<br />
svn+ssh://username@MySession/home/repo<br />
(where &#8216;/home/repo&#8217; is the path to the repository on your server)</p>
<p>20. select a Checkout directory.  this is going to be your &#8216;local site&#8217; folder in dreamweaver.</p>
<p>21. click ok and wait for all files to be downloaded</p>
<p>22. open dreamweaver</p>
<p>23. create a new site (Site &gt; Manage Sites &gt; New)<br />
for the local root folder, select the checkout directory from step 20<br />
click ok</p>
<p>24. now let&#8217;s setup a keyboard shortcut to make it easier to commit.<br />
on the edit menu, select Keyboard Shortcuts&#8230;</p>
<p>25. click the duplicate set button<br />
choose Menu Commands<br />
click SVN &gt; Commit<br />
click the + button next to shortcuts<br />
click in the text field next to &#8216;Press key&#8217;<br />
press the desired shortcut keys, i.e.  Ctrl + Shift + S<br />
click change<br />
click ok</p>
<p>26. open tortoise settings<br />
click &#8216;dialogs 1&#8242;<br />
in the &#8216;progress&#8217; section, set &#8216;auto-close if no errors&#8217;</p>
<p>27. whew! now you&#8217;re all set up!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://ezcto.com/2008/05/dreamweaver-svn-ssh/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
