<?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>OceansGem</title>
	<atom:link href="http://oceansgem.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://oceansgem.com</link>
	<description></description>
	<lastBuildDate>Sun, 29 Mar 2009 05:11:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Set up named virtual host with apache and enable SELinux access for the directory</title>
		<link>http://oceansgem.com/?p=21</link>
		<comments>http://oceansgem.com/?p=21#comments</comments>
		<pubDate>Wed, 15 Oct 2008 00:16:29 +0000</pubDate>
		<dc:creator>Bhupesh</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[chcon]]></category>
		<category><![CDATA[httpd_user_content_t]]></category>
		<category><![CDATA[selinux]]></category>
		<category><![CDATA[virtual host]]></category>

		<guid isPermaLink="false">http://www.oceansgem.com/?p=21</guid>
		<description><![CDATA[





While working on different website projects on localhost, I found it very difficult to manage the sites in single document root. Even it requires to remember and type long urls in browser. So I decided to setup virtual servers for each projects, it is very convenient when we, as web developers, have virtual server dedicated [...]]]></description>
			<content:encoded><![CDATA[<div class="topContent">
<div class="awppost">
<div class="awppage">
<div class="topContent">
<div class="awppost">
<div class="awppage">
<p>While working on different website projects on localhost, I found it very difficult to manage the sites in single document root. Even it requires to remember and type long urls in browser. So I decided to setup virtual servers for each projects, it is very convenient when we, as web developers, have virtual server dedicated to each project we are working on. We don’nt need to remember the long urls for project, the project files dont get messed, we can put those wherever we want even on windows partitions. Hence, we get the improved manageability.</p>
<p>Fedora 9 has apache configuration directory in /etc/httpd. The main configuration file httpd.conf is in conf direcory. Other include files are in conf.d directory. We will configure vhost.conf file in conf.d directory, if this file is not there, create one. I will assume that the project directory named webproj1 is in home directory of user. Copy the following code in vhost.conf file.</p>
<pre>NameVirtualHost 127.0.0.1

&lt;VirtualHost 127.0.0.1&gt;
DocumentRoot /home/user/webproj1
ServerName webproj1.localhost
   DirectoryIndex index.php
   &lt;Directory "/home/user/webproj1"&gt;
      AllowOverride All
      Allow from All
   &lt;/Directory&gt;
&lt;/VirtualHost&gt;</pre>
<p>Make sure that the following line in httpd.conf is not commented. It will automatically include and load configurations from our vhost.conf file.</p>
<pre>Include conf.d/*.conf</pre>
<p>Now restart apache server. Run the following command as root to restart httpd.</p>
<pre>/etc/init.d/httpd restart</pre>
<p>While restarting httpd, selinux will prevent httpd to  access webproj1 folder. To allow access to webpro1 folder, use chcon command as root.</p>
<pre>chcon -t httpd_user_content_t webproj1/</pre>
<p>Now again restart apache server and the virtual server should be available at 127.0.0.1.</p></div>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://oceansgem.com/?feed=rss2&amp;p=21</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why I switched to fedora 9 and GNOME?</title>
		<link>http://oceansgem.com/?p=19</link>
		<comments>http://oceansgem.com/?p=19#comments</comments>
		<pubDate>Wed, 01 Oct 2008 03:00:26 +0000</pubDate>
		<dc:creator>Bhupesh</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensuse]]></category>

		<guid isPermaLink="false">http://www.oceansgem.com/?p=19</guid>
		<description><![CDATA[








I have tried a lot more distros counting more than 2 dozen. I never liked any distro as much as opensuse. I was using opensuse since version 10, and kept myself updated until version 10.3. I made decision to change to opensuse 11 when it was released, but for the first time I didnt like [...]]]></description>
			<content:encoded><![CDATA[<div class="topContent">
<div class="topContent">
<div class="awppost">
<div class="awppage">
<div class="topContent">
<div class="topContent">
<div class="awppost">
<div class="awppage">
<div class="topContent">
<p>I have tried a lot more distros counting more than 2 dozen. I never liked any distro as much as opensuse. I was using opensuse since version 10, and kept myself updated until version 10.3. I made decision to change to opensuse 11 when it was released, but for the first time I didnt like the opensuse 11. It never looked as polished as its predecessors. I still don’t know why wireless doesn’t work on my laptop with Intel wireless 3945 chipset. I thought may be some problem with 3945 drivers and tried it on other laptop with broadcom chipset. The situation remains the same. And I didn’t have enough time to figure out the problem and resolve it. So I just switched back to opensuse 10.3 and still distribution remains the same. Impression of KDE and ease of use, flexibility and configurability it provided was way more than gnome.</p>
<p>The story changes when I decided to try fedora 9, despite the fact that I had tried all fedora versions and it never seemed as usable and easy as opensuse, it didnt have many repositories compared to those for opensuse. But this time things were about to change and infact it did. I installed fedora 9, configured livna repository, figured out quickly that /sbin is not included in user environment path. And was able to install Nvidia proprietary drivers with ease. Installing compiz-fusion and make it work was a breeze. Livna has enough packages if not many for normal day to day life computer use and an amazing stability with single feature kept in mind to work. For example, nvidia drivers had worked like charm on opensuse but nvidia-settings. Laptop LCD brightness couldn’t be controlled by software resulting in less efficient powermanager.</p>
<p>Fedora just changed the situation, nvidia-settings worked everytime I wished and LCD brightness is controlled by software <img src='http://oceansgem.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . SELinux is enabled by default making it more secure and yet easy to configure to allow access by providing the command in SELinux denial messages. I always wanted to have latest kernel, not only the security fix but feature updates as well which was a bit difficult in opensuse. Once I tried to update the kernel from KOTD repo but it had a lot of dependancy problem. The fedora 9 provided me kernel update from 2.6.25 to 2.6.26 which again caused me to love it.</p>
<p>It was obvious to me that the motto “Just Works” of fedora 9 was “just working” and it was more polished than my long loved opensuse.</p>
<p>I am still emotionally attached to opensuse and I’ll try opensuse 11.1 when it gets released. But now the view has changed and Fedora has special 15GB space in my laptop 2.5″ SCSI Seagate 120 GB HDD and will remain there for now.</p></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://oceansgem.com/?feed=rss2&amp;p=19</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Essential Fedora 9</title>
		<link>http://oceansgem.com/?p=14</link>
		<comments>http://oceansgem.com/?p=14#comments</comments>
		<pubDate>Sun, 14 Sep 2008 03:20:23 +0000</pubDate>
		<dc:creator>Bhupesh</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[compiz]]></category>
		<category><![CDATA[fedora 9]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nvidia]]></category>

		<guid isPermaLink="false">http://www.oceansgem.com/?p=14</guid>
		<description><![CDATA[Fedora 9 codenamed &#8217;sulphur&#8217; gives an astonishing impression at first sight. New nice and elegant GDM and default GNOME theme WAVES gives a refreshing feel. It continues the feature of changing with the day-light.
Fedora 9 has a very good hardware support, it detected everything except &#8216;Conexant modem&#8217; which is acceptable as it has commercial driver [...]]]></description>
			<content:encoded><![CDATA[<p>Fedora 9 codenamed &#8217;sulphur&#8217; gives an astonishing impression at first sight. New nice and elegant GDM and default GNOME theme WAVES gives a refreshing feel. It continues the feature of changing with the day-light.</p>
<p>Fedora 9 has a very good hardware support, it detected everything except &#8216;Conexant modem&#8217; which is acceptable as it has commercial driver developed by <a title="Linuxant" href="http://www.linuxant.com/company/">linuxant.com</a>. But it will need proprietory drivers for nvidia and ati graphics cards. So lets start making it more &#8220;<em>USABLE</em>&#8221; !! <img src='http://oceansgem.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span style="underline;"><strong>Add repositories:</strong></span></p>
<p>Very first repo I add is the <a title="Livna repo page" href="http://rpm.livna.org/rlowiki/">livna</a> repo.<br />
execute the following commands and you&#8217;ll have working livna repo.</p>
<pre>su
Password:
yum install livna-release</pre>
<p>More repositories I add are, google and play-on-linux. For google repo just make a text file, say google.repo add the following text to it</p>
<pre>[google]
name=Google - i386
baseurl=http://dl.google.com/linux/rpm/stable/i386
enabled=1
gpgcheck=1</pre>
<p>copy this file to /etc/yum.repos.d/</p>
<p>for playonlinux repo, download the repo configuration rpm from <a title="PlayOnLinux repo" href="http://www.mulx.net/rpm/playonlinux-yum-3-1.noarch.rpm">http://www.mulx.net/rpm/playonlinux-yum-3-1.noarch.rpm</a> and install with rpm command as root.</p>
<pre>rpm -ivh playonlinux-yum-[version number].noarch.rpm</pre>
<p>Next turn for adobe repository. Run the following yum command as root.</p>
<pre>yum install adobe-release</pre>
<p>Now time to update the whole system. The fedora&#8217;s core packages which are bundled on CD/DVD are most likely updated in repository since the initial release. So to be safe just update the fedora system.</p>
<pre>yum -y update</pre>
<p><span style="underline;"><strong>Proprietory 3D accelerated drivers for Nvidia and ati:</strong></span></p>
<p>Time to install proprietory drivers for nvidia. Livna does have proprietory drivers for nvidia but there is an alternative way also by downloading the drivers from nvidia website and installing manually. If you prefer livna&#8217;s precompiled drivers just install akmod-nvidia and xorg-x11-drv-nvidia</p>
<p>yum install akmod-nvidia xorg-x11-drv-nvidia</p>
<p>Or go to nVIDIA driver download page and download the binary driver package. <a title="Nvidia driver download" href="http://www.nvidia.com/Download/index.aspx?lang=en-us">http://www.nvidia.com/Download/index.aspx?lang=en-us</a>. To install this driver go to virtual console by pressing CTRL+ALT+F1, login as root and switch to runlevel 3 by executing</p>
<pre>/sbin/init 3</pre>
<p>Now navigate to nvidia driver&#8217;s directory and execute</p>
<pre>sh NVIDIA-Linux-x86-177.80-pkg1.run</pre>
<p>The nvidia driver installer will take care of the rest after asking some basic questions. Once the drivers are installed, execute</p>
<pre>/sbin/init 5</pre>
<p>and fedora now should have working nvidia proprietory drivers. <img src='http://oceansgem.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://oceansgem.com/?feed=rss2&amp;p=14</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Post</title>
		<link>http://oceansgem.com/?p=16</link>
		<comments>http://oceansgem.com/?p=16#comments</comments>
		<pubDate>Wed, 10 Sep 2008 03:39:38 +0000</pubDate>
		<dc:creator>Bhupesh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.oceansgem.com/?p=16</guid>
		<description><![CDATA[Hi,
This is very first post on my blog powered by wordpress. I hope people will be benefited by sharing of my knowledge and experiences encountered during daily usage of computer and my enthusiasm for opensource.
-Bhupesh
]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>This is very first post on my blog powered by wordpress. I hope people will be benefited by sharing of my knowledge and experiences encountered during daily usage of computer and my enthusiasm for opensource.</p>
<p>-Bhupesh</p>
]]></content:encoded>
			<wfw:commentRss>http://oceansgem.com/?feed=rss2&amp;p=16</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
