<?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>Nazly [Web Log] &#187; GNU/Linux</title>
	<atom:link href="http://www.nazly.net/category/technology/gnu-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nazly.net</link>
	<description>Personal Weblog of Nazly Ahmed : Web Developer. PHP Addict. Wordpress Hacker. FOSS Enthusiast. (Micro)Blogger. Cricket Fanatic. Husband. Dad.</description>
	<lastBuildDate>Mon, 24 Oct 2011 08:06:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Batch resize/rotate photos in Nautilus</title>
		<link>http://www.nazly.net/batch-resizerotate-photos-in-nautilus/</link>
		<comments>http://www.nazly.net/batch-resizerotate-photos-in-nautilus/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 18:05:08 +0000</pubDate>
		<dc:creator>Nazly</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[filemanager]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nautilus]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[resize]]></category>
		<category><![CDATA[rotate]]></category>

		<guid isPermaLink="false">http://www.nazly.net/?p=855</guid>
		<description><![CDATA[It came as quite a surprise when I figured out that Nautilus, the file manager for the GNOME desktop actually had an extension to resize/rotate photos. I don&#8217;t do much post editing after taking photos. If any editing is required, (&#8230;)<p><a href="http://www.nazly.net/batch-resizerotate-photos-in-nautilus/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>It came as quite a surprise when I figured out that Nautilus, the file manager for the GNOME desktop actually had an extension to resize/rotate photos. I don&#8217;t do much post editing after taking photos. If any editing is required, I would normally edit it using an image editor depending on the requirement. But in most cases it doesn&#8217;t require me to resize the photos since I upload the originals to my <a href="http://flickr.com/photos/nazly" target="_blank">Flickr gallery</a>. But I wanted to upload some photos I took today to Facebook. I didn&#8217;t want to upload the originals since it had a higher resolution and the file sizes were bigger. I wanted to resize all the photos in a batch. I had a PHP script that uses GD library for this particular task which I wrote long time back. I have also used Image Magick which works like magic for operations like this. My task was simple and all it required was to resize all the photos in one go and the <strong>Nautilus Image Converter</strong> just did that with ease.</p>
<p><span id="more-855"></span></p>
<p>Installation is quite simple in Ubuntu 9.10</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> nautilus-image-converter</pre></div></div>

<p>This will install the Image Converter extension to the Nautilus file manager. You will need restart GNOME in order for the changes to apply. If you are using a different distro, I&#8217;m sure you will be able to do a Google Search to find out how to install it.</p>
<p>After the installation its all a matter of browsing the folder where you have the photos through Nautilus.</p>
<ul>
<li>Select the photo(s) you want to resize.</li>
<li>Right-click on the photos you selected. You will see the options to &#8220;Resize Images&#8221; and &#8220;Rotate Images&#8221;.</li>
<li>Upon clicking them you will get options on how you would want to perform the operations.</li>
</ul>
<p>Its one of those coolest apps I came across which does the simple things in a simple way. Love it..!!!</p>
<p><a href="http://www.nazly.net/wp-content/uploads/2010/04/Screenshot.jpg"><img class="alignnone size-medium wp-image-864" title="Nautilus Image Converter" src="http://www.nazly.net/wp-content/uploads/2010/04/Screenshot-300x215.jpg" alt="Nautilus Image Converter" width="300" height="215" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nazly.net/batch-resizerotate-photos-in-nautilus/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CHMOD recursively</title>
		<link>http://www.nazly.net/chmod-recursively/</link>
		<comments>http://www.nazly.net/chmod-recursively/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 03:04:58 +0000</pubDate>
		<dc:creator>Nazly</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[chmod]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://blog.nazly.net/chmod-recursively/</guid>
		<description><![CDATA[Time to time I come across this problem when I have to move large portions of directories and files from one location to another. Mostly after extracting from tar archives. The directory/file permissions are often messed up depending on the (&#8230;)<p><a href="http://www.nazly.net/chmod-recursively/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Time to time I come across this problem when I have to move large portions of directories and files from one location to another. Mostly after extracting from tar archives. The directory/file permissions are often messed up depending on the source I copied them or based on the way I copied/archived them. So I used to use this technique to CHMOD directories and files recursively. Today when I was using this I thought of blogging it for my own future reference. If there is a better way feel free to comment.</p>
<p><b>CHMOD directories only</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-type</span> d <span style="color: #660033;">-exec</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">755</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span> \;</pre></div></div>

<p><b>CHMOD files only</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-type</span> f <span style="color: #660033;">-exec</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">644</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span> \;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.nazly.net/chmod-recursively/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>My new ASUS X51R laptop and Ubuntu 8.04</title>
		<link>http://www.nazly.net/my-new-asus-x51r-laptop-and-ubuntu-8-04/</link>
		<comments>http://www.nazly.net/my-new-asus-x51r-laptop-and-ubuntu-8-04/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 04:31:19 +0000</pubDate>
		<dc:creator>Nazly</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[asus]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[x51r]]></category>

		<guid isPermaLink="false">http://blog.nazly.net/my-new-asus-x51r-laptop-and-ubuntu-8-04/</guid>
		<description><![CDATA[After giving up my IBM Thinkpad laptop sometime back, I got used to working on Desktops for a while. But it didn&#039;t help me a great deal in organizing things when shifting my work from home to office and vice (&#8230;)<p><a href="http://www.nazly.net/my-new-asus-x51r-laptop-and-ubuntu-8-04/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>After giving up my IBM Thinkpad laptop sometime back, I got used to working on Desktops for a while. But it didn&#039;t help me a great deal in organizing things when shifting my work from home to office and vice versa. So again I started hunting for a laptop that will fulfill all my needs. Finally I settled with an ASUS X51R notebook that comes with a Dual Core 2Ghz processor, 1GB RAM, 256MB ATI VGA Card, 120GB Hard disk, DVD Writer, Wireless etc.. It turned out to be good deal at the end so I went for it.</p>
<p><img src="http://www.nazly.net/imgs/x51r.jpg" alt="http://www.nazly.net/imgs/x51r.jpg" border="0" /></p>
<p>I loaded my OS of choice Ubuntu 8.04 Hardy Heron on this and everything went very smoothly except that I couldn&#039;t get the wireless working. By running <i>lspci</i> the wireless card was shown as Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter which is an Atheros AR5007EG wireless card. The proprietary driver for Atheros was installed by Hardy but when I ran <i>iwconfig</i> this is what I got.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">lo        no wireless extensions.
&nbsp;
eth0      no wireless extensions.</pre></div></div>

<p>Few google searches resulted me about <a href="http://madwifi.org" target="_blank">madwifi</a>. <i>Madwifi is a team of volunteer developers working on Linux kernel drivers for Wireless LAN devices with Atheros chipsets.</i> I got madwifi installed and got my wireless card working. Here is how I did it.</p>
<p>First I disabled both proprietary drivers in System -&gt; Administration -&gt; Hardware drivers.</p>
<p>Then in the command prompt I did the following</p>
<p><b>Get this version of madwifi</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">-c</span> <span style="color: #000000; font-weight: bold;">&lt;</span>a <span style="color: #007800;">href</span>=<span style="color: #ff0000;">&quot;http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz&quot;</span> <span style="color: #007800;">target</span>=<span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span>http:<span style="color: #000000; font-weight: bold;">//</span>snapshots.madwifi.org<span style="color: #000000; font-weight: bold;">/</span>special<span style="color: #000000; font-weight: bold;">/</span>madwifi-ng-r2756+ar5007.tar.gz<span style="color: #000000; font-weight: bold;">&lt;/</span>a<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p><b>Untar the file</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xvf madwifi-ng-r2756+ar5007.tar.gz</pre></div></div>

<p><b>Move inside the directory</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> madwifi-ng-r2756+ar5007</pre></div></div>

<p><b>You might need build-essential if you haven&#039;t compiled anything before</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> update <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> build-essential</pre></div></div>

<p><b>Building madwifi and installing the modules</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> modprobe ath_pci
<span style="color: #c20cb9; font-weight: bold;">sudo</span> modprobe wlan_scan_sta</pre></div></div>

<p><b>Loading module at boot</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>modules</pre></div></div>

<p>Enter the line below in the last line of the file and save.<br />
<br /><b>ath_pci</b></p>
<p>Thats it. I restarted the machine and ran <i>iwconfig</i> again to check</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">lo        no wireless extensions.
&nbsp;
eth0      no wireless extensions.
&nbsp;
wifi0     no wireless extensions.
&nbsp;
ath0      IEEE 802.11g  ESSID:<span style="color: #ff0000;">&quot;&quot;</span>  Nickname:<span style="color: #ff0000;">&quot;&quot;</span>
          Mode:Managed  Frequency:<span style="color: #000000;">2.437</span> GHz  Access Point: Not-Associated   
          Bit Rate:<span style="color: #000000;">0</span> kb<span style="color: #000000; font-weight: bold;">/</span>s   Tx-Power:<span style="color: #000000;">17</span> dBm   <span style="color: #007800;">Sensitivity</span>=<span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1</span>  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link <span style="color: #007800;">Quality</span>=<span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">70</span>  Signal <span style="color: #007800;">level</span>=<span style="color: #000000;">0</span> dBm  Noise <span style="color: #007800;">level</span>=<span style="color: #000000;">0</span> dBm
          Rx invalid nwid:<span style="color: #000000;">0</span>  Rx invalid crypt:<span style="color: #000000;">0</span>  Rx invalid frag:<span style="color: #000000;">0</span>
          Tx excessive retries:<span style="color: #000000;">0</span>  Invalid misc:<span style="color: #000000;">0</span>   Missed beacon:<span style="color: #000000;">0</span></pre></div></div>

<p>As you can see its now showing that the wireless card is working properly. Thanks to <a href="http://madwifi.org" target="_blank">madwifi</a>.</p>
<p>When it came to my graphic card I had to use the ATI propriety driver to make full use of it. Since Hardy comes with compiz out of the box I managed to get the 3D desktop working without much hassle. </p>
<p>To get compiz working in Hardy there are two things to be done.<br />
<br />1. Goto System -&gt; Preferences &#8211; Appearance and click Visual Effects tab. Then tick Extra to get the effects working.<br />
<br />2. Install the Compiz Settings Manager.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> compizconfig-settings-manager</pre></div></div>

<p>After installing you can goto System -&gt; Preferences &#8211; Advanced Desktop Effects Settings to add/configure/remove effects related to compiz.</p>
<p>I also enabled Emerald themes to get out of the standard Gnome look. Here is how got emerald working. </p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> emerald</pre></div></div>

<p>Now if you goto System -&gt; Preferences &#8211; Emerald Theme Manager you can configure an Emerald theme of your choice. By default it doesn&#039;t come with any themes so you need to download themes from <a href="http://gnome-look.org/index.php?xcontentmode=103" target="_blank">Gnome-Look</a>.<br />
<br />However you need to tell compiz to use Emerald as its Window Decorator. To do that goto System -&gt; Preferences &#8211; Advanced Desktop Effects Settings and under Effects category click on the Window Decoration icon which will take you to its settings. In the &#039;Command&#039; field delete whatever is in there and add this value to that field</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">emerald --replace.</pre></div></div>

<p>Have fun..</p>
<p>I found a nice Emerald theme which kinda reflects the one used by Matt Farrell in the movie Die Hard 4.0. Here are few screeshots of my desktop. </p>
<p><b>3D desktop with compiz on Hardy</b><br />
<br /><a href="http://www.flickr.com/photos/nazly/2577565443/" title="Desktop 3D Cube by Nazly, on Flickr"><img src="http://farm4.static.flickr.com/3048/2577565443_cf19239eae.jpg" width="500" height="313" alt="Desktop 3D Cube" border="0" /></a></p>
<p><b>Desktop with new look theme</b><br />
<br /><a href="http://www.flickr.com/photos/nazly/2577569685/" title="New notebook new theme by Nazly, on Flickr"><img src="http://farm4.static.flickr.com/3157/2577569685_44a971118f.jpg" width="500" height="313" alt="New notebook new theme" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nazly.net/my-new-asus-x51r-laptop-and-ubuntu-8-04/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>UNIX Cheat Sheet</title>
		<link>http://www.nazly.net/unix-cheat-sheet/</link>
		<comments>http://www.nazly.net/unix-cheat-sheet/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 03:58:58 +0000</pubDate>
		<dc:creator>Nazly</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.nazly.net/unix-cheat-sheet/</guid>
		<description><![CDATA[Here is a comprehensive document that has a collection of Unix/Linux/BSD commands and tasks which can be very useful in our day to day work. UNIX Toolbox This document is a collection of Unix/Linux/BSD commands and tasks which are useful (&#8230;)<p><a href="http://www.nazly.net/unix-cheat-sheet/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Here is a comprehensive document that has a collection of Unix/Linux/BSD commands and tasks which can be very useful in our day to day work.</p>
<p><a href="http://cb.vu/unixtoolbox.xhtml" target="_blank">UNIX Toolbox</a></p>
<p><i>This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.</i></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nazly.net/unix-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing FFMPEG and FFMPEG-PHP on CentOS</title>
		<link>http://www.nazly.net/installing-ffmpeg-and-ffmpeg-php-on-centos/</link>
		<comments>http://www.nazly.net/installing-ffmpeg-and-ffmpeg-php-on-centos/#comments</comments>
		<pubDate>Thu, 30 Aug 2007 04:01:15 +0000</pubDate>
		<dc:creator>Nazly</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[ffmpeg-php]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://blog.nazly.net/installing-ffmpeg-and-ffmpeg-php-on-centos/</guid>
		<description><![CDATA[Last few weeks couple of my colleagues were working on a website that required converting videos to FLV format which is much similar to what youtube does. Inorder to do this they were using ffmpeg which does all the video (&#8230;)<p><a href="http://www.nazly.net/installing-ffmpeg-and-ffmpeg-php-on-centos/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Last few weeks couple of my colleagues were working on a website that required converting videos to FLV format which is much similar to what youtube does. Inorder to do this they were using ffmpeg which does all the video conversion. He also used ffmpeg-php which is an extension for PHP that allows to retrieve information regarding a video file. So I had to get a local development environment working for this particular project. I had an Ubuntu 7.04 box and found <a href="http://linux.justinhartman.com/FFmpeg,_FFmpeg-PHP,_Lame,_Libogg,_Libvorbis,_FLVtool2,_Mplayer,_Mencoder,_AMR_Installation" target="_blank">this tutorial</a> for installing ffmpeg and ffmpeg-php. I was successfully able to get it working and my colleagues built the site and it was working very smoothly.</p>
<p>Now when we got to the stage of launching the site, I had to repeat all the installation on a live server as they don&#039;t come with ffmpeg or ffmpeg-php pre installed. Hosting Companies seem to charge big bucks to get these installed in their servers. So we went for a Virtual Dedicated Server which had root access. It was a Cent OS 4 box and this is how I was able to get ffmpeg and ffmpeg-php installed on it.</p>
<p><b>Switch to working directory</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src</pre></div></div>

<p><b>Download the source files needed</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #000000; font-weight: bold;">&lt;</span>a <span style="color: #007800;">href</span>=<span style="color: #ff0000;">&quot;http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2&quot;</span> <span style="color: #007800;">target</span>=<span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span>http:<span style="color: #000000; font-weight: bold;">//</span>www3.mplayerhq.hu<span style="color: #000000; font-weight: bold;">/</span>MPlayer<span style="color: #000000; font-weight: bold;">/</span>releases<span style="color: #000000; font-weight: bold;">/</span>codecs<span style="color: #000000; font-weight: bold;">/</span>essential-<span style="color: #000000;">20061022</span>.tar.bz2<span style="color: #000000; font-weight: bold;">&lt;/</span>a<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #000000; font-weight: bold;">&lt;</span>a <span style="color: #007800;">href</span>=<span style="color: #ff0000;">&quot;http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz&quot;</span> <span style="color: #007800;">target</span>=<span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span>http:<span style="color: #000000; font-weight: bold;">//</span>rubyforge.org<span style="color: #000000; font-weight: bold;">/</span>frs<span style="color: #000000; font-weight: bold;">/</span>download.php<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">9225</span><span style="color: #000000; font-weight: bold;">/</span>flvtool2_1.0.5_rc6.tgz<span style="color: #000000; font-weight: bold;">&lt;/</span>a<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #000000; font-weight: bold;">&lt;</span>a <span style="color: #007800;">href</span>=<span style="color: #ff0000;">&quot;http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz&quot;</span> <span style="color: #007800;">target</span>=<span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span>http:<span style="color: #000000; font-weight: bold;">//</span>easynews.dl.sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>sourceforge<span style="color: #000000; font-weight: bold;">/</span>lame<span style="color: #000000; font-weight: bold;">/</span>lame-<span style="color: #000000;">3.97</span>.tar.gz<span style="color: #000000; font-weight: bold;">&lt;/</span>a<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #000000; font-weight: bold;">&lt;</span>a <span style="color: #007800;">href</span>=<span style="color: #ff0000;">&quot;http://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.tbz2&quot;</span> <span style="color: #007800;">target</span>=<span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span>http:<span style="color: #000000; font-weight: bold;">//</span>superb-west.dl.sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>sourceforge<span style="color: #000000; font-weight: bold;">/</span>ffmpeg-php<span style="color: #000000; font-weight: bold;">/</span>ffmpeg-php-0.5.0.tbz2<span style="color: #000000; font-weight: bold;">&lt;/</span>a<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #000000; font-weight: bold;">&lt;</span>a <span style="color: #007800;">href</span>=<span style="color: #ff0000;">&quot;http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz&quot;</span> <span style="color: #007800;">target</span>=<span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span>http:<span style="color: #000000; font-weight: bold;">//</span>downloads.xiph.org<span style="color: #000000; font-weight: bold;">/</span>releases<span style="color: #000000; font-weight: bold;">/</span>ogg<span style="color: #000000; font-weight: bold;">/</span>libogg-1.1.3.tar.gz<span style="color: #000000; font-weight: bold;">&lt;/</span>a<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #000000; font-weight: bold;">&lt;</span>a <span style="color: #007800;">href</span>=<span style="color: #ff0000;">&quot;http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz&quot;</span> <span style="color: #007800;">target</span>=<span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span>http:<span style="color: #000000; font-weight: bold;">//</span>downloads.xiph.org<span style="color: #000000; font-weight: bold;">/</span>releases<span style="color: #000000; font-weight: bold;">/</span>vorbis<span style="color: #000000; font-weight: bold;">/</span>libvorbis-1.1.2.tar.gz<span style="color: #000000; font-weight: bold;">&lt;/</span>a<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p><b>Extract the Source files</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bunzip2</span> essential-<span style="color: #000000;">20061022</span>.tar.bz2; <span style="color: #c20cb9; font-weight: bold;">tar</span> xvf essential-<span style="color: #000000;">20061022</span>.tar
<span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf flvtool2_1.0.5_rc6.tgz
<span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf lame-<span style="color: #000000;">3.97</span>.tar.gz
<span style="color: #c20cb9; font-weight: bold;">bunzip2</span> ffmpeg-php-0.5.0.tbz2; <span style="color: #c20cb9; font-weight: bold;">tar</span> xvf ffmpeg-php-0.5.0.tar
<span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf libogg-1.1.3.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf libvorbis-1.1.2.tar.gz</pre></div></div>

<p><b>Create a directory for codecs &amp; import them</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>codecs<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">mv</span> essential-<span style="color: #000000;">20061022</span><span style="color: #000000; font-weight: bold;">/*</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>codecs<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #660033;">-R</span> <span style="color: #000000;">755</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>codecs<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p><b>Install SVN/Ruby</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> subversion
yum <span style="color: #c20cb9; font-weight: bold;">install</span> ruby
yum <span style="color: #c20cb9; font-weight: bold;">install</span> ncurses-devel</pre></div></div>

<p><b>Get the latest FFMPEG/MPlayer from the subversion</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> checkout <span style="color: #c20cb9; font-weight: bold;">svn</span>:<span style="color: #000000; font-weight: bold;">//</span>svn.mplayerhq.hu<span style="color: #000000; font-weight: bold;">/</span>ffmpeg<span style="color: #000000; font-weight: bold;">/</span>trunk <span style="color: #c20cb9; font-weight: bold;">ffmpeg</span>
<span style="color: #c20cb9; font-weight: bold;">svn</span> checkout <span style="color: #c20cb9; font-weight: bold;">svn</span>:<span style="color: #000000; font-weight: bold;">//</span>svn.mplayerhq.hu<span style="color: #000000; font-weight: bold;">/</span>mplayer<span style="color: #000000; font-weight: bold;">/</span>trunk <span style="color: #c20cb9; font-weight: bold;">mplayer</span></pre></div></div>

<p><b>Fix few Lib issues for next steps</b><br />
<br />Add this line in /etc/ld.so.conf<br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib</pre></div></div>

<p>then run<br />
</p>

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

<p><b>Compile LAME</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>lame-<span style="color: #000000;">3.97</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><b>Compile libOGG</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>libogg-1.1.3
.<span style="color: #000000; font-weight: bold;">/</span>configure
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><b>Compile libVorbis</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>libvorbis-1.1.2
.<span style="color: #000000; font-weight: bold;">/</span>configure
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><b>Compile flvtool2</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>flvtool2_1.0.5_rc6
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><b>Compile MPlayer</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">mplayer</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><b>Compile FFMPEG</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">ffmpeg</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-libmp3lame</span> <span style="color: #660033;">--enable-libogg</span> <span style="color: #660033;">--enable-libvorbis</span> <span style="color: #660033;">--disable-mmx</span> <span style="color: #660033;">--enable-shared</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'#define HAVE_LRINTF 1'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> config.h
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><b>Finalize the codec setups</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libavformat.so.50 <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libavformat.so.50
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libavcodec.so.51 <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libavcodec.so.51
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libavutil.so.49 <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libavutil.so.49
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libmp3lame.so.0 <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libmp3lame.so.0
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libavformat.so.51 <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libavformat.so.51</pre></div></div>

<p><b>Few tasks before compiling FFMPEG-PHP</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">automake</span>
yum <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">autoconf</span>
yum <span style="color: #c20cb9; font-weight: bold;">install</span> libtool</pre></div></div>

<p><b>Compile FFMPEG-PHP</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>ffmpeg-php-0.5.0
phpize
.<span style="color: #000000; font-weight: bold;">/</span>configure
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><b>Add FFMPEG-PHP as an extension of PHP</b><br />
<br />Add this line to your php.ini file (Check the correct path of php.ini)<br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">extension</span>=ffmpeg.so</pre></div></div>

<p><b>Restart Apache to load FFMPEG-PHP</b><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">service httpd restart</pre></div></div>

<p><b>Check if FFMPEG-PHP is loaded correctly</b><br />
<br />Create a file called phpinfo.php in your webroot and add the following code<br />
</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #990000;">phpinfo</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Run this page using your browser and if you see a section on ffmpeg then everything is installed and working.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nazly.net/installing-ffmpeg-and-ffmpeg-php-on-centos/feed/</wfw:commentRss>
		<slash:comments>55</slash:comments>
		</item>
		<item>
		<title>babytux digest</title>
		<link>http://www.nazly.net/babytux-digest/</link>
		<comments>http://www.nazly.net/babytux-digest/#comments</comments>
		<pubDate>Thu, 06 Jul 2006 11:16:36 +0000</pubDate>
		<dc:creator>Nazly</dc:creator>
				<category><![CDATA[FOSS]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[babytux]]></category>
		<category><![CDATA[bud]]></category>
		<category><![CDATA[digest]]></category>
		<category><![CDATA[geekaholic]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.nazly.net/babytux-digest/</guid>
		<description><![CDATA[The pilot issue of the babytux digest was launched yesterday. It features some great articles by local and international FOSS community. Hats off to the team. Expecting more in the future..]]></description>
			<content:encoded><![CDATA[<p>The pilot issue of the <a href="http://digest.babytux.org/" target="_blank">babytux digest</a> was launched yesterday. It features some great articles by local and international FOSS community. Hats off to the team. Expecting more in the future.. <img src="http://www.nazly.net//smiles/icon_wink.gif" alt="[Wink]" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nazly.net/babytux-digest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switch to Ubuntu</title>
		<link>http://www.nazly.net/switch-to-ubuntu/</link>
		<comments>http://www.nazly.net/switch-to-ubuntu/#comments</comments>
		<pubDate>Tue, 25 Apr 2006 21:01:10 +0000</pubDate>
		<dc:creator>Nazly</dc:creator>
				<category><![CDATA[FOSS]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[gnulinux]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.nazly.net/switch-to-ubuntu/</guid>
		<description><![CDATA[About 3 weeks back I successfully made a switch over to Linux Desktop and my pick was Ubuntu 5.10 (Breezy Badger). I would love to share few things in this step I took coz I feel it might help you (&#8230;)<p><a href="http://www.nazly.net/switch-to-ubuntu/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>About 3 weeks back I successfully made a switch over to Linux Desktop and my pick was Ubuntu 5.10 (Breezy Badger). I would love to share few things in this step I took coz I feel it might help you at some point. This is more an extended version of the <a href="http://www.nazly.net/post/the-magic-word-ubuntu-163/" target="_blank">post</a> I made about week back.</p>
<p>Ubuntu is my first experience for a Debian based distro. I have used Redhat since 6.3 and then upto 9 and after that have tried out Fedora Core 1 to Fedora Core 3. But not that much on the Desktop. I never got settled with it. But as a Server I found it very effective. </p>
<p><b>So Why picked Ubuntu for Desktop?</b><br />
<br />There was this buzz about Ubuntu being a great Desktop. There was lot of hype around it. After most of my friends suggested that its really suited for desktop I got it installed. I&#039;m amazed..</p>
<p>I love the way it handles users. By default the root account is locked. Using <a href="http://en.wikipedia.org/wiki/Sudo" target="_blank">sudo</a> the user will be able to run administrative commands. The thing I like about this is that I don&#039;t need to <a href="http://en.wikipedia.org/wiki/Su_%28computing%29" target="_blank">su</a> and it also prevents from crazy things happening when logged in as root. The root account can be enabled but not advisable. <a href="https://wiki.ubuntu.com/RootSudo" target="_blank">Read More</a> about it.</p>
<p>Package Management. Its Debian based so uses <a href="http://www.debian.org/doc/manuals/apt-howto/" target="_blank">apt</a>. Synaptic Package Manager ,the GUI for apt is very handy. And <a href="http://ubuntuforums.org/showthread.php?t=138405" target="_blank">Automatix</a> installed all the stuff I need for a perfect desktop.</p>
<p><b>How perfect was the switch?</b><br />
<br />I had concerns for switching to a Linux desktop. I&#039;m mainly a PHP/MySQL developer. So it is the platform I need to be in. Infact I was in the wrong place earlier. Now I perfectly fit in to the LAMP. I was using Macromedia Dreamweaver as my editor earlier coz I also have to work a lot on the HTML/XHTML pages. <a href="http://quanta.kdewebdev.org/" target="_blank">Quanta Plus</a> is a perfect alternate. I did try out Screem and Nvu. Seems to fit in perfectly. Currently using gedit as the phpeditor. Lately being playing around with <a href="http://www.jedit.org/" target="_blank">jEdit</a> and it seems a perfect editor.</p>
<p>I was using Mozilla Thunderbird as my Email client. So I was able to restore all my mails without any difficulty. I&#039;m not really a newbie to Linux so the switch didn&#039;t effect me that much. Infact I&#039;m having fun.</p>
<p><b>Few issues I came across</b><br />
<br />It was bundled with Mozilla Firefox 1.0.7. <a href="https://wiki.ubuntu.com/FirefoxNewVersion" target="_blank">This is how I installed</a> the new version of Mozilla Firefox 1.5.2.</p>
<p>Using the Synaptic Package Manager I got installed Apache2-PHP4-MySQL and with that installed phpMyAdmin as well just to try out. But for some reason PHP scripts were not parsed. I really didn&#039;t try to dig into it and felt comfortable compiling them to my needs. When I tried to remove them phpMyAdmin couldn&#039;t remove itself and on the Synaptic Package Manager it showed phpMyAdmin as a broken package. And due to this the rest of the packages I wanted to removed were not removed. And after doing some googling this is how I was able to get rid of it by modifying the installation script of phpMyAdmin.</p>
<p>Created a backup of the script<br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
nazly<span style="color: #000000; font-weight: bold;">@</span>ubuntu:~$ <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>dpkg<span style="color: #000000; font-weight: bold;">/</span>info<span style="color: #000000; font-weight: bold;">/</span>
&nbsp;
nazly<span style="color: #000000; font-weight: bold;">@</span>ubuntu:<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>dpkg<span style="color: #000000; font-weight: bold;">/</span>info$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> phpmyadmin.prerm phpmyadmin.prerm.orig</pre></div></div>

<p>Edit the script file<br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
nazly<span style="color: #000000; font-weight: bold;">@</span>ubuntu:<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>dpkg<span style="color: #000000; font-weight: bold;">/</span>info$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit phpmyadmin.prerm</pre></div></div>

<p>And commented line 12 by adding a # infront of it and saved the file.</p>
<p>Then used apt-get to remove phpMyAdmin<br />
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
nazly<span style="color: #000000; font-weight: bold;">@</span>ubuntu:<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>dpkg<span style="color: #000000; font-weight: bold;">/</span>info$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> remove phpmyadmin</pre></div></div>

<p>After that Synaptic Package Manager didn&#039;t show the phpMyAdmin package as broken and I was able to remove the rest of the packages. </p>
<p>I&#039;m able to connect to my PC with my Nokia 6230i via Bluetooth as I didn&#039;t have to install any driver as such.</p>
<p>So as far as I&#039;m concerned I&#039;m not missing anything at all.. I&#039;m very much satisfied with myself that I&#039;m doing the right thing as I always had this passion for Free &amp; OpenSource software.</p>
<p><a href="http://www.gnu.org/philosophy/free-sw.html" target="_blank">&quot;free&quot; as in &quot;free speech,&quot; not as in &quot;free beer.&quot;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nazly.net/switch-to-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu 6.06 BETA</title>
		<link>http://www.nazly.net/ubuntu-6-06-beta/</link>
		<comments>http://www.nazly.net/ubuntu-6-06-beta/#comments</comments>
		<pubDate>Mon, 24 Apr 2006 04:22:46 +0000</pubDate>
		<dc:creator>Nazly</dc:creator>
				<category><![CDATA[FOSS]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[gnulinux]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.nazly.net/ubuntu-6-06-beta/</guid>
		<description><![CDATA[Ubuntu 6.06 (Dapper Drake) BETA has been released. This Beta Release has introduced the new Desktop CD, which can be used both to try Ubuntu &#039;live&#039; and to install the system. Installation can be perfomed using the new graphical installer (&#8230;)<p><a href="http://www.nazly.net/ubuntu-6-06-beta/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ubuntu.com/testing/dapperbeta" target="_blank">Ubuntu 6.06 (Dapper Drake) BETA</a> has been released. This Beta Release has introduced the new Desktop CD, which can be used both to try Ubuntu &#039;live&#039; and to install the system. Installation can be perfomed using the new graphical installer on the Desktop CD rather than the traditional installer on the install CD. </p>
<p>The new graphical installer will be a great addition to Ubuntu. There is also seem to be great improvement in the UI. Gotta try it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nazly.net/ubuntu-6-06-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Magic Word – Ubuntu</title>
		<link>http://www.nazly.net/the-magic-word-ubuntu/</link>
		<comments>http://www.nazly.net/the-magic-word-ubuntu/#comments</comments>
		<pubDate>Sun, 16 Apr 2006 13:08:58 +0000</pubDate>
		<dc:creator>Nazly</dc:creator>
				<category><![CDATA[FOSS]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[gnulinux]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.nazly.net/the-magic-word-ubuntu/</guid>
		<description><![CDATA[Finally, finally I have broken the spell of &#039;M$ Desktop&#039; with the magic word Ubuntu. Ubuntu with a strong motive &#039;Linux for Human Beings&#039; has been quite popular for being the perfect distro for a Linux Desktop. As you all (&#8230;)<p><a href="http://www.nazly.net/the-magic-word-ubuntu/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Finally, finally I have broken the spell of &#039;M$ Desktop&#039; with the magic word <b>Ubuntu</b>. <a href="http://www.ubuntu.com/" target="_blank">Ubuntu</a> with a strong motive &#039;Linux for Human Beings&#039; has been quite popular for being the perfect distro for a Linux Desktop. As you all are aware I have been stuck to the M$ Desktop for quite a few reasons and was held back to make a move towards the Linux Desktop. I have been talking Linux coz my servers were all powered by Linux, currently using <a href="http://www.centos.org/" target="_blank">CentOS</a> distro but not on desktop.</p>
<p>Atlast I got to this point where I got the courage to walk the talk. And my pick was Ubuntu. I had a couple of test runs with the Ubuntu Live CD and then installed it. I was using Mozilla Thunderbird in my &#039;M$ Desktop&#039; so it was a piece of cake restoring all my mails which is simply awesome. I loved the way this Debian <a href="http://www.debian.org/doc/manuals/apt-howto/" target="_blank">apt-get</a> works. This is the first time I&#039;m using a Debian based distro. And the GUI available in Ubuntu for apt-get known as Synaptic Package Manager makes life lot easier. Its a great way for the users who are new to Linux to get things up and running soon. And then installed <a href="http://ubuntuforums.org/showthread.php?t=138405" target="_blank">Automatix</a>, an automated GUI installation script that will install a bunch of applications which converts Ubuntu to a perfect Desktop solution. It has been about two weeks playing around it and I&#039;m lovin&#039; it. I came across few issues and did sort them out as well thanks to the community. I will post them as soon as I can.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nazly.net/the-magic-word-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding missing pieces</title>
		<link>http://www.nazly.net/finding-missing-pieces/</link>
		<comments>http://www.nazly.net/finding-missing-pieces/#comments</comments>
		<pubDate>Sun, 02 Apr 2006 11:04:21 +0000</pubDate>
		<dc:creator>Nazly</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[course]]></category>
		<category><![CDATA[fundamentals]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ucsc]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.nazly.net/finding-missing-pieces/</guid>
		<description><![CDATA[I&#039;m currently following the Unix/Linux Fundamentals, Network &#38; Systems Administration Course at the UCSC (University of Colombo School of Computing). My Linux knowledge is like a jigzaw puzzle as I know quite a bit here and there but with a (&#8230;)<p><a href="http://www.nazly.net/finding-missing-pieces/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>I&#039;m currently following the <a href="http://www.ucsc.cmb.ac.lk/centre/csc/courses/UnixSysAddFund.htm" target="_blank">Unix/Linux Fundamentals, Network &amp; Systems Administration</a> Course at the <a href="http://www.ucsc.cmb.ac.lk" target="_blank">UCSC</a> (University of Colombo School of Computing). My Linux knowledge is like a jigzaw puzzle as I know quite a bit here and there but with a lot of missing pieces. My initial goal is to find the missing pieces and solve the puzzle. I have not been a Linux desktop guy for all these while but have a fair knowledge working on Linux based web/mail/database servers for almost half a decade and have a quite a good reputation for getting the job done <img src="http://www.nazly.net//smiles/icon_biggrin.gif" alt=":D[BigGrin]" />. Since a couple of weeks back I have been making it a high priority to use Linux on my dekstop and has paid off well. The first few classes will be more of revisions for me but I&#039;m not gonna get bored so not gonna miss out a single bit of it. Hopefully by the end of this course I can solve my puzzle.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nazly.net/finding-missing-pieces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

