<?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>TECHiE TALKS &#187; Linux</title>
	<atom:link href="http://www.icpep.org/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.icpep.org</link>
	<description>Just another techie stuff</description>
	<lastBuildDate>Wed, 01 Feb 2012 23:59:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Setting Up a MemCached Server</title>
		<link>http://www.icpep.org/setting-up-a-memcached-server/</link>
		<comments>http://www.icpep.org/setting-up-a-memcached-server/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 09:47:34 +0000</pubDate>
		<dc:creator>paparts</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows Hacks]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.icpep.org/?p=1555</guid>
		<description><![CDATA[image from www.memcached.org Based on their official website memcached is defined as: Free &#038; open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering. Memcached is simple yet powerful. Its simple design promotes quick deployment, ease of development, and solves many [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><img src="http://www.icpep.org/wp-content/uploads/2012/01/memcached_banner75-300x55.jpg" alt="memcached" title="memcached" width="300" height="55" class="aligncenter size-medium wp-image-1556" /><br /><center><em>image from www.memcached.org</em></center></p>
<p align="justify">Based on their official website <a href="http://memcached.org/" title="MemCached" target="_blank">memcached</a> is defined as:</p>
<blockquote><p>Free &#038; open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.</p>
<p>Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.</p>
<p>Memcached is simple yet powerful. Its simple design promotes quick deployment, ease of development, and solves many problems facing large data caches. Its API is available for most popular languages.</p></blockquote>
<p>&mdash; memcached.org</p>
<h2 style="text-shadow:1px 0px 1px #000;font-weight:bolder;"><u>MemCached Server</u></h2>
<p align="justify">This is how I installed(<em>a simple installation</em>) my memcached server that can be accessed by a webserver on our local area network.  The server is running Ubuntu as its operating system.  <span id="highlight">Caution: The version on ubuntu&#8217;s repository could not be the latest version.  Refer to memcached&#8217;s website for the latest version.  If you want to install the latest version from the source you can refer to memcached&#8217;s <a href="http://code.google.com/p/memcached/wiki/NewInstallFromSource" title="Memcached's wiki page" target="_blank">wiki</a> page</span></p>
<p align="justify">Open synaptic package manager and install <span id="highlight">memcached</span> and <span id="highlight">php5-memcached</span>.  After the installation restart the webserver using the command:</p>
<div id="code">sudo apache2ctl restart</div>
</p>
<p>Start memcached by using the command:</p>
<p align="justify"><div id="code">/etc/init.d/memcached start</div></p>
<p>By default memcached is running on port <span id="highlight">11211</span> and is accessible by the machine with IP 127.0.0.1 which is the machine&#8217;s local IP address with <span id="highlight">64MB</span> memory allocation</p>
<p align="justify">To try if memcached is working use this simple PHP code</p>
<pre class="crayon-plain-tag"><code>&lt; ?php
$m = new Memcached();
$m-&gt;addServer('localhost', 11211);

$m-&gt;set('int', 99);
$m-&gt;set('string', 'a simple string');
$m-&gt;set('array', array(11, 12));
$m-&gt;set('object', new stdclass, time() + 300);

var_dump($m-&gt;get('int'));
var_dump($m-&gt;get('string'));
var_dump($m-&gt;get('array'));
var_dump($m-&gt;get('object'));
?&gt;</code></pre>
<p align="justify">Open the script on the browser.  Try opening the cli and telnet to memcached using the command:</p>
<p><div id="code">telnet 127.0.0.1 11211</div></p>
<p>The image below shows how the cli would look like after the command</p>
<p align="center"><img src="http://www.icpep.org/wp-content/uploads/2012/01/telnet-300x70.png" alt="telnet to memcached" title="telnet to memcached" width="300" height="70" class="aligncenter size-medium wp-image-1557" /></p>
<p align="justify">Check memcached&#8217;s status by using the command</p>
<div id="code">
stats
</div>
</p>
<p>We can get a cached value using the command:</p>
<p><div id="code">get string</div></p>
<p>It should return <span id="highlight">&#8220;a simple string&#8221;</span> as assigned on the script.</p>
<p>To explore more, commands can be seen on this page <a href="http://lzone.de/articles/memcached.htm" target="_blank"><em>http://lzone.de/articles/memcached.htm</em></a></p>
<p align="justify">To allow another machine (<em>local web server</em>) to store data on the memcached server we need to edit the configuration file using the command:</p>
<p><div id="code">
sudo nano /etc/memcached.conf
</div></p>
<p align="justify">In my case I changed the allotted memory to 256MB and allowed IP of 191.168.1.254 which is our windows webserver as seen on the image below:</p>
<p align="center"><a href="http://www.icpep.org/wp-content/uploads/2012/01/Screenshot-2.png" target="_blank"><img src="http://www.icpep.org/wp-content/uploads/2012/01/Screenshot-2-300x180.png" alt="memcached configuration" title="memcached configuration" width="300" height="180" class="aligncenter size-medium wp-image-1558" /></a></p>
<p>After the configuration I restarted memcached using the command:</p>
<p><div id="code">sudo /etc/init.d/memcached restart</div></p>
<h2 style="text-shadow:1px 0px 1px #000;font-weight:bolder;"><u>The Webserver (XAMPP)</u></h2>
<p align="justify">To quickly test the memcached server I used xampp portable version which can be downloaded on their official website <em>www.apachefriends.org</em>.</p>
<p align="justify">As stated earlier the webserver is already allowed to use the memcached server.  As an information memcached is a daemon which runs like the mysql server, so we need PHP to connect to the memcached server.</p>
<p align="justify"><ol>
<li>To start, download memcached on <a href="http://code.jellycan.com/memcached/" title="memcached windows " target="_blank">code.jellycan.com/memcached</a> which is win32 binary.
</li>
<li>After downloading extract the file (<em>recommended: C:\memcached</em>).  You should have the file <em>memcached.exe</em></li>
<li>
We can install memcached as a service on the command line using the command:</p>
<div id="code">C:\memcached\memcached.exe -d install</div>
</li>
<li>
Start memcached using the command:</p>
<div id="code">C:\memcached\memcached.exe -d start</div>
</li>
<li>
After running memcached we need to tie it with PHP using the <span id="highlight">php_memcached.dll</span>.  You should have this file on your PHP&#8217;s ext folder, if not download the file at these links <a href="http://downloads.php.net/pierre/" title="php_memcached.dll" target="_blank">http://downloads.php.net/pierre/</a>, <a href="http://www.pureformsolutions.com/pureform.wordpress.com/2008/06/17/php_memcache.dll" target="_blank">http://www.pureformsolutions.com/pureform.wordpress.com/2008/06/17/php_memcache.dll</a> or on our server: <a class='wpdm-popup' rel='colorbox' title='php_memcached.dll' href='http://www.icpep.org/?download=4' style="background:url('http://www.icpep.org/wp-content/plugins/download-manager/icon/download.png') no-repeat;padding:3px 12px 12px 28px;font:bold 10pt verdana;">php_memcached.dll.rar</a>
</li>
<li>
enable the use of php_memcached.dll by editing your php.ini and uncomment the line <span id="highlight">extension=php_memcache.dll</span> if it does not exist add this line.  After editing the file restart the webserver.
</li>
</ol>
<p>You can access the data on the memcached server by using the code below:</p>
<pre class="crayon-plain-tag"><code>&lt; ?php
        $memcache = new Memcache();
        if(!$memcache-&gt;connect('191.168.1.7', 11211))
                die(&quot;Couldn't connect to memcached!&quot;);

        $key=&quot;string&quot;;

        $result = $memcache-&gt;get($key);

        if($result)
        {
                echo &quot;$key is $result&quot;;
        }
        else
        {
            echo 'There is no data saved named '. $key;
        }
?&gt;</code></pre><p>
<p>You should have an output of <span id="highlight">&#8220;a simple string&#8221;</span>.  I hope this helped you set up the server.  Happy coding!</p>
<p>Sources:</p>
<p>http://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/</p>
<p>http://memcached.org</p>
<p>http://blogs.oracle.com/oswald/entry/cache_cache_cache_part_1</p>
<style type="text/css">li{text-align:justify;}</style>
<div id="seo_alrp_related"><h2>Posts Related to Setting Up a MemCached Server</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/fixing-apaches-error-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127-0-1-1-for-servername-in-ubuntu/" rel="bookmark">Fixing Apache&#8217;s Error: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName in Ubuntu</a></h3><p>One of the server I am using is running ubuntu. I am installing memcached on the server and every time I restart the web server ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/smb-swat-on-centos-5/" rel="bookmark">SMB Swat on CentOS 5</a></h3><p>&nbsp; Simple howto's when SWAT is not available after you install CentOS.  To start with here are some cli commands to use, [root@goldmine ~]# yum ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/mysql-reset-root-password/" rel="bookmark">MySQL Reset Root Password</a></h3><p>My friend forgot his mysql password and the database needs to be accessed by the root user.  My friend is running MySQL 5.1 and as ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/use-gmail-account-to-relay-email-from-php-mail-function/" rel="bookmark">Use Gmail Account To Relay Email From PHP mail Function</a></h3><p>One of the things I find hard in developing a web application is using a library for sending email such as PHPMailer. I find it ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/code-igniter-installation-and-first-run/" rel="bookmark">Code Igniter Installation and First Run</a></h3><p>Code Igniter is an PHP Application Development Framework - a toolkit for PHP developers. The main goal of Code Igniter is to enable developers to ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.icpep.org/setting-up-a-memcached-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Apache&#8217;s Error: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName in Ubuntu</title>
		<link>http://www.icpep.org/fixing-apaches-error-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127-0-1-1-for-servername-in-ubuntu/</link>
		<comments>http://www.icpep.org/fixing-apaches-error-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127-0-1-1-for-servername-in-ubuntu/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 06:33:21 +0000</pubDate>
		<dc:creator>paparts</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://www.icpep.org/?p=1548</guid>
		<description><![CDATA[One of the server I am using is running ubuntu. I am installing memcached on the server and every time I restart the web server I always have the error &#8220;Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName&#8221;. If you are having the same error then this post is for you. To solve the problem this is how I solved the problem. Open the cli and use the command to edit apache&#8217;s config file: [...]]]></description>
			<content:encoded><![CDATA[<p align="center">
<img src="http://www.icpep.org/wp-content/uploads/2012/01/Screenshot-1.png" alt="Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName" title="Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName" width="1043" height="52" class="aligncenter size-full wp-image-1549" />
</p>
<p align="justify">
One of the server I am using is running ubuntu.  I am installing memcached on the server and every time I restart the web server I always have the error &#8220;Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName&#8221;.  If you are having the same error then this post is for you.  To solve the problem this is how I solved the problem.
</p>
<p>Open the cli and use the command to edit apache&#8217;s config file:</p>
<p>
<div id="code">sudo gedit /etc/apache2/httpd.conf</div>
</p>
<p>The file is empty by default.  Add the line:</p>
<p>
<div id="code">ServerName localhost</div>
</p>
<p>Save the changes and restart the server:</p>
<p>
<div id="code">apache2ctl restart</div>
</p>
<p>I hope this solved the problem&#8230;  Happy coding!</p>
<p>&nbsp;</p>
<div id="seo_alrp_related"><h2>Posts Related to Fixing Apache's Error: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName in Ubuntu</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/setting-up-a-memcached-server/" rel="bookmark">Setting Up a MemCached Server</a></h3><p>image from www.memcached.org Based on their official website memcached is defined as: Free & open source, high-performance, distributed memory object caching system, generic in nature, ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/pdo-database-extensions-error/" rel="bookmark">PDO Database Extensions Error</a></h3><p>&nbsp; &nbsp; I installed Apache, MySQL and PHP on windows 7.  I tried to install drupal version 7.9 and went through an error as shown ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/phpmyadmin-importing-large-data/" rel="bookmark">PHPMyAdmin Importing Large Data</a></h3><p>By Default phpmyadmin can import data on your mysql database up to 2MB of data and beyond that will be an error.  This has been ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/an-error-occurred-executing-the-microsoft-vc-runtime-installer/" rel="bookmark">An Error Occurred Executing the Microsoft VC++ Runtime Installer</a></h3><p>MySQL is proprietary and some developers are now merging to Postgre SQL.  If you are running windows you might come across this error.  I am ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/internal-error-2378/" rel="bookmark">Internal Error 2378</a></h3><p>I was installing a software and throws an error Internal Error 2378. I googled the problem and most suggestions didn't work out for me, btw I am ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.icpep.org/fixing-apaches-error-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127-0-1-1-for-servername-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Powered TV</title>
		<link>http://www.icpep.org/ubuntu-powered-tv/</link>
		<comments>http://www.icpep.org/ubuntu-powered-tv/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 15:49:28 +0000</pubDate>
		<dc:creator>paparts</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu TV]]></category>

		<guid isPermaLink="false">http://www.icpep.org/?p=1541</guid>
		<description><![CDATA[Here is a quick look of the first ubuntu powered TV. Posts Related to Ubuntu Powered TVMaintain Your Ubuntu Machineimage from www.qortuba.org These are some of the tools and commands I use to clean up my ubuntu powered laptop. Cleaning Downloaded and Uninstalled Packages ...Ubuntu 11.04This morning I started updating ubuntu 10.10 to 11.04 and I was so excited what it feels like to be in this new release of ...Installing Photoshop on Ubuntu 10.10I am now a full Linux [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a quick look of the first ubuntu powered TV.  </p>
<p align="center">
<iframe width="560" height="315" src="http://www.youtube.com/embed/jq_WaOLjdyQ" frameborder="0" allowfullscreen></iframe></p>
<div id="seo_alrp_related"><h2>Posts Related to Ubuntu Powered TV</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/maintain-your-ubuntu-machine/" rel="bookmark">Maintain Your Ubuntu Machine</a></h3><p>image from www.qortuba.org These are some of the tools and commands I use to clean up my ubuntu powered laptop. Cleaning Downloaded and Uninstalled Packages ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/ubuntu-11-04/" rel="bookmark">Ubuntu 11.04</a></h3><p>This morning I started updating ubuntu 10.10 to 11.04 and I was so excited what it feels like to be in this new release of ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/installing-photoshop-on-ubuntu-10-10/" rel="bookmark">Installing Photoshop on Ubuntu 10.10</a></h3><p>I am now a full Linux user and the distro I used is Ubuntu version 10.10.  Maybe most of my posts will be ubuntu tweaks ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/use-microphone-in-ubuntu/" rel="bookmark">Use Microphone In Ubuntu</a></h3><p>I ran into some problems when a friend of mine called me on skype.  The microphone on my laptop did not work and searching on ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/customized-place-in-nautilus/" rel="bookmark">Customized Place in Nautilus</a></h3><p>One trick to save more time in opening your mostly visited folder is to add it on Nautilus file manager/browser. As shown in the image, ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.icpep.org/ubuntu-powered-tv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customized Place in Nautilus</title>
		<link>http://www.icpep.org/customized-place-in-nautilus/</link>
		<comments>http://www.icpep.org/customized-place-in-nautilus/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 01:13:20 +0000</pubDate>
		<dc:creator>paparts</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nautilus]]></category>

		<guid isPermaLink="false">http://www.icpep.org/?p=1508</guid>
		<description><![CDATA[One trick to save more time in opening your mostly visited folder is to add it on Nautilus file manager/browser. As shown in the image, I added my www folder to nautilus which is my mostly opened folder. To do this simple trick just follow the steps bellow: Open the folder you want to add to nautilus Press ctrl + D That is it! Hope it helps. Posts Related to Customized Place in NautilusApplication Always On Top&#160; So many times [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><img src="http://www.icpep.org/wp-content/uploads/2011/12/Screenshot.png" alt="Nautilus Ubuntu" title="Nautilus Ubuntu" width="498" height="468" class="aligncenter size-full wp-image-1509" /></p>
<p align="justify">
One trick to save more time in opening your mostly visited folder is to add it on Nautilus file manager/browser.  As shown in the image, I added my <span id="highlight">www</span> folder to nautilus which is my mostly opened folder.  To do this simple trick just follow the steps bellow:
</p>
<ol>
<li>Open the folder you want to add to nautilus</li>
<li>Press <span id="highlight"> ctrl + D </span></li>
</ol>
<p>That is it!  Hope it helps.</p>
<div id="seo_alrp_related"><h2>Posts Related to Customized Place in Nautilus</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/application-always-on-top/" rel="bookmark">Application Always On Top</a></h3><p>&#160; So many times that I have been needing this software in doing my daily tasks, having my application always on top of the other.&#160; ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/php-curl/" rel="bookmark">PHP Curl</a></h3><p>If you are a web developer and having problems on Installing PHP Curl on Apache with PHP installed on Windows Operating System, below is my ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/changing-the-owner-of-your-docroot-lamp/" rel="bookmark">Changing the Owner of Your Docroot (LAMP)</a></h3><p>In a LAMP server when you upload files in your htdocs folder by default  the owner of the files is root or the account you ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/installing-gpedit-msc/" rel="bookmark">Installing GPEDIT.msc</a></h3><p>1. download the files here. 2. extract the files on your computer. You should see 2 folders in it. 1 folder is named gpedit files ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/show-hide-file-extension/" rel="bookmark">Show Hide File Extension</a></h3><p>What are file extension or file types? File types are like embedded signatures, telling the operating system that this type of file can be opened ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.icpep.org/customized-place-in-nautilus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backtrack 5 Bug Fix</title>
		<link>http://www.icpep.org/backtrack-5-bug-fix/</link>
		<comments>http://www.icpep.org/backtrack-5-bug-fix/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 01:02:36 +0000</pubDate>
		<dc:creator>paparts</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows Hacks]]></category>
		<category><![CDATA[Backtrack]]></category>
		<category><![CDATA[Backtrack Fix]]></category>

		<guid isPermaLink="false">http://www.icpep.org/?p=1492</guid>
		<description><![CDATA[I switched my ubuntu Oneiric to bactrack 5 Gnome and try out the new tools I wanted to use. Lately I thought everything will be fine out of the box but noticed that some of the tools I use and explored are not working well. I am using Aspire 4736 and installed backtrack 5 Gnome 64bit. After the installation I had a lot of things to fix and would want to fix them one by one. The first thing I [...]]]></description>
			<content:encoded><![CDATA[<p algin="center"><img src="http://www.icpep.org/wp-content/uploads/2011/12/backtrack-5.jpg" alt="backtrack 5" title="backtrack 5" width="400" height="406" class="aligncenter size-full wp-image-1493" /></p>
<p align="justify">
I switched my ubuntu Oneiric to bactrack 5 Gnome and try out the new tools I wanted to use.  Lately I thought everything will be fine out of the box but noticed that some of the tools I use and explored are not working well.  I am using Aspire 4736 and installed backtrack 5 Gnome 64bit.  After the installation I had a lot of things to fix and would want to fix them one by one.  The first thing I encountered was after installing I just see a black screen and nothing displays or even sometimes this happens after seeing the grub menu.  Its a good thing that the grub menu is still there.  When you are on the grub menu press <span id="highlight"><strong>e</strong></span> and replace <span id="highlight">nomodeset</span> to;</p>
<p><div id="code">
vga=791 i915.modeset=1
</div>
</p>
<p algin="justify">
After that you should now be able to login and use startx.  After that we need to update grub so that we will not keep on typing the line every time we turn on the machine.  To make the changes open the grub file found at <span id="highlight">/usr/share/grub/default/grub</span> using your favorite editor.
</p>
<p>
Here is the lines found on my grub file;</p>
<div id="code">
# If you change this file, run &#8216;update-grub&#8217; afterwards to update<br />
# /boot/grub/grub.cfg.</p>
<p>GRUB_DEFAULT=0<br />
GRUB_HIDDEN_TIMEOUT=0<br />
GRUB_HIDDEN_TIMEOUT_QUIET=true<br />
GRUB_TIMEOUT=10<br />
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`<br />
GRUB_CMDLINE_LINUX_DEFAULT=&#8221;quiet splash&#8221;<br />
GRUB_CMDLINE_LINUX=&#8221;<span style="color: blue;">i915.modeset=1</span>&#8221;</p>
<p># Uncomment to disable graphical terminal (grub-pc only)<br />
#GRUB_TERMINAL=console</p>
<p># The resolution used on graphical terminal<br />
# note that you can use only modes which your graphic card supports via VBE<br />
# you can see them in real GRUB with the command `vbeinfo&#8217;<br />
#GRUB_GFXMODE=640&#215;480</p>
</div>
<p>As seen on the highlighted line I added <span id="highlight">i915.nomodeset=0</span> to the line to fix the black screen.  You should now update grub using the command below;</p>
<p>
<div id="code">update-grub2</div>
</p>
<p align="justify">
Below are some of the errors you can do to fix your problems;
</p>
<h2>Ettercap</h2>
<hr />
After installation of Backtrack 5 ettercap has bug which closes itself after scanning all host on the network.  To fix the problem we need to uninstall the existing ettercap and replace the installation with the fixed <a href="https://launchpad.net/~timothy-redaelli/+archive/drizzt/+packages" title="Ettercap new version" target="_blank">packages</a>. The fix can be found on this page -> <span id="highlight">http://www.backtrack-linux.org/forums/showthread.php?t=42853</span></p>
<h2>Fast-Track Update</h2>
<hr />
<p align="justify">This tool is one of my favorite.  There are some changes needed to be done on the scripts.</p>
<p align="justify">Open <span id="highlight">/pentest/exploits/fasttrack/bin/menu/updatemenu.py</span> and make the changes on line <span id="highlight">62</span>;</p>
<div id="code">subprocess.Popen(&#8220;cd /usr/share/gerix-wifi-cracker-ng;svn update&#8221;, shell=True).wait()</div>
<p>and <span id="highlight">line 67</span>;</p>
<div id="code">subprocess.Popen(&#8220;cd /pentest/exploits/set;svn update&#8221;, shell=True).wait()</div>
</p>
<p> Open the file <span id="highlight">/pentest/exploits/fasttrack/config/fasttrack_config</span> and on line 9 add;</p>
<div id="code">METASPLOIT_PATH=/opt/framework/msf3</div>
<p>You can start update fast-track; -> <span id="highlight">http://www.backtrack-linux.org/forums/showthread.php?t=44086</span></p>
<h2>WICD Network Manager</h2>
<hr />
<p align="justify">After setting up a wireless AP, the annoying error of WICD always pops out.  To fix this problem we can solve the problem on BT&#8217;s wiki -> <span id="highlight">http://www.backtrack-linux.org/wiki/index.php/Basic_Usage#WICD_Network_Manager</span></p>
<p align="justify">The fixes above are just few of the bugs.  I will be updating this post once in a while after testing every fix I see on the forum</p>
<p>&nbsp;</p>
<div id="seo_alrp_related"><h2>Posts Related to Backtrack 5 Bug Fix</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/mysql-reset-root-password/" rel="bookmark">MySQL Reset Root Password</a></h3><p>My friend forgot his mysql password and the database needs to be accessed by the root user.  My friend is running MySQL 5.1 and as ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/super-antispyware-mitm-update/" rel="bookmark">Super AntiSpyware MITM Update</a></h3><p>Super Antispyware is one of the utility tools I use for our XP computers at home. From time to time I use this machines for ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/hack-the-start-menu-and-taskbar/" rel="bookmark">Hack the Start Menu and Taskbar</a></h3><p>Run the Group Policy Editor by typing gpedit.msc at the Run prompt or command line. Go to User Configuration\Administrative Templates\Start Menu and Taskbar. If you ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/netbeans-line-wrap/" rel="bookmark">Netbeans Line Wrap</a></h3><p>&nbsp; I have been using netbeans PHP as my IDE in developing websites and web applications for my clients. Netbeans is now in version 7.01 ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/thunderbird-profile-on-windows-and-linux/" rel="bookmark">Thunderbird Profile On Windows and Linux</a></h3><p>I dual booted both Windows 7 and Backtrack 5 on my Laptop and a problem starts when I used thunderbird on Backtrack Linux because all ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.icpep.org/backtrack-5-bug-fix/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Use Gmail Account To Relay Email From PHP mail Function</title>
		<link>http://www.icpep.org/use-gmail-account-to-relay-email-from-php-mail-function/</link>
		<comments>http://www.icpep.org/use-gmail-account-to-relay-email-from-php-mail-function/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 14:53:41 +0000</pubDate>
		<dc:creator>paparts</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Linux How To's]]></category>

		<guid isPermaLink="false">http://www.icpep.org/?p=1484</guid>
		<description><![CDATA[One of the things I find hard in developing a web application is using a library for sending email such as PHPMailer. I find it hard when used to send emails. Another thing I find hard is when sending emails in a localhost webserver. It would also cost me more and would take much time in setting up my own mail server. PHP&#8217;s mail function is also very useless in such testing ground. If you are using a gmail account [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><img src="http://www.icpep.org/wp-content/uploads/2011/12/996862_internet_at_home_2.jpg" alt="Localhost Mail" title="Localhost Mail" width="300" height="300" class="aligncenter size-full wp-image-1485" /></p>
<p align="justify">One of the things I find hard in developing a web application is using a library for sending email such as PHPMailer.  I find it hard when used to send emails.  Another thing I find hard is when sending emails in a localhost webserver.  It would also cost me more and would take much time in setting up my own mail server.  PHP&#8217;s mail function is also very useless in such testing ground.</p>
<p align="justify">If you are using a gmail account and want to use PHP&#8217;s mail function in your local webserver, here is a better way to relay an email to gmail. I am using backtrack 5 Gnome and the steps will also work for debian based distros. Follow the steps below,</p>
<p>Install ssmtp,</p>
<div id="code">
$ sudo apt-get update &#038;&#038; apt-get install ssmtp
</div>
<p align="justify">After installing ssmtp, open the configuration file.</p>
<div id="code">$ sudo nano /etc/ssmtp/ssmtp.conf</div>
<p>Append the configuration at the bottom</p>
<div id="code">
AuthUser=icpep.org@gmail.com<br />
AuthPass=myPassword<br />
FromLineOverride=YES<br />
mailhub=smtp.gmail.com:587<br />
UseSTARTTLS=YES
</div>
<p>After the changes, you can now use PHP&#8217;s mail function</p>
<pre class="crayon-plain-tag"><code>&lt; ?php
$message = &quot;This is a test&quot;;
$message = wordwrap($message, 70);
mail('icpep.org@gmail.com', 'My Subject', $message);
?&gt;</code></pre>
<div id="seo_alrp_related"><h2>Posts Related to Use Gmail Account To Relay Email From PHP mail Function</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/4-thunderbird-add-ons/" rel="bookmark">4 Thunderbird Add-ons</a></h3><p>I am a great fan and a user of mozilla thunderbird. I have used different mail clients like microsoft outlook, opera mail, zimbra mail client, ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/phpmailer/" rel="bookmark">PHPMailer</a></h3><p>Sending E-Mail with PHP can be simple, or it can be very complex depending on what you want to do.  PHPmailer is a free PHP ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/pldts-port-25-smtp/" rel="bookmark">PLDT&#8217;s Port 25 (SMTP)</a></h3><p>Today, a friend and a colleague of mine called me and questioned me why she can't send emails using her mail client which is Incredimail ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/take-a-peek/" rel="bookmark">Peek Gadget</a></h3><p>What is the peek gadget?  Is it like just any ordinary gadgets?  Peek is the only gadget that is solely devoted to check emails.  Peek ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/thunderbird-to-outlook/" rel="bookmark">Thunderbird To Outlook</a></h3><p>I have successfully exported Thunderbird email files on ms outlook 2007 on a Windows XP platform which can also be done in windows vista and windows 7 platform. ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.icpep.org/use-gmail-account-to-relay-email-from-php-mail-function/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Gpick A Color Picker for Linux</title>
		<link>http://www.icpep.org/gpick-a-color-picker-for-linux/</link>
		<comments>http://www.icpep.org/gpick-a-color-picker-for-linux/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 14:38:40 +0000</pubDate>
		<dc:creator>paparts</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.icpep.org/?p=1479</guid>
		<description><![CDATA[Gpick is an advanced color picker written in C++ using GTK+ toolkit. This application is an alternative for window&#8217;s colorpic. One feature I like about this application is the same feature I found on window&#8217;s colorpic which shows a magnifier of the area where you want to capture the color. Posts Related to Gpick A Color Picker for LinuxThunderbird Profile On Windows and LinuxI dual booted both Windows 7 and Backtrack 5 on my Laptop and a problem starts when [...]]]></description>
			<content:encoded><![CDATA[<p align="center">
<img src="http://www.icpep.org/wp-content/uploads/2011/11/gpick-300x269.png" alt="gpick color picker" title="gpick color picker" width="300" height="269" class="aligncenter size-medium wp-image-1480" /></p>
<p align="justify">
<strong><a href="http://code.google.com/p/gpick/" title="Gpick Color Picker" target="_blank">Gpick</a></strong> is an advanced color picker written in C++ using GTK+ toolkit.  This application is an alternative for window&#8217;s <a href="http://www.iconico.com/colorpic/" title="colorpic" target="_blank">colorpic</a>.  One feature I like about this application is the same feature I found on window&#8217;s colorpic which shows a magnifier of the area where you want to capture the color.  </p>
<div id="seo_alrp_related"><h2>Posts Related to Gpick A Color Picker for Linux</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/thunderbird-profile-on-windows-and-linux/" rel="bookmark">Thunderbird Profile On Windows and Linux</a></h3><p>I dual booted both Windows 7 and Backtrack 5 on my Laptop and a problem starts when I used thunderbird on Backtrack Linux because all ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/facebook-auto-tag-pictures/" rel="bookmark">Facebook: Auto Tag Pictures</a></h3><p>Facebook has the largest population on the world wide web and it has a viral effect on distributing data. They have a lot of ways ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/install-and-enable-php5-curl-in-gnome-linux/" rel="bookmark">Install and Enable PHP5 cURL in Gnome-Linux</a></h3><p>PHP5 cURL &nbsp; If you already have a LAMP server and PHP cURL is not yet installed you can open the terminal and use the ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/xhtml-doctype/" rel="bookmark">(X)HTML DOCTYPE</a></h3><p>Declare a DOCTYPE. The DOCTYPE goes before the opening html tag at the top of the page and tells the browser whether the page contains ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/disable-autorun/" rel="bookmark">Disable Autorun</a></h3><p>Operating system such as Microsoft Windows has the autorun enabled by default. When you try to connect external drives from your computer this usually prompts ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.icpep.org/gpick-a-color-picker-for-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maintain Your Ubuntu Machine</title>
		<link>http://www.icpep.org/maintain-your-ubuntu-machine/</link>
		<comments>http://www.icpep.org/maintain-your-ubuntu-machine/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 04:09:09 +0000</pubDate>
		<dc:creator>paparts</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.icpep.org/?p=1469</guid>
		<description><![CDATA[image from www.qortuba.org These are some of the tools and commands I use to clean up my ubuntu powered laptop. Cleaning Downloaded and Uninstalled Packages and Dependencies As what I have observed in using ubuntu, most packages are not ready after installation though most of the applications can be downloaded freely from the internet. Just like windows os we need to download packages from trusted sources, and for ubuntu we have the synaptic package manager which helps us which applications [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><img src="http://www.icpep.org/wp-content/uploads/2011/11/ubuntu-200x300.png" alt="ubuntu" title="ubuntu" width="200" height="300" class="aligncenter size-medium wp-image-1470" /><br />
<center><i>image from www.qortuba.org</i></center>
</p>
<p align="justify">These are some of the tools and commands I use to clean up my <strong>ubuntu</strong> powered laptop.</p>
<h3><u>Cleaning Downloaded and Uninstalled Packages and Dependencies</u></h3>
<p align="justify">
As what I have observed in using ubuntu, most packages are not ready after installation though most of the applications can be downloaded freely from the internet.  Just like windows os we need to download packages from trusted sources, and for ubuntu we have the synaptic package manager which helps us which applications are available for our use. </p>
<p align="justify">
<strong>debfoster</strong>.  After installing a lot of packages it would be difficult for us to track which packages we installed. This application will help us track on the applications we installed on our machine. Before installing any applications you need to install this application first.  debfoster can be downloaded on the synaptic package manager for free or we can use the following commands to install it via cli:</p>
<h3>debfoster</h3>
</p>
<div id="code">
sudo apt-get install debfoster
</div>
<p>After the installation, we need to create the initial keeper file:</p>
<div id="code">
sudo debfoster -q
</div>
<p>After creating the keeper file we need to force the system to conform to the keeper file</p>
<div id="code">sudo debfoster -f</div>
</p>
<p>After that debfoster will keep track of your installed applications.  If you want an application to be not included on any uninstallation you can edit the keeper file:</p>
<div id="code">
gksu gedit /var/lib/debfoster/keepers
</div>
<p>If you needed to check which packages and dependencies that needs to be removed you can use:</p>
<div id="code">sudo debfoster</div>
</p>
<p>&nbsp;</p>
<p align="justfiy">
<strong>gtkorphan</strong>. This application is used to remove orphaned packages.  Orphan packages are packages that is no longer being maintained by a developer.  Keeping orphaned packages can be a pain in the head especially when there are less support.  To remove the packages we can install this application using:
</p>
<div id="code">sudo apt-get install gtkorphan</div>
<p align="justify">The application is very easy to use because it has a GUI as seen on the image below:
</p>
<p align="center">
<img src="http://www.icpep.org/wp-content/uploads/2011/11/Screenshot-233x300.png" alt="GtkOrphan" title="GtkOrphan" width="233" height="300" class="aligncenter size-medium wp-image-1474" /></p>
<p align="justify">
After installing you can navigate to <span style="background:#D9D4CC;">System-> Administration-> Removed Orphaned package</span>.  It will show you the orphaned packages, you can check the box for the packages you want to remove.
</p>
<p align="justify">After installing and uninstalling packages there could be a lot of dependencies and packages that is no longer in use.  You can use the following commands to remove unused files.</p>
<p>To remove any partial packages use the command: </p>
<div id="code">sudo apt-get autoclean</div>
</p>
<p>To clean apt cache use the command: </p>
<div id="code">sudo apt-get clean</div>
</p>
<p>To remove unused dependencies:</p>
<div id="code">sudo apt-get autoremove</div>
</p>
<p align="justify">
If you are not using the application, it&#8217;s better to uninstall it.  To uninstall you can always use the synaptic package manager to completely remove unwanted packages.  If not you can use the following commands:</p>
<div id="code">sudo apt-get autoremove <application -name></application></div>
<p>where application-name is the application you want to remove.  If not you can use this command:</p>
<div id="code">sudo dpkg -r &lt;application -name&gt;</div>
<p>but it is not always recommended to use this command in uninstalling any packages.</p>
<div id="seo_alrp_related"><h2>Posts Related to Maintain Your Ubuntu Machine</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/slackware-php-gd-error/" rel="bookmark">Slackware PHP GD Error</a></h3><p>In the past months I was able to handle a LAMP server, this is my second time to handle a UNIX based web server but ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/packet-tracer-on-ubuntu/" rel="bookmark">Packet Tracer on Ubuntu amd64 10.10</a></h3><p>Cisco's Packet Tracer is one of my most wanted application when I was using Windows.  When you login to your account in cisco you can ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/laptop-tv-tuner/" rel="bookmark">Laptop TV Tuner</a></h3><p>Do you want to see your favorite TV show anywhere? anytime? This is not like any  Direct TV System or Dish Networks this is something ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/backtrack-5-bug-fix/" rel="bookmark">Backtrack 5 Bug Fix</a></h3><p>I switched my ubuntu Oneiric to bactrack 5 Gnome and try out the new tools I wanted to use. Lately I thought everything will be ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/installing-photoshop-on-ubuntu-10-10/" rel="bookmark">Installing Photoshop on Ubuntu 10.10</a></h3><p>I am now a full Linux user and the distro I used is Ubuntu version 10.10.  Maybe most of my posts will be ubuntu tweaks ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.icpep.org/maintain-your-ubuntu-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brute Force SSH</title>
		<link>http://www.icpep.org/brute-force-ssh/</link>
		<comments>http://www.icpep.org/brute-force-ssh/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 22:11:02 +0000</pubDate>
		<dc:creator>paparts</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Backtrack]]></category>
		<category><![CDATA[Linux Tool]]></category>

		<guid isPermaLink="false">http://www.icpep.org/?p=1454</guid>
		<description><![CDATA[One of the tools I like to use to test servers is bruteforceSSH.  Though most systems today can already detect bruteforce attacks some lazy system administrators and outdated networks can be penetrated. If you have no password list you can use the darcode password list that goes with backtrack 5.  This is no longer used in the latest version of backtrack because there is already a much powerful tool that supports different protocol password attacks which is xHydra.  This tool [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><img class="aligncenter" title="SSH" src="http://www.icpep.org/wp-content/uploads/2011/11/1322257959_guake.png" alt="SSH" width="128" height="128" /></p>
<p style="text-align: justify;">One of the tools I like to use to test servers is <a title="bruteforce ssh" href="http://www.icpep.org/downloads/brutessh.zip" target="_blank">bruteforceSSH</a>.  Though most systems today can already detect bruteforce attacks some lazy system administrators and outdated networks can be penetrated.  If you have no password list you can use the darcode password list that goes with backtrack 5.  This is no longer used in the latest version of backtrack because there is already a much powerful tool that supports different protocol password attacks which is xHydra.  This tool comes with a GUI, you can also use the console mode in pentesting a system.  I&#8217;m using bruteforce for fun, I haven&#8217;t tried it in the previous versions of backtrack because I&#8217;ve just been with the &#8220;infoSec&#8221;  for months.</p>
<div id="seo_alrp_related"><h2>Posts Related to Brute Force SSH</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/mysql-reset-root-password/" rel="bookmark">MySQL Reset Root Password</a></h3><p>My friend forgot his mysql password and the database needs to be accessed by the root user.  My friend is running MySQL 5.1 and as ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/backtrack-5-bug-fix/" rel="bookmark">Backtrack 5 Bug Fix</a></h3><p>I switched my ubuntu Oneiric to bactrack 5 Gnome and try out the new tools I wanted to use. Lately I thought everything will be ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/super-antispyware-mitm-update/" rel="bookmark">Super AntiSpyware MITM Update</a></h3><p>Super Antispyware is one of the utility tools I use for our XP computers at home. From time to time I use this machines for ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/chrome-on-backtrack-5/" rel="bookmark">Chrome On Backtrack 5 and VLC</a></h3><p>image taken www.nightlion.net Chromium, google's browser is one of the fastest browser.  Since I started using chrome, I have a hard time going back to ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/filezilla-saved-passwords/" rel="bookmark">Filezilla Saved Passwords</a></h3><p>Filezilla is an FTP Client used for transferring files from one host to the other or is used to exchange and manipulate files over a ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.icpep.org/brute-force-ssh/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Thunderbird Profile On Windows and Linux</title>
		<link>http://www.icpep.org/thunderbird-profile-on-windows-and-linux/</link>
		<comments>http://www.icpep.org/thunderbird-profile-on-windows-and-linux/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 15:53:33 +0000</pubDate>
		<dc:creator>paparts</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Linux How To's]]></category>

		<guid isPermaLink="false">http://www.icpep.org/?p=1436</guid>
		<description><![CDATA[I dual booted both Windows 7 and Backtrack 5 on my Laptop and a problem starts when I used thunderbird on Backtrack Linux because all my mails are on my windows OS. Based on what I know, Thunderbird creates a profile during my first run of thunderbird on windows. Everything is stored in that folder (accounts, mails, extensions, etc.). In linux, I know that thunderbird does the same thing. What I wanted to do was to use only one profile [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><img src="http://www.icpep.org/wp-content/uploads/2011/11/1321628521_ThunderBird-Box-v2.png" alt="ThunderBird " title="ThunderBird " width="128" height="128" class="aligncenter size-full wp-image-1437" /></p>
<p align="justify">
I dual booted both Windows 7 and Backtrack 5 on my Laptop and a problem starts when I used thunderbird on Backtrack Linux because all my mails are on my windows OS. Based on what I know, Thunderbird creates a profile during my first run of thunderbird on windows.  Everything is stored in that folder (accounts, mails, extensions, etc.).  In linux, I know that thunderbird does the same thing.  What I wanted to do was to use only one profile for both OS so that I won&#8217;t consume more disk space just by copying all mails on windows to linux.
</p>
<p align="justify">
If you are caught in the same situation, here is what I did to solve the problem.
</p>
<p align="justify">
<ol>
<li>
After installing thunderbird on Backtrack open it but don&#8217;t add your email accounts, this is done to create the needed files and folders where thunderbird store the data.  Close thunderbird after opening it.
</li>
<li>
Locate your thunderbird profile folder on windows(<span style="background:#f4f4f4;">&nbsp;<i>/media/disk/Documents and Settings/icpep/Application Data/Thunderbird/Profiles/1yfn577a.default</i>&nbsp;</span>).
</li>
<li>
Locate your profile folder on linux (<span style="background:#f4f4f4;"><i>&nbsp;/root/.mozilla-thunderbird/</i>&nbsp;</span>)
</li>
<li>
Create a symbolic link of your windows profile page to your linux profile page, the command is: </p>
<div style="border-top: 1px; border-bottom: 1px; border-color: #ccc; border-style: solid; background: #f4f4f4; padding: 1px 10px;">
ln -s &#8220;/media/disk/Documents and Settings/icpep/Application Data/Thunderbird/Profiles/1yfn577a.default&#8221; &nbsp;&nbsp;&#8221;/root/.mozilla-thunderbird/&#8221;
</div>
<p>
Do not forget the double quotes
</li>
<li>
After creating the symbolic link, open the <span background="background:#f4f4f4"> &nbsp; <i>profiles.ini</i>&nbsp;</span> file<br />
and edit the line <span background="background:#f4f4f4">path</span> to the created symbolic link.</li>
<p>  Example of the line is shown below:</p>
<div style="border-top: 1px; border-bottom: 1px; border-color: #ccc; border-style: solid; background: #f4f4f4; padding: 1px 10px;">
Path=1yfn577a.default
</div>
</ol>
<p> After changing the path you can now open thunderbird and should see everything like that of windows thunderbird.</p>
<div id="seo_alrp_related"><h2>Posts Related to Thunderbird Profile On Windows and Linux</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/4-thunderbird-add-ons/" rel="bookmark">4 Thunderbird Add-ons</a></h3><p>I am a great fan and a user of mozilla thunderbird. I have used different mail clients like microsoft outlook, opera mail, zimbra mail client, ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/thunderbird-on-tray/" rel="bookmark">Thunderbird on Tray</a></h3><p>Thunderbird, a free mail client software has a new version which is version 3.O that comes with a lot of new features and one of ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/thunderbird-to-outlook/" rel="bookmark">Thunderbird To Outlook</a></h3><p>I have successfully exported Thunderbird email files on ms outlook 2007 on a Windows XP platform which can also be done in windows vista and windows 7 platform. ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/thunderbird-minimize-to-tray/" rel="bookmark">Thunderbird Minimize to Tray</a></h3><p>For version 3.O " One of the most favorable software for mail clients is Mozilla Thunderbird. It is a free software which can be downloaded ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.icpep.org/packet-tracer-on-ubuntu/" rel="bookmark">Packet Tracer on Ubuntu amd64 10.10</a></h3><p>Cisco's Packet Tracer is one of my most wanted application when I was using Windows.  When you login to your account in cisco you can ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.icpep.org/thunderbird-profile-on-windows-and-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

