<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Every Flavour Beans(~moved~)</title>
	<atom:link href="http://tabreziqbal.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tabreziqbal.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 27 May 2011 21:32:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tabreziqbal.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Every Flavour Beans(~moved~)</title>
		<link>http://tabreziqbal.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tabreziqbal.wordpress.com/osd.xml" title="Every Flavour Beans(~moved~)" />
	<atom:link rel='hub' href='http://tabreziqbal.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Moved To A New Location</title>
		<link>http://tabreziqbal.wordpress.com/2006/04/30/moved-to-a-new-location/</link>
		<comments>http://tabreziqbal.wordpress.com/2006/04/30/moved-to-a-new-location/#comments</comments>
		<pubDate>Sun, 30 Apr 2006 16:57:53 +0000</pubDate>
		<dc:creator>tabreziqbal</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">https://tabreziqbal.wordpress.com/2006/04/30/moved-to-a-new-location/</guid>
		<description><![CDATA[I have moved this wordpress.com blog to a new location powered by the same WordPress software from the wordpress.org website. Had to toil a bit to move the posts, comments and all that and get everything start working again. I will share my experiences, and the reasons for moving from here in the first place, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=21&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have moved this wordpress.com blog to a <a href="http://beans.seartipy.com/" title="New Location for this Blog">new location</a> powered by the same <b>WordPress</b> software from the <a href="wordpress.org" title="Wordpress.org website">wordpress.org</a> website. Had to toil a bit to move the posts, comments and all that and get everything start working again. I will share my experiences, and the <a href="http://beans.seartipy.com/2006/05/01/why-i-moved-my-blog-from-wordpresscom/">reasons for moving</a> from here in the first place, at the new location:</p>
<p><a href="http://beans.seartipy.com/">http://beans.seartipy.com</a> </p>
<p>Please update your bookmarks!</p>
<p>(I do plan to keep posting here for some more time, not frequently though, just to test out any new features introduced by wordpress.com)&nbsp;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tabreziqbal.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tabreziqbal.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tabreziqbal.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tabreziqbal.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tabreziqbal.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tabreziqbal.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tabreziqbal.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tabreziqbal.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tabreziqbal.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tabreziqbal.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tabreziqbal.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tabreziqbal.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tabreziqbal.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tabreziqbal.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tabreziqbal.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tabreziqbal.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=21&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tabreziqbal.wordpress.com/2006/04/30/moved-to-a-new-location/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08c57c6b00055e4a8d921228d24c3c62?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tabreziqbal</media:title>
		</media:content>
	</item>
		<item>
		<title>Apache + PHP + MySQL on Gentoo</title>
		<link>http://tabreziqbal.wordpress.com/2006/04/18/apache-php-mysql-on-gentoo/</link>
		<comments>http://tabreziqbal.wordpress.com/2006/04/18/apache-php-mysql-on-gentoo/#comments</comments>
		<pubDate>Tue, 18 Apr 2006 12:47:20 +0000</pubDate>
		<dc:creator>tabreziqbal</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">https://tabreziqbal.wordpress.com/2006/04/18/apache-php-mysql-on-gentoo/</guid>
		<description><![CDATA[This blog is moved to the new location: beans.seartipy.com You can read the same article at its new location: Apache + PHP + MySQL on Gentoo Most of the today&#8217;s web applications need the combo of Apache, PHP and MySQL packages to be first installed on the system. Installing these software on a Gentoo system [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=20&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This blog is moved to the new location: <a href="http://beans.seartipy.com/">beans.seartipy.com</a></p>
<p>You can read the same article at its new location: <a href="http://beans.seartipy.com/2006/04/18/apache-php-mysql-on-gentoo/" rel="bookmark">Apache + PHP + MySQL on Gentoo</a></p>
<p>Most of the today&#8217;s web applications need the combo of <b>Apache</b>, <b>PHP</b> and <b>MySQL</b> packages to be first installed on the system. Installing these software on a Gentoo system should be a straightforward process. Below is the complete procedure.</p>
<p>First add <i>apache2</i> and <i>mysql</i> to the USE flag in the <i>/etc/make.conf</i> file:</p>
<p>$ <b>emacs -nw /etc/make.conf</b></p>
<blockquote><p>USE=&#8221;gtk gnome qt kde dvd alsa cdr hal howl imap maildir <b>mysql apache2</b>&#8220;</p></blockquote>
<p>emerge the apache package:</p>
<p>$ <b>emerge apache</b><br />
$ <b>/etc/init.d/apache2 start</b><br />
$ <b>rc-update add apache2 default</b></p>
<p>Test the installation by accessing the url <i>http://localhost/</i> from a web browser. If you get a welcome message from apache, the installation is complete. More info <a href="http://gentoo-wiki.com/Index:Apache2">here.</a></p>
<p>Now emerge PHP4 and the mod_php module for apache:</p>
<p>$ <b>emerge dev-php/php mod_php</b></p>
<p>Add the configuration directive(-D PHP4) to <i>/etc/conf.d/apache2</i> file and restart the apache web server:</p>
<blockquote><p>APACHE2_OPTS=&#8221;-D DEFAULT_HOST <b>-D PHP4</b>&#8220;</p></blockquote>
<p>$ <b>/etc/init.d/apache2 restart</b></p>
<p>Create a sample php script in the directory <b><i>/</i>var/www/localhost/htdocs</b> with the following contents and access it from the web browser to test the php installation:</p>
<blockquote><p>&lt;?php<br />
phpinfo();<br />
?&gt;</p></blockquote>
<p>If you see a lot of information displayed about the version of PHP and other related things then PHP is installed and properly configured with the apache web server. Installation of PHP5 is also similar but be warned that still a lot of software runs only on PHP4(Eg: <b>phpBB</b> Bulletin Software). With a little bit of effort you can also run <a href="http://gentoo-wiki.com/HOWTO_PHP4_and_PHP5_Simultaneously">both PHP4 and PHP5</a> on the same system side by side.</p>
<p><u>Install MySQL and all the related tools:</u></p>
<p>Add the following lines to the <i>/etc/portage/package.keywords</i> file:</p>
<blockquote><p>&gt;=dev-db/mysql-administrator-1.1.5 ~x86<br />
&gt;=dev-db/mysql-query-browser-1.1.17 ~x86<br />
&gt;=dev-cpp/gtkmm-2.8 ~x86<br />
&gt;=dev-cpp glibmm-2.7 ~x86</p></blockquote>
<p>$ <b>emerge mysql mysql-administrator mysql-query-browser</b><br />
$ <b>emerge &#8211;config mysql-4.1.14</b><br />
$ <b>/etc/init.d/mysql start</b></p>
<p>Set a root password for mysql server when prompted by the <i>&#8216;emerge &#8211;config&#8217;</i> command. You can administer the mysql server by using either the command line tools or using the graphical tool <b>mysql-adminstrator.</b> Similarly, the command line client <b>mysql</b> can be used to create and view the database schemas or the graphical tool <b>mysql-query-browser</b> can be used. I recommed you give these two graphical applications a try.</p>
<p>Other databases, like <b>PostgreSQL</b>, can be used instead of MySQL whenever the applications support it, but a majority of the applications support only the MySQL database. <b>WordPress</b> for example doesn&#8217;t support PostgreSQL.</p>
<pre></pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tabreziqbal.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tabreziqbal.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tabreziqbal.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tabreziqbal.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tabreziqbal.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tabreziqbal.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tabreziqbal.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tabreziqbal.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tabreziqbal.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tabreziqbal.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tabreziqbal.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tabreziqbal.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tabreziqbal.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tabreziqbal.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tabreziqbal.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tabreziqbal.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=20&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tabreziqbal.wordpress.com/2006/04/18/apache-php-mysql-on-gentoo/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08c57c6b00055e4a8d921228d24c3c62?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tabreziqbal</media:title>
		</media:content>
	</item>
		<item>
		<title>A NFS Story on Gentoo</title>
		<link>http://tabreziqbal.wordpress.com/2006/04/13/a-nfs-story-on-gentoo/</link>
		<comments>http://tabreziqbal.wordpress.com/2006/04/13/a-nfs-story-on-gentoo/#comments</comments>
		<pubDate>Thu, 13 Apr 2006 09:09:15 +0000</pubDate>
		<dc:creator>tabreziqbal</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">https://tabreziqbal.wordpress.com/2006/04/13/a-nfs-story-on-gentoo/</guid>
		<description><![CDATA[I still carry the habit of storing all the large files in my Windows partitions from my bad old Windows days. That allows me to plug any kind of device into the computer and copy the files to/from it. Gnu/Linux supports all kinds of DVD writers and Pen drives too, but my friends sometimes carry [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=19&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I still carry the habit of storing all the large files in my Windows partitions from my bad old Windows days. That allows me to plug any kind of device into the computer and copy the files to/from it. Gnu/Linux supports all kinds of DVD writers and Pen drives too, but my friends sometimes carry such wierd devices(and mp3 players) that they can be connected to a computer using the Windows operating system only. Accessing files in the Windows OS from a linux partition is a time consuming and inefficient process &#8211; I do it using the excellent tool called <a href="http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm" title="Access Linux partitions in Windows">Explore2FS</a>, but its not an ideal tool for copying large amounts of files and directories. So it suits me well: store the files on the windows partitions and access them easily from both Windows and GNU/Linux(by using a simple <i>mount</i> command).</p>
<p>When I discovered that my old <b>Debian Sarge</b> installation was not detecting the USB port for some reason, and that its DVD-ROM has also died upon me, my only way to transfer some files to it was through the LAN. The files were contained in an ISO file on a Windows NTFS partition on a different machine. This is what I had to do to make the ISO file contents available to my USB-less, DVD-less Debian system:</p>
<p>I use <b>Gentoo</b> as my primary operating system on my personal desktop. The first job for me was to mount the local Windows partition(hda7) that contained the needed ISO file in the Gentoo filesystem.<br />
$ <b>mkdir /mnt/win_d</b><br />
$ <b>mount /dev/hda7  /mnt/win_d</b><br />
$ <b>ls /mnt/win_d/*.iso</b></p>
<p>The ISO file was visible. I tried to export the <i>/mnt/win_d</i> directory using <b>NFS</b> and then tried to mount the ISO file on the Debian system, but it didn&#39;t work out that way to me. Not in a mood to loose too much time over it, I mounted the ISO file on my Gentoo System itself and then exported this mounted directory:</p>
<p>$ <b>mkdir /mnt/myiso</b><br />
$ <b>mount -o loop /mnt/win_d/myiso.iso /mnt/myiso</b><br />
$ <b>ls /mnt/myiso</b></p>
<p>All the files contained in the ISO file were visible. The next job is to install the NFS server and the related tools if they are already not available, and then export the <i>/mnt/myiso</i> directory using it.</p>
<p>$ <b>emerge nfs-utils</b></p>
<p>Put the following line <i>/etc/exports</i>:</p>
<blockquote><p>/mnt/myiso 192.168.0.0/255.255.255.0(async, no_subtree_check, ro, no_squash_root)</p></blockquote>
<p>I have specified a range of IP addresses to export the directory to all the machines within the subnet. Only one IP address or a different IP address range can also specified there. Note that there should be NO space between the IP address/IP address range and the opening paranthesis that follows it. To learn more about the different options and their meanings that can be specified in the line, head on to <a href="http://gentoo-wiki.com/HOWTO_Share_Directories_via_NFS#Options" title="NFS export options">this</a>.</p>
<p>Start the <i>nfs</i> and <i>portmap</i> daemons and add them to the default runlevel(so that they start automatically at the boot time).</p>
<p>$ <b>/etc/init.d/nfs start</b><br />
$ <b>rc-update add nfs default</b><br />
$ <b>/etc/init.d/portmap start</b><br />
$ <b>rc-update add portmap default</b></p>
<p>If you ever make changes to the <i>/etc/exportfs</i> file, then export all your changes using:</p>
<p>$ <b>exportfs -ra</b><br />
$ <b>/etc/init.d/nfs reload</b><br />
$ <b>exportfs</b></p>
<p>The last command shows you all the directories that are currently exported.</p>
<p>Now go to the other machine(Debian in my case) and use a simple mount command to access the exported directory.</p>
<p>$ <b>mkdir /mnt/remote</b><br />
$ <b>mount 192.168.0.7:/mnt/myiso /mnt/remote</b><br />
$ <b>ls /mnt/remote</b></p>
<p>You should see all the files from the exported directory. The IP address above is of the host system(Gentoo in my case) which is running the <i>nfs</i> daemon. Now you can use the <i>/mnt/remote</i> directory as any other directory on the local gnu/linux system. If the exported directory were a linux partition or a Windows FAT partition, then the write options could also have been ebabled by using the <b>&quot;rw&quot;</b> option in the <i>/etc/exportfs</i> file in place of the <b>&quot;ro&quot;</b> option. The following line can be added to the <i>/etc/fstab</i> file to mount this directory automatically at the boot time:</p>
<blockquote><p>192.168.0.7:/mnt/myiso /mnt/remote nfs ro 0 0</p></blockquote>
<p>The IP address, as above, is of the host system. You may be interested in this: <a href="http://gentoo-wiki.com/HOWTO_Share_Directories_via_NFS " title="NFS in Gentoo">NFS in Gentoo</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tabreziqbal.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tabreziqbal.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tabreziqbal.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tabreziqbal.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tabreziqbal.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tabreziqbal.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tabreziqbal.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tabreziqbal.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tabreziqbal.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tabreziqbal.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tabreziqbal.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tabreziqbal.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tabreziqbal.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tabreziqbal.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tabreziqbal.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tabreziqbal.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=19&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tabreziqbal.wordpress.com/2006/04/13/a-nfs-story-on-gentoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08c57c6b00055e4a8d921228d24c3c62?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tabreziqbal</media:title>
		</media:content>
	</item>
		<item>
		<title>Direct Server to Server Copy using FXP</title>
		<link>http://tabreziqbal.wordpress.com/2006/04/09/direct-server-to-server-copy-using-fxp/</link>
		<comments>http://tabreziqbal.wordpress.com/2006/04/09/direct-server-to-server-copy-using-fxp/#comments</comments>
		<pubDate>Sun, 09 Apr 2006 09:00:21 +0000</pubDate>
		<dc:creator>tabreziqbal</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">https://tabreziqbal.wordpress.com/2006/04/09/direct-server-to-server-copy-using-fxp/</guid>
		<description><![CDATA[FTP is still the best way to upload or download the files/folders from a website. I use gFTP to upload the files to my webspace, and its quite efficient at the job. even if the connection gets interrupted in the middle of a transfer, it automatically reconnects and completes the job. it has many other [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=18&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>FTP is still the best way to upload or download the files/folders from a website. I use gFTP to upload the files to my webspace, and its quite efficient at the job. even if the connection gets interrupted in the middle of a transfer, it automatically reconnects and completes the job. it has many other useful features too. one feature that i thought was lacking in it, is the ability to move a folder from one location to the other, <em>within</em> the same server. other people had complained for its lack of abilitiy to move a file from one server to another server <em>without</em> involving the local machine in the process. though many FTP clients support such a feature(including gFTP, as i discovered later on), i started searching for a dedicated <strong>FXP</strong> client. but what is FXP? from wikipedia:</p>
<blockquote><p><a href="http://en.wikipedia.org/wiki/FXP" title="FXP">File eXchange Protocol (FXP)</a> is a method of data transfer which uses the FTP protocol to transfer data from one remote server to another without routing this data through the client&#8217;s connection.</p>
</blockquote>
<p>note that FXP transfers need relevant support on the server side too(they must support PASV mode and PORT commands) &#8211; otherwise the FXP client can&#8217;t do anything about it. to install a FXP client on <strong>Gentoo:</strong></p>
<ol>
<li> Add the following line to the file <em>/etc/portage/package.keywords</em> :<br />
&gt;=net-ftp/gtkfxp-0.5 ~x86</li>
<li> Emerge the package and run it:<br />
$ <b>emerge gtkfxp</b><br />
$ <b>gtkfxp</b></li>
</ol>
<p>click the <strong>&#8220;Connect&#8221;</strong> button on the left side and fill the settings of the first server in the popped up dialog box, then click the <strong>&#8220;Connect&#8221;</strong> button on the right side and fill out the settings of the second server. you can now start transferring the files in between these two servers without involving your local machine. you can enter the information about the same server in both the dialog boxes if you want to transfer the files within the same server. note that this software is buggy and  very crash prone. gFTP too supports FXP transfers but it is seriously lacking in the documentation. </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tabreziqbal.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tabreziqbal.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tabreziqbal.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tabreziqbal.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tabreziqbal.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tabreziqbal.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tabreziqbal.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tabreziqbal.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tabreziqbal.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tabreziqbal.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tabreziqbal.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tabreziqbal.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tabreziqbal.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tabreziqbal.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tabreziqbal.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tabreziqbal.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=18&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tabreziqbal.wordpress.com/2006/04/09/direct-server-to-server-copy-using-fxp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08c57c6b00055e4a8d921228d24c3c62?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tabreziqbal</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing C++ Boost on SuSE and Fedora</title>
		<link>http://tabreziqbal.wordpress.com/2006/04/05/installing-c-boost-on-suse-and-fedora/</link>
		<comments>http://tabreziqbal.wordpress.com/2006/04/05/installing-c-boost-on-suse-and-fedora/#comments</comments>
		<pubDate>Wed, 05 Apr 2006 14:56:02 +0000</pubDate>
		<dc:creator>tabreziqbal</dc:creator>
				<category><![CDATA[C++_Boost]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">https://tabreziqbal.wordpress.com/2006/04/05/installing-c-boost-on-suse-and-fedora/</guid>
		<description><![CDATA[C++ Boost on SuSE: its simple to install C++ Boost on a SuSE system by using its YaST package manager. Run YaST and select &#34;Software&#34; from the left pane. Now select &#34;Software Management&#34; from the right pane and search for &#34;boost&#34; using the Search box. Select the boost packages that you want to install from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=17&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><u><b>C++ Boost on SuSE:</b></u></p>
<p>its simple to install <b>C++ Boost</b> on a <b>SuSE</b> system by using its <b>YaST</b> package manager.</p>
<ol>
<li>Run YaST and select <b>&quot;Software&quot;</b> from the left pane. Now select <b>&quot;Software Management&quot;</b> from the right pane and search for <i>&quot;boost&quot;</i> using the Search box.</li>
<li>Select the boost packages that you want to install from the right pane(you atleast need <i>boost   -	1.33.0-3</i>) and press the <b>&quot;Accept&quot;</b> button.</li>
</ol>
<p>You can now <a href="http://tabreziqbal.wordpress.com/2006/03/16/how-to-test-c-boost-installation/" title="Test Boost installation">test the boost installation</a> by compiling the two programs i had mentioned in my earlier post, using the following commands:</p>
<p>$ <b>g++ -o first first.cpp</b><br />
$  <b>g++-o second second.cpp -lboost_filesystem</b></p>
<p><b><u>C++ Boost on Fedora:</u></b></p>
<p>Installing C++ Boost on <b>RedHat Fedora</b> systems is also along the same lines. first download the <a href="ftp://rpmfind.net/linux/fedora/core/development/i386/Fedora/RPMS/boost-1.33.1-5.i386.rpm">boost-1.33.1-5.i386.rpm</a>  RPM file from the internet. you can <a href="http://rpmfind.net/linux/rpm2html/search.php?query=boost" title="Different versions of Boost for Fedora">search</a> for a different version of the file if you are not using the fedora core 5 system. install it using the following command(you can directly click on the file):</p>
<p>$ <b>rpm -ivh boost-1.33.1-5.i386.rpm</b></p>
<p>you can also install it using the <b>yum</b> package manager of Fedora. test the installation just as mentioned in the case of SuSE.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tabreziqbal.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tabreziqbal.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tabreziqbal.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tabreziqbal.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tabreziqbal.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tabreziqbal.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tabreziqbal.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tabreziqbal.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tabreziqbal.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tabreziqbal.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tabreziqbal.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tabreziqbal.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tabreziqbal.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tabreziqbal.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tabreziqbal.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tabreziqbal.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=17&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tabreziqbal.wordpress.com/2006/04/05/installing-c-boost-on-suse-and-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08c57c6b00055e4a8d921228d24c3c62?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tabreziqbal</media:title>
		</media:content>
	</item>
		<item>
		<title>Java 1.5 and Eclipse in Gentoo &#8211; Part II</title>
		<link>http://tabreziqbal.wordpress.com/2006/04/01/java-15-and-eclipse-in-gentoo-part-ii/</link>
		<comments>http://tabreziqbal.wordpress.com/2006/04/01/java-15-and-eclipse-in-gentoo-part-ii/#comments</comments>
		<pubDate>Sat, 01 Apr 2006 12:48:03 +0000</pubDate>
		<dc:creator>tabreziqbal</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">https://tabreziqbal.wordpress.com/2006/04/01/java-15-and-eclipse-in-gentoo-part-ii/</guid>
		<description><![CDATA[This blog is moved to the new location: beans.seartipy.com You can read the same article at its new location: Java 1.5 and Eclipse in Gentoo &#8211; Part II my previous post discussed the installation of Java on a Gentoo system. its all well as long as you want to run the default supported version of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=16&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This blog is moved to the new location: <a href="beans.seartipy.com">beans.seartipy.com</a></p>
<p>You can read the same article at its new location: <a href="http://beans.seartipy.com/2006/04/01/java-15-and-eclipse-in-gentoo-part-ii/" rel="bookmark">Java 1.5 and Eclipse in Gentoo &#8211; Part II</a></p>
<p><!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	-->  	my <a href="http://tabreziqbal.wordpress.com/2006/03/21/java-in-gentoo/" title="Java installation on Gentoo - Part I">previous post</a> discussed the installation of Java on a Gentoo system. its all well as long as you want to run the default supported version of java on the Gentoo system &#8211; you install blackdown-jdk 1.4, Eclipse 3.0, and maybe Eclipse CDT too. but if you want to install java 1.5(Tiger), then you need to unmask the package and remember to make blackdown(or sun) jdk 1.4 as the default JVM for the system. you can keep sun jdk 1.5 as the default JVM for the <i>user</i>. the procedure is like this:</p>
<p>$ <b>java-config -L</b></p>
<p><i>[sun-jdk-1.5.0.06] &#8220;Sun JDK 1.5.0.06&#8243; (/etc/env.d/java/20sun-jdk-1.5.0.06) *<br />
[blackdown-jdk-1.4.2.03] &#8220;Blackdown JDK 1.4.2.03&#8243; (/etc/env.d/java/20blackdown-jdk-1.4.2.03)</i></p>
<p>this shows you all the installed jdks on your system. use the name as given under the brackets to set that particular jvm as your system default:</p>
<p>$ <b>java-config -S blackdown-jdk-1.4.2.03</b><br />
$ <b>/usr/sbin/env-update &amp;&amp; source /etc/profile</b></p>
<p>this sets the blackdown jdk 1.4 as the system jvm, which is the recommended option. you can set the sun jdk 5.0 as the user default jvm though:</p>
<p>$ <b>java-config -s sun-jdk-1.5.0.06</b><br />
$ <b>echo source ~/.gentoo/java-env &gt;&gt; ~./bash_profile</b><br />
$ <b>source ~/.gentoo/java-env</b></p>
<p>this sets the sun jdk 1.5 as the user jvm and it is safe this way. but don&#8217;t make 1.5 version as the default jvm for the system unless you are ready to break a lot of java applications.</p>
<p><b><u>Best way to install Java on Gentoo OS:</u></b></p>
<p>but this still is not an ideal setup from my point of view; the installed Eclipse version doesn&#8217;t support the Java 1.5 version. if you want to use the latest versions of all the java software without going through all of these hassles, then you need to install everything related to java manaully in the user home directory. this won&#8217;t affect your normal portage structure.</p>
<p>first download the latest versions of java sdk and the eclipse ide from the internet and copy them into the home directory.</p>
<p>download sun jdk 1.5.0 update 6 from <a href="https://sdlc1e.sun.com/ECom/EComActionServlet;jsessionid=6CDBE5EF3C3C28DBFBA7E0911BFE8C3B#" title="Sun Java 1.5 update 6 Download" target="_blank">here</a> and copy it into the home directory. you will have to accept the license to be able to download this. be sure to download the .bin version of the file, and not the rpm version.</p>
<p>download the latest version of the eclipes ide from <a href="http://download.eclipse.org/eclipse/downloads/" title="Eclipse Download" target="_blank">here</a> and copy it in the home directory. the latest build available currently is <a href="http://download.eclipse.org/eclipse/downloads/drops/S-3.2M5a-200602231656/download.php?dropFile=eclipse-SDK-3.2M5a-linux-gtk.tar.gz" title="Eclipse 3.2M5a" target="_blank">Eclipse 3.2M5a</a>. If you plan to use <a href="http://www.eclipse.org/downloads/download.php?file=/tools/cdt/releases/eclipse3.1/dist/3.0.2/org.eclipse.cdt-3.0.2-linux.x86.tar.gz" title="Eclipse CDT 3.0.2" target="_blank">Eclipse CDT plugin</a> to create C++ applications, then you have to be content with the <a href="http://download.eclipse.org/eclipse/downloads/drops/R-3.1.2-200601181600/download.php?dropFile=eclipse-SDK-3.1.2-linux-gtk.tar.gz" title="Eclipse 3.1.2" target="_blank">Eclipse 3.1.2 version</a>.</p>
<p>(all the above links are for the gnu/linux, 32-bit operating system. finding similar package files for 64-bit systems shouldn&#8217;t be too difficult)</p>
<p>install jdk as a normal user:</p>
<p>$ <b>chmod +x jdk_1_5_0_06-linux-i586.bin</b><br />
$ <b>./jdk_1_5_0_06-linux-i586.bin</b><br />
$ <b>tar xvzf eclipse-sdk-3,1,2-linux-gtk.tar.gz</b></p>
<p>rename the directory to which the above files are extracted to something simple, like &#8220;eclipse&#8221;.</p>
<p>now add the following lines to your user profile( eg ~/.bash_profile ):</p>
<blockquote><p><b>JDK_HOME=~/jdk1.5.0_06</b><b><br />
JAVAC=~/jdk1.5.0_06/bin/javac</b> <b>PATH=~/jdk1.5.0_06/bin:~/jdk1.5.0_06/jre/bin:~/eclipse:$PATH</b> <b>MANPATH=$MANPATH:~/~/jdk1.5.0_06/man</b><br />
<b>JAVA_HOME=~/jdk1.5.0_06</b></p></blockquote>
<p>source the profile once and start the eclipse IDE:</p>
<p>$ <b>source ~./bash_profile</b><br />
$ <b>eclipse</b></p>
<p>Go to <b>Windows</b> menu and select <b>Preferences </b>from it. Select <b>Java</b> <b>-&gt; Installed JREs</b> from the left pane and click on the <b>&#8220;Add&#8221;</b> button on the right pane. browse to and select <b>jdk1.5.0_06/jre</b> directory from your home directory. enter <b>&#8220;JDK1.5.0_06&#8243;</b> in <b>&#8220;JRE Name:&#8221;</b> field. click on <b>Java -&gt; Compiler</b> item from the left pane and select <b>&#8220;5.0&#8243;</b> from the <b>&#8220;Compiler Compliance Settings:&#8221;</b> selection list. Click <b>OK</b> button to dismiss the dialog box.</p>
<p>Now you can create java 1.5 applications on your Gentoo system using the Eclipse IDE.<br />
just extract the Eclipse CDT tar file in the eclipse folder to get the C++ support in Eclipse. (contents of &#8216;features&#8217; directory from downloaded package should go into the &#8216;features&#8217; directory in eclipse, and contents of &#8216;plugins&#8217; directory should go into the &#8216;plugins&#8217; directory in eclipse).</p>
<pre></pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tabreziqbal.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tabreziqbal.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tabreziqbal.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tabreziqbal.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tabreziqbal.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tabreziqbal.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tabreziqbal.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tabreziqbal.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tabreziqbal.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tabreziqbal.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tabreziqbal.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tabreziqbal.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tabreziqbal.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tabreziqbal.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tabreziqbal.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tabreziqbal.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=16&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tabreziqbal.wordpress.com/2006/04/01/java-15-and-eclipse-in-gentoo-part-ii/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08c57c6b00055e4a8d921228d24c3c62?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tabreziqbal</media:title>
		</media:content>
	</item>
		<item>
		<title>Java on Gentoo</title>
		<link>http://tabreziqbal.wordpress.com/2006/03/21/java-in-gentoo/</link>
		<comments>http://tabreziqbal.wordpress.com/2006/03/21/java-in-gentoo/#comments</comments>
		<pubDate>Tue, 21 Mar 2006 15:36:49 +0000</pubDate>
		<dc:creator>tabreziqbal</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">https://tabreziqbal.wordpress.com/2006/03/21/java-in-gentoo/</guid>
		<description><![CDATA[The simplest way to get started with Java development in Gentoo is to install the Blackdown JDK-1.4.2 along with the Eclipse IDE: $ emerge blackdown-jdk eclipse-sdk if you want to install the sun&#39;s version of the jdk, instead of blackdown jdk, you can get the 1.4.2 version of it using: $ emerge sun-jdk java-sdk-docs to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=15&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The simplest way to get started with Java development in <b>Gentoo</b> is to install the <b>Blackdown JDK-1.4.2</b> along with the <b>Eclipse IDE</b>:</p>
<p>$<b> emerge blackdown-jdk eclipse-sdk</b></p>
<p>if you want to install the sun&#39;s version of the jdk, instead of blackdown jdk,  you can get the <b>1.4.2</b> version of it using:</p>
<p>$ <b>emerge  sun-jdk java-sdk-docs</b></p>
<p>to install the <b>1.5</b> version of the jdk, you need to unmask it first. add the following two lines to your <i>/etc/portage/package.keywords</i> file:</p>
<blockquote><p>&gt;=dev-java/sun-jdk-1.5.0 ~x86<br />
&gt;=dev-java/java-sdk-docs-1.5.0 ~x86</p></blockquote>
<p>now do the emerge:</p>
<p>$ <b>emerge sun-jdk java-sdk-docs</b></p>
<p>you can also install both of these versions at the same time, and then make one of them as the default jdk.  if you need java support in other applications too(like web browser etc), then make sure to add the relevant keywords in the <i>/etc/portage/package.use</i> file:</p>
<blockquote><p>=dev-java/sun-jdk-1.4.2.10-r2 X alsa browserplugin doc examples jce mozilla nsplugin</p></blockquote>
<p>this also installs the documentation and the examples. change the version number if you are installing the 1.5 version of the jdk.</p>
<p>if you want to use Eclipse IDE to create C++ programs, you need the <b>eclipse-cdt</b> package. first unmask it by placing the following line in <i>/etc/portage/package.keywords</i> file:</p>
<blockquote><p>&gt;=dev-util/eclipse-cdt-2.0 ~x86</p></blockquote>
<p>now do the emerge:</p>
<p>$ <b>emerge eclipse-cdt</b></p>
<p>here is more information on installing <a href="http://tabreziqbal.wordpress.com/2006/04/01/java-15-and-eclipse-in-gentoo-part-ii/">java 1.5 and eclipse 3.x on Gentoo OS</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tabreziqbal.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tabreziqbal.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tabreziqbal.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tabreziqbal.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tabreziqbal.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tabreziqbal.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tabreziqbal.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tabreziqbal.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tabreziqbal.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tabreziqbal.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tabreziqbal.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tabreziqbal.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tabreziqbal.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tabreziqbal.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tabreziqbal.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tabreziqbal.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=15&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tabreziqbal.wordpress.com/2006/03/21/java-in-gentoo/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08c57c6b00055e4a8d921228d24c3c62?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tabreziqbal</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing C++ Boost on Slackware/Zenwalk</title>
		<link>http://tabreziqbal.wordpress.com/2006/03/20/installing-c-boost-on-slackwarezenwalk/</link>
		<comments>http://tabreziqbal.wordpress.com/2006/03/20/installing-c-boost-on-slackwarezenwalk/#comments</comments>
		<pubDate>Mon, 20 Mar 2006 07:52:17 +0000</pubDate>
		<dc:creator>tabreziqbal</dc:creator>
				<category><![CDATA[C++_Boost]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://tabreziqbal.wordpress.com/2006/03/20/installing-c-boost-on-slackwarezenwalk/</guid>
		<description><![CDATA[C++ Boost 1.33.1 on Slackware/Zenwalk: Download bjam slackware package(tgz) and boost-1_33_1 source package(tar.gz) from the sourceforge.net website: bjam for slackware c++ boost source package Save these two files in the home directory and then cd into it: $ cd $HOME Install bjam(as root): $ installpkg boost-jam-3.1.11-1-linuxx86.tgz $ export PATH=$PATH:/boost-jam-3.1.11-1-linuxx86/ Compile and install boost(as root): $ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=14&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><b>C++ Boost 1.33.1 on Slackware/Zenwalk:</b></p>
<p>Download <i>bjam slackware package</i>(tgz) and <i>boost-1_33_1 source package</i>(tar.gz) from the sourceforge.net website:<br />
<a href="http://prdownloads.sourceforge.net/boost/boost_1_33_1.tar.gz?download" title="bjam package for Slackware">bjam for slackware<br />
</a><a href="http://prdownloads.sourceforge.net/boost/boost-jam-3.1.12.tgz?download" title="C++ Boost Source Package">c++ boost source package</a></p>
<p>Save these two files in the home directory and then cd into it:</p>
<p>$ <b>cd $HOME</b></p>
<p>Install bjam(as root):</p>
<p>$ <b>installpkg boost-jam-3.1.11-1-linuxx86.tgz</b><br />
$ <b>export PATH=$PATH:/boost-jam-3.1.11-1-linuxx86/</b></p>
<p>Compile and install boost(as root):</p>
<p>$ <b>tar xjvf boost_1_33_1.tar.bz2</b><br />
$ <b>cd boost_1_33_1</b><br />
$ <b>bjam &quot;-sTOOLS=gcc&quot; install</b></p>
<p>C++ Boost is now installed. this procedure doesn&#39;t install the files in the default library paths, so compilation commands are slightly longer than they are for gentoo and debian/ubuntu:</p>
<p>$ <b>g++ -o first first.cpp -I/usr/local/include/boost-1_33_1</b><br />
$ <b>g++ -o second second.cpp -I/usr/local/include/boost-1_33_1 -L/usr/local/lib -lboost_filesystem-gcc</b></p>
<p>you can simplify this by adding the paths of boost folders to gcc environment variables:</p>
<p>$ <b>export CPLUS_INCLUDE_PATH=/usr/local/include/boost-1_33_1</b><br />
$ <b>export LIBRARY_PATH=/usr/local/lib</b></p>
<p>the compilation can now be performed using the following simple commands:</p>
<p>$ <b>g++ -o first first.cpp</b><br />
$ <b>g++ -o second second.cpp -lboost_filesystem-gcc</b></p>
<p>the two <i>&#39;export&#39;</i> commands can be added at the end of the profile file<i>(/etc/profile or $HOME/.bash_profile)</i> to avoid having to type them everytime a new shell is opened. other way to simplify the process would be to create symbolic links to boost library paths in the Slackware standard include paths, so that gcc can find them directly.<br />
<a href="http://technorati.com/tag/GNU/Linux" rel="tag"><br />
</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tabreziqbal.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tabreziqbal.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tabreziqbal.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tabreziqbal.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tabreziqbal.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tabreziqbal.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tabreziqbal.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tabreziqbal.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tabreziqbal.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tabreziqbal.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tabreziqbal.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tabreziqbal.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tabreziqbal.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tabreziqbal.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tabreziqbal.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tabreziqbal.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=14&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tabreziqbal.wordpress.com/2006/03/20/installing-c-boost-on-slackwarezenwalk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08c57c6b00055e4a8d921228d24c3c62?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tabreziqbal</media:title>
		</media:content>
	</item>
		<item>
		<title>How to test C++ Boost installation</title>
		<link>http://tabreziqbal.wordpress.com/2006/03/16/how-to-test-c-boost-installation/</link>
		<comments>http://tabreziqbal.wordpress.com/2006/03/16/how-to-test-c-boost-installation/#comments</comments>
		<pubDate>Thu, 16 Mar 2006 16:02:37 +0000</pubDate>
		<dc:creator>tabreziqbal</dc:creator>
				<category><![CDATA[C++_Boost]]></category>

		<guid isPermaLink="false">https://tabreziqbal.wordpress.com/2006/03/16/how-to-test-c-boost-installation/</guid>
		<description><![CDATA[once boost is installed on a machine, the fastest way to test the installation is to use some of the libraries from it in test C++ programs, and then try to build them. the following two programs can be used for this purpose: first.cpp #include&#60;iostream&#62; #include&#60;boost/any.hpp&#62; int main() { boost::any a(5); a = 7.67; std::cout&#60;&#60;boost::any_cast&#60;double&#62;(a)&#60;&#60;std::endl; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=13&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>once boost is installed on a machine, the fastest way to test the installation is to use some of the libraries from it in test C++ programs, and then try to build them. the following two programs can be used for this purpose:</p>
<p align="center"><b><i>first.cpp</i></b></p>
<blockquote><p><code> </code>#include&lt;iostream&gt;<br />
#include&lt;boost/any.hpp&gt;</p>
<p>int main()<br />
{<br />
boost::any a(5);<br />
a = 7.67;<br />
std::cout&lt;&lt;boost::any_cast&lt;double&gt;(a)&lt;&lt;std::endl;<br />
}</p></blockquote>
<p>build this program using:</p>
<p>$ <b>g++ -o first first.cpp</b></p>
<p>the second example needs to be linked to a library file.</p>
<p align="center"><b><i>second.cpp</i></b></p>
<blockquote><p><code> </code>#include&lt;iostream&gt;<br />
#include&lt;boost/filesystem/operations.hpp&gt;</p>
<p>namespace bfs=boost::filesystem;<br />
int main()<br />
{<br />
bfs::path p(&quot;second.cpp&quot;);<br />
if(bfs::exists(p))<br />
std::cout&lt;&lt;p.leaf()&lt;&lt;std::endl;<br />
}</p>
<p><code> </code></p></blockquote>
<p>$ <b>g++ -o second second.cpp -lfile_system </b></p>
<p>if the above two programs build and run with out any problems, then boost is installed and working properly on your system.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tabreziqbal.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tabreziqbal.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tabreziqbal.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tabreziqbal.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tabreziqbal.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tabreziqbal.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tabreziqbal.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tabreziqbal.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tabreziqbal.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tabreziqbal.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tabreziqbal.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tabreziqbal.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tabreziqbal.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tabreziqbal.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tabreziqbal.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tabreziqbal.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=13&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tabreziqbal.wordpress.com/2006/03/16/how-to-test-c-boost-installation/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08c57c6b00055e4a8d921228d24c3c62?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tabreziqbal</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing C++ Boost on Gentoo and Debian/Ubuntu</title>
		<link>http://tabreziqbal.wordpress.com/2006/03/15/installing-c-boost-on-gentoo-and-debianubuntu/</link>
		<comments>http://tabreziqbal.wordpress.com/2006/03/15/installing-c-boost-on-gentoo-and-debianubuntu/#comments</comments>
		<pubDate>Wed, 15 Mar 2006 13:03:35 +0000</pubDate>
		<dc:creator>tabreziqbal</dc:creator>
				<category><![CDATA[C++_Boost]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">https://tabreziqbal.wordpress.com/2006/03/15//</guid>
		<description><![CDATA[C++ Boost on Gentoo: on the shell prompt, type: $ emerge boost this should install the latest version of boost available for Gentoo. Currently, the latest version of boost, version 1.33.1, is available for Gentoo. synchronise(&#39;emerge &#8211;sync&#39;) with the gentoo portage if your &#39;emerge -p boost&#39; shows an earlier version. C++ Boost on Debian/Ubuntu: $ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=12&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><b><u>C++ Boost on Gentoo:</u></b></p>
<p>on the shell prompt, type:</p>
<p>$ <b>emerge boost</b></p>
<p>this should install the latest version of boost available for Gentoo. Currently, the latest version of boost, version 1.33.1, is available for Gentoo. synchronise<i>(&#39;emerge &#8211;sync&#39;)</i> with the gentoo portage if your <i>&#39;emerge -p boost&#39;</i> shows an earlier version.</p>
<p><b><u>C++ Boost on Debian/Ubuntu:</u></b></p>
<p>$ <b>apt-get install</b> <i><b>libboost-date-time1.33.0 libboost-doc libboost-filesystem1.33.0 libboost-graph1.33.0 libboost-program-options1.33 libboost-python1.33.0 libboost-regex1.33.0 libboost-signals1.33.0 libboost-test1.33.0 libboost-thread1.22.0 </b></i></p>
<p>you can use the following simple command to install every library present in boost that matches a pattern, if you don&#39;t want to be selective about which libraries to install:</p>
<p>$ <b>apt-get install libboost.*1.33.*</b></p>
<p>once the boost package is installed, the C++ programs that make use of boost libraries can be built  simply like this:</p>
<p>$ <b>g++ -o first first.cpp </b></p>
<p>if the program needs to be linked to a library(for eg: filesystem library), then specify the name of the library using the -l switch:</p>
<p>$ <b>g++ -o second second.cpp -lboost-filesystem</b></p>
<p>will follow up with the installation procedure for Slackware and RPM based distributions.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tabreziqbal.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tabreziqbal.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tabreziqbal.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tabreziqbal.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tabreziqbal.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tabreziqbal.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tabreziqbal.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tabreziqbal.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tabreziqbal.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tabreziqbal.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tabreziqbal.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tabreziqbal.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tabreziqbal.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tabreziqbal.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tabreziqbal.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tabreziqbal.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tabreziqbal.wordpress.com&amp;blog=19995&amp;post=12&amp;subd=tabreziqbal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tabreziqbal.wordpress.com/2006/03/15/installing-c-boost-on-gentoo-and-debianubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08c57c6b00055e4a8d921228d24c3c62?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tabreziqbal</media:title>
		</media:content>
	</item>
	</channel>
</rss>
