<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Starting a New Experience: Fedora Linux</title>
	<atom:link href="http://pconstantino.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://pconstantino.wordpress.com</link>
	<description>Patricia Constantino Sosa - Seneca College - "The mind is like a parachute, it only works if it is open"</description>
	<lastBuildDate>Wed, 29 Apr 2009 17:02:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='pconstantino.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Starting a New Experience: Fedora Linux</title>
		<link>http://pconstantino.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://pconstantino.wordpress.com/osd.xml" title="Starting a New Experience: Fedora Linux" />
	<atom:link rel='hub' href='http://pconstantino.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Corresponding Source App 1.0</title>
		<link>http://pconstantino.wordpress.com/2009/04/29/corresponding-source-app-10/</link>
		<comments>http://pconstantino.wordpress.com/2009/04/29/corresponding-source-app-10/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 17:02:31 +0000</pubDate>
		<dc:creator>pconstantino</dc:creator>
				<category><![CDATA[Project]]></category>

		<guid isPermaLink="false">http://pconstantino.wordpress.com/?p=381</guid>
		<description><![CDATA[Finally I got my release 1.0 done, these are the things that I work on for this release: * I incorporated Regular Expressions for get the information of the package name. * To find out the source of a package, I&#8217;m consulting the local database, if the file is not in the local database then [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=381&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Finally I got my release 1.0 done, these are the things that I work on for this release:</p>
<p>* I incorporated Regular Expressions for get the information of the package name.<br />
* To find out the source of a package, I&#8217;m consulting the local database, if the file is not in the local database then <span style="text-decoration:underline;">I using yumloader</span> .<br />
* The program is retrieving a txt file to the user, detailing about the packages included in the .iso, this file will detail this kind of situations:<br />
for example you asked for this package:<br />
ruby-gtksourceview-0.18.0-1.fc10<br />
And the program is retrieving this one to you instead:<br />
ruby-gnome2-0.18.1-5.fc10<br />
Because the source of ruby-gtksourceview is ruby-gnome2, so this file would for information purposes.</p>
<p>* I&#8217;m checking if two files came from the same source, the source is just downloaded once.<br />
* Some other small changes in the code.</p>
<p>although I have some issues like the text file has some content at the end of the program execution, but when is included into the iso image the content is lost partially (need to dig into it).<br />
Another issue is when I&#8217;m working with this particular package:  ruby-gtksourceview-0.18.0-1.fc10  during the execution several lines like this appear:<br />
sh: ruby: command not found<br />
I don&#8217;t think is related to the program, although can be, I&#8217;m not sure.</p>
<p>I need to incorporate a way to read any kind of CD/DVD&#8217;s, for now my code reads just Live CD&#8217;s, that is part of the improves for coming releases, among with validations in several points.</p>
<p>For take a look in my project <a href="http://matrix.senecac.on.ca/~pconstantino/shared/CorrespondingSourceApp/CorrespondingSource1_0" target="_blank">click here</a>.</p>
<p>I appreciate suggestions and comments.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pconstantino.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pconstantino.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pconstantino.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pconstantino.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pconstantino.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pconstantino.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pconstantino.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pconstantino.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pconstantino.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pconstantino.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pconstantino.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pconstantino.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pconstantino.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pconstantino.wordpress.com/381/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=381&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pconstantino.wordpress.com/2009/04/29/corresponding-source-app-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44baecaa47925b673be015499b2c39e8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pconstantino</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting up NIS Server and Client -exercise-</title>
		<link>http://pconstantino.wordpress.com/2009/04/27/setting-up-nis-server-and-client-exercise/</link>
		<comments>http://pconstantino.wordpress.com/2009/04/27/setting-up-nis-server-and-client-exercise/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 03:24:14 +0000</pubDate>
		<dc:creator>pconstantino</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pconstantino.wordpress.com/?p=372</guid>
		<description><![CDATA[NIS (Network Information Service), setting up a NIS Server and client: Install the next packages: ypbind ypserv yp-tools Setting up NIS Server: Set the domainname in the master server by the command domainname, example: #domainname nad810.org Until this moment in /var/yp/ directory, there is two elements: bindings directory (which is empty) and nicknames file, which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=372&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>NIS (Network Information Service), setting up a NIS Server and client:</strong></p>
<p style="margin-bottom:0;">Install the next packages:</p>
<p style="margin-bottom:0;">ypbind</p>
<p style="margin-bottom:0;">ypserv</p>
<p style="margin-bottom:0;">yp-tools</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">
<ul>
<li></li>
</ul>
<h1 class="western">Setting up NIS Server:</h1>
<p style="margin-bottom:0;">Set the domainname in the master server by the command domainname, example:</p>
<p style="margin-bottom:0;"><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">#domainname nad810.org</span></span></span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Until this moment in /var/yp/ directory, there is two elements:</p>
<ol>
<li>bindings directory (which is empty) and</li>
<li>nicknames file, which has this content:</li>
</ol>
<ul>
<li><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">passwd          passwd.byname </span></span></span></li>
<li><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">group           group.byname </span></span></span></li>
<li><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">networks        networks.byaddr </span></span></span></li>
<li><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">hosts           hosts.byname </span></span></span></li>
<li><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">protocols       protocols.bynumber </span></span></span></li>
<li><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">services        services.byname </span></span></span></li>
<li><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">aliases         mail.aliases </span></span></span></li>
<li><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">ethers          ethers.byname</span></span></span></li>
</ul>
<ul>
<p style="margin-bottom:0;">
</ul>
<p style="margin-bottom:0;">Modify the Makefile to support:</p>
<ul>
<li>
<ul>
<li>
<p style="margin-bottom:0;">Minimum UID 5000</p>
</li>
<li>
<p style="margin-bottom:0;">Minimum GID 5000</p>
</li>
<li>
<p style="margin-bottom:0;">Enable slave servers</p>
</li>
<li>
<p style="margin-bottom:0;">Merge user password and group 		password</p>
</li>
<li>
<p style="margin-bottom:0;">map files for passwd, group, 		hosts, rpc, and services</p>
</li>
</ul>
</li>
</ul>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Run the command ypinit -m</p>
<p style="margin-bottom:0;">* perhaps is neccesary to give the entire path for ypinit command and run it like this:</p>
<p style="margin-bottom:0;" align="left"><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">#/usr/lib/yp/ypinit -m</span></span></span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">You will be prompt by this command to notify the <strong>names</strong> of any NIS servers. (important don&#8217;t get confuse in between server&#8217;s host name and domain name). So when the name of the server is in the list press <strong>Ctrl + D</strong> for finish.</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Edit the files:</p>
<ul>
<li>
<p style="margin-bottom:0;">securenets</p>
<p style="margin-bottom:0;">In this file we specified which 	clients are valid for the server respond to. If nothing is specified 	in this file, the access is given to everyone. For security reasons 	is recommended specify the IP address or the networks allowed to use 	NIS.</p>
<p style="margin-bottom:0;">Note: In my case I have this file in 	/usr/share/doc/ypserv-2.19/securenets, and I configured it to allow 	any host in the network 192.168.7.0/24.</p>
<p style="margin-bottom:0;">
</li>
<li>
<p style="margin-bottom:0;">/etc/ypserv.conf</p>
<p style="margin-bottom:0;">This file is the configuration file 	for the ypserv daemon. It also may be used to control the behavior 	of the rpc.ypxfrd daemon if is being used.</p>
<p style="margin-bottom:0;">I decided leave the file without any 	change.</p>
</li>
</ul>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">If there is any slave server:</p>
<p style="margin-bottom:0;"><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;"># /etc/rc.d/init.d/ypxfrd start</span></span></span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Start the NIS server:</p>
<p style="margin-bottom:0;"><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;"># /etc/rc.d/init.d/ypserv start</span></span></span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Initialize the rpc.yppasswdd daemon if you want to handle NIS passwords:</p>
<p style="margin-bottom:0;"><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;"># /etc/rc.d/init.d/yppasswdd start</span></span></span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Initialize the maps files:</p>
<p style="margin-bottom:0;"><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;"># /etc/rc.d/init.d/ypbind start</span></span></span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Now is necessary edit /etc/nsswitch.conf, this file tells the system where to look for database files.</p>
<p style="margin-bottom:0;">I added “nis” to this entries in that file:</p>
<p style="margin-bottom:0;"><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">passwd 	files	nis</span></span></span></p>
<p style="margin-bottom:0;"><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">shadow		files	nis</span></span></span></p>
<p style="margin-bottom:0;"><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">group:		files	nis</span></span></span></p>
<p style="margin-bottom:0;"><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">hosts:		files	dns	nis</span></span></span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">
<h1 class="western" style="margin-top:0;margin-bottom:0;">Setup a NIS client</h1>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Set the same domain name that the NIS server:</p>
<p style="margin-bottom:0;"><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">#domainname nad810.org</span></span></span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Edit the /etc/yp.conf file and add:</p>
<p style="margin-bottom:0;"><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">ypserver &lt;NIS server IP&gt;</span></span></span> (or any other option explained in the file)</p>
<p style="margin-bottom:0;">This file is used to control the behaviour of the client daemon. You are allowed to specify domains and/or servers in this file.</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">After that:</p>
<p style="margin-bottom:0;"><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">#service ypbind start</span></span></span></p>
<p style="margin-bottom:0;">or</p>
<p style="margin-bottom:0;"><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;"># /etc/rc.d/init.d/ypbind start</span></span></span></p>
<p style="margin-bottom:0;">
<h1 class="western" style="margin-left:-.01in;text-indent:.01in;margin-top:0;margin-bottom:0;">Setting NFS:</h1>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;"><strong>In the Server:</strong></p>
<p style="margin-bottom:0;">Modify the file /etc/exports/ adding this line:</p>
<p style="margin-bottom:0;"><span style="color:#280099;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">/home		192.168.7.0/24(rw,sync)</span></span></span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Where 192.168.122.0/24 is my network.</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;"><strong>In the Client:</strong></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Install autofs package</p>
<p style="margin-bottom:0;">Edit the /etc/auto.master file and add this entry:</p>
<p style="margin-bottom:0;"><span style="color:#000080;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">/home		/etc/auto.home		&#8211;timeout 600</span></span></span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Edit the /etc/auto.home file adding this entry:</p>
<p style="margin-bottom:0;"><span style="color:#000080;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">*    -fstype=nfs,soft,intr		192.168.7.33:/home/&amp;</span></span></span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Edit the /etc/exports file adding:</p>
<p style="margin-bottom:0;"><span style="color:#000080;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;">/home   *(rw, sync)</span></span></span></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Restart the autofs service:</p>
<p style="margin-bottom:0;">service autofs start</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">If you want to keep after reboot do:</p>
<p style="margin-bottom:0;">service autofs start</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pconstantino.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pconstantino.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pconstantino.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pconstantino.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pconstantino.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pconstantino.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pconstantino.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pconstantino.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pconstantino.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pconstantino.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pconstantino.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pconstantino.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pconstantino.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pconstantino.wordpress.com/372/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=372&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pconstantino.wordpress.com/2009/04/27/setting-up-nis-server-and-client-exercise/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44baecaa47925b673be015499b2c39e8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pconstantino</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring a LTSP (Linux Terminal Server Project)</title>
		<link>http://pconstantino.wordpress.com/2009/04/19/configuring-a-ltsp-linux-terminal-server-project/</link>
		<comments>http://pconstantino.wordpress.com/2009/04/19/configuring-a-ltsp-linux-terminal-server-project/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 18:55:56 +0000</pubDate>
		<dc:creator>pconstantino</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pconstantino.wordpress.com/?p=350</guid>
		<description><![CDATA[Linux Terminal Server Project (LTSP) &#8220;is a free and open source add-on package for Linux that allows many people to simultaneously use the same computer. Applications run on the server with a terminal known as a thin client (also known as an X terminal) handling input and output. Generally, terminals are low-powered, lack a hard [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=350&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#003366;"><strong>Linux Terminal Server Project</strong> (<strong>LTSP</strong>)</span> &#8220;is a <span class="mw-redirect">free and open source</span> add-on package for Linux that allows many people to simultaneously use the same computer. Applications run on the server with a terminal known as a thin client (also known as an X terminal) handling input and output. Generally, terminals are low-powered, lack a hard disk and are quieter than desktop computers because they do not have any moving parts.&#8221; (<em>Wikipedia</em>).</p>
<p><span style="color:#003366;"><strong>How it works?</strong></span></p>
<p>When configured for network booting (PXE is not the only way, there is some more like Etherboot or NetBoot) the client first requests an IP address from the LTSP Server (which has a DHCP server running).</p>
<p>Once the IP has been gotten, the Linux kernel is transfer to the client by TFTP protocol, which is another server running in the LTSP server.</p>
<p>Then, the client mounts its root filesystem, by the NFS server running in the LTSP Server. After that loads Linux and starts the X window system. The client connects to the XDMCP login manager on the LTSP server.</p>
<p>I installed ltsp version 5.1, so in this version (and any newer that 5) the client first builds an SSH tunnel to the LTSP server&#8217;s X environment, through which it will start the LDM login manager (on the LTSP server). From this point forward, all programs are started on the LTSP server, but displayed and operated from the client.</p>
<p>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</p>
<p>To try this package I used my Laptop which have Fedora 10, following the steps that the guys from &#8220;K12Linux&#8221; (LTSP for Fedora) recommend in their <a href="https://fedorahosted.org/k12linux/wiki/InstallGuide" target="_blank">Install Guide</a>.</p>
<p>So, I installed the ltsp-server package:</p>
<p><span style="color:#003366;">#<strong> yum install ltsp-server</strong></span></p>
<p>And since I want to test the client in the same machine but I can&#8217;t use KVM (my Laptop does not support virtualization very well) I don&#8217;t need to install ltsp-lvclient, instead of that, I will use a virtual machine on VirtualBox.</p>
<p>- This entry should have to be added to <em>/etc/exports</em> file: <span style="color:#003366;"><strong></strong></span></p>
<p><span style="color:#003366;"><strong>/opt/ltsp *(ro,async,no_root_squash)</strong></span></p>
<p>That will mount the files within &#8216;/opt/ltsp&#8217; (server) into the client root filesystem with read-only permissions.</p>
<p>- We need a interface for handle the LTSP as well, we can use the ifup command for that:</p>
<p><span style="color:#003366;"># <strong>ifup ltspbr0</strong></span></p>
<p>- This will bring this new interface up, run <em>ifconfig</em> command and the new interface will be there:</p>
<p><img class="size-full wp-image-353 alignnone" title="ltspbr0_interface" src="http://pconstantino.files.wordpress.com/2009/04/ltspbr0_interface.png?w=500&#038;h=121" alt="ltspbr0_interface" width="500" height="121" /></p>
<p>if you want to have it even after rebooting, need to have networking running (<em>chkconfig network on</em>)</p>
<p>- We need to turn on and start (by using &#8216;chkconfig <em>servicename</em> on&#8217; and &#8216;service <em>servicename</em> start&#8217;) the next services:</p>
<p><strong> <span style="color:#003366;">xinetd </span></strong></p>
<p><span style="color:#003366;"><strong> ltsp-dhcpd </strong></span></p>
<p><span style="color:#003366;"><strong> rpcbind </strong></span></p>
<p><span style="color:#003366;"><strong> nfs </strong></span></p>
<p><span style="color:#003366;"><strong> sshd</strong></span></p>
<p>And then, put the next servers on:</p>
<p><strong><span style="color:#003366;">ldminfod </span></strong></p>
<p><span style="color:#003366;"><strong> nbdrootd </strong></span></p>
<p><span style="color:#003366;"><strong> nbdswapd </strong></span></p>
<p><span style="color:#003366;"><strong> tftp</strong></span></p>
<p>- Now the next step will take time (believe me, better do something else meanwhile&#8230;.), execute this command to build the client:</p>
<p><span style="color:#003366;"><strong># ltsp-build-client</strong></span></p>
<p>When that be finish, you will see the next message:</p>
<p style="text-align:center;"><img class="size-medium wp-image-354 aligncenter" title="ltsp-client-installation-completed" src="http://pconstantino.files.wordpress.com/2009/04/ltsp-client-installation-completed.png?w=341&#038;h=267" alt="ltsp-client-installation-completed" width="341" height="267" /></p>
<p>In my case I had some troubles with my machine so I had to do it twice, if that  happen to you, you have to erase the content of /opt/ltsp/ file before try to build the client again, otherwise it won&#8217;t let you do it.</p>
<p>Now is time to test it, open you VirtualBox (I assume that you have already one machine on it). Select the machine&#8217;s settings (because we need to specify that the interface used by our vm is ltspbr0) and in the Network tab change the interface like this:</p>
<div id="attachment_355" class="wp-caption aligncenter" style="width: 352px"><img class="size-medium wp-image-355" title="screenshot-fedora_d-settings" src="http://pconstantino.files.wordpress.com/2009/04/screenshot-fedora_d-settings.png?w=342&#038;h=282" alt="Specifying the interface for Virtual the machine." width="342" height="282" /><p class="wp-caption-text">Specifying the interface for Virtual the machine.</p></div>
<p>Then, start the machine and press F12 to enable PXE (stand for <strong>P</strong>reboot e<strong>X</strong>ecution <strong>E</strong>nvironment, also know as &#8220;pixie&#8221;). Through that we won&#8217;t let the system start the boot process from the local hard drive, but from the network interface.</p>
<p>If everything goes right, the authentication screen will appear:</p>
<p><img class="aligncenter size-medium wp-image-356" title="k12linux" src="http://pconstantino.files.wordpress.com/2009/04/k12linux.png?w=300&#038;h=244" alt="k12linux" width="300" height="244" /></p>
<p>So you can authenticate with any valid user name in your machine.</p>
<p>I found this project useful since I have an extra machine at home, kind of old, but which can be useful for this purpose, so if I&#8217;m using my desktop computer, somebody else could use the old pc to connect as client of it and both work at the same time, nice&#8230;!, don&#8217;t you think?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pconstantino.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pconstantino.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pconstantino.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pconstantino.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pconstantino.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pconstantino.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pconstantino.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pconstantino.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pconstantino.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pconstantino.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pconstantino.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pconstantino.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pconstantino.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pconstantino.wordpress.com/350/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=350&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pconstantino.wordpress.com/2009/04/19/configuring-a-ltsp-linux-terminal-server-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44baecaa47925b673be015499b2c39e8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pconstantino</media:title>
		</media:content>

		<media:content url="http://pconstantino.files.wordpress.com/2009/04/ltspbr0_interface.png" medium="image">
			<media:title type="html">ltspbr0_interface</media:title>
		</media:content>

		<media:content url="http://pconstantino.files.wordpress.com/2009/04/ltsp-client-installation-completed.png?w=300" medium="image">
			<media:title type="html">ltsp-client-installation-completed</media:title>
		</media:content>

		<media:content url="http://pconstantino.files.wordpress.com/2009/04/screenshot-fedora_d-settings.png?w=300" medium="image">
			<media:title type="html">screenshot-fedora_d-settings</media:title>
		</media:content>

		<media:content url="http://pconstantino.files.wordpress.com/2009/04/k12linux.png?w=300" medium="image">
			<media:title type="html">k12linux</media:title>
		</media:content>
	</item>
		<item>
		<title>A long night&#8230; reading a Fedora Live CD rmp database&#8230;!</title>
		<link>http://pconstantino.wordpress.com/2009/04/18/a-long-night-reading-a-fedora-live-cd-rmp-database/</link>
		<comments>http://pconstantino.wordpress.com/2009/04/18/a-long-night-reading-a-fedora-live-cd-rmp-database/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 11:16:26 +0000</pubDate>
		<dc:creator>pconstantino</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pconstantino.wordpress.com/?p=345</guid>
		<description><![CDATA[Finally I got it&#8230;. ! I was scared about the fact that I had to read a Live CD and get the list of packages that it includes, but thanks to God is working. Very long night, but with good results&#8230; This is my code:  CorrespondingSource0.9 I tested it with a Fedora 10 Live CD, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=345&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Finally I got it&#8230;. ! I was scared about the fact that I had to read a Live CD and get the list of packages that it includes, but thanks to God is working.</p>
<p>Very long night, but with good results&#8230;</p>
<p>This is my code:  <a href="http://matrix.senecac.on.ca/~pconstantino/sharedstuff/Project/Project_9">CorrespondingSource0.9</a></p>
<p>I tested it with a Fedora 10 Live CD, what it does is find the file system, mount it (for all the ones who knows how is a Live CD and all that mess with the images: yeah, was fun!), then access the rpm database of the CD and give a list of all the packages that are including in the disk.</p>
<p>I plan to merge this with the code that I already have done and hopefully be able to add more features to this project.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pconstantino.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pconstantino.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pconstantino.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pconstantino.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pconstantino.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pconstantino.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pconstantino.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pconstantino.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pconstantino.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pconstantino.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pconstantino.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pconstantino.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pconstantino.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pconstantino.wordpress.com/345/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=345&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pconstantino.wordpress.com/2009/04/18/a-long-night-reading-a-fedora-live-cd-rmp-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44baecaa47925b673be015499b2c39e8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pconstantino</media:title>
		</media:content>
	</item>
		<item>
		<title>One more step&#8230;</title>
		<link>http://pconstantino.wordpress.com/2009/03/04/one-more-step/</link>
		<comments>http://pconstantino.wordpress.com/2009/03/04/one-more-step/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 23:49:08 +0000</pubDate>
		<dc:creator>pconstantino</dc:creator>
				<category><![CDATA[Project]]></category>

		<guid isPermaLink="false">http://pconstantino.wordpress.com/?p=333</guid>
		<description><![CDATA[For my project I had to make first a Bash Script (that I posted some ago) and now I had to translate it into Python; the task of this script is download a package from cvs and get the source code in a ISO image. (I&#8217;m a Python newbie so, welcome any suggestion). To see [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=333&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For my project I had to make first a Bash Script (that I posted some ago) and now I had to translate it into Python; the task of this script is download a package from cvs and get the source code in a ISO image.</p>
<p>(I&#8217;m a Python newbie so, welcome any suggestion).</p>
<p>To see the script <a href="http://matrix.senecac.on.ca/~pconstantino/sharedstuff/Project/ProjectV1.py" target="_blank">click HERE</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pconstantino.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pconstantino.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pconstantino.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pconstantino.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pconstantino.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pconstantino.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pconstantino.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pconstantino.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pconstantino.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pconstantino.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pconstantino.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pconstantino.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pconstantino.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pconstantino.wordpress.com/333/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=333&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pconstantino.wordpress.com/2009/03/04/one-more-step/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44baecaa47925b673be015499b2c39e8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pconstantino</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Komodo Edit 5</title>
		<link>http://pconstantino.wordpress.com/2009/01/28/installing-komodo-edit-5/</link>
		<comments>http://pconstantino.wordpress.com/2009/01/28/installing-komodo-edit-5/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 23:13:50 +0000</pubDate>
		<dc:creator>pconstantino</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA['install: error: could not set SELinux security context for']]></category>
		<category><![CDATA['Komodo Edit 5']]></category>

		<guid isPermaLink="false">http://pconstantino.wordpress.com/?p=313</guid>
		<description><![CDATA[For a suggestion of one of my teachers (Danny Abesdris) I decide to try Komodo Editor 5, he showed us this tool and I liked it, as a programmer I&#8217;m always attracted by having available features like call tips, autocomplete, syntax colouring and syntax checking because in easier to learn in that way. Komodo Editor [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=313&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For a suggestion of one of my teachers (Danny Abesdris) I decide to try Komodo Editor 5, he showed us this tool and I liked it, as a programmer I&#8217;m always attracted by having available features like call tips, autocomplete, syntax colouring and syntax checking because in easier to learn in that way.</p>
<p>Komodo Editor has other capabilities like multi-language file support (Perl, PHP, Python, CSS, HTML, JavaScript, XML&#8230; etc),  Vi emulation among some others things (that I guess will be able to discover very soon).</p>
<p>So, I downloaded it from:  <a title="http://www.activestate.com/komodo_edit/" href="http://www.activestate.com/komodo_edit/" target="_blank">http://www.activestate.com/komodo_edit/ </a></p>
<p>I got the tarball, unzipped it, run the install.sh script&#8230; but I got this message:</p>
<p style="background:#e6e6e6 none repeat scroll 0 0;margin-bottom:0;font-weight:normal;text-decoration:none;"><span style="color:#333399;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;"><span style="background:#e6e6e6 none repeat scroll 0 0;">chcon: unrecognized option &#8216;&#8211;quiet&#8217;<br />
Try `chcon &#8211;help&#8217; for more information.<br />
chcon: unrecognized option &#8216;&#8211;quiet&#8217;<br />
Try `chcon &#8211;help&#8217; for more information.<br />
chcon: unrecognized option &#8216;&#8211;quiet&#8217;<br />
Try `chcon &#8211;help&#8217; for more information.<br />
chcon: unrecognized option &#8216;&#8211;quiet&#8217;<br />
Try `chcon &#8211;help&#8217; for more information.<br />
install: error: could not set SELinux security context for &#8216;/home/Patty/Komodo-Edit-5/lib/python/lib/libpython2.6.so&#8217;: &#8216;texrel_shlib_t&#8217;, &#8216;textrel_shlib_t&#8217;, &#8216;shlib_t&#8217;, &#8216;s0&#8242; contexts failed</span></span></span></span></p>
<p>To fix the problem it necessary  just make a small change in the file: selinuxlib.py (which is in the installation package directory, inside of &#8220;support&#8221; directory) in this line:</p>
<p style="background:#e6e6e6 none repeat scroll 0 0;margin-bottom:0;font-weight:normal;text-decoration:none;"><span style="color:#333399;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;"><span style="background:#e6e6e6 none repeat scroll 0 0;">cmd = &#8216;chcon -t %s &#8211;quiet &#8220;%s&#8221;&#8216; % (context, path)</span></span></span></span></p>
<p>to make it like this:</p>
<p style="background:#e6e6e6 none repeat scroll 0 0;margin-bottom:0;font-weight:normal;text-decoration:none;"><span style="color:#333399;"><span style="font-family:Liberation Mono,monospace;"><span style="font-size:x-small;"><span style="background:#e6e6e6 none repeat scroll 0 0;">cmd = &#8216;chcon -t %s &#8220;%s&#8221;&#8216; % (context, path)</span></span></span></span></p>
<p>and it will works without any problems.</p>
<p>So if somebody want to try it and get same trouble, just need to try this.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pconstantino.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pconstantino.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pconstantino.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pconstantino.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pconstantino.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pconstantino.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pconstantino.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pconstantino.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pconstantino.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pconstantino.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pconstantino.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pconstantino.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pconstantino.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pconstantino.wordpress.com/313/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=313&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pconstantino.wordpress.com/2009/01/28/installing-komodo-edit-5/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44baecaa47925b673be015499b2c39e8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pconstantino</media:title>
		</media:content>
	</item>
		<item>
		<title>Some Bash Script Exercises&#8230;</title>
		<link>http://pconstantino.wordpress.com/2008/12/14/some-bash-script-exercises/</link>
		<comments>http://pconstantino.wordpress.com/2008/12/14/some-bash-script-exercises/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 11:10:57 +0000</pubDate>
		<dc:creator>pconstantino</dc:creator>
				<category><![CDATA[Shell Scripting (SPR720)]]></category>
		<category><![CDATA['Scripting']]></category>

		<guid isPermaLink="false">http://pconstantino.wordpress.com/?p=297</guid>
		<description><![CDATA[* Display the longest and shortest usernames on the system (usernames are in the first field in /etc/passwd). * Loop through the files in your home directory, and for each readable file, ask whether the file should be printed, mailed to you, or ignored (P/M/I) and then take the appropriate action. *Count the number of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=297&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>* Display the longest and shortest usernames on the system (usernames are in the first field in /etc/passwd).</p>
<p><img class="size-full wp-image-302 alignnone" title="script22" src="http://pconstantino.files.wordpress.com/2008/12/script22.jpeg?w=492&#038;h=389" alt="script22" width="492" height="389" /></p>
<p>* Loop through the files in your home directory, and for each readable file, ask whether the file should be printed, mailed to you, or ignored (P/M/I) and then take the appropriate action.</p>
<p><img class="size-full wp-image-300 alignnone" title="script1" src="http://pconstantino.files.wordpress.com/2008/12/script1.jpeg?w=494&#038;h=279" alt="script1" width="494" height="279" /></p>
<p>*Count the number of files in the user&#8217;s home directory which are not readable.</p>
<p><img class="alignleft size-full wp-image-308" title="six2" src="http://pconstantino.files.wordpress.com/2008/12/six2.jpeg?w=500&#038;h=195" alt="six2" width="500" height="195" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pconstantino.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pconstantino.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pconstantino.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pconstantino.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pconstantino.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pconstantino.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pconstantino.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pconstantino.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pconstantino.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pconstantino.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pconstantino.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pconstantino.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pconstantino.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pconstantino.wordpress.com/297/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=297&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pconstantino.wordpress.com/2008/12/14/some-bash-script-exercises/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44baecaa47925b673be015499b2c39e8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pconstantino</media:title>
		</media:content>

		<media:content url="http://pconstantino.files.wordpress.com/2008/12/script22.jpeg" medium="image">
			<media:title type="html">script22</media:title>
		</media:content>

		<media:content url="http://pconstantino.files.wordpress.com/2008/12/script1.jpeg" medium="image">
			<media:title type="html">script1</media:title>
		</media:content>

		<media:content url="http://pconstantino.files.wordpress.com/2008/12/six2.jpeg" medium="image">
			<media:title type="html">six2</media:title>
		</media:content>
	</item>
		<item>
		<title>Editing and Exporting video files&#8230;</title>
		<link>http://pconstantino.wordpress.com/2008/12/09/editing-and-exporting-video-files/</link>
		<comments>http://pconstantino.wordpress.com/2008/12/09/editing-and-exporting-video-files/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 04:38:42 +0000</pubDate>
		<dc:creator>pconstantino</dc:creator>
				<category><![CDATA[Linux Power Tools (LPT)]]></category>
		<category><![CDATA['Kino']]></category>

		<guid isPermaLink="false">http://pconstantino.wordpress.com/?p=272</guid>
		<description><![CDATA[To edit videos in Linux based systems there are a lot of available choices, lets talk about a specific software that I have used for edit and export raw videos: Kino. Kino is a video editor software which has options for cut scenes, apply some special effects, export video to a different formats and some [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=272&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To edit videos in Linux based systems there are a lot of available choices, lets talk about a specific software that I have used for edit and export raw videos: <strong>Kino</strong>.</p>
<p>Kino is a video editor software which has options for cut scenes, apply some special effects, export video to a different formats and some other features. The help manual is short but a lot clear and you can see example images.</p>
<p>For apply special effects for example you can just click on FX Icon (ubicated in the right side panel) and specify the time that the effect should start and finish:</p>
<p><img class="aligncenter size-full wp-image-275" title="range1" src="http://pconstantino.files.wordpress.com/2008/12/range1.jpeg?w=419&#038;h=197" alt="range1" width="419" height="197" /></p>
<p>and apply either Audio or Video filters that you prefer:</p>
<div id="attachment_287" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-287" title="softfocus" src="http://pconstantino.files.wordpress.com/2008/12/softfocus.jpeg?w=500&#038;h=277" alt="Example of Soft Focus Video Filter" width="500" height="277" /><p class="wp-caption-text">Example of Soft Focus Video Filter</p></div>
<p>The list of Audio effects includes: Dub, Fade In, Fade Out, Gain, Mix and Silence.</p>
<p>Options for Video filters include: Blur, Charcoal, Colour Average, Colour Hold, Flip, Jerky, Kaleidoscope, Levels, Mirror, Pan and Zoom, Pixelate, Soft Focus, Superimpose, Titler and some others&#8230;</p>
<div id="attachment_279" class="wp-caption aligncenter" style="width: 431px"><img class="size-full wp-image-279" title="video" src="http://pconstantino.files.wordpress.com/2008/12/video.jpeg?w=421&#038;h=294" alt="Video with Pixelate and Titler effects..." width="421" height="294" /><p class="wp-caption-text">Video with Pixelate and Titler effects...</p></div>
<p>I used Pixelate and Titler video filters, and fade out and silence audio filters for the closing part of my video; I cut just a small piece from the video where the effects can be appreciated, so if you want to take a look and see how this effects look like <a title="Video Examples" href="http://matrix.senecac.on.ca/~pconstantino/sharedstuff/LPTVideos/" target="_blank">click here</a>.</p>
<p>Also this software is capable to export video to different formats such as: DVD, Flash, H.264 MP4, MP3, MPEG-4 3GPP, MPEG-4 AVI, OGG, VCD and some others&#8230; (the videos in the link are in OGG and Flash formats).</p>
<p>Kino works good with videos not too big, and editing is relatively easy, it has a very simple graphic interface and exporting files to other formats is fast and works very well.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pconstantino.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pconstantino.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pconstantino.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pconstantino.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pconstantino.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pconstantino.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pconstantino.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pconstantino.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pconstantino.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pconstantino.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pconstantino.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pconstantino.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pconstantino.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pconstantino.wordpress.com/272/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=272&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pconstantino.wordpress.com/2008/12/09/editing-and-exporting-video-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44baecaa47925b673be015499b2c39e8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pconstantino</media:title>
		</media:content>

		<media:content url="http://pconstantino.files.wordpress.com/2008/12/range1.jpeg" medium="image">
			<media:title type="html">range1</media:title>
		</media:content>

		<media:content url="http://pconstantino.files.wordpress.com/2008/12/softfocus.jpeg" medium="image">
			<media:title type="html">softfocus</media:title>
		</media:content>

		<media:content url="http://pconstantino.files.wordpress.com/2008/12/video.jpeg" medium="image">
			<media:title type="html">video</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Pungi tool&#8230;</title>
		<link>http://pconstantino.wordpress.com/2008/12/09/using-pungi-tool/</link>
		<comments>http://pconstantino.wordpress.com/2008/12/09/using-pungi-tool/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 01:35:10 +0000</pubDate>
		<dc:creator>pconstantino</dc:creator>
				<category><![CDATA[System Administration (SYA710)]]></category>
		<category><![CDATA['Pungi']]></category>

		<guid isPermaLink="false">http://pconstantino.wordpress.com/?p=260</guid>
		<description><![CDATA[In a previous post I talked about how to make your own Live CDs, now I will talk about how to make a Custom CD (Spin) using &#8220;Pungi&#8221;. The tricky part is make a kickstart file, to see more information about how create kickstart files visit this link: http://fedoraproject.org/wiki/Anaconda/Kickstart#Creating_the_Kickstart_File. This a example of one: repo [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=260&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In a <a title="Using Fedora livecd-tools" href="http://pconstantino.wordpress.com/2008/12/07/using-fedora-livecd-tools/" target="_blank">previous post</a> I talked about how to make your own Live CDs, now I will talk about how to make a Custom CD (Spin) using &#8220;Pungi&#8221;.</p>
<p>The tricky part is make a kickstart file, to see more information about how create kickstart files visit this link: <a href="http://fedoraproject.org/wiki/Anaconda/Kickstart#Creating_the_Kickstart_File" target="_blank">http://fedoraproject.org/wiki/Anaconda/Kickstart#Creating_the_Kickstart_File</a>.</p>
<p>This a example of one:</p>
<p><span style="color:#000080;"><em>repo &#8211;name=release &#8211;mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9&amp;arch=$basearch<br />
repo &#8211;name=updates &#8211;mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f9&amp;arch=$basearch</em></span></p>
<p><span style="color:#000080;"><em>%packages &#8211;nobase<br />
bash<br />
kernel<br />
passwd<br />
policycoreutils<br />
chkconfig<br />
authconfig<br />
rootfiles<br />
anaconda-runtime<br />
isomaster<br />
pingus</em></span></p>
<p><span style="color:#000080;"><em>%end</em></span></p>
<p>To tell Pungi to make a spin out of that file, type this command in the shell window:<br />
<strong>#pungi -c &lt;kickstartfile.cfg&gt; &#8211;nosource &#8211;force &#8211;ver=&lt;DestinyDirectory&gt;</strong></p>
<p>You will get a Directory, with a iso image inside, next thing is burn it or use the qemu tool to try it (to a view of its use check <a href="http://pconstantino.wordpress.com/2008/12/07/using-fedora-livecd-tools/" target="_blank">&#8220;Using Fedora livecd-tools&#8221;</a> post).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pconstantino.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pconstantino.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pconstantino.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pconstantino.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pconstantino.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pconstantino.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pconstantino.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pconstantino.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pconstantino.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pconstantino.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pconstantino.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pconstantino.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pconstantino.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pconstantino.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=260&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pconstantino.wordpress.com/2008/12/09/using-pungi-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44baecaa47925b673be015499b2c39e8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pconstantino</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Fedora LiveCD Tools&#8230;</title>
		<link>http://pconstantino.wordpress.com/2008/12/07/using-fedora-livecd-tools/</link>
		<comments>http://pconstantino.wordpress.com/2008/12/07/using-fedora-livecd-tools/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 23:34:20 +0000</pubDate>
		<dc:creator>pconstantino</dc:creator>
				<category><![CDATA[System Administration (SYA710)]]></category>
		<category><![CDATA[livecd-tools]]></category>

		<guid isPermaLink="false">http://pconstantino.wordpress.com/?p=248</guid>
		<description><![CDATA[What is a live CD or live DVD? A live CD or DVD is designed in a special way that when is run, the system contained on it appears in the screen as similar as possible to the standard system with all the features that can be possible included, and when the the CD/DVD is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=248&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3><span class="mw-headline">What is a live CD or live DVD?<br />
</span></h3>
<p>A live CD or DVD is designed in a special way that when is run, the system contained on it appears in the screen as similar as possible to the standard system with all the features that can be possible included, and when the the CD/DVD is ejected from the computer (reboot may be necessary) the original system is returned as usual.</p>
<p>The term &#8220;live&#8221; derives from the fact that these CDs each contain a complete, functioning and operational operating system. There are also Live USB flash drives which are similar to live CDs, but often have the added functionality of automatically and transparently writing changes back to their bootable medium.</p>
<p>So in this post I will talk about how to generate live CDs or DVD&#8217;s on Fedora based systems, giving an example procedure. Here the steps:</p>
<p>* Login as root in a Machine with Fedora Operative System.</p>
<p>* Install Live cd tools by typing in the command line:<br />
<strong># yum install livecd-tools</strong></p>
<p>This will install some kickstarts files in this location: <strong>/usr/share/livecd-tools</strong>, the files generated will depend of with version of Fedora you are working with, I&#8217;m using Fedora 9 (then it created files from all the Fedora previous versions until the one that I&#8217;m using), these are the list of files that I got in my machine:</p>
<p>livecd-fedora-7-desktop.ks<br />
livecd-fedora-7-kde.ks<br />
livecd-fedora-8-base-desktop.ks<br />
livecd-fedora-8-desktop.ks<br />
livecd-fedora-8-developer.ks<br />
livecd-fedora-8-electronic-lab.ks<br />
livecd-fedora-8-games.ks<br />
livecd-fedora-8-kde.ks<br />
livecd-fedora-9-base-desktop.ks<br />
livecd-fedora-9-desktop.ks<br />
livecd-fedora-9-kde.ks<br />
livecd-fedora-base-desktop.ks<br />
livecd-fedora-desktop.ks<br />
livecd-fedora-developer.ks<br />
livecd-fedora-electronic-lab.ks<br />
livecd-fedora-games.ks<br />
livecd-fedora-kde.ks<br />
livecd-fedora-minimal.ks<br />
livedvd-fedora-kde.ks</p>
<p>* Pick one of them (I used: <strong>livecd-fedora-9-base-desktop.ks</strong>).</p>
<p>* For avoid problems related to selinux, I disabled it, by editing the file and changing the correspondent line, like this:<br />
&#8230;<br />
selinux &#8211;disabled<br />
&#8230;</p>
<p>* Saved your changes and in the command line type:<br />
<strong># livecd-creator -c livecd-fedora-9-base-desktop.ks</strong></p>
<p>This will generate a iso image with your chosen live CD option. This may take some time so&#8230; you might have enough time for a cup of tea (I was working with a wireless connection so I could have the entire dinner!).</p>
<p>When it finished, you will have a new file, this is the one that I got: livecd-fedora-9-base-desktop-200812061928.iso</p>
<p>Now you can either burn it or use tools like qemu  and kvm to try it out. If you choose the second option, you should install those packages, in the command line type:<br />
<strong># yum install kvm qemu</strong></p>
<p>Once it finish, type:<br />
<strong># qemu-kvm -m 512 -cdrom livecd-fedora-9-base-desktop-200812061928.iso</strong></p>
<p>and if everything is correct then you will be able to see a screen like this:</p>
<div id="attachment_251" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-251" title="qemu" src="http://pconstantino.files.wordpress.com/2008/12/qemu.jpeg?w=300&#038;h=233" alt="qemu" width="300" height="233" /><p class="wp-caption-text">QEMU running a Live CD iso image</p></div>
<p style="text-align:center;">
<p>References:<br />
1. http://fedoraproject.org/wiki/How_to_create_and_use_Fedora_LiveCD<br />
2. http://en.wikipedia.org/wiki/Live_CD</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pconstantino.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pconstantino.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pconstantino.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pconstantino.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pconstantino.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pconstantino.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pconstantino.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pconstantino.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pconstantino.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pconstantino.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pconstantino.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pconstantino.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pconstantino.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pconstantino.wordpress.com/248/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pconstantino.wordpress.com&amp;blog=4731923&amp;post=248&amp;subd=pconstantino&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pconstantino.wordpress.com/2008/12/07/using-fedora-livecd-tools/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/44baecaa47925b673be015499b2c39e8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pconstantino</media:title>
		</media:content>

		<media:content url="http://pconstantino.files.wordpress.com/2008/12/qemu.jpeg?w=300" medium="image">
			<media:title type="html">qemu</media:title>
		</media:content>
	</item>
	</channel>
</rss>
