<?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>Design</title>
	<atom:link href="http://zlevine.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://zlevine.com</link>
	<description>web design &#38; consulting</description>
	<lastBuildDate>Wed, 09 May 2012 18:52:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>SSH login without password</title>
		<link>http://zlevine.com/blog/ssh-login-without-password/</link>
		<comments>http://zlevine.com/blog/ssh-login-without-password/#comments</comments>
		<pubDate>Wed, 09 May 2012 18:48:32 +0000</pubDate>
		<dc:creator>Web design team</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://zlevine.com/?p=75</guid>
		<description><![CDATA[Creating your public key file is an easy process. Run the command to create it, give it to anybody and they can append it to the ~/.ssh/authorized_keys file that resides on their server, and then you can just login! CREATE YOUR PUBLIC KEY local:~ user$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file [...]]]></description>
			<content:encoded><![CDATA[<p>Creating your public key file is an easy process. Run the command to create it, give it to anybody and they can append it to the ~/.ssh/authorized_keys file that resides on their server, and then you can just login!</p>
<h1>CREATE YOUR PUBLIC KEY</h1>
<p><code>local:~ user$ ssh-keygen -t rsa<br />
Generating public/private rsa key pair.<br />
Enter file in which to save the key (~/.ssh/id_rsa): <br />
Enter passphrase (empty for no passphrase): <br />
Enter same passphrase again: <br />
Your identification has been saved in ~/.ssh/id_rsa.<br />
Your public key has been saved in ~/.ssh/id_rsa.pub.</code><br />
</p>
<h1>PUT IT ON A SERVER YOU HAVE ACCESS TO</h1>
<p><code><br />
cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://zlevine.com/blog/ssh-login-without-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to extract a zip file to a directory UNIX</title>
		<link>http://zlevine.com/blog/how-to-extract-a-zip-file-to-a-directory-unix/</link>
		<comments>http://zlevine.com/blog/how-to-extract-a-zip-file-to-a-directory-unix/#comments</comments>
		<pubDate>Fri, 09 Mar 2012 20:47:22 +0000</pubDate>
		<dc:creator>Web design team</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://zlevine.com/?p=71</guid>
		<description><![CDATA[Run this command: # unzip filename.zip -d /full/server/directory/path-you-want-to-extract-to A directory based on the zip file will be created in as a subdirectory in &#8220;path-you-want-to-extract-to&#8221;.]]></description>
			<content:encoded><![CDATA[<p>Run this command:</p>
<p><code># unzip filename.zip -d /full/server/directory/path-you-want-to-extract-to</code></p>
<p>A directory based on the zip file will be created in as a subdirectory in &#8220;path-you-want-to-extract-to&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://zlevine.com/blog/how-to-extract-a-zip-file-to-a-directory-unix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Configure Virtual Hosts Ubuntu</title>
		<link>http://zlevine.com/blog/how-to-configure-virtual-hosts-ubuntu/</link>
		<comments>http://zlevine.com/blog/how-to-configure-virtual-hosts-ubuntu/#comments</comments>
		<pubDate>Thu, 08 Mar 2012 18:44:17 +0000</pubDate>
		<dc:creator>Web design team</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://zlevine.com/?p=68</guid>
		<description><![CDATA[This is a three step process. Go to your sites-available directory. Go to your sites-enabled directory and run a2ensite. Edit your /etc/hosts file and add 127.0.1.1 to point to local1 (http://local1) Sites Available Copy the default file to start. $ sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/mynewsite Edit the new file to configure the new site To start [...]]]></description>
			<content:encoded><![CDATA[<p>This is a three step process.</p>
<ol>
<li>Go to your sites-available directory.</li>
<li>Go to your sites-enabled directory and run a2ensite.</li>
<li>Edit your /etc/hosts file and add 127.0.1.1 to point to local1 (http://local1)</li>
</ol>
<h2>Sites Available</h2>
<p>Copy the <strong>default file</strong> to start.<br />
<code>$ sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/mynewsite</code></p>
<p>Edit the new file to configure the new site</p>
<p>To start using New Virutal Host we have to modify at least two directives.<br />
1. ServerName (Put your domain name here)<br />
2. DocumentRoot (path to website)</p>
<h2>Sites Enabled</h2>
<p>Then go to the <strong>sites-enabled</strong> directory.<br />
Use the a2ensite (Apache2 Enable Site) utility to create those symbolic links.</p>
<p>Change the directory to<br />
<code>$ cd /etc/apache2/sites-enabled</code><br />
<code>$ sudo a2ensite mynewsite</code><br />
Similarly, the a2dissite utility should be used to disable sites.</p>
<p><strong>Restart</strong> apache. <code>sudo apachectl restart</code></p>
<h2>Hosts File</h2>
<p><code>$ sudo vi /etc/hosts</code></p>
<h2>Flush DNS Cache in Ubuntu 11.10</h2>
<p>sudo /etc/init.d/networking restart</p>
]]></content:encoded>
			<wfw:commentRss>http://zlevine.com/blog/how-to-configure-virtual-hosts-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

