<?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>Felipe Theodoro &#187; mod rewrite</title>
	<atom:link href="http://blog.ftgoncalves.com/tag/mod-rewrite/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ftgoncalves.com</link>
	<description>sempre Realimentação positiva</description>
	<lastBuildDate>Tue, 31 Aug 2010 15:17:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Instalando o LAMP no ubuntu e habilitando o mod rewrite.</title>
		<link>http://blog.ftgoncalves.com/2009/12/instalando-o-lamp-no-ubunto-e-habilitando-o-mod-rewrite/</link>
		<comments>http://blog.ftgoncalves.com/2009/12/instalando-o-lamp-no-ubunto-e-habilitando-o-mod-rewrite/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 15:06:34 +0000</pubDate>
		<dc:creator>Felipe Theodoro</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[mod rewrite]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.ftgoncalves.com/?p=136</guid>
		<description><![CDATA[Instalando o LAMP no ubunto e habilitando o mod rewrite.]]></description>
			<content:encoded><![CDATA[<p>Bom, vai parecer um pouco, ou melhor, bastante duplicados, mas vou ensinar os passos para instalar o LAMP no ubuntu. Utilizarei a distro ubuntu 9.10.  <strong>Instalando o Apache</strong> No terminal, execute:</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">sudo apt-get install apache2</pre></div></div>

<p>Com isso você já terá o apache rodando. Teste: http://localhost/  <strong>Instalando o PHP</strong></p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">sudo apt-get install php5 libapache2-mod-php5</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">sudo /etc/init.d/apache2 restart</pre></div></div>

<p><strong>Instalando o MySQL</strong></p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">sudo apt-get install mysql-server</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin</pre></div></div>

<p>E por fim, o que não poderia faltar: habilitando o Mod_Rewrite do Apache</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">sudo a2enmod rewrite</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">sudo sed -i '//{N;N;s/none$/All/i}' /etc/apache2/sites-enabled/000-default</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">sudo apache2ctl restart</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.ftgoncalves.com/2009/12/instalando-o-lamp-no-ubunto-e-habilitando-o-mod-rewrite/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
