<?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>Diego Búrigo Zacarão's Weblog &#187; Fedora</title>
	<atom:link href="http://diegobz.net/category/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://diegobz.net</link>
	<description>Let me talk about something</description>
	<lastBuildDate>Mon, 08 Mar 2010 01:50:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Enabling apache UserDir (public_html) with SELinux enabled on Fedora</title>
		<link>http://diegobz.net/2010/03/07/enabling-apache-userdir-public_html-with-selinux-enabled-on-fedora/</link>
		<comments>http://diegobz.net/2010/03/07/enabling-apache-userdir-public_html-with-selinux-enabled-on-fedora/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 20:11:28 +0000</pubDate>
		<dc:creator>diegobz</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SELinux]]></category>

		<guid isPermaLink="false">http://diegobz.net/?p=309</guid>
		<description><![CDATA[I do it barely and for me it&#8217;s kinda getting a headache every time I need to do it. I never remember exactly how it needs to be done. So here there are some steps in order to get a specific user using its home dir (usually ~/public_html/) with Apache. It will surely help me [...]]]></description>
			<content:encoded><![CDATA[<p>I do it barely and for me it&#8217;s kinda getting a headache every time I need to do it. I never remember exactly how it needs to be done. So here there are some steps in order to get a specific user using its home dir (usually ~/public_html/) with Apache. It will surely help me in the future and maybe it might help you too. <img src='http://diegobz.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ol>
<li>Edit the <strong><em>/etc/httpd/conf/httpd.conf</em></strong> file.<br />
Change the <strong><em>&#8216;UserDir disabled&#8217;</em></strong> line to <strong><em>&#8216;UserDir enabled &lt;username&gt;&#8217;</em></strong>.<br />
Uncomment the <em><strong>&#8216;UserDir public_html&#8217;</strong></em> line.<br />
Also uncomment the whole <em><strong>&#8216;&lt;Directory /home/*/public_html&gt;&#8217;</strong></em> section until the <em><strong>&#8216;&lt;/Directory&gt;&#8217;</strong></em>.</li>
<li>Apply the proper permissions:<br />
# chmod 711 ~&lt;username&gt;<br />
# chmod 755 -R ~&lt;username&gt;/public_html/</li>
<li>Run the following commands so SELinux wouldn&#8217;t bother you:<br />
# setsebool -P httpd_enable_homedirs true<br />
# chcon -R -t httpd_sys_content_t ~&lt;username&gt;/public_html   <em># It looks like it&#8217;s not necessary. See dgrift&#8217;s comments below.</em></li>
<li>Extra Tip: It looks like on PHP versions  &gt;= 5.3.0, to allow the short tag &#8216;&lt;?&#8217; we need to set <em><strong>&#8217;short_open_tag = On&#8217;</strong></em> in the <em><strong>/etc/php.ini</strong></em>.</li>
</ol>
<p>Restart the httpd service and after it you should be able to access http://localhost/~&lt;username&gt;/</p>
<p>References:<br />
<a href="http://fedoraproject.org/wiki/SELinux/apache" target="_blank">http://fedoraproject.org/wiki/SELinux/apache</a><br />
<a href="http://albertux.ayalasoft.com/2010/01/30/fedora-12-httpd-userdir-selinux-works/" target="_blank">http://albertux.ayalasoft.com/2010/01/30/fedora-12-httpd-userdir-selinux-works/</a><br />
<a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialWebSiteConfig.html" target="_blank">http://www.yolinux.com/TUTORIALS/LinuxTutorialWebSiteConfig.html</a></p>
<p>UPDATE 1: Altered <strong><em>&#8217;setsebool httpd_enable_homedirs true&#8217;</em></strong> into <strong><em>&#8217;setsebool -P httpd_enable_homedirs true&#8217;</em></strong>. Also added comment about the <strong><em>&#8216;chcon&#8217;</em></strong> command. Thanks, dgrift.</p>
]]></content:encoded>
			<wfw:commentRss>http://diegobz.net/2010/03/07/enabling-apache-userdir-public_html-with-selinux-enabled-on-fedora/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>It&#8217;s been 1 year of Indifex</title>
		<link>http://diegobz.net/2010/02/01/its-been-1-year-of-indifex/</link>
		<comments>http://diegobz.net/2010/02/01/its-been-1-year-of-indifex/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 13:09:52 +0000</pubDate>
		<dc:creator>diegobz</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Europe]]></category>
		<category><![CDATA[FUDCon]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[GSoC]]></category>
		<category><![CDATA[Indifex]]></category>
		<category><![CDATA[Transifex]]></category>

		<guid isPermaLink="false">http://diegobz.net/?p=283</guid>
		<description><![CDATA[Time definitely flies
It looks like it was yesterday that I firstly flew to EU to meet some Fedora guys at the FUDCon in Brno. At that time, September of 2008, I had just finished my GSoC application and lots of ideas were going around our minds (Me and Dimitris Glezos), mainly about what we should [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Time definitely flies</strong></p>
<p>It looks like it was yesterday that I firstly flew to EU to meet some Fedora guys at the FUDCon in Brno. At that time, September of 2008, I had just finished my <a title="GSoC blog posts" href="http://diegobz.net/category/gsoc/" target="_blank">GSoC application</a> and lots of ideas were going around our minds (Me and Dimitris Glezos), mainly about what we should do about <a href="http://transifex.org/" target="_blank">Transifex</a>.</p>
<p>My first time in Greece, Dimitris&#8217; country, allowed us to discuss many things, including the redesign of Transifex. I remember we realized we had in our hands an idea that, at least for us, could sound very promising and with lots of potential. We were kinda anxious and unsure on how we should push things on, but we had a shared common feeling -  We need to do something.</p>
<div style="text-align: center;">
<div class="imageframe centered" style="width: 500px;"><img class="attachment wp-att-289" src="http://diegobz.net/wp-content/uploads/2010/02/time-flies.jpg" alt="Time Flies by Bichuas (E. Carton)" width="500" height="334" /></p>
<div class="imagecaption">Time Flies by Bichuas (E. Carton)</div>
</div>
</div>
<p>In a long short history, I came back to Brazil in November of 2008 and 3 months later I was working full time on Transifex as an <a title="Indifex website" href="http://indifex.com" target="_blank">Indifexian</a>. February of 2009 was a mark for me. At that period, my life was kinda turned up side down, not in a bad way, just in a complete different way. New challenges and horizons  just shown up and it&#8217;s been like this until now, 1 year later.</p>
<p>Today we are not anymore 2 crazy guys, locked down in an apartment, ordering food and hacking most of the time during the night.  The team has increased and we are really happy about it. We keep working hard to hit our goals seeking ways to make &#8216;Translations a click away&#8217;. Talking about it, <a href="http://docs.transifex.org/releases/0.8.html#transifex-0-8-alpha" target="_blank">Transifex 0.8alpha</a> is just out, be sure to take a look at the new features. <img src='http://diegobz.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Happy translations!</p>
]]></content:encoded>
			<wfw:commentRss>http://diegobz.net/2010/02/01/its-been-1-year-of-indifex/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Running Transifex with PostgreSQL on Fedora</title>
		<link>http://diegobz.net/2009/11/22/running-transifex-with-postgresql-on-fedora/</link>
		<comments>http://diegobz.net/2009/11/22/running-transifex-with-postgresql-on-fedora/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 20:02:57 +0000</pubDate>
		<dc:creator>diegobz</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Transifex]]></category>

		<guid isPermaLink="false">http://diegobz.net/?p=257</guid>
		<description><![CDATA[Steps with sudo command configured to the current user:
$ sudo yum install postgresql-server python-psycopg2
$ sudo service postgresql initdb
Initializing database:                                     [...]]]></description>
			<content:encoded><![CDATA[<p>Steps with sudo command configured to the current user:</p>
<blockquote><p>$ sudo yum install postgresql-server python-psycopg2</p>
<p>$ sudo service postgresql initdb<br />
Initializing database:                                     [  OK  ]</p>
<p>$ sudo service postgresql start<br />
Starting postgresql service:                           [  OK  ]</p>
<p>$ sudo su &#8211; postgres</p>
<p>-bash-4.0$ psql</p>
<p>postgres=# CREATE USER transifex WITH PASSWORD &#8216;transifex&#8217;;<br />
CREATE ROLE</p>
<p>postgres=# CREATE DATABASE transifex OWNER transifex;<br />
CREATE DATABASE</p>
<p>postgres=# \q</p>
<p>-bash-4.0$ exit</p>
<p>$ sudo vim /var/lib/pgsql/data/pg_hba.conf</p>
<p># &#8220;local&#8221; is for Unix domain socket connections only<br />
local   transifex   transifex                      password    # Add this line<br />
local   all            all                               ident</p>
<p>$ sudo service postgresql restart</p>
<p>$ psql transifex transifex<br />
Password for user transifex:<br />
psql (8.4.1)<br />
Type &#8220;help&#8221; for help.</p>
<p>transifex=&gt;</p>
<p>transifex=&gt; \q</p>
<p># Bellow it assumes the Tx code is under ~/workspace/mainline/ and<br />
# all the dependencies are installed. http://docs.transifex.org/intro/install.html</p>
<p>$ cd workspace/mainline/transifex/</p>
<p>$ vim settings/21-engines.conf</p>
<p># Database configuration<br />
DATABASE_ENGINE = &#8216;postgresql_psycopg2&#8242;<br />
DATABASE_NAME = &#8216;transifex&#8217;<br />
DATABASE_USER = &#8216;transifex&#8217;<br />
DATABASE_PASSWORD = &#8216;transifex&#8217;</p>
<p>$ ./manage.py syncdb</p>
<p>$ ./manage.py migrate codebases  # It shouldn&#8217;t be necessary :/</p>
<p>$ ./manage.py migrate</p>
<p>$ ./manage.py loaddata txcommon/fixtures/*</p>
<p>$ ./manage.py runserver 8080</p></blockquote>
<p>That&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://diegobz.net/2009/11/22/running-transifex-with-postgresql-on-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unicode usernames in Django admin panel</title>
		<link>http://diegobz.net/2009/11/10/unicode-usernames-in-django-admin-panel/</link>
		<comments>http://diegobz.net/2009/11/10/unicode-usernames-in-django-admin-panel/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 14:10:43 +0000</pubDate>
		<dc:creator>diegobz</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Transifex]]></category>

		<guid isPermaLink="false">http://diegobz.net/?p=243</guid>
		<description><![CDATA[This week we&#8217;ve gotten a request from translate.moblin.org for being able to login using unicode chars. They use a custom backend for authentication that allows, for example, Chinese chars in the username. Django seems to handle it pretty well, although the Django Admin Panel complains about it. As a solution, we&#8217;ve implemented a way to [...]]]></description>
			<content:encoded><![CDATA[<p>This week we&#8217;ve gotten a request from <a href="http://translate.moblin.org/" target="_blank">translate.moblin.org</a> for being able to login using unicode chars. They use a custom backend for authentication that allows, for example, Chinese chars in the username. Django seems to handle it pretty well, although the Django Admin Panel complains about it. As a solution, we&#8217;ve implemented a way to override the Django admin forms for creating and editing users, using a UnicodeRegexField.</p>
<p>That was a cool stuff. Here is a code example of an <a href="http://diegobz.net/wp-content/uploads/2009/11/admin.txt" target="_blank">admin.py</a></p>
]]></content:encoded>
			<wfw:commentRss>http://diegobz.net/2009/11/10/unicode-usernames-in-django-admin-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Palestra na Faculdades Energia/FASC em Criciúma</title>
		<link>http://diegobz.net/2009/10/09/palestra-na-faculdades-energiafasc-em-criciuma/</link>
		<comments>http://diegobz.net/2009/10/09/palestra-na-faculdades-energiafasc-em-criciuma/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 20:52:20 +0000</pubDate>
		<dc:creator>diegobz</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Português]]></category>
		<category><![CDATA[Transifex]]></category>

		<guid isPermaLink="false">http://diegobz.net/?p=213</guid>
		<description><![CDATA[Na última quarta-feira (07/10), atendendo ao convide do coordenador do curso de Sistema de Informação, compareci na Faculdades Energia/FASC &#8211; Faculdades Associadas de Santa Catarina em Criciúma. Como na maioria das faculdades e universidades, uma vez por ano os cursos promovem a semana acadêmica, que tem o intuito de trazer palestras referentes aos assuntos de [...]]]></description>
			<content:encoded><![CDATA[<p>Na última quarta-feira (07/10), atendendo ao convide do coordenador do curso de Sistema de Informação, compareci na Faculdades Energia/FASC &#8211; Faculdades Associadas de Santa Catarina em Criciúma. Como na maioria das faculdades e universidades, uma vez por ano os cursos promovem a semana acadêmica, que tem o intuito de trazer palestras referentes aos assuntos de interesse.<a title="Palestra na Faculdades Energia/FASC em Criciúma" rel="lightbox[pics213]" href="http://diegobz.net/wp-content/uploads/2009/10/Diego_Palestra_FASC.jpg"><img class="alignright" src="http://diegobz.net/wp-content/uploads/2009/10/Diego_Palestra_FASC.thumbnail.jpg" alt="Palestra na Faculdades Energia/FASC em Criciúma" width="200" height="150" /></a></p>
<p>Fui convidado para falar de Software Livre. Aproveitei para falar como toda essa &#8220;ideologia&#8221; funciona na prática, baseado nas minhas próprias experiências dentro do Projeto Fedora e consequentemente no Transifex. Comecei dando uma pincelada sobre o que é GNU, Kernel Linux, distribuição e a filosofia por trás do termo Software Livre. Tudo isso com exemplos diretos aplicados dentro do Fedora.</p>
<p>Meu foco principal foi tentar incentivar a audiência, que por sinal estava ótima, com sala cheia (~120 pessoas), a ver o quanto é fácil começar a colaborar com o movimento de Software Livre e de Código Aberto. Fiz questão de frisar que a comunidade (não fanboys) do Fedora está de portas abertas e que qualquer pessoa tem algo a oferecer, é só querer contribuir. <img src='http://diegobz.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>A apresentação pode ser encontrada em <a href="http://diegobz.fedorapeople.org/presentations/" target="_blank">http://diegobz.fedorapeople.org/presentations/</a></p>
<p>Thank you Paul, for your excellent presentation, which I took as a template for mine. <img src='http://diegobz.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://diegobz.net/2009/10/09/palestra-na-faculdades-energiafasc-em-criciuma/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
