<?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>Elzo Valugi &#187; Linux</title>
	<atom:link href="http://blog.valugi.ro/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.valugi.ro</link>
	<description>$professional_web_surfing tail -f /dev/things/that/happen &#62; blog</description>
	<lastBuildDate>Sat, 03 Dec 2011 02:05:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>RApache install in Ubuntu 10.04 LTS</title>
		<link>http://blog.valugi.ro/2011/03/30/rapache-install-in-ubuntu-10-04-lts/</link>
		<comments>http://blog.valugi.ro/2011/03/30/rapache-install-in-ubuntu-10-04-lts/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 07:06:24 +0000</pubDate>
		<dc:creator>elzo valugi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[r]]></category>

		<guid isPermaLink="false">http://blog.valugi.ro/?p=633</guid>
		<description><![CDATA[1. Install R (not detailed here) 2. Update R - I updated R from inside with update.packages() (! or similar) 3. RApache install we need the prefork only for apreq2 libraries,  so even if you have Apache working do this. apt-get install r-base-dev apache2-mpm-prefork apache2-prefork-dev wget http://biostat.mc.vanderbilt.edu/rapache/files/rapache-latest.tar.gz rapachedir=`tar tzf rapache-latest.tar.gz &#124; head -1` tar xzvf rapache-latest.tar.gz [...]]]></description>
			<content:encoded><![CDATA[<p><strong>1. Install R</strong> (not detailed here)</p>
<p><strong>2. Update R </strong>- I updated R from inside with update.packages()  (! or similar)</p>
<p><strong>3. RApache install</strong></p>
<ul>
<li> we need the prefork only for apreq2 libraries,  so even if you have Apache working do this.</li>
</ul>
<blockquote><p>
<code><br />
apt-get install r-base-dev apache2-mpm-prefork apache2-prefork-dev<br />
wget http://biostat.mc.vanderbilt.edu/rapache/files/rapache-latest.tar.gz<br />
rapachedir=`tar tzf rapache-latest.tar.gz   | head -1`<br />
tar xzvf rapache-latest.tar.gz<br />
cd $rapachedir<br />
./configure<br />
make<br />
make install</code></p></blockquote>
<p><strong>4. Create a file for R config</strong></p>
<blockquote><p><code>nano /etc/apache2/mods-available/r.conf</code></p></blockquote>
<li>with the following content</li>
<blockquote><p>
<code></p>
<p>ROutputErrors<br />
SetHandler r-info<br />
# hangs if the modules are not available<br />
#REvalOnStartup "library(DBI); library(RMySQL)"<br />
#RSourceOnStartup "/var/www/r/startup.R"<br />
SetHandler r-script RHandler sys.source<br />
</code></p></blockquote>
<p><strong>5. Create a module for apache</strong></p>
<blockquote><p>
<code>nano r.load</code>
</p></blockquote>
<p>with the following content</p>
<blockquote><p>
<code>LoadModule R_module           /usr/lib/apache2/modules/mod_R.so</code>
</p></blockquote>
<p><strong>6. Add module to Apache</strong></p>
<blockquote><p><code> a2nmod r</code></p></blockquote>
<p><strong>7. Reload Apache</strong></p>
<blockquote><p>
<code>/etc/init.d/apache2 reload</code>
</p></blockquote>
<p><strong>8. Check your installation at</strong></p>
<blockquote><p>
<code>http://localhost/RApacheInfo</code>
</p></blockquote>
<p><strong>9. Test it</strong></p>
<blockquote><p>
<code>http://localhost/r/startup.R?a=1&amp;b=2</code>
</p></blockquote>
<p><strong>startup.R file content</strong></p>
<blockquote><p>
<code><br />
get = str(GET)<br />
d = LETTERS[1:4]<br />
print(get)<br />
print (d)<br />
</code></p></blockquote>
<p>Should print</p>
<blockquote><p>
<code>List of 2<br />
$ a: chr "1"<br />
$ b: chr "2"<br />
NULL<br />
[1] "A" "B" "C" "D"</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.valugi.ro/2011/03/30/rapache-install-in-ubuntu-10-04-lts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>do not buy Apple</title>
		<link>http://blog.valugi.ro/2009/09/12/do-not-buy-apple/</link>
		<comments>http://blog.valugi.ro/2009/09/12/do-not-buy-apple/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 22:21:26 +0000</pubDate>
		<dc:creator>elzo valugi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Techie]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.valugi.ro/?p=452</guid>
		<description><![CDATA[Sometimes I give suggestion to my friends about software and hardware. I started working on a HC91 and since then I worked on various types of hardware. I love computers and Macs alike, but this is not a reason to stop reasoning. These days you don&#8217;t need a Mac. Not even in the old days. [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes I give suggestion to my friends about software and hardware. I started working on a <a href="http://en.wikipedia.org/wiki/Felix_HC#Felix_HC_series" target="_blank">HC91</a> and since then I worked on various types of hardware. I love computers and Macs alike, but this is not a reason to stop reasoning.</p>
<p>These days you don&#8217;t need a Mac. Not even in the old days. Some hardcore <a href="http://en.wikipedia.org/wiki/Desktop_publishing">DTP</a> professionals are probably the only ones that had any kind of argument, but those days are long over (the days of Corel on Mac &#8211; awful ).</p>
<p><strong>Mac products are restrictive, cost way too much, have little or none upgrade capability, have a stable but closed OS, limited active community in development of software. </strong></p>
<p>If you need something nice in your house and you like light curves buy a VASE.<br />
If you need some self esteem in front of your friends, grow a PAIR.<br />
If you need a good stable friendly interface for browsing install LINUX UBUNTU.</p>
<p>For everything else you can buy a cheaper, stronger computer, do your stuff and get out of the herd of marketing Apple slaves.</p>
<p>This is not a suggestion anymore. Stop buying Apple.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.valugi.ro/2009/09/12/do-not-buy-apple/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to install PDT 2.0 in Ubuntu 8.04 the simple way</title>
		<link>http://blog.valugi.ro/2008/07/17/how-to-install-pdt-20-in-ubuntu-8-04-the-simple-way/</link>
		<comments>http://blog.valugi.ro/2008/07/17/how-to-install-pdt-20-in-ubuntu-8-04-the-simple-way/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 20:21:22 +0000</pubDate>
		<dc:creator>elzo valugi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[pdt]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.valugi.ro/?p=194</guid>
		<description><![CDATA[1. uninstall eclipse 3.2 which comes from the Ubuntu repositories. Don&#8217;t worry about the files that you already have as they will be safe. 2. download latest eclipse (ganymede at this time 3.4). Choose Eclipse Classic version. 3. unzip and put somewhere in the system. 4. download PDT 2.0.0 and unzip. 5. go to eclipse/help/software [...]]]></description>
			<content:encoded><![CDATA[<p>1. uninstall eclipse 3.2 which comes from the Ubuntu repositories. Don&#8217;t worry about the files that you already have as they will be safe.<br />
2. <a href="http://www.eclipse.org/downloads/">download</a> latest eclipse (ganymede at this time 3.4). Choose Eclipse Classic version.<br />
3. unzip and put somewhere in the system.<br />
4. download <a href="http://download.eclipse.org/tools/pdt/downloads/index.php">PDT 2.0.0</a> and unzip.<br />
5. go to eclipse/help/software updates/available software/ add site / local and point to the unziped PDT folder<br />
6. install and restart</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.valugi.ro/2008/07/17/how-to-install-pdt-20-in-ubuntu-8-04-the-simple-way/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>.htaccess not working in Apache2 in Ubuntu</title>
		<link>http://blog.valugi.ro/2008/05/29/htaccess_internal_server_error_apache2_ubuntu/</link>
		<comments>http://blog.valugi.ro/2008/05/29/htaccess_internal_server_error_apache2_ubuntu/#comments</comments>
		<pubDate>Thu, 29 May 2008 16:19:31 +0000</pubDate>
		<dc:creator>elzo valugi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.valugi.ro/?p=184</guid>
		<description><![CDATA[If you put some .htaccess file in your server and doesn&#8217;t work as expected, maybe you are trying to install a Drupal site or to set Zend Framework, follow this steps. Find your site virtual host file or edit the 000-default in the /etc/apache2/sites-enabled/ Add this lines: &#60;Directory /var/www/mysite/&#62; AllowOverride all &#60;/Directory&#62; after this block: [...]]]></description>
			<content:encoded><![CDATA[<p>If you put some .htaccess file in your server and doesn&#8217;t work as expected, maybe you are trying to install a Drupal site or to set Zend Framework, follow this steps.</p>
<p>Find your site virtual host file or edit the 000-default in the /etc/apache2/sites-enabled/</p>
<p>Add this lines:<br />
<code><br />
&lt;Directory /var/www/mysite/&gt;</code></p>
<p><code>AllowOverride all</code></p>
<p><code> &lt;/Directory&gt;<br />
</code><br />
after this block:<br />
<code><br />
&lt;Directory /&gt;<br />
Options FollowSymLinks<br />
AllowOverride None<br />
&lt;/Directory&gt;<br />
</code><br />
Reload the server with <strong><em>sudo /etc/init.d/apache2 reload</em></strong>.<br />
This should be done after each modification.</p>
<p>If you get a 500 type of error trying to view your site don&#8217;t panic!</p>
<p>This happens because the rewrite module doesn&#8217;t come enabled by default for security reasons.</p>
<p>Create a new file called rewrite.conf in _/etc/apache2/mods-enabled_<br />
in the file put this line <em>&#8220;LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so&#8221;</em></p>
<p>Reload one more time the server.<br />
This worked for me and hopefully for you, but I don&#8217;t advice this for production servers. This is information for regular Ubuntu users not for a live server where admins should know better.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.valugi.ro/2008/05/29/htaccess_internal_server_error_apache2_ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Vista Aero vs Ubuntu</title>
		<link>http://blog.valugi.ro/2008/01/04/ubuntu/</link>
		<comments>http://blog.valugi.ro/2008/01/04/ubuntu/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 18:14:27 +0000</pubDate>
		<dc:creator>elzo valugi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://blog.valugi.ro/?p=157</guid>
		<description><![CDATA[It&#8217;s inutil to say that I an ubunter now. Did&#8217;t wrote about this so far, as my previous experiences with Linux were ill fated. I&#8217;ve tried to install and use RedHat in 1999 and after TWO weeks I did have half of computer cards working. In 2001 I&#8217;ve tried Suse and Debian, but never succeded [...]]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="373"><param name="movie" value="http://www.youtube.com/v/xC5uEe5OzNQ&#038;rel=1&#038;border=0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/xC5uEe5OzNQ&#038;rel=1&#038;border=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="373"></embed></object></p>
<p>It&#8217;s inutil to say that I an ubunter now. Did&#8217;t wrote about this so far, as my previous experiences with Linux were ill fated. I&#8217;ve tried to install and use RedHat in 1999 and after TWO weeks I did have half of  computer cards working. In 2001 I&#8217;ve tried Suse and Debian, but never succeded in making a working server with all applications and packets in order. </p>
<p>Since then I limited myself to a user position and left to the professionals what is theirs, Well, until now. </p>
<p>My current version is Ubuntu Gusty Gibbon upgraded from Feisty Fawn. The installation is a breeze, a 30 minute painless job. Upgrading is the same, all you need is a internet connexion.</p>
<p>Even the most complicated task can be solved to a search in internet.  I don&#8217;t miss any software that I used to have on windows, with the notable exception of Photoshop, who&#8217;s replacement, Gimp, seems less potent, but it could be just my reticence to learn its ways.</p>
<p>And by the way, the my FREE Ubuntu works on a laptop 4 years old, with a grafic card ATI 7000 and 1 GB de ram which will never allow the use of the 600 usd Vista. See the movie above to understand what Linux knows these days.</p>
<p>Unless you miss the buggy Internet Explorer and TBSOD (the blue screen of death) I recommand switching fast.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.valugi.ro/2008/01/04/ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vista Aero vs Ubuntu</title>
		<link>http://blog.valugi.ro/2008/01/04/ubunterist/</link>
		<comments>http://blog.valugi.ro/2008/01/04/ubunterist/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 18:11:24 +0000</pubDate>
		<dc:creator>elzo valugi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://blog.valugi.ro/?p=159</guid>
		<description><![CDATA[Inutil sa vă zic că sunt un ubunterist acum. După zece ani de crackuri şi seriale, folosite din necesitate, poate că a venit în sfârşit timpul pentru un sistem de operare normal, complet şi bun. Nu pot să zic că îmi făcea mare plăcere să folosesc software pirat, pentru ca înţeleg volumul de muncă pe [...]]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="373"><param name="movie" value="http://www.youtube.com/v/xC5uEe5OzNQ&#038;rel=1&#038;border=0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/xC5uEe5OzNQ&#038;rel=1&#038;border=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="373"></embed></object></p>
<p>Inutil sa vă zic că sunt un ubunterist acum. După zece ani de crackuri şi seriale, folosite din necesitate, poate că a venit în sfârşit timpul pentru un sistem de operare normal, complet şi bun.  Nu pot să zic că îmi făcea mare plăcere să folosesc software pirat, pentru ca înţeleg volumul de muncă pe care unii îl depun şi le respect munca, dar în România, unde salariile sunt de mizerie nu exista alternativă. Ei bine, acum există alternativă. Linux Ubuntu, făcut pentru oameni normali, gratis, cu suport al unei comunităţi care funcţionează. </p>
<p>Experienţele mele anterioare cu Linux au fost un pic dureroase. În 1999 am încercat prima dată să instalez un RedHat. Am reuşit să fac cam jumătate din componente să funcţioneze. Fiecare avea chichiţe şi nu foarte puţine erau suportate, nu existau drivere. Pe urmă am încercat cu Debian şi cu Suse. Cel mai mult am reuşit după două săptamâni de muncă să fac să funcţioneze sistemul, dar făra a fi un server complet. Fiecare pachet extra trebuia instalat manual şi fiecare pachet avea o grămada de dependinţe care de asemenea erau tratate manual. Un coşmar!</p>
<p>Din aceste cauze, pe parcursul anilor care au urmat, m-am limitat la fi un utilizator cuminte al unor sisteme deja instalate, pe care le atingeam cu mănuşi de oricâte ori era nevoie. Pâna acum!</p>
<p>Versiunea pe care o folosesc este Ubuntu Gusty Gibbon, deşi am început cu Feisty Fawn şi am făcut un upgrade. Instalarea durează 30 de minute şi e chiar mai uşoara decat cea de Windows. Pentru upgrade ai nevoie doar de internet. Exista şi varianta în româna. Şi pentru ca eu cred în echilibru cosmic (aici poţi să râzi), m-am înscris în grupul de traducere în româneşte. Trebuie să dai şi înapoi. După cum vedeţi este primul post pe care îl scriu cu diacritice şi acest lucru se datorează traducerilor la Ubuntu, care se fac respectându-le. </p>
<p>Munca de zi de zi în Linux nu este complicată deloc. Chiar şi instalările complicate pot fi rezolvate printr-o simplă căutare pe internet. Nu îmi lipseşte nici un software din cele avute pe Windows, cu excepţia lui Photoshop, pe care însă nu-l mai folosesc ca pe vremuri. Gimp, substitutul lui Photosop, pare foarte puternic, ănsă spre deosebire de majoritatea aplicaţiilor care au fost copiate (portate) pe Linux, Gimp nu copiază Photoshop şi are sistemul lui propriu. Cred că cu puţin efort de învăţare reuşeşte să-l egaleze.</p>
<p>Şi nu în ultimul rând Unbuntu îmi funcţionează pe un laptop de 4 ani vechime, cu o placa grafica ATI 7000 şi doar 1GB de RAM, resurse incomparabile cu ce cere Vista la 500 de euro. Vedeţi filmul de mai sus pentru a vă convinge de ce ştie Linux azi. Eu ştiu ca economia prosperă dacă eu cumpăr în fiecare an un calculator nou şi ca Microsoft o să o ducă mai bine daca fac eu upgradurile pe care le vor ei, dar şi ei trebuie să înţeleagă în egală măsură, că nu există creştere exponenţială infinită, şi ca utilizatorul de calculator devine pe zi ce trece mai informat şi mai educat.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.valugi.ro/2008/01/04/ubunterist/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Vista Aero vs Ubuntu</title>
		<link>http://blog.valugi.ro/2008/01/04/ubuntero/</link>
		<comments>http://blog.valugi.ro/2008/01/04/ubuntero/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 17:30:49 +0000</pubDate>
		<dc:creator>elzo valugi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://blog.valugi.ro/?p=158</guid>
		<description><![CDATA[No hace falta decir que soy un ubuntero ya. Tengo un mes y pico de testes y de momento he superado la mala racha de mis experiencias anteriores con Linux. Desde 1999 cuando un RedHat me ha hecho perder 2 semana para instalar medio de mis componentes, y después en 2001 cuando nunca conseguí instalar [...]]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="373"><param name="movie" value="http://www.youtube.com/v/xC5uEe5OzNQ&#038;rel=1&#038;border=0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/xC5uEe5OzNQ&#038;rel=1&#038;border=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="373"></embed></object></p>
<p>No hace falta decir que soy un ubuntero ya. Tengo un mes y pico de testes y de momento he superado la mala racha de mis experiencias anteriores con Linux. Desde 1999 cuando un RedHat me ha hecho perder 2 semana para instalar medio de mis componentes, y después en 2001 cuando nunca conseguí instalar todos los paquetes y dependencias para crear un servidor con Suse y Debian, las cosas han cambiado mucho.</p>
<p>Desde entonces me he limitado a una posiciona de usuario y he dejado la instalación y la configuración a los profesionistas. Hasta ahora.</p>
<p>Mi versión actual es Ubuntu Gusty Gibbon, upgradado a partir de Feisty Fawn. La instalación tarda unos 30 minutos y igual por el upgrade. Todo que necesitas es una conexion web.</p>
<p>El suporte es muy bueno, y hasta ahora no he encontrado problemas insuperables. No me falta ningún software que lo tenia en Windows, con la excepción notable de Photoshop. Pero esto es mas porque me acostumbre mucho a el, y no he dedicado tiempo suficiente para aprender Gimp que parece bastante potente.</p>
<p>Y, muy importante, mi Ubuntu es libre (significa gratis), y funciona en mi laptop viejo de 4 años con una tarjeta gráfica ATI 7000 y 1GB de RAM, lo cual no seria suficiente por el 500 euros de Vista. Vea la peli de arriba para ver que sabe hacer Linux estas días.</p>
<p>Si no te duele no tener Internet Explorer, te lo recomiendo. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.valugi.ro/2008/01/04/ubuntero/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

