<?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>Fedora &#187; Installation</title>
	<atom:link href="http://gofedora.com/archives/category/installation/feed/" rel="self" type="application/rss+xml" />
	<link>http://gofedora.com</link>
	<description>How Tos, Tutorials, Tips and Tricks</description>
	<lastBuildDate>Thu, 25 Feb 2010 07:55:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To: Install PHP 5.3 on CentOS 5.1 or RHEL 5.1</title>
		<link>http://gofedora.com/how-to-install-php-on-centos-red-hat-rhel/</link>
		<comments>http://gofedora.com/how-to-install-php-on-centos-red-hat-rhel/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 20:54:34 +0000</pubDate>
		<dc:creator>Kulbir Saini</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips - Tricks]]></category>
		<category><![CDATA[Cent OS]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[PHP 5.3]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Remi Repository]]></category>

		<guid isPermaLink="false">http://gofedora.com/?p=922</guid>
		<description><![CDATA[
PHP 5.2 and PHP 5.3 has tons of functionalities which are not provided by PHP 5.1 and PHP 5.1 is the most recent version of PHP available in CentOS 5.1 and RHEL 5.1 via updates. Also, its difficult for people to upgrade OS(s) on production servers frequently and especially if the servers are running absolutely [...]<p><a href="http://gofedora.com/">Fedora Tutorials</a> and <a href="http://cachevideos.com/">Videocache</a> by <a href="http://saini.co.in/">Kulbir Saini</a>.</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://gofedora.com/how-to-install-php-on-centos-red-hat-rhel/" class="post_image_link"  title="Permanent link to How To: Install PHP 5.3 on CentOS 5.1 or RHEL 5.1"><img class="post_image alignnone" src="http://gofedora.com/wp-content/uploads/2009/09/RedHat-CentOS-PHP.jpg" width="300" height="225" alt="RedHat CentOS PHP 5.3" title="How To: Install PHP 5.3 on CentOS 5.1 or RHEL 5.1" /></a>
</p><p>PHP 5.2 and PHP 5.3 has tons of functionalities which are not provided by PHP 5.1 and PHP 5.1 is the most recent version of PHP available in CentOS 5.1 and RHEL 5.1 via updates. Also, its difficult for people to upgrade OS(s) on production servers frequently and especially if the servers are running absolutely fine, it doesn&#8217;t really make sense to upgrade just for the heck of it. One more reason for no upgrades is the OS choices provided by many hosting companies. But a lot of CMS(s) and softwares are now recommending at least PHP 5.2 for an extended feature set.</p>
<p>I tried a lot of repos for CentOS including RPM Fusion, RPM Forge, EPEL etc., but none of them could provide even PHP 5.2. In some corner of my mind, I had a faint idea of <a rel="nofollow" href="http://gofedora.com/goto/http://blog.famillecollet.com/"  target="_blank">Remi Collet</a> publishing updates about Remi repository. Did a quick google search and found out that PHP 5.3 is actually available in the repository <img src='http://gofedora.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' title="How To: Install PHP 5.3 on CentOS 5.1 or RHEL 5.1" /> </p>
<p>So, if you are really in need of PHP5.3 on your CentOS/RHEL 5.1 or lesser, head over to <a rel="nofollow" href="http://gofedora.com/goto/http://blog.famillecollet.com/pages/Config-en"  target="_blank">Repository Configuration Page</a> and follow the instructions.</p>
<p><span style="text-decoration: underline;"><strong>Note:</strong></span> The repository is not enabled on install <em>(enabled=0)</em>. You need to enable it in <em>/etc/yum.repos.d/remi.repo</em>.</p>
<p>Once installed and enabled, you can update PHP, MySQL from remi repository using the following command</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ yum update php php-<span style="color: #000000; font-weight: bold;">*</span> mysql-<span style="color: #000000; font-weight: bold;">*</span></pre></div></div>

<p><span style="color: #ff0000;"><span style="text-decoration: underline;"><strong>Warning:</strong></span></span> Drupal is still not totally compatible with PHP5.3 and if you run Drupal sites, be sure to investigate things before upgrading.<br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://gofedora.com/red-hat-launches-opensource-com/"  title="Red Hat Launches OpenSource.Com">Red Hat Launches OpenSource.Com</a></li>
</ul>
<p><a href="http://gofedora.com/" >Fedora Tutorials</a> and <a href="http://cachevideos.com/" >Videocache</a> by <a href="http://saini.co.in/" >Kulbir Saini</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://gofedora.com/how-to-install-php-on-centos-red-hat-rhel/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How To: New Mail Notification</title>
		<link>http://gofedora.com/how-to-new-email-notification/</link>
		<comments>http://gofedora.com/how-to-new-email-notification/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 19:27:18 +0000</pubDate>
		<dc:creator>Kulbir Saini</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Email Client]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[Tips - Tricks]]></category>
		<category><![CDATA[Email Notifications]]></category>
		<category><![CDATA[IMAP]]></category>
		<category><![CDATA[Mail Notifications]]></category>
		<category><![CDATA[Notifications]]></category>
		<category><![CDATA[POP3]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://gofedora.com/?p=890</guid>
		<description><![CDATA[
mbooth commented on one of my last post (How To: GNOME GMail Notifier) informing that he/she uses mail-notification. I was curious to check it out for mail via IMAP and I found it way more useful as compared to Gnome Gmail Notifier. I especially like the option to configure it to check the mails every [...]<p><a href="http://gofedora.com/">Fedora Tutorials</a> and <a href="http://cachevideos.com/">Videocache</a> by <a href="http://saini.co.in/">Kulbir Saini</a>.</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://gofedora.com/how-to-new-email-notification/" class="post_image_link"  title="Permanent link to How To: New Mail Notification"><img class="post_image alignnone" src="http://gofedora.com/wp-content/uploads/2009/09/New-Mail-Notification.jpg" width="219" height="300" alt="New Mail Notification" title="How To: New Mail Notification" /></a>
</p><p>mbooth commented on one of my last post (<a href="http://gofedora.com/gnome-gmail-notifier/" title="Permanent link to How To: GNOME GMail Notifier" rel="bookmark" >How To: GNOME GMail Notifier</a>) informing that he/she uses <a rel="nofollow" href="http://gofedora.com/goto/http://www.nongnu.org/mailnotify/"  target="_blank">mail-notification</a>. I was curious to check it out for mail via IMAP and I found it way more useful as compared to Gnome Gmail Notifier. I especially like the option to configure it to check the mails every ten seconds. Thats way cool for anxious people like me <img src='http://gofedora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="How To: New Mail Notification" />  Keeping in mind the huge advantages of mail-notification, I thought of writing an howto for configuring it <img src='http://gofedora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="How To: New Mail Notification" /> </p>
<h3><span style="text-decoration: underline;"><strong>Install Mail Notification</strong></span></h3>
<p>Installing something can&#8217;t be simpler. Just use the following command as root</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ yum <span style="color: #c20cb9; font-weight: bold;">install</span> mail-notification</pre></div></div>

<p>Configuring mail-notification is very simple. Its as easy as it can get but there are tricks for special cases like Gmail for  Google Apps hosted websites.</p>
<h3><span style="text-decoration: underline;"><strong>Launch Mail Notification</strong></span></h3>
<p><span style="text-decoration: line-through;">Mail notification loses a point here. It doesn&#8217;t show up in any of the menus. You have to launch it from command line.</span> You can launch mail-notification from <em>System -&gt; Preferences -&gt; Mail Notification</em> (Thanks mbooth for correcting). Or use the following command as normal user to launch mail notification</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>saini<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ mail-notification <span style="color: #660033;">-p</span></pre></div></div>

<h3><span style="text-decoration: underline;"><strong>Configure Status Icon Behaviour</strong></span></h3>
<p>On mail notification properties windows, select <em>Status Icon</em> tab and choose the appropriate behaviour.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/01.-Mail-Notification-Status-Icon-Action.png" ><img class="alignnone size-full wp-image-892" title="Mail Notification Status Icon Action" src="http://gofedora.com/wp-content/uploads/2009/09/01.-Mail-Notification-Status-Icon-Action.png" alt="Mail Notification Status Icon Action" width="250" height="160" /></a></p>
<h3><span style="text-decoration: underline;"><strong>New Message Popup Settings</strong></span></h3>
<p>Now go to <em>Message Popups</em> tab, and select appropriate options. If you don&#8217;t enable popups, using mail notification doesn&#8217;t really make sense (though none can prevent you from doing so <img src='http://gofedora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="How To: New Mail Notification" />  ). Keeping popus stacked is good because it shows you all messages in case you get more than one new mails in an interval. Also, you can configure the expiration time for the popups.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/02.-Mail-Notification-Message-Popups-Settings.png" ><img class="alignnone size-full wp-image-893" title="Mail Notification Message Popups Settings" src="http://gofedora.com/wp-content/uploads/2009/09/02.-Mail-Notification-Message-Popups-Settings.png" alt="Mail Notification Message Popups Settings" width="250" height="300" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Add New Mailbox</strong></span></h3>
<p>Now select <em>General</em> tab and click of <em>Add</em> button. Mail-notification supports checking new mails from Evolution, Gmail, Yahoo! Mail, Windows Live Mail, any IMAP and POP3 Server and moreover your system mailbox <img src='http://gofedora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="How To: New Mail Notification" />  Select Gmail for mailbox type. Enter username and password for Gmail account.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/03.-Mail-Notification-Supported-Mailboxes.png" ><img class="alignnone size-full wp-image-894" title="Mail Notification Supported Mailboxes" src="http://gofedora.com/wp-content/uploads/2009/09/03.-Mail-Notification-Supported-Mailboxes.png" alt="Mail Notification Supported Mailboxes" width="400" height="260" /></a></p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/04.-Mail-Notification-Add-Gmail-Account.png" ><img class="alignnone size-full wp-image-895" title="Mail Notification Add Gmail Account" src="http://gofedora.com/wp-content/uploads/2009/09/04.-Mail-Notification-Add-Gmail-Account.png" alt="Mail Notification Add Gmail Account" width="380" height="250" /></a></p>
<p>Now move over to <em>Details</em> tab and set delay between checking mails. I keep it 10 seconds <img src='http://gofedora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="How To: New Mail Notification" /> </p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/05.-Mail-Notification-Gmail-Account-Settings.png" ><img class="alignnone size-full wp-image-896" title="Mail Notification Gmail Account Settings" src="http://gofedora.com/wp-content/uploads/2009/09/05.-Mail-Notification-Gmail-Account-Settings.png" alt="Mail Notification Gmail Account Settings" width="380" height="210" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Add a Google Apps Hosted Email Account</strong></span></h3>
<p>This is totally optional <img src='http://gofedora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="How To: New Mail Notification" />  Now we&#8217;ll add a Google Apps hosted account. This is a bit tricky. For mailbox type, you&#8217;ll have to select Gmail. For username, you&#8217;ll have to provide your email address.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/06.-Mail-Notification-Add-Google-Apps-Hosted-Account.png" ><img class="alignnone size-full wp-image-898" title="Mail Notification Add Google Apps Hosted Account" src="http://gofedora.com/wp-content/uploads/2009/09/06.-Mail-Notification-Add-Google-Apps-Hosted-Account.png" alt="Mail Notification Add Google Apps Hosted Account" width="360" height="140" /></a></p>
<p>Also, the mailbox name has to be modified in this case to make things work. Move over to <em>Details</em> tab and change mailbox name to your email address.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/07.-Mail-Notification-Google-Apps-Hosted-Account-Settings.png" ><img class="alignnone size-full wp-image-899" title="Mail Notification Google Apps Hosted Account Settings" src="http://gofedora.com/wp-content/uploads/2009/09/07.-Mail-Notification-Google-Apps-Hosted-Account-Settings.png" alt="Mail Notification Google Apps Hosted Account Settings" width="290" height="110" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Add a new IMAP mailbox (Gmail)</strong></p>
<p><strong> </strong></p>
<p></span></h3>
<p>This is totally optional <img src='http://gofedora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="How To: New Mail Notification" />  Keep mailbox type as IMAP. IMAP Server has to be imap.gmail.com . Username and password are same as Gmail Account.</p>
<p><span style="text-decoration: underline;"><strong>Note:</strong></span> For this mailbox to work, you&#8217;ll have to enable IMAP in settings tab in Gmail.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/08.-Mail-Notification-Gmail-IMAP-Account.png" ><img class="alignnone size-full wp-image-900" title="Mail Notification Gmail IMAP Account" src="http://gofedora.com/wp-content/uploads/2009/09/08.-Mail-Notification-Gmail-IMAP-Account.png" alt="Mail Notification Gmail IMAP Account" width="360" height="300" /></a></p>
<p>Now move over to <em>Connection</em> tab. Connection for Gmail IMAP has to be SSL enabled. So, select &#8220;<em>SSL/TLS on separate port</em>&#8221; and make sure the port number is 993.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/09.-Mail-Notification-Gmail-IMAP-Account-Connection-Settings.png" ><img class="alignnone size-full wp-image-902" title="Mail Notification Gmail IMAP Account Connection Settings" src="http://gofedora.com/wp-content/uploads/2009/09/09.-Mail-Notification-Gmail-IMAP-Account-Connection-Settings.png" alt="Mail Notification Gmail IMAP Account Connection Settings" width="360" height="330" /></a></p>
<p>Well thats all you need to do for configuring things for getting new mail notifications lightning fast <img src='http://gofedora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="How To: New Mail Notification" />  Now sit back and relax until someone sends you a mail <img src='http://gofedora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="How To: New Mail Notification" /> </p>
<p>The only major disadvantage that I found with mail-notification is that it doesn&#8217;t stay in notification area all the time. It appears only when there is a new mail.<br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://gofedora.com/news-memepress-yahoo-meme-wordpress-plugin-version-0-3/"  title="News : Memepress (Yahoo! Meme) Wordpress Plugin Version 0.3 is available">News : Memepress (Yahoo! Meme) Wordpress Plugin Version 0.3 is available</a></li>
<li><a href="http://gofedora.com/memepress-ready-translated-supports-turkish/"  title="Memepress Ready to be Translated (Supports Turkish now)">Memepress Ready to be Translated (Supports Turkish now)</a></li>
<li><a href="http://gofedora.com/news-memepress-yahoo-meme-wordpress-plugin/"  title="News: Memepress (Yahoo! Meme) Wordpress Plugin is out!">News: Memepress (Yahoo! Meme) Wordpress Plugin is out!</a></li>
<li><a href="http://gofedora.com/review-spicebird-collaboration-platform/"  title="Review: Spicebird &#8211; A Collaboration Platform">Review: Spicebird &#8211; A Collaboration Platform</a></li>
<li><a href="http://gofedora.com/how-to-configure-evolution/"  title="How To: Configure Evolution">How To: Configure Evolution</a></li>
</ul>
<p><a href="http://gofedora.com/" >Fedora Tutorials</a> and <a href="http://cachevideos.com/" >Videocache</a> by <a href="http://saini.co.in/" >Kulbir Saini</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://gofedora.com/how-to-new-email-notification/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>How To: Configure Dual Display with ATI Radeon (fglrx)</title>
		<link>http://gofedora.com/how-to-configure-dual-display-ati-radeon-fglrx-xinerama/</link>
		<comments>http://gofedora.com/how-to-configure-dual-display-ati-radeon-fglrx-xinerama/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 21:34:08 +0000</pubDate>
		<dc:creator>Kulbir Saini</dc:creator>
				<category><![CDATA[AMD]]></category>
		<category><![CDATA[ATI]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Drivers]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[Tips - Tricks]]></category>
		<category><![CDATA[Xorg]]></category>
		<category><![CDATA[ATI Drivers]]></category>
		<category><![CDATA[ATI Radeon]]></category>
		<category><![CDATA[DPI]]></category>
		<category><![CDATA[Dual Display]]></category>
		<category><![CDATA[Font]]></category>
		<category><![CDATA[Xinerama]]></category>

		<guid isPermaLink="false">http://gofedora.com/?p=877</guid>
		<description><![CDATA[
As promised in my last post (News: ATI Catalyst Display Drivers 9.9 Released), I am back with a post on configuring dual display with ATI Radeon HD Graphics Card and proprietary catalyst (fglrx) drivers from ATI.
Hardware Used
Graphics Card: ATI Radeon HD 3200 (256MB, onboard)
 Monitor 0: ViewSonic VG1930WM 1440&#215;900 (19&#8243; LCD, Connected via DVI port)
 [...]<p><a href="http://gofedora.com/">Fedora Tutorials</a> and <a href="http://cachevideos.com/">Videocache</a> by <a href="http://saini.co.in/">Kulbir Saini</a>.</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://gofedora.com/how-to-configure-dual-display-ati-radeon-fglrx-xinerama/" class="post_image_link"  title="Permanent link to How To: Configure Dual Display with ATI Radeon (fglrx)"><img class="post_image alignnone" src="http://gofedora.com/wp-content/uploads/2009/09/Dual-Display-Configuration-ATI-Radeon.jpg" width="330" height="175" alt="Dual Display Configuration ATI Radeon" title=" How To: Configure Dual Display with ATI Radeon (fglrx)" /></a>
</p><p>As promised in my last post (<a href="http://gofedora.com/news-ati-catalyst-drivers-released/" title="News: ATI Catalyst Display Drivers 9.9 Released" >News: ATI Catalyst Display Drivers 9.9 Released</a>), I am back with a post on configuring dual display with ATI Radeon HD Graphics Card and proprietary catalyst (fglrx) drivers from ATI.</p>
<h3><span style="text-decoration: underline;"><strong>Hardware Used</strong></span></h3>
<p><strong>Graphics Card:</strong> ATI Radeon HD 3200 (256MB, onboard)<br />
<strong> Monitor 0:</strong> ViewSonic VG1930WM 1440&#215;900 (19&#8243; LCD, Connected via DVI port)<br />
<strong> Monitor 1:</strong> Samsung SyncMaster 793S 1280&#215;1024 (17&#8243; CRT, Connected via VGA port)</p>
<h3><span style="text-decoration: underline;"><strong>Types of Dual Display</strong></span></h3>
<ul>
<li><strong>Mirror:</strong> Both screens have same content, identical refresh rate and resolution.</li>
<li><strong>Clone:</strong> Both screens have same content but refresh rates and resolutions can be different.</li>
<li><strong>Horizontal:</strong> Both screens can have different content, refresh rates and resolution. Screen 1 is left or right of Screen2.</li>
<li><strong>Vertical:</strong> Same as horizontal. The only difference is that Screen1 is above or below Screen2.</li>
</ul>
<p>In this post, we are interested in Horizontal setup with <strong>xinerama</strong> on. This way we can have two desktops allowing full screen modes on both of them and allowing us to drag and drop windows from one screen to the other.</p>
<h3><span style="text-decoration: underline;"><strong>Install ATI Drivers</strong></span></h3>
<p>If you don&#8217;t have ATI drivers installed already, follow this <a href="http://gofedora.com/how-to-install-ati-catalyst-fglrx-98-drivers-fedora-11/" title="How To: Install ATI Catalyst (fglrx) 9.8 Drivers on Fedora 11" >How To: Install ATI Catalyst (fglrx)  Drivers on Fedora 11</a> (works for any version of ATI Catalyst drivers).</p>
<h3><span style="text-decoration: underline;"><strong>Generate xorg.conf file</strong></span></h3>
<p>If you don&#8217;t see the xorg.conf file at <em>/etc/X11/xorg.conf</em>, then you need to generate it to proceed to next step. Use the following command as root to generate one</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ Xorg <span style="color: #660033;">-configure</span></pre></div></div>

<p>This command will generate the default <em>xorg.conf</em> file at <em>/root/xorg.conf.new</em>. Copy it to <em>/etc/X11/xorg.conf</em>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>xorg.conf.new <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg.conf</pre></div></div>

<h3><span style="text-decoration: underline;"><strong>Backup xorg.conf file</strong></span></h3>
<p>Backup your original xorg.conf file so that you can restore it in case the configuration doesn&#8217;t work the way you expected.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg.conf <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg.conf.backup</pre></div></div>

<h3><span style="text-decoration: underline;"><strong>Generate Configuration for Dual Display</strong></span></h3>
<p>Now we are ready to generate the configuration for dual display. Use the following command with appropriate arguments (in accordance with your hardware configuration)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># --screen-layout will place second screen on left of your first screen. Other possible values are right,above,below.</span>
<span style="color: #666666; font-style: italic;"># --xinerama=on option enables you to have two different desktops and one of them being passive.</span>
<span style="color: #666666; font-style: italic;"># You can drag and drop windows from one desktop to the other. Task bars appear only on one of the desktops.</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ aticonfig <span style="color: #660033;">--initial</span>=dual-head <span style="color: #660033;">--screen-layout</span>=left <span style="color: #660033;">--xinerama</span>=on
<span style="color: #666666; font-style: italic;"># --resolution=_screen_number_,widthxheight</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ aticonfig <span style="color: #660033;">--resolution</span>=<span style="color: #000000;">0</span>,1440x900 <span style="color: #660033;">--resolution</span>=<span style="color: #000000;">1</span>,1280x1024
<span style="color: #666666; font-style: italic;"># Set horizontal sync and vertical refresh rates for both monitors.</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ aticonfig <span style="color: #660033;">--hsync</span>=<span style="color: #000000;">0</span>,<span style="color: #000000;">30</span>-<span style="color: #000000;">60</span> <span style="color: #660033;">--hsync</span>=<span style="color: #000000;">1</span>,<span style="color: #000000;">30</span>-<span style="color: #000000;">60</span> <span style="color: #660033;">--vrefresh</span>=<span style="color: #000000;">0</span>,<span style="color: #000000;">30</span>-<span style="color: #000000;">60</span> <span style="color: #660033;">--vrefresh</span>=<span style="color: #000000;">1</span>,<span style="color: #000000;">30</span>-<span style="color: #000000;">60</span></pre></div></div>

<p>You can download my xorg.conf file via <a href="http://gofedora.com/wp-content/uploads/linux/xorg.conf_f11_dual_display_fglrx.txt" rel="nofollow" >this link</a>.</p>
<h3><span style="text-decoration: underline;"><strong>Reboot or Logout and Login Again</strong></span></h3>
<p>If you just setup your ATI drivers and configured the dual display, you need to reboot so that fglrx module can be loaded properly. If you rebooted after setting up the drivers, just logout and login again to checkout your dual display <img src='http://gofedora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title=" How To: Configure Dual Display with ATI Radeon (fglrx)" />  If everything works fine, say thanks to me and if not blame ATI <img src='http://gofedora.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' title=" How To: Configure Dual Display with ATI Radeon (fglrx)" /> </p>
<h3><span style="text-decoration: underline;"><strong>Adjust DPI for Normal Font Size</strong></span></h3>
<p>I faced a problem with my font sizes being too big while using <strong>xinerama</strong>. It was easy to fix by adjusting DPI. Go to <em>System -&gt; Preferences -&gt; Appearance</em>. Go to <em>Fonts</em> tab. Click <em>Details</em> located near the bottom right corner. On that window, try descreasing the &#8220;<strong>Dots Per Inch</strong>&#8221; value. Mine worked fine with 85 DPI.</p>
<p>Below is an image of my dual display setup. Click to enlarge.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/Dual-Display-Configuration-ViewSonic-Samsung-Using-ATI-Radeon-Catalyst-fglrx.jpg" ><img class="alignnone size-medium wp-image-883" title="Dual Display Configuration ViewSonic Samsung Using ATI Radeon Catalyst (fglrx)" src="http://gofedora.com/wp-content/uploads/2009/09/Dual-Display-Configuration-ViewSonic-Samsung-Using-ATI-Radeon-Catalyst-fglrx-500x281.jpg" alt="Dual Display Configuration ViewSonic Samsung Using ATI Radeon Catalyst (fglrx)" width="500" height="281" /></a><br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://gofedora.com/news-ati-catalyst-drivers-10-2-released-no-fedora-12-support/"  title="News: ATI Catalyst Drivers 10.2 Released. No Fedora 12 Support.">News: ATI Catalyst Drivers 10.2 Released. No Fedora 12 Support.</a></li>
<li><a href="http://gofedora.com/news-ati-catalyst-drivers-101-released-test/"  title="News : ATI Catalyst Drivers 10.1 Released. Test them now!">News : ATI Catalyst Drivers 10.1 Released. Test them now!</a></li>
<li><a href="http://gofedora.com/news-will-ati-catalyst-drivers-9-12-work-with-fedora-12/"  title="News: Will ATI Catalyst Drivers 9.12 work with Fedora 12?">News: Will ATI Catalyst Drivers 9.12 work with Fedora 12?</a></li>
<li><a href="http://gofedora.com/fedora-12-ati-catalyst-drivers/"  title="Fedora 12 ATI Catalyst Drivers">Fedora 12 ATI Catalyst Drivers</a></li>
<li><a href="http://gofedora.com/news-ati-catalyst-graphics-drivers-9-11-released/"  title="News : ATI Catalyst Graphics Drivers 9.11 Released">News : ATI Catalyst Graphics Drivers 9.11 Released</a></li>
</ul>
<p><a href="http://gofedora.com/" >Fedora Tutorials</a> and <a href="http://cachevideos.com/" >Videocache</a> by <a href="http://saini.co.in/" >Kulbir Saini</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://gofedora.com/how-to-configure-dual-display-ati-radeon-fglrx-xinerama/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>How To: GNOME GMail Notifier</title>
		<link>http://gofedora.com/gnome-gmail-notifier/</link>
		<comments>http://gofedora.com/gnome-gmail-notifier/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 01:14:34 +0000</pubDate>
		<dc:creator>Kulbir Saini</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Email Client]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[Tips - Tricks]]></category>
		<category><![CDATA[Gmail Notification]]></category>
		<category><![CDATA[Gmail Notifier]]></category>
		<category><![CDATA[Google Notifier]]></category>
		<category><![CDATA[Mail Notifier]]></category>
		<category><![CDATA[Notifier]]></category>

		<guid isPermaLink="false">http://gofedora.com/?p=831</guid>
		<description><![CDATA[
GNOME GMail (Google GMail) Notifier is an awesome tool for GNOME/Linux users if you are addicted to checking mails every few minutes. GMail Notifier solves a bit of your problems by notifying about multiple gmail accounts. One more plus point is that it can display GMail Notifications for new mails in accounts for which you [...]<p><a href="http://gofedora.com/">Fedora Tutorials</a> and <a href="http://cachevideos.com/">Videocache</a> by <a href="http://saini.co.in/">Kulbir Saini</a>.</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://gofedora.com/gnome-gmail-notifier/" class="post_image_link"  title="Permanent link to How To: GNOME GMail Notifier"><img class="post_image alignnone" src="http://gofedora.com/wp-content/uploads/2009/09/Google-Mail-Gmail.jpg" width="300" height="125" alt="Google Mail Gmail" title="How To: GNOME GMail Notifier" /></a>
</p><p><strong>GNOME GMail (Google GMail) Notifier</strong> is an awesome tool for GNOME/Linux users if you are addicted to checking mails every few minutes. GMail Notifier solves a bit of your problems by notifying about multiple gmail accounts. One more plus point is that it can display GMail Notifications for new mails in accounts for which you are using Google Apps. Below is a step by step howto on installing and configuring GMail Notifier in Fedora (may apply to other distros as well).</p>
<h3><span style="text-decoration: underline;"><strong>Install GNOME GMail Notifier</strong></span></h3>
<p>You can download and install it from <a rel="nofollow" href="http://gofedora.com/goto/http://code.google.com/p/gnome-gmail-notifier/"  target="_blank">GNOME GMail notifier home page</a> or just use yum</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ yum <span style="color: #c20cb9; font-weight: bold;">install</span> gnome-gmail-notifier</pre></div></div>

<h3><span style="text-decoration: underline;"><strong>Launch Gmail Notifier</strong></span></h3>
<p>If installation was successful, go to Applications -&gt; Internet -&gt; Gmail Notifier.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/01.-GNOME-Gmail-Notifier.png" ><img class="alignnone size-full wp-image-833" title="GNOME Gmail Notifier" src="http://gofedora.com/wp-content/uploads/2009/09/01.-GNOME-Gmail-Notifier.png" alt="GNOME Gmail Notifier" width="329" height="78" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Open Preferences</strong></span></h3>
<p>Right click on Email icon in taskbar and click <strong>Preferences</strong>.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/02.-GNOME-Gmail-Notifier-Select-Prefreneces.png" ><img class="alignnone size-full wp-image-834" title="GNOME Gmail Notifier Select Prefreneces" src="http://gofedora.com/wp-content/uploads/2009/09/02.-GNOME-Gmail-Notifier-Select-Prefreneces.png" alt="GNOME Gmail Notifier Select Prefreneces" width="170" height="130" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Select Preferences</strong></span></h3>
<p>Set inbox update time to 1 minute. Check display notifications for new messages and errors. Also select a sound to play for new mails.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/03.-GNOME-Gmail-Notifier-Prefreneces.png" ><img class="alignnone size-full wp-image-835" title="GNOME Gmail Notifier Prefreneces" src="http://gofedora.com/wp-content/uploads/2009/09/03.-GNOME-Gmail-Notifier-Prefreneces.png" alt="GNOME Gmail Notifier Prefreneces" width="315" height="453" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Add GMail Account</strong></span></h3>
<p>Click Add on preferences window and add your GMail account.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/04.-GNOME-Gmail-Notifier-Add-GMail-Account.png" ><img class="alignnone size-full wp-image-836" title="GNOME Gmail Notifier Add GMail Account" src="http://gofedora.com/wp-content/uploads/2009/09/04.-GNOME-Gmail-Notifier-Add-GMail-Account.png" alt="GNOME Gmail Notifier Add GMail Account" width="270" height="203" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Add Mail Account (Google Apps)</strong> (Optional)</span></h3>
<p>If you don&#8217;t know what Google Apps is, leave this step. If you do know, then add your mail account.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/05.-GNOME-Gmail-Notifier-Add-Google-Apps-Account.png" ><img class="alignnone size-full wp-image-837" title="GNOME Gmail Notifier Add Google Apps Account" src="http://gofedora.com/wp-content/uploads/2009/09/05.-GNOME-Gmail-Notifier-Add-Google-Apps-Account.png" alt="GNOME Gmail Notifier Add Google Apps Account" width="270" height="203" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Check Mail</strong></span></h3>
<p>If you can&#8217;t wait for 1 minutes to see GMail Notifier in action, just right click on email icon in taskbar and click <strong>Check Mail</strong>.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/06.-GNOME-Gmail-Notifier-Check-New-Mails.png" ><img class="alignnone size-full wp-image-838" title="GNOME Gmail Notifier Check New Mails" src="http://gofedora.com/wp-content/uploads/2009/09/06.-GNOME-Gmail-Notifier-Check-New-Mails.png" alt="GNOME Gmail Notifier Check New Mails" width="160" height="120" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Mail Notifications</strong></span></h3>
<p>Whenever you get a new mail, you&#8217;ll have bubble like the one in image below and a sound will also be played.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/07.-GNOME-Gmail-Notifier-New-Mail-Notification.png" ><img class="alignnone size-full wp-image-839" title="GNOME Gmail Notifier New Mail Notification" src="http://gofedora.com/wp-content/uploads/2009/09/07.-GNOME-Gmail-Notifier-New-Mail-Notification.png" alt="GNOME Gmail Notifier New Mail Notification" width="430" height="130" /></a></p>
<p>Enjoy the notifications <img src='http://gofedora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="How To: GNOME GMail Notifier" /><br />
<h3>Recommended Posts</h3>
<ul class="related_post">
<li><a href="http://gofedora.com/how-to-install-ati-catalyst-fglrx-98-drivers-fedora-11/"  title="How To: Install ATI Catalyst (fglrx) Drivers">How To: Install ATI Catalyst (fglrx) Drivers</a></li>
<li><a href="http://gofedora.com/fedora-12-ati-catalyst-drivers/"  title="Fedora 12 ATI Catalyst Drivers">Fedora 12 ATI Catalyst Drivers</a></li>
<li><a href="http://gofedora.com/how-to-configure-squid-proxy-server/"  title="How To: Configure Squid Proxy Server">How To: Configure Squid Proxy Server</a></li>
<li><a href="http://gofedora.com/news-ati-catalyst-drivers-10-2-released-no-fedora-12-support/"  title="News: ATI Catalyst Drivers 10.2 Released. No Fedora 12 Support.">News: ATI Catalyst Drivers 10.2 Released. No Fedora 12 Support.</a></li>
<li><a href="http://gofedora.com/news-will-ati-catalyst-drivers-9-12-work-with-fedora-12/"  title="News: Will ATI Catalyst Drivers 9.12 work with Fedora 12?">News: Will ATI Catalyst Drivers 9.12 work with Fedora 12?</a></li>
</ul>
<p><a href="http://gofedora.com/" >Fedora Tutorials</a> and <a href="http://cachevideos.com/" >Videocache</a> by <a href="http://saini.co.in/" >Kulbir Saini</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://gofedora.com/gnome-gmail-notifier/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How To: Install and Use Twython (Python Wrapper for Twitter API)</title>
		<link>http://gofedora.com/how-to-install-use-twython-python-wrapper-for-twitter-api/</link>
		<comments>http://gofedora.com/how-to-install-use-twython-python-wrapper-for-twitter-api/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 07:49:51 +0000</pubDate>
		<dc:creator>Kulbir Saini</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Tips - Tricks]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Code Demo]]></category>
		<category><![CDATA[Proxy Support]]></category>
		<category><![CDATA[Twitter API]]></category>
		<category><![CDATA[Twython]]></category>

		<guid isPermaLink="false">http://gofedora.com/?p=826</guid>
		<description><![CDATA[
As promised in my previous post, here is a brief howto on getting started with twython. The main advantage of Twython over several other python (or any other language) wrappers for Twitter API is that it works even when you are behind your organizations proxy.
Download Twython
You can download latest version of twython from twython page [...]<p><a href="http://gofedora.com/">Fedora Tutorials</a> and <a href="http://cachevideos.com/">Videocache</a> by <a href="http://saini.co.in/">Kulbir Saini</a>.</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://gofedora.com/how-to-install-use-twython-python-wrapper-for-twitter-api/" class="post_image_link"  title="Permanent link to How To: Install and Use Twython (Python Wrapper for Twitter API)"><img class="post_image alignnone" src="http://gofedora.com/wp-content/uploads/2009/09/twython.jpg" width="320" height="220" alt="Twython (Twitter API in Python)" title="How To: Install and Use Twython (Python Wrapper for Twitter API)" /></a>
</p><p>As promised in my <a href="http://gofedora.com/love-twitter-love-python-love-twython/"  target="_blank">previous post</a>, here is a brief howto on getting started with twython. The main advantage of Twython over several other python (or any other language) wrappers for Twitter API is that it works even when you are behind your organizations proxy.</p>
<h3><span style="text-decoration: underline;"><strong>Download Twython</strong></span></h3>
<p>You can download latest version of twython from <a rel="nofollow" href="http://gofedora.com/goto/http://github.com/ryanmcgrath/twython/tree/master"  target="_blank">twython page on github</a>. You can either clone using git (if you have git installed) or can click the download button.</p>
<h3><span style="text-decoration: underline;"><strong>Install Twython</strong></span></h3>
<p>Once you are done with extracting the downloaded tar file. Change directory to twython and run these command as root.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ git clone git:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>ryanmcgrath<span style="color: #000000; font-weight: bold;">/</span>twython.git
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #7a0874; font-weight: bold;">cd</span> twython<span style="color: #000000; font-weight: bold;">/</span>dist
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora dist<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xvzf</span> twython-0.8.tar.gz
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora dist<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #7a0874; font-weight: bold;">cd</span> twython-<span style="color: #000000;">0.8</span><span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora dist<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ python setup.py build
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora dist<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ python setup.py <span style="color: #c20cb9; font-weight: bold;">install</span></pre></td></tr></table></div>

<h3><span style="text-decoration: underline;"><strong>Use Twython from Python Interpreter</strong></span></h3>
<p>Below is a direct copy paste lines from my interpreter. See how things are working (learning by doing).</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
</pre></td><td class="code"><pre class="python" style="font-family:monospace;"><span style="color: black;">&#91;</span>saini@bordeaux ~<span style="color: black;">&#93;</span>$ python
Python <span style="color: #ff4500;">2.6</span> <span style="color: black;">&#40;</span>r26:<span style="color: #ff4500;">66714</span>, Mar <span style="color: #ff4500;">17</span> <span style="color: #ff4500;">2009</span>, <span style="color: #ff4500;">11</span>:<span style="color: #ff4500;">44</span>:<span style="color: #ff4500;">21</span><span style="color: black;">&#41;</span> 
<span style="color: black;">&#91;</span>GCC 4.4.0 <span style="color: #ff4500;">20090313</span> <span style="color: black;">&#40;</span>Red Hat 4.4.0-<span style="color: #ff4500;">0.26</span><span style="color: black;">&#41;</span><span style="color: black;">&#93;</span> on linux2
Type <span style="color: #483d8b;">&quot;help&quot;</span>, <span style="color: #483d8b;">&quot;copyright&quot;</span>, <span style="color: #483d8b;">&quot;credits&quot;</span> <span style="color: #ff7700;font-weight:bold;">or</span> <span style="color: #483d8b;">&quot;license&quot;</span> <span style="color: #ff7700;font-weight:bold;">for</span> more information.
<span style="color: #66cc66;">&gt;&gt;&gt;</span> <span style="color: #808080; font-style: italic;"># first of all, import twython module</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span> <span style="color: #ff7700;font-weight:bold;">import</span> twython
<span style="color: #66cc66;">&gt;&gt;&gt;</span> <span style="color: #808080; font-style: italic;"># Authenticate your twitter account with your twitter username</span>
... <span style="color: #808080; font-style: italic;"># and password with twitter.setup method.</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span> client = twython.<span style="color: black;">setup</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Basic'</span>,<span style="color: #483d8b;">'myusername'</span>,<span style="color: #483d8b;">'mypassword'</span><span style="color: black;">&#41;</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span> client.<span style="color: black;">authenticated</span>
<span style="color: #008000;">True</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span> <span style="color: #808080; font-style: italic;">#Lets update our current status on twitter with some cool message.</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span> client.<span style="color: black;">updateStatus</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Testing #twython. The coolest #TwitterAPI :)'</span><span style="color: black;">&#41;</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span> <span style="color: #808080; font-style: italic;"># Now go and check your current status on twitter. Surprised!!!</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span> <span style="color: #808080; font-style: italic;"># Get your or anyone's followers</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span> client.<span style="color: black;">getFollowersIDs</span><span style="color: black;">&#40;</span>screen_name=<span style="color: #483d8b;">'gofedora'</span><span style="color: black;">&#41;</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span> <span style="color: #808080; font-style: italic;"># Output truncated.</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span> <span style="color: #808080; font-style: italic;"># Get help for any function.</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span> <span style="color: #ff7700;font-weight:bold;">print</span> client.<span style="color: black;">createFriendship</span>.__doc__
createFriendship<span style="color: black;">&#40;</span><span style="color: #008000;">id</span> = <span style="color: #008000;">None</span>, user_id = <span style="color: #008000;">None</span>, screen_name = <span style="color: #008000;">None</span>, follow = <span style="color: #483d8b;">&quot;false&quot;</span><span style="color: black;">&#41;</span>
&nbsp;
	Allows the authenticating users to follow the <span style="color: #dc143c;">user</span> specified <span style="color: #ff7700;font-weight:bold;">in</span> the ID parameter.
	<span style="color: black;">Returns</span> the befriended <span style="color: #dc143c;">user</span> <span style="color: #ff7700;font-weight:bold;">in</span> the requested format when successful. <span style="color: black;">Returns</span> a
	<span style="color: #dc143c;">string</span> describing the failure condition when unsuccessful. <span style="color: black;">If</span> you are already
	friends <span style="color: #ff7700;font-weight:bold;">with</span> the <span style="color: #dc143c;">user</span> an HTTP <span style="color: #ff4500;">403</span> will be returned.
&nbsp;
	<span style="color: black;">Parameters</span>:
		<span style="color: #66cc66;">**</span> Note: One of the following <span style="color: #ff7700;font-weight:bold;">is</span> required. <span style="color: black;">&#40;</span><span style="color: #008000;">id</span>, user_id, screen_name<span style="color: black;">&#41;</span>
		<span style="color: #008000;">id</span> - Required. <span style="color: black;">The</span> ID <span style="color: #ff7700;font-weight:bold;">or</span> screen name of the <span style="color: #dc143c;">user</span> to befriend.
		<span style="color: black;">user_id</span> - Required. <span style="color: black;">Specfies</span> the ID of the <span style="color: #dc143c;">user</span> to befriend. <span style="color: black;">Helpful</span> <span style="color: #ff7700;font-weight:bold;">for</span> disambiguating when a valid <span style="color: #dc143c;">user</span> ID <span style="color: #ff7700;font-weight:bold;">is</span> also a valid screen name. 
		<span style="color: black;">screen_name</span> - Required. <span style="color: black;">Specfies</span> the screen name of the <span style="color: #dc143c;">user</span> to befriend. <span style="color: black;">Helpful</span> <span style="color: #ff7700;font-weight:bold;">for</span> disambiguating when a valid screen name <span style="color: #ff7700;font-weight:bold;">is</span> also a <span style="color: #dc143c;">user</span> ID. 
		<span style="color: black;">follow</span> - Optional. <span style="color: black;">Enable</span> notifications <span style="color: #ff7700;font-weight:bold;">for</span> the target <span style="color: #dc143c;">user</span> <span style="color: #ff7700;font-weight:bold;">in</span> addition to becoming friends. 
<span style="color: #66cc66;">&gt;&gt;&gt;</span></pre></td></tr></table></div>

<p>So now you are ready to do wonders with twython. Write your own code and blog/brag about it <img src='http://gofedora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="How To: Install and Use Twython (Python Wrapper for Twitter API)" /><br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://gofedora.com/love-twitter-love-python-love-twython/"  title="I Love Twitter, I Love Python = I Love Twython">I Love Twitter, I Love Python = I Love Twython</a></li>
</ul>
<p><a href="http://gofedora.com/" >Fedora Tutorials</a> and <a href="http://cachevideos.com/" >Videocache</a> by <a href="http://saini.co.in/" >Kulbir Saini</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://gofedora.com/how-to-install-use-twython-python-wrapper-for-twitter-api/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To: Recover Deleted Files in Linux Using Photorec</title>
		<link>http://gofedora.com/how-to-recover-deleted-files-linux-using-photorec/</link>
		<comments>http://gofedora.com/how-to-recover-deleted-files-linux-using-photorec/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 21:04:08 +0000</pubDate>
		<dc:creator>Kulbir Saini</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Hard Disk]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[Tips - Tricks]]></category>
		<category><![CDATA[Photorec]]></category>
		<category><![CDATA[Recover Deleted Files]]></category>
		<category><![CDATA[Recover Files]]></category>
		<category><![CDATA[Screenshots]]></category>
		<category><![CDATA[Testdisk]]></category>

		<guid isPermaLink="false">http://gofedora.com/?p=739</guid>
		<description><![CDATA[
Frequently I get messages like &#8220;I have accidentally deleted my project. Is there any way to recover it in Linux?&#8221; or &#8220;I worked really hard on that program and managed to deleted it right before submission   How do I recover?&#8221;. Well I didn&#8217;t really have any idea on &#8220;How to actually recover deleted [...]<p><a href="http://gofedora.com/">Fedora Tutorials</a> and <a href="http://cachevideos.com/">Videocache</a> by <a href="http://saini.co.in/">Kulbir Saini</a>.</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://gofedora.com/how-to-recover-deleted-files-linux-using-photorec/" class="post_image_link"  title="Permanent link to How To: Recover Deleted Files in Linux Using Photorec"><img class="post_image alignnone" src="http://gofedora.com/wp-content/uploads/2009/08/photorec.jpg" width="256" height="161" alt="Photorec - Recover Deleted Files in Linux" title="How To: Recover Deleted Files in Linux Using Photorec" /></a>
</p><p>Frequently I get messages like &#8220;I have accidentally deleted my project. Is there any way to recover it in Linux?&#8221; or &#8220;I worked really hard on that program and managed to deleted it right before submission <img src='http://gofedora.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' title="How To: Recover Deleted Files in Linux Using Photorec" />  How do I recover?&#8221;. Well I didn&#8217;t really have any idea on &#8220;How to actually recover deleted files in Linux&#8221;.</p>
<p>A few days back I was designing the new logo for <a href="http://cachevideos.com"  target="_blank">Videocache</a> in Inkscape. After finishing the design, I saved the svg file carefully. And deleted other images which I embedded in the logo. A few moments later I realized that I just screwed up myself by deleting all those files as the svg file is now good for nothing.</p>
<p>I searched a lot on recovering files in Linux but in vain. Then a friend (<a rel="nofollow" href="http://gofedora.com/goto/http://gaganpreet.wordpress.com/"  target="_blank">bitgeek</a>) told me about Photorec. I managed to recover all the files using photorec. I thought it would be a good idea to let others know and spread a good word about Photorec. Below is a step by step howto on using Photorec to recover your files.</p>
<h3><span style="text-decoration: underline;"><strong>What is Photorec?</strong></span></h3>
<p>From Photorec website,</p>
<blockquote><p><a rel="nofollow" href="http://gofedora.com/goto/http://www.cgsecurity.org/wiki/PhotoRec"  target="_blank">PhotoRec</a> is file data recovery software designed to recover lost files including video, documents and archives from Hard Disks and CDRom and lost pictures (thus, its &#8216;Photo Recovery&#8217; name) from digital camera memory. PhotoRec ignores the filesystem and goes after the underlying data, so it will still work even if your media&#8217;s filesystem has been severely damaged or re-formatted.</p></blockquote>
<h3><span style="text-decoration: underline;"><strong>For This HowTo</strong></span></h3>
<p>Lets say I had a file download_arrow.png in /home/saini/Desktop which I have removed accidentally. Login as root and create a directory recover which will be used to store all the recovered files.</p>
<h3><span style="text-decoration: underline;"><strong>Install testdisk/PhotoRec</strong></span></h3>
<p>Photorec comes as a part of testdisk package in Fedora (I hope its same for other distributions as well). Use yum to install testdisk.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora-tips ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ yum <span style="color: #c20cb9; font-weight: bold;">install</span> testdisk</pre></div></div>

<h3><span style="text-decoration: underline;"><strong>Launch Photorec</strong></span></h3>
<p>Once you are done with installation. Open a terminal and launch photorec (as root).</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora-tips recover<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ photorec</pre></div></div>

<h3><span style="text-decoration: underline;"><strong>Select Hard Disk</strong></span></h3>
<p>If you have more than one hard disk in your system, select the one from which you have deleted the file(s).</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/1.-PhotoRec-Hard-Disk-Selection.jpeg" ><img class="alignnone size-medium wp-image-793" title="PhotoRec Hard Disk Selection" src="http://gofedora.com/wp-content/uploads/2009/09/1.-PhotoRec-Hard-Disk-Selection-500x283.jpg" alt="PhotoRec Hard Disk Selection" width="500" height="283" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Select Partition Type</strong></span></h3>
<p>If your hard disk has Linux partitions, then select <strong>[Intel]</strong>.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/2.-PhotoRec-Partition-Selection.jpeg" ><img class="alignnone size-medium wp-image-794" title="PhotoRec Partition Selection" src="http://gofedora.com/wp-content/uploads/2009/09/2.-PhotoRec-Partition-Selection-500x345.jpg" alt="PhotoRec Partition Selection" width="500" height="345" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Select Filetype Option</strong></span></h3>
<p>Move to [File Opt] and press enter. Here you can disable all file types by pressing &#8217;s&#8217; . Use space to toggle the check button. Now since we removed a png file, we are going to check only png file type.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/3.-PhotoRec-Filetype-Selection.jpeg" ><img class="alignnone size-medium wp-image-795" title="PhotoRec Filetype Selection" src="http://gofedora.com/wp-content/uploads/2009/09/3.-PhotoRec-Filetype-Selection-500x350.jpg" alt="PhotoRec Filetype Selection" width="500" height="350" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Select Options</strong></span></h3>
<p>Photorec also has a list of different options. Under normal circumstances you don&#8217;t need to modify them</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/4.-PhotoRec-Option-Selection.jpeg" ><img class="alignnone size-medium wp-image-796" title="PhotoRec Option Selection" src="http://gofedora.com/wp-content/uploads/2009/09/4.-PhotoRec-Option-Selection-471x375.jpg" alt="PhotoRec Option Selection" width="471" height="375" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Select Partition</strong></span></h3>
<p>Move the selector to the partition from which you have removed the file. Then press enter on search.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/9.-PhotoRec-Partition-Selection.jpeg" ><img class="alignnone size-medium wp-image-799" title="PhotoRec Partition Selection" src="http://gofedora.com/wp-content/uploads/2009/09/9.-PhotoRec-Partition-Selection-500x347.jpg" alt="PhotoRec Partition Selection" width="500" height="347" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Select Filesystem Type</strong></span></h3>
<p>If you are using Linux, its going to be ext2/ext3/ext4. So the default selection is file.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/5.-PhotoRec-Partition-Selection1.jpeg" ><img class="alignnone size-medium wp-image-798" title="PhotoRec Partition Selection" src="http://gofedora.com/wp-content/uploads/2009/09/5.-PhotoRec-Partition-Selection1-500x347.jpg" alt="PhotoRec Partition Selection" width="500" height="347" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Select Space for Analysis</strong></span></h3>
<p>Select <strong>free</strong> if you didn&#8217;t write to that partition after removing the particular file otherwise select <strong>whole</strong>.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/6.-PhotoRec-Space-Selection.jpeg" ><img class="alignnone size-medium wp-image-800" title="PhotoRec Space Selection" src="http://gofedora.com/wp-content/uploads/2009/09/6.-PhotoRec-Space-Selection-500x271.jpg" alt="PhotoRec Space Selection" width="500" height="271" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Select a Directory to Recover Files</strong></span></h3>
<p>Now select the path where the recovered files will be stored. Then press &#8216;Y&#8217;.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/7.-PhotoRec-Recovery-Directory-Selection.jpeg" ><img class="alignnone size-medium wp-image-801" title="PhotoRec Recovery Directory Selection" src="http://gofedora.com/wp-content/uploads/2009/09/7.-PhotoRec-Recovery-Directory-Selection-499x243.jpg" alt="PhotoRec Recovery Directory Selection" width="499" height="243" /></a></p>
<h3><span style="text-decoration: underline;"><strong>Recovery Progress</strong></span></h3>
<p>Photorec will show how many files it has recovered.</p>
<p><a href="http://gofedora.com/wp-content/uploads/2009/09/8.-PhotoRec-Recovery-Progress.jpeg" ><img class="alignnone size-medium wp-image-802" title="PhotoRec Recovery Progress" src="http://gofedora.com/wp-content/uploads/2009/09/8.-PhotoRec-Recovery-Progress-499x248.jpg" alt="PhotoRec Recovery Progress" width="499" height="248" /></a></p>
<p>All recovered file will be stored in the directory selected above. Open them in a file browser and you&#8217;ll get the removed file there. I hope this howto will help you recovering files you accidentally delete <img src='http://gofedora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="How To: Recover Deleted Files in Linux Using Photorec" /><br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://gofedora.com/how-to-configure-vnc-server/"  title="How To: Configure VNC Server">How To: Configure VNC Server</a></li>
</ul>
<p><a href="http://gofedora.com/" >Fedora Tutorials</a> and <a href="http://cachevideos.com/" >Videocache</a> by <a href="http://saini.co.in/" >Kulbir Saini</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://gofedora.com/how-to-recover-deleted-files-linux-using-photorec/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>How To: Install ATI Catalyst (fglrx) Drivers</title>
		<link>http://gofedora.com/how-to-install-ati-catalyst-fglrx-98-drivers-fedora-11/</link>
		<comments>http://gofedora.com/how-to-install-ati-catalyst-fglrx-98-drivers-fedora-11/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 16:01:37 +0000</pubDate>
		<dc:creator>Kulbir Saini</dc:creator>
				<category><![CDATA[AMD]]></category>
		<category><![CDATA[ATI]]></category>
		<category><![CDATA[Drivers]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Xorg]]></category>
		<category><![CDATA[ATI Radeon]]></category>
		<category><![CDATA[Catalyst]]></category>
		<category><![CDATA[fglrx]]></category>
		<category><![CDATA[Graphics Card]]></category>

		<guid isPermaLink="false">http://gofedora.com/?p=676</guid>
		<description><![CDATA[
Last Updated : January 30, 2010.
Note: This How To is valid up to Catalyst Driver version 10.1.
Note: With minor changes this How To may work for other Linux distributions like Mandriva, Suse, Ubuntu, Red Hat, Cent OS etc.
Following the suggestions in comments on my last post about ATI Catalyst (fglrx), I tried to reinstall ATI [...]<p><a href="http://gofedora.com/">Fedora Tutorials</a> and <a href="http://cachevideos.com/">Videocache</a> by <a href="http://saini.co.in/">Kulbir Saini</a>.</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://gofedora.com/how-to-install-ati-catalyst-fglrx-98-drivers-fedora-11/" class="post_image_link"  title="Permanent link to How To: Install ATI Catalyst (fglrx) Drivers"><img class="post_image alignnone" src="http://gofedora.com/wp-content/uploads/2009/08/ATI-Catalyst-Linux-fglrx.jpg" width="252" height="234" alt="ATI Catalyst Linux (fglrx)" title="How To: Install ATI Catalyst (fglrx) Drivers" /></a>
</p><p><strong>Last Updated : January 30, 2010.</strong><br />
<span style="text-decoration: underline;"><strong>Note</strong>:</span> This <span style="text-decoration: underline;">How To</span> is valid up to Catalyst Driver version 10.1.<br />
<span style="text-decoration: underline;"><strong>Note</strong>:</span> With minor changes this <span style="text-decoration: underline;">How To</span> may work for other Linux distributions like Mandriva, Suse, Ubuntu, Red Hat, Cent OS etc.</p>
<p>Following the suggestions in <a href="http://gofedora.com/archives/2009/08/18/info-ati-drivers-98-doesnt-work-fedora-11-2629/#comments"  target="_blank">comments on my last post about ATI Catalyst (fglrx)</a>, I tried to reinstall ATI drivers version 9.8 and finally it worked. I thought of noting down the the process in few simple steps which anyone can follow and get the drivers working on Fedora 11 with latest kernel versions.</p>
<h3><span style="text-decoration: underline;"><strong>Step 1 : Update Kernel, Install kernel-devel<br />
</strong></span></h3>
<p><span style="text-decoration: line-through;">Huge thanks to Richard Lloyd and <span><span id="edit-author5612">mxyzptlk2063 for pointing this out.</span></span></span><br />
This step is not necessary. You may like to stick to the kernel version you already have. In case you want the latest kernel, just use yum to get the latest kernel.</p>
<p><span style="text-decoration: underline;"><strong>Note:</strong></span> Do not forget to update the kernel-devel package as well as its needed to compile the fglrx kernel module.</p>
<p><span style="text-decoration: line-through;">DONT UPDATE THE KERNEL. Instead stick to whatever kernel version you have. If you have 2.6.30.*, you are unlucky <img src='http://gofedora.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' title="How To: Install ATI Catalyst (fglrx) Drivers" />  Get a kernel version 2.6.29.* and install the kernel-devel for the same.</span></p>
<p>With Catalyst Driver version 9.10 you can update kernel to latest version before installing the Drivers.<span style="text-decoration: line-through;"><br />
</span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ yum update kernel
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ yum <span style="color: #c20cb9; font-weight: bold;">install</span> kernel-devel</pre></div></div>

<h3><span style="text-decoration: underline;"><strong>Step 2 : Download Drivers<br />
</strong></span></h3>
<p>Download the <a rel="nofollow" href="http://gofedora.com/goto/http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx?type=2.4.1&amp;product=2.4.1.3.5&amp;lang=English" onclick="javascript:pageTracker._trackPageview('/outbound/article/support.amd.com');" rel="nofollow"  target="_blank">ATI Catalyst™ 9.8 Proprietary Linux x86 Display Driver</a> from ATI/AMD website.</p>
<h3><span style="text-decoration: underline;"><strong>Step 3 : Install Drivers<br />
</strong></span></h3>
<p>Install the drivers that you have downloaded using the following command.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">bash</span> .<span style="color: #000000; font-weight: bold;">/</span>ati-driver-installer-<span style="color: #000000;">9</span>-<span style="color: #000000;">8</span>-x86.x86_64.run</pre></div></div>

<h3><span style="text-decoration: underline;"><strong>Step 4 : Check Installation Result<br />
</strong></span></h3>
<p>Check the <em>/usr/share/ati/fglrx-install.log</em> file for result of installation. If there are no errors, proceed to the next step.</p>
<p><span style="text-decoration: underline;"><strong>Note:</strong></span> You may see lines like this at the end of file</p>
<blockquote><p>You must change your working directory to /lib/modules/fglrx<br />
and then call ./make_install.sh in order to install the built module.<br />
- recreating module dependency list<br />
- trying a sample load of the kernel modules<br />
done.</p></blockquote>
<p>You can ignore these lines happily if they don&#8217;t contain any error message. You don&#8217;t really need to execute the command mentioned in those lines.</p>
<h3><span style="text-decoration: underline;"><strong>Step 5 : Blacklist radeon and radeonhd kernel modules</strong></span></h3>
<p>Add these lines to <em>/etc/modprobe.d/blacklist.conf</em>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">blacklist radeon
blacklist radeonhd</pre></div></div>

<h3><span style="text-decoration: underline;"><strong>Step 6 : Generate initial Xorg configuration file</strong></span></h3>
<p><span style="text-decoration: underline;"><strong>Note:</strong></span> This step is optional with Catalyst Driver version 9.10, but it wont harm even if you execute this.</p>
<p>You have to generate the initial xorg.conf file which will use fglrx as display device.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ aticonfig <span style="color: #660033;">--initial</span></pre></div></div>

<h3><span style="text-decoration: underline;"><strong>Step 7 : Modify xorg.conf</strong></span></h3>
<p>Open your /etc/X11/xorg.conf file and add the following line to &#8220;Device&#8221; section (the one with <em>fglrx</em> as driver)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Option <span style="color: #ff0000;">&quot;SWCursor&quot;</span> <span style="color: #ff0000;">&quot;true&quot;</span></pre></div></div>

<h3><span style="text-decoration: underline;"><strong>Step 8 : Reboot</strong></span></h3>
<p>Reboot your machine. And you&#8217;ll have the latest ATI Catalyst drivers working on your Fedora 11 <img src='http://gofedora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="How To: Install ATI Catalyst (fglrx) Drivers" /> </p>
<h3><span style="text-decoration: underline;"><strong>Step 9 : Testing</strong></span></h3>
<p>You can test your newly installed drivers and get the performance benchmarks for your graphics card using the commands below.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>saini<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ glxgears
<span style="color: #7a0874; font-weight: bold;">&#91;</span>saini<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ fgl_glxgears</pre></div></div>

<p>My graphics card is ATI Radeon HD 3200 (256MB, Onboard) and I get 1500FPS with <em>glxgears</em> and 300FPS with <em>fgl_glxgears</em>.</p>
<p>In case you messup things somewhere, you can uninstall the fglrx drivers using the following command</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>ati<span style="color: #000000; font-weight: bold;">/</span>fglrx-uninstall.sh</pre></div></div>

<div id="link-ad" style="border: 1px dotted black; font-size: 11px; padding: 2px 5px;">
All your <a href="http://www.exam-builder.com/70-640.htm" >70-640 exam questions</a> and the <a href="http://www.exam-builder.com/70-680.htm" >70-680 questions</a> are now in one pack with free <a href="http://www.exam-builder.com/83-640.htm" >83-640 exam</a> dumps.
</div>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://gofedora.com/news-ati-catalyst-drivers-101-released-test/"  title="News : ATI Catalyst Drivers 10.1 Released. Test them now!">News : ATI Catalyst Drivers 10.1 Released. Test them now!</a></li>
<li><a href="http://gofedora.com/news-will-ati-catalyst-drivers-9-12-work-with-fedora-12/"  title="News: Will ATI Catalyst Drivers 9.12 work with Fedora 12?">News: Will ATI Catalyst Drivers 9.12 work with Fedora 12?</a></li>
<li><a href="http://gofedora.com/info-ati-drivers-98-doesnt-work-fedora-11-2629/"  title="Info: ATI Drivers 9.8 Doesnt Work with Fedora 11 (2.6.29+)">Info: ATI Drivers 9.8 Doesnt Work with Fedora 11 (2.6.29+)</a></li>
<li><a href="http://gofedora.com/info-ati-drivers-97-work-fedora-11-2629/"  title="Info: ATI Drivers 9.7 does not work in Fedora 11 (2.6.29+)">Info: ATI Drivers 9.7 does not work in Fedora 11 (2.6.29+)</a></li>
<li><a href="http://gofedora.com/news-ati-catalyst-drivers-released/"  title="News: ATI Catalyst Display Drivers 9.9 Released">News: ATI Catalyst Display Drivers 9.9 Released</a></li>
</ul>
<p><a href="http://gofedora.com/" >Fedora Tutorials</a> and <a href="http://cachevideos.com/" >Videocache</a> by <a href="http://saini.co.in/" >Kulbir Saini</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://gofedora.com/how-to-install-ati-catalyst-fglrx-98-drivers-fedora-11/feed/</wfw:commentRss>
		<slash:comments>138</slash:comments>
		</item>
		<item>
		<title>How To: Wireless LAN with Broadcom BCM4312 in Fedora 11</title>
		<link>http://gofedora.com/how-to-wireless-lan-broadcom-bcm4312-fedora-11/</link>
		<comments>http://gofedora.com/how-to-wireless-lan-broadcom-bcm4312-fedora-11/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 18:23:26 +0000</pubDate>
		<dc:creator>Kulbir Saini</dc:creator>
				<category><![CDATA[Drivers]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Wireless]]></category>
		<category><![CDATA[BCM4312]]></category>
		<category><![CDATA[Broadcom]]></category>
		<category><![CDATA[Dell]]></category>

		<guid isPermaLink="false">http://gofedora.com/?p=649</guid>
		<description><![CDATA[
Fedora 11 does have support for Broadcom wireless drivers, but it didn&#8217;t really work out on a friend&#8217;s laptop. Finally we got it working and I thought I&#8217;ll just note the steps down. Below are the three easy steps you need to take to make it work properly.
Step 1
Install needed packages

&#91;root@fedora ~&#93;$ yum install broadcom-wl  [...]<p><a href="http://gofedora.com/">Fedora Tutorials</a> and <a href="http://cachevideos.com/">Videocache</a> by <a href="http://saini.co.in/">Kulbir Saini</a>.</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://gofedora.com/how-to-wireless-lan-broadcom-bcm4312-fedora-11/" class="post_image_link"  title="Permanent link to How To: Wireless LAN with Broadcom BCM4312 in Fedora 11"><img class="post_image alignnone" src="http://gofedora.com/wp-content/uploads/2009/07/Broadcom-Wireless-BCM4312.jpg" width="500" height="181" alt="Broadcom Wireless BCM4312" title="How To: Wireless LAN with Broadcom BCM4312 in Fedora 11" /></a>
</p><p>Fedora 11 does have support for Broadcom wireless drivers, but it didn&#8217;t really work out on a friend&#8217;s laptop. Finally we got it working and I thought I&#8217;ll just note the steps down. Below are the three easy steps you need to take to make it work properly.</p>
<h3><span style="text-decoration: underline;"><strong>Step 1</strong></span></h3>
<p>Install needed packages</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ yum <span style="color: #c20cb9; font-weight: bold;">install</span> broadcom-wl  wl-kmod</pre></div></div>

<h3><span style="text-decoration: underline;"><strong>Step 2</strong></span></h3>
<p>Once the packages are installed successfully, reboot your laptop.</p>
<h3><span style="text-decoration: underline;"><strong>Step 3</strong></span></h3>
<p>Use the following command</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ system-config-network</pre></div></div>

<p>And add a new wireless device wlan0 or whatever you want by filling the required fields properly. If you want the device to be managed by NetworkManager, you can do so while editing the device you just added.</p>
<p>Activate the device. And you are on wifi <img src='http://gofedora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="How To: Wireless LAN with Broadcom BCM4312 in Fedora 11" /><br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://gofedora.com/humour-ubuntu-costlier-microsoft-windows-xp/"  title="Humour: Ubuntu is Costlier than Microsoft Windows XP">Humour: Ubuntu is Costlier than Microsoft Windows XP</a></li>
</ul>
<p><a href="http://gofedora.com/" >Fedora Tutorials</a> and <a href="http://cachevideos.com/" >Videocache</a> by <a href="http://saini.co.in/" >Kulbir Saini</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://gofedora.com/how-to-wireless-lan-broadcom-bcm4312-fedora-11/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>How To: Install/Configure GNUMP3d &#8211; Streaming Audio Server</title>
		<link>http://gofedora.com/how-to-install-configure-gnump3d-streaming-audio-server/</link>
		<comments>http://gofedora.com/how-to-install-configure-gnump3d-streaming-audio-server/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 18:53:18 +0000</pubDate>
		<dc:creator>Kulbir Saini</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[GNUMP3d]]></category>
		<category><![CDATA[Media Server]]></category>
		<category><![CDATA[Music Server]]></category>
		<category><![CDATA[Streaming]]></category>

		<guid isPermaLink="false">http://gofedora.com/?p=589</guid>
		<description><![CDATA[
Mission
GNUMP3d is the GNU Streaming MP3/Media Server written in perl. Our mission is to setup GNUMP3d and stream audio over LAN or over internet. Below are the essential steps to install and configure GNUMP3d.
Download
Download latest version of GNUMP3d from GNUMP3d Website.
Extract

&#91;kulbirsaini@fedora ~&#93;$ tar -xjf gnump3d-x.x.tar.bz2

Install

&#91;root@fedora ~&#93;$ cd gnump3d-3.0
&#91;root@fedora ~&#93;$ make install &#40;as root&#41;

Now gnump3d is [...]<p><a href="http://gofedora.com/">Fedora Tutorials</a> and <a href="http://cachevideos.com/">Videocache</a> by <a href="http://saini.co.in/">Kulbir Saini</a>.</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://gofedora.com/how-to-install-configure-gnump3d-streaming-audio-server/" class="post_image_link"  title="Permanent link to How To: Install/Configure GNUMP3d &#8211; Streaming Audio Server"><img class="post_image alignnone" src="http://gofedora.com/wp-content/uploads/2009/07/Gnump3d-Audio-Streaming.jpg" width="384" height="384" alt="Gnump3d Audio Streaming" title="How To: Install/Configure GNUMP3d   Streaming Audio Server" /></a>
</p><h3><span style="text-decoration: underline;"><strong>Mission</strong></span></h3>
<p><a rel="nofollow" href="http://gofedora.com/goto/http://www.gnu.org/software/gnump3d/index.html" >GNUMP3d</a> is the GNU Streaming MP3/Media Server written in perl. Our mission is to setup GNUMP3d and stream audio over LAN or over internet. Below are the essential steps to install and configure GNUMP3d.</p>
<h3><span style="text-decoration: underline;"><strong>Download</strong></span></h3>
<p>Download latest version of GNUMP3d from <a rel="nofollow" href="http://gofedora.com/goto/http://www.gnu.org/software/gnump3d/download.html" >GNUMP3d Website</a>.</p>
<h3><span style="text-decoration: underline;"><strong>Extract</strong></span></h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>kulbirsaini<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xjf</span> gnump3d-x.x.tar.bz2</pre></div></div>

<h3><span style="text-decoration: underline;"><strong>Install</strong></span></h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #7a0874; font-weight: bold;">cd</span> gnump3d-<span style="color: #000000;">3.0</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">as</span> root<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Now gnump3d is installed on your system. Now you need to configure it according to your taste.</p>
<h3><span style="text-decoration: underline;"><strong>Configure</strong></span></h3>
<p>The configuration file is located at <em>/etc/gnump3d/gnump3d.conf</em>. For casual use, you just need to configure <em>port</em>, <em>binding_host</em> and <em>root</em>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Port to which gnump3d will be accessible via web interface or via a media player like xmms or winamp.</span>
port = <span style="color: #000000;">1111</span>
<span style="color: #666666; font-style: italic;"># The IP Address where gnump3d will bind itself.</span>
binding_host = 172.17.8.64
<span style="color: #666666; font-style: italic;"># If you want the stream to be accessible via a fully qualified domain name, set hostname variable.</span>
<span style="color: #666666; font-style: italic;"># You don't need to set this in most cases e.g. while setting up gnump3d on LAN.</span>
<span style="color: #c20cb9; font-weight: bold;">hostname</span> = gofedora.com
<span style="color: #666666; font-style: italic;"># The directory where are your music files resides.</span>
root = <span style="color: #000000; font-weight: bold;">/</span>stuff<span style="color: #000000; font-weight: bold;">/</span>Music<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>Though you can skip rest of the configuration, you may try to explore other options. My <em>gnump3d.conf</em> file can be download from <a href="http://gofedora.com/wp-content/uploads/linux/gnump3d.conf" >here</a>.</p>
<p>Thats all you need to do to configure gnump3d.</p>
<h3><span style="text-decoration: underline;"><strong>Indexing</strong></span></h3>
<p>Now you need to index all you music collection (the audio files in gnump3d root). Run the following command to index</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ gnump3d-index <span style="color: #660033;">--verbose</span></pre></div></div>

<h3><span style="text-decoration: underline;"><strong>Run gnump3d</strong></span></h3>
<p>Once the indexing is done, you are all set to run gnump3d. By default gnump3d tries to index all files whenever you start it, to avoid this we need to use &#8211;fast option.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ gnump3d <span style="color: #660033;">--fast</span></pre></div></div>

<p>By default gnump3d runs in foreground. If you want it to go in background and run quietly, run it as follows.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>fedora ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ gnump3d <span style="color: #660033;">--fast</span> <span style="color: #660033;">--background</span></pre></div></div>

<h3><span style="text-decoration: underline;">Accessing Media Server</span></h3>
<p>To access your gnump3d streaming media server, please visit url http://ip_address:port/ .</p>
<h3><span style="text-decoration: underline;"><strong>Run at startup</strong></span></h3>
<p>If you want gnump3d to start when your computer starts add the following line to <em>/etc/rc.local</em> file.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gnump3d <span style="color: #660033;">--fast</span> <span style="color: #660033;">--background</span></pre></div></div>

<p>Feel free to comment in case you have a problem.<br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://gofedora.com/how-to-install-configure-shoutcast-radio/"  title="How To: Install and Configure Shoutcast Radio">How To: Install and Configure Shoutcast Radio</a></li>
</ul>
<p><a href="http://gofedora.com/" >Fedora Tutorials</a> and <a href="http://cachevideos.com/" >Videocache</a> by <a href="http://saini.co.in/" >Kulbir Saini</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://gofedora.com/how-to-install-configure-gnump3d-streaming-audio-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To: Install and Configure GitWeb</title>
		<link>http://gofedora.com/how-to-install-configure-gitweb/</link>
		<comments>http://gofedora.com/how-to-install-configure-gitweb/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 17:38:08 +0000</pubDate>
		<dc:creator>Kulbir Saini</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tips - Tricks]]></category>
		<category><![CDATA[Clean URL]]></category>
		<category><![CDATA[Code Repository]]></category>
		<category><![CDATA[GitWeb]]></category>
		<category><![CDATA[Repository Browser]]></category>
		<category><![CDATA[Source Code Management]]></category>

		<guid isPermaLink="false">http://172.17.8.64/gofedora/?p=288</guid>
		<description><![CDATA[
Goal
Setting up gitweb (web interface for SCM software git) for your project&#8217;s git repository for public access and developer commits via ssh.
Assumptions

You already have your project&#8217;s git repository.
You have hosting space somewhere to host gitweb.
You have root access.
You are using Apache as webserver.

Example for this howto
Project : VideoCache
Domain for gitweb : git.cachevideos.com
URL for git access [...]<p><a href="http://gofedora.com/">Fedora Tutorials</a> and <a href="http://cachevideos.com/">Videocache</a> by <a href="http://saini.co.in/">Kulbir Saini</a>.</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://gofedora.com/how-to-install-configure-gitweb/" class="post_image_link"  title="Permanent link to How To: Install and Configure GitWeb"><img class="post_image alignnone" src="http://gofedora.com/wp-content/uploads/2009/01/Git-Gitweb-Repo.jpg" width="384" height="327" alt="Git Gitweb Repo" title="How To: Install and Configure GitWeb" /></a>
</p><h4><span style="text-decoration: underline;"><strong>Goal</strong></span></h4>
<p>Setting up gitweb (web interface for SCM software git) for your project&#8217;s git repository for public access and developer commits via ssh.</p>
<h4><span style="text-decoration: underline;"><strong>Assumptions</strong></span></h4>
<ol>
<li>You already have your project&#8217;s git repository.</li>
<li>You have hosting space somewhere to host gitweb.</li>
<li>You have root access.</li>
<li>You are using Apache as webserver.</li>
</ol>
<h4><span style="text-decoration: underline;"><strong>Example for this howto</strong></span></h4>
<p>Project : <a href="http://cachevideos.com"  target="_blank">VideoCache</a><br />
Domain for gitweb : <a rel="nofollow" href="http://gofedora.com/goto/http://git.cachevideos.com"  target="_blank">git.cachevideos.com</a><br />
URL for git access for videocache : <a rel="nofollow" href="http://gofedora.com/goto/http://git.cachevideos.com/videocache.git"  target="_blank">http://git.cachevideos.com/videocache.git</a><br />
Actual path on server : <em>/home/saini/domains/cachevideos.com/git</em><br />
Git repository : <em>/home/saini/projects/videocache/</em></p>
<h4><span style="text-decoration: underline;"><strong>Installation</strong></span></h4>
<p>Installation is pretty easy. Just one single command would do everything.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># yum install gitweb (do as root)</span></pre></div></div>

<p>This will create a directory <em>/var/www/git</em> which is default for gitweb.</p>
<p>Copy the directory <em>/var/www/git/</em> to <em>/home/saini/domains/cachevideos.com/git</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># cp -r /var/www/git /home/saini/domains/cachevideos.com/git</span></pre></div></div>

<h4><span style="text-decoration: underline;"><strong>Configuration</strong></span></h4>
<p><span style="text-decoration: underline;"><strong>1. GitWeb</strong></span></p>
<p>Open the file <em>/etc/gitweb.conf</em> (it may or may not be there) and add the following lines to it.</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Change This</span>
<span style="color: #0000ff;">$projectroot</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">'/home/saini/domains/cachevideos.com/git'</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;"># Change This</span>
<span style="color: #0000ff;">$site_name</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;Kulbir Saini's git trees.&quot;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;"># Don't Change the variables below</span>
<span style="color: #0000ff;">$my_uri</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;/&quot;</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$home_link</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">'/'</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">@stylesheets</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;/gitweb.css&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$favicon</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;/git-favicon.png&quot;</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$logo</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;/git-logo.png&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p><span style="text-decoration: underline;"><strong>2. Apache</strong></span></p>
<p>Open the file <em>/etc/httpd/conf.d/git.conf</em> and clear all the lines that are already there and add the following lines to it</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">  DocumentRoot <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>saini<span style="color: #000000; font-weight: bold;">/</span>domains<span style="color: #000000; font-weight: bold;">/</span>cachevideos.com<span style="color: #000000; font-weight: bold;">/</span>git
  ServerName git.cachevideos.com
  ErrorLog <span style="color: #ff0000;">&quot;/home/saini/domains/cachevideos.com/logs/error_log&quot;</span>
  CustomLog <span style="color: #ff0000;">&quot;/home/saini/domains/cachevideos.com/logs/access_log&quot;</span> combined
  SetEnv  GITWEB_CONFIG  <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>gitweb.conf
  DirectoryIndex gitweb.cgi
&nbsp;
    Allow from all
    AllowOverride all
    Order allow,deny
    Options +ExecCGI
    AddHandler cgi-script .cgi
&nbsp;
      SetHandler cgi-script
&nbsp;
    RewriteEngine on
    RewriteRule ^<span style="color: #7a0874; font-weight: bold;">&#91;</span>a-zA-Z0-<span style="color: #000000;">9</span>_\-<span style="color: #7a0874; font-weight: bold;">&#93;</span>+\.git<span style="color: #000000; font-weight: bold;">/</span>?<span style="color: #7a0874; font-weight: bold;">&#40;</span>\?.<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>?$ <span style="color: #000000; font-weight: bold;">/</span>gitweb.cgi<span style="color: #000000; font-weight: bold;">%</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>REQUEST_URI<span style="color: #7a0874; font-weight: bold;">&#125;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>L,PT<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<p><span style="text-decoration: underline;"><strong>3. Git repository configuration</strong></span></p>
<p>Go to your git repository (<em>/home/saini/projects/videocache/</em>) and make the following changes.</p>
<p><strong>(a).</strong> Open file <em>.git/description</em> and add a short nice description for your project.</p>
<p>videocache  is  a  squid  url  rewriter plugin written in Python to facilitate youtube, metacafe, dailymotion, google, vimeo, msn soapbox,   tvuol.uol.com.br, blip.tv, break.com videos and wrzuta.pl audio caching.</p>
<p><strong>(b).</strong> Open file <em>.git/config</em> and append the following lines</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>gitweb<span style="color: #7a0874; font-weight: bold;">&#93;</span>
  owner = <span style="color: #ff0000;">&quot;Kulbir Saini&quot;</span></pre></div></div>

<h3><span style="text-decoration: underline;"><strong>Copy project&#8217;s git repository for gitweb</strong></span></h3>
<p>Copy the <em>/home/saini/projects/videocache/.git</em> directory to <em>/home/saini/domains/cachevideos.com/git/videocache.git</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># cp -r /home/saini/projects/videocache/.git /home/saini/domains/cachevideos.com/git/videocache.git</span></pre></div></div>

<h4><span style="text-decoration: underline;"><strong>Finishing Step</strong></span></h4>
<p>Restart Apache webserver.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># service httpd restart</span></pre></div></div>

<p>Now you can browser a list of your projects&#8217; git repositories at <a rel="nofollow" href="http://gofedora.com/goto/http://git.cachevideos.com/"  target="_blank">http://git.cachevideos.com/</a> .</p>
<h4><span style="text-decoration: underline;"><strong>Adding another project repository</strong></span></h4>
<p>Just copy the project repository&#8217;s .git directory to <em>/home/saini/domains/cachevideos.com/git/prjoect_name.git</em>. And it&#8217;ll be shown on the list.</p>
<h4><span style="text-decoration: underline;"><strong>Committing (pushing) to the repository</strong></span></h4>
<p>For committing to the repository via ssh use the following command.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Pushing everything (Please see the username)</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost videocache<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># git push --all ssh://saini@git.cachevideos.com/~saini/domains/cachevideos.com/git/videocache.git</span></pre></div></div>

<p>To update tags on the remote repository use this command.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Pushing all tags</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost videocache<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># git push --tags ssh://saini@git.cachevideos.com/~saini/domains/cachevideos.com/git/videocache.git</span></pre></div></div>

<p>Well, if you consider just the web interface and committing part for your project, thats all. But things can be fine tuned further. Below are few hacks!</p>
<p><span style="text-decoration: underline;"><strong>1. Enabling nice urls.</strong></span></p>
<p>By default the urls for browsing repository via git web are pretty crappy and difficult to remember. The <strong>RewriteRule</strong> and <strong>RewriteEngine</strong> lines in your Apache configuration file (<em>/etc/httpd/conf.d/git.conf</em>) takes care of that and produce nice and clean urls.</p>
<p>So you can browser the repository via <a rel="nofollow" href="http://gofedora.com/goto/http://git.cachevideos.com/videocache.git"  target="_blank">http://git.cachevideos.com/videocache.git</a> instead of <a rel="nofollow" href="http://gofedora.com/goto/http://git.cachevideos.com/?p=videocache.git;a=summary"  target="_blank">http://git.cachevideos.com/?p=videocache.git;a=summary</a>.</p>
<p><span style="text-decoration: underline;"><strong>2. Enabling remote ls (git-ls-remote or git ls-remote)</strong></span></p>
<p>This is the most trickiest part. If you try the command below, it won&#8217;t produce any output</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># git-ls-remote http://git.cachevideos.com/videocache.git</span></pre></div></div>

<p>You need to go to project&#8217;s repository in gitweb and then run the following command to update the server info for git.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># cd /home/saini/domains/cachevideos.com/git/videocache.git/</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># git-update-server-info</span></pre></div></div>

<p>Try the ls-remote command now and it should succeed by producing all the branches and tags in the remote repository.</p>
<p>But there is a problem, you have to run the above command after every commit to the remote repository. To solve this issue, you can enable post-update hook for the project&#8217;s repository in gitweb. Use the following command to enable it.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># cd /home/saini/domains/cachevideos.com/git/videocache.git/</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># chmod +x post-update</span></pre></div></div>

<p>The above command will update the server info automatically every time you commit.</p>
<p>Thats all you need to do for setting up gitweb. I hope this will be helpful.<br />
<h3>Recommended Posts</h3>
<ul class="related_post">
<li><a href="http://gofedora.com/how-to-install-ati-catalyst-fglrx-98-drivers-fedora-11/"  title="How To: Install ATI Catalyst (fglrx) Drivers">How To: Install ATI Catalyst (fglrx) Drivers</a></li>
<li><a href="http://gofedora.com/fedora-12-ati-catalyst-drivers/"  title="Fedora 12 ATI Catalyst Drivers">Fedora 12 ATI Catalyst Drivers</a></li>
<li><a href="http://gofedora.com/how-to-configure-squid-proxy-server/"  title="How To: Configure Squid Proxy Server">How To: Configure Squid Proxy Server</a></li>
<li><a href="http://gofedora.com/news-ati-catalyst-drivers-10-2-released-no-fedora-12-support/"  title="News: ATI Catalyst Drivers 10.2 Released. No Fedora 12 Support.">News: ATI Catalyst Drivers 10.2 Released. No Fedora 12 Support.</a></li>
<li><a href="http://gofedora.com/news-will-ati-catalyst-drivers-9-12-work-with-fedora-12/"  title="News: Will ATI Catalyst Drivers 9.12 work with Fedora 12?">News: Will ATI Catalyst Drivers 9.12 work with Fedora 12?</a></li>
</ul>
<p><a href="http://gofedora.com/" >Fedora Tutorials</a> and <a href="http://cachevideos.com/" >Videocache</a> by <a href="http://saini.co.in/" >Kulbir Saini</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://gofedora.com/how-to-install-configure-gitweb/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
