<?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>OpenPeta &#187; Configuration</title>
	<atom:link href="http://openpeta.com/index.php/category/configuration/feed/" rel="self" type="application/rss+xml" />
	<link>http://openpeta.com</link>
	<description>Open Mind ....  Open Source ...</description>
	<lastBuildDate>Wed, 21 Jul 2010 03:20:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Ubuntu Pen Drive Read Only Problem</title>
		<link>http://openpeta.com/index.php/2010/03/ubuntu-pen-drive-read-only-problem/</link>
		<comments>http://openpeta.com/index.php/2010/03/ubuntu-pen-drive-read-only-problem/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 05:04:41 +0000</pubDate>
		<dc:creator>ANTHONIRAJ</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Linux on NoteBook PCs]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/?p=694</guid>
		<description><![CDATA[Some times Pen drive will be mounted in read only mode in Ubuntu due to virus problem.you cannot write anything into it. If you want to change the read only privilege, you can remount the pen drive. just follow these steps Insert the pen drive in Ubuntu , then find the device name root@Ubuntu:/home/anthoniraj# fdisk [...]]]></description>
			<content:encoded><![CDATA[<p>Some times Pen drive will be mounted in read only mode in Ubuntu due to virus problem.you cannot write anything into it. If you want to change the read only privilege, you can remount the pen drive. just follow these steps</p>
<ul>
<li>Insert the pen drive in Ubuntu , then find the device name</li>
</ul>
<blockquote><p>root@Ubuntu:/home/anthoniraj# <strong>fdisk -l</strong><br />
Disk /dev/sda: 120.0 GB, 120034123776 bytes<br />
255 heads, 63 sectors/track, 14593 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
Disk identifier: 0&#215;90909090</p>
<p>Device Boot      Start         End      Blocks   Id  System<br />
/dev/sda1   *           1          13      102400    7  HPFS/NTFS<br />
Partition 1 does not end on cylinder boundary.<br />
/dev/sda2              13        7650    61337600    7  HPFS/NTFS<br />
/dev/sda3            7651       11782    33190290    5  Extended<br />
/dev/sda4           11783       14594    22579200    7  HPFS/NTFS<br />
/dev/sda5            7651        8135     3895731   82  Linux swap / Solaris<br />
/dev/sda6            8136       11782    29294496   83  Linux</p>
<p>Disk /dev/sdb: 8032 MB, 8032092160 bytes<br />
131 heads, 50 sectors/track, 2395 cylinders<br />
Units = cylinders of 6550 * 512 = 3353600 bytes<br />
Disk identifier: 0&#215;00008640</p>
<p>Device Boot      Start         End      Blocks   Id  System<br />
<strong>/dev/sdb1   *           2        2396     7839744    b  W95 FAT3</strong></p>
<p><strong>In My system /dev/sdb1 is the pen drive device name</strong></p></blockquote>
<p><strong> </strong></p>
<div id="attachment_701" class="wp-caption alignright" style="width: 310px"><strong><strong><a href="http://openpeta.com/wp-content/uploads/2010/03/Screenshot2.png"><img class="size-medium wp-image-701 " title="Screenshot" src="http://www.openpeta.com/wp-content/uploads/2010/03/Screenshot-300x187.png" alt="" width="300" height="187" /></a></strong></strong><p class="wp-caption-text">Pen Drive Device Name</p></div>
<p><strong> </strong></p>
<ul>
<li>Create one folder for mounting your pen drive files</li>
</ul>
<blockquote><p><strong># mkdir /media/Antony </strong></p></blockquote>
<ul>
<li>Now Unmount the drive</li>
</ul>
<blockquote><p><strong># umount /dev/sdb1</strong></p></blockquote>
<ul>
<li> Now manually mount the device with read-write mode</li>
</ul>
<blockquote><p><strong>#mount -t vfat -o rw /dev/sda1 /media/Antony/</strong></p></blockquote>
<p>After this  steps, your pen drive privilleges will be changed to write mode.</p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2010/03/ubuntu-pen-drive-read-only-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Microsoft Core Fonts in Ubuntu</title>
		<link>http://openpeta.com/index.php/2010/03/installing-microsoft-core-fonts-in-ubuntu/</link>
		<comments>http://openpeta.com/index.php/2010/03/installing-microsoft-core-fonts-in-ubuntu/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 01:36:44 +0000</pubDate>
		<dc:creator>ANTHONIRAJ</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux on NoteBook PCs]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/?p=681</guid>
		<description><![CDATA[I dont know why all people are always using Times New Roman in  publications and standard documents. Even though lot of alternate standard fonts are available [ Nimbus New Roman , Sans , Serif], only Times New Roman is in the first place. I think this is the domination or popularity of Microsoft windows. Ok [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I dont know why all people are always using Times New Roman in  publications and standard documents. Even though lot of alternate standard fonts are available [ Nimbus New Roman , Sans , Serif], only Times New Roman is in the first place. I think this is the domination or popularity of Microsoft windows. Ok you dont bother about how to use Microsoft core fonts in linux.  we have all options in linux , only thing is that we need to find it. For installing Mscorefonts simply search in Ubuntu  synaptic package manager with &#8220;microsoft core fonts&#8221; , you can find one package &#8220;ttf-mscorefonts-installer&#8221; , just mark this package and install it.</p>
<p style="text-align: justify;"><a href="http://openpeta.com/wp-content/uploads/2010/03/Screenshot-Synaptic-Package-Manager-2.png"><img class="aligncenter size-medium wp-image-682" title="Synaptic Package Manager" src="http://www.openpeta.com/wp-content/uploads/2010/03/Screenshot-Synaptic-Package-Manager--300x153.png" alt="" width="300" height="153" /></a></p>
<p>This package allows for easy installation of the Microsoft True Type Core Fonts for the Web including:</p>
<ul>
<li>Andale Mono</li>
<li> Arial Black</li>
<li> Arial (Bold, Italic, Bold Italic)</li>
<li> Comic Sans MS (Bold)</li>
<li> Courier New (Bold, Italic, Bold Italic)</li>
<li> Georgia (Bold, Italic, Bold Italic)</li>
<li> Impact</li>
<li> Times New Roman (Bold, Italic, Bold Italic)</li>
<li> Trebuchet (Bold, Italic, Bold Italic)</li>
<li> Verdana (Bold, Italic, Bold Italic)</li>
<li> Webdings</li>
</ul>
<p>You will need an Internet connection to download these fonts if you  don&#8217;t already have them.</p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2010/03/installing-microsoft-core-fonts-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Appnr &#8211; A Web Based Debian Package Manager</title>
		<link>http://openpeta.com/index.php/2010/03/appnr-a-web-based-debian-package-manager/</link>
		<comments>http://openpeta.com/index.php/2010/03/appnr-a-web-based-debian-package-manager/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 22:56:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Softwares and EBooks]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/index.php/appnr-a-web-based-debian-package-manager/</guid>
		<description><![CDATA[Appnr is a web-based package manager that install applications on Ubuntu. This is a web interface for APT system, and the package is downloaded and installed from Ubuntu/Third-party repositories. The AptURL Protocol Handler and a web browser support are required to install packages. Steps are given here to install the apturl package [if using APT-based [...]]]></description>
			<content:encoded><![CDATA[<p>Appnr is a web-based package manager that install applications on Ubuntu. This is a web interface for APT system, and the package is downloaded and installed from Ubuntu/Third-party repositories.</p>
<p><a href="http://openpeta.com/wp-content/uploads/2010/03/ScreenshotAppnrGetUbuntuApplicationsMozillaFirefox2.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" title="Screenshot-Appnr - Get Ubuntu Applications! - Mozilla Firefox" src="http://openpeta.com/wp-content/uploads/2010/03/ScreenshotAppnrGetUbuntuApplicationsMozillaFirefox_thumb2.png" border="0" alt="Screenshot-Appnr - Get Ubuntu Applications! - Mozilla Firefox" width="244" height="126" /></a></p>
<p>The AptURL Protocol Handler and a web browser support are required to install packages. Steps are given here to install the apturl package [if using APT-based Linux system such as Ubuntu, Debian, Linux Mint, and gOS].</p>
<p><strong>Install from Synaptic Package Manager</strong></p>
<blockquote><p>Go to <em>Synaptic Package Manager</em> and find <em>apturl</em>.<br />
When you have found it check it and click on Apply Changes.</p></blockquote>
<p><strong>Install from Terminal</strong></p>
<blockquote><p><em>sudo apt-get install apturl</em></p></blockquote>
<p><strong>Enable the AptURL protocol</strong> in Web Browsers</p>
<p><strong><em>*** Firefox ***</em></strong></p>
<ul>
<li>Type in about:config in the location bar.</li>
<li>Right click, select New -&gt; String<br />
Type in network.protocol-handler.app.apt in the name of string, and type  in /usr/bin/apturl in the value.</li>
<li>One more right click, select New -&gt; String<br />
Type in network.protocol-handler.app.apt+http in the name of string, and type in /usr/bin/apturl in the value.</li>
</ul>
<p><strong><em>*** Opera ***</em></strong></p>
<ul>
<li>Open Preferences.<br />
Tools -&gt; Preferences -&gt; Advanced -&gt; Programs</li>
<li>Click “Add” button.<br />
Type in “apt” in the “Protocol” field,<br />
and type in “apturl” in the “Open with other application” field.<br />
Click “OK” button.</li>
<li>One more click “Add” button.<br />
Type in “apt+http” in the “Protocol” field,<br />
and type in “apturl” in the “Open with other application” field.<br />
Click “OK” button.</li>
</ul>
<p>After finishing your configuration , You can use <a href="http://www.appnr.com">http://www.appnr.com</a> search page to browse the package manager. This web based package browser will automatically find and install the dependency software of a given package.</p>
<p>Reference : <a href="http://www.appnr.com">http://www.appnr.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2010/03/appnr-a-web-based-debian-package-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installation of OpenLink Virtuoso Server in Ubuntu</title>
		<link>http://openpeta.com/index.php/2010/02/virtuoso/</link>
		<comments>http://openpeta.com/index.php/2010/02/virtuoso/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 19:41:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/?p=624</guid>
		<description><![CDATA[OpenLink Virtuoso is the first CROSS PLATFORM Universal Server to implement Web, File, and Database server functionality alongside Native XML Storage, and Universal Data Access Middleware, as a single server solution. OpenLink Virtuoso plays a vital role for semantic web programming, it can work as a solid SPARQL end point, which can be supported by [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify">OpenLink Virtuoso is the first CROSS PLATFORM Universal Server to implement Web, File, and Database server functionality alongside Native XML Storage, and Universal Data Access Middleware, as a single server solution. OpenLink Virtuoso plays a vital role for semantic web programming, it can work as a solid SPARQL end point, which can be supported by almost all endpoint interfaces. There are following steps to install and start OpenLink Virtuoso universal server-</p>
<p><span style="text-decoration: underline">1. Install Dependencies</span></p>
<p>To install OpenLink Virtuoso first of all following dependencies are needed-</p>
<table border="0" cellspacing="0" cellpadding="2" width="501">
<tbody>
<tr>
<td width="120" valign="top"><span style="color: #000000"><span style="line-height: normal;font-size: small">Package </span></span></td>
<td width="107" valign="top">Version</td>
<td width="272" valign="top">From</td>
</tr>
<tr>
<td width="120" valign="top"><span style="color: #000000"><span style="line-height: normal;font-size: small">autoconf </span></span></td>
<td width="107" valign="top">2.57</td>
<td width="272" valign="top">http://www.gnu.org/software/autoconf/</td>
</tr>
<tr>
<td width="120" valign="top"><span style="color: #000000"><span style="line-height: normal;font-size: small">automake </span></span></td>
<td width="107" valign="top">1.9</td>
<td width="272" valign="top">http://www.gnu.org/software/automake/</td>
</tr>
<tr>
<td width="120" valign="top"><span style="color: #000000"><span style="line-height: normal;font-size: small">libtool</span></span></td>
<td width="107" valign="top">1.5.16</td>
<td width="272" valign="top">http://www.gnu.org/software/libtool/</td>
</tr>
<tr>
<td width="120" valign="top"><span style="color: #000000"><span style="line-height: normal;font-size: small">flex </span></span></td>
<td width="107" valign="top">2.5.33</td>
<td width="272" valign="top">http://www.gnu.org/software/non-gnu/flex/</td>
</tr>
<tr>
<td width="120" valign="top"><span style="color: #000000"><span style="line-height: normal;font-size: small">bison</span></span></td>
<td width="107" valign="top">2.3</td>
<td width="272" valign="top">http://www.gnu.org/software/bison/</td>
</tr>
<tr>
<td width="120" valign="top"><span style="color: #000000"><span style="line-height: normal;font-size: small">gperf </span></span></td>
<td width="107" valign="top">2.7.2</td>
<td width="272" valign="top">http://www.gnu.org/software/gperf/</td>
</tr>
<tr>
<td width="120" valign="top"><span style="color: #000000"><span style="line-height: normal;font-size: small">gawk</span></span></td>
<td width="107" valign="top">3.1.1</td>
<td width="272" valign="top">http://www.gnu.org/software/gawk/</td>
</tr>
<tr>
<td width="120" valign="top"><span style="color: #000000"><span style="line-height: normal;font-size: small">m4 </span></span></td>
<td width="107" valign="top">1.4.1</td>
<td width="272" valign="top">http://www.gnu.org/software/m4/</td>
</tr>
<tr>
<td width="120" valign="top"><span style="color: #000000"><span style="line-height: normal;font-size: small">make </span></span></td>
<td width="107" valign="top">3.79.1</td>
<td width="272" valign="top">http://www.gnu.org/software/make/</td>
</tr>
<tr>
<td width="120" valign="top"><span style="color: #000000"><span style="line-height: normal;font-size: small">OpenSSL </span></span></td>
<td width="120" valign="top">0.9.7i</td>
<td width="273" valign="top">http://www.openssl.org/</td>
</tr>
</tbody>
</table>
<p><span style="color: #00ff00"> </span></p>
<p style="text-align: left">First of all check all the dependencies whether installed or not. (Version is important!)</p>
<p>To check the version use following sequence.</p>
<div><em> </em></p>
<p style="margin-bottom: 0cm"><span style="font-style: normal"><em> </em></span></p>
<blockquote>
<p style="margin-bottom: 0cm"><em>#autoconf &#8211;version</em></p>
<p style="margin-bottom: 0cm"><em># automake &#8211;version</em></p>
<p style="margin-bottom: 0cm"><em>#libtoolize &#8211;version</em></p>
<p style="margin-bottom: 0cm"><em>#flex &#8211;version</em></p>
<p style="margin-bottom: 0cm"><em>#bison &#8211;version</em></p>
<p style="margin-bottom: 0cm"><em>#gperf &#8211;version</em></p>
<p style="margin-bottom: 0cm"><em>#gawk &#8211;version</em></p>
<p style="margin-bottom: 0cm"><em>#m4 &#8211;version</em></p>
<p style="margin-bottom: 0cm"><em>#make &#8211;version</em></p>
<p style="margin-bottom: 0cm"><em>#openssl version</em></p>
</blockquote>
<div>
<p><em>During checking of the dependencies you will know whether they are installed or not and if not installed, for example,  you will get  something like-</em></p>
<p><em>The program &#8216;autoconf&#8217; is currently not installed.  You can install it by typing:</em></p>
<div>
<blockquote><p><em>apt-get install autoconf</em></p></blockquote>
</div>
<p><em>Then why should you wait!! install the packages using &#8220;apt-get&#8221; one by one in the sequence as checking the version.</em></p>
</div>
<div><span style="font-style: normal"><em>OR </em></span></div>
<div><span style="font-style: normal"><em>you can install these from synaptic package manager.</em></span></div>
<div><span style="font-style: normal"> </span></div>
<div><span style="font-style: normal"><em><br />
</em></span></div>
<blockquote>
<div><em>2. </em><em>run this command  apt-get install libssl-dev from your terminal</em></div>
<div><em>3. Download <span style="font-style: normal">OpenLink Virtuoso from source forge (<a href="http://sourceforge.net/projects/virtuoso/">Link</a>)</span></em></div>
<div><span style="font-style: normal"><em>4. Extract the package in any directory.</em></span></div>
<div><span style="font-style: normal"><em>5. Go to the directory where you have extracted the package.</em></span></div>
<div><em>6. It is better to run </em>autogen.sh by typing ./autogen.sh, which checks for the presence and right version of some of the required components, and if it reports any missing package then install that package.</div>
<div><em>7. Set following  environmental variable by typing (one by one)</em> -</div>
<div>CFLAGS=&#8221;-O2&#8243;<br />
export CFLAGS</div>
<div><span style="font-style: normal"><em>8. type  `./configure&#8217; to configure the package for your system.</em></span></div>
<div><span style="font-style: normal"><em>9. Type `make&#8217; to compile the package.</em></span></div>
<div><span style="font-style: normal"><em>10. Type `make install&#8217; to install the programs and any data files and documentation. </em></span></div>
<div><span style="font-style: normal"><em><br />
</em></span></div>
</blockquote>
<div><span style="font-style: normal"><em>To start the server you have two steps-</em></span></div>
<blockquote>
<div><span style="font-style: normal"><em>1. Go to &#8216;cd  /usr/local/virtuoso-opensource/var/lib/virtuoso/db&#8217;</em></span></div>
<div><span style="font-style: normal"><em>2. then type &#8216;/usr/local/virtuoso-opensource/bin/virtuoso-t -f &amp;&#8217;</em></span></div>
</blockquote>
<div><span style="font-style: normal"><em>Finally use the server from your browser by typing &#8216;http://localhost:8890/&#8217; in the address bar.</em></span></div>
<div><span style="font-style: normal"><em>Use the powerful multipurpose opensource server !!</em></span></div>
<div><span style="font-style: normal"><em>Note:- All documentations are available at <a href="http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main">Wiki Page</a> of  OpenLink Virtuoso.</em></span></div>
<blockquote>
<div><span style="font-style: normal"><em>To grant the SPARQL to update and insert data into a graph-</em></span></div>
<div><span style="font-style: normal"><em>1. Go to &#8220;http://localhost:8890/conductor&#8221; and login as &#8220;dba&#8221; (Uname and Pass =&#8221; dba&#8221;)</em></span></div>
<div><span style="font-style: normal"><em>2. Click on &#8220;Interactive SQL (ISQL)&#8221;.</em></span></div>
<div><span style="font-style: normal"><em>3. In ISQL window type the commad</p>
<pre>GRANT ALL PRIVILEGES TO "SPARQL";</pre>
<p></em></span></div>
</blockquote>
</div>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2010/02/virtuoso/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Use Python and SPE in Windows ?</title>
		<link>http://openpeta.com/index.php/2010/02/use-python-and-spe-in-windows-2/</link>
		<comments>http://openpeta.com/index.php/2010/02/use-python-and-spe-in-windows-2/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 19:14:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/?p=610</guid>
		<description><![CDATA[If you are a python programmer and keen to use python in windows environment with the most popular Stani&#8217;s Python Editor IDE then follow the given below steps- Download and install Python 2.6 from Here (http://www.python.org/download/). for your appropriate windows (32 or 64 bit) Download &#38; Install wxPython (NOT wxWidgets) from Here. (http://www.wxpython.org/download.php) Download &#38; Install SPE from Here(http://developer.berlios.de/project/showfiles.php?group_id=4161). [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a python programmer and keen to use python in windows environment with the most popular Stani&#8217;s Python Editor IDE then follow the given below steps-</p>
<ol>
<li>Download and install Python 2.6 from <a href="http://www.python.org/download/">Here </a><em>(http://www.python.org/download/)</em>. for your appropriate windows (32 or 64 bit)</li>
<li>Download &amp; Install wxPython (NOT wxWidgets) from <a href="http://www.wxpython.org/download.php">Here</a>. <em>(http://www.wxpython.org/download.php)</em></li>
<li>Download &amp; Install SPE from <a href="http://developer.berlios.de/project/showfiles.php?group_id=4161">Here</a><em>(http://developer.berlios.de/project/showfiles.php?group_id=4161)</em>. Get this file: &#8220;SPE-0.8.4.c-wx2.6.1.0-no_setup.zip&#8221;.</li>
<li>Unzip it to somewhere you will remember, but <em>don&#8217;t</em> rename the folder anything other than &#8220;_spe&#8221;.</li>
<li>Go inside the _spe directory and double click SPE.py.</li>
<li>At this point your  new SPE Python IDE should start up. Enjoy Python&#8230;.</li>
</ol>
<p><span style="color: #ff0000;">Note:</span> you will have to set the environmental veritable in windows for python. For Xp user,</p>
<blockquote><p>Right click on MyComputer=&gt;Properties=&gt;Advanced=&gt;Environmental Variable</p>
<p>and then select &#8220;Path&#8221; and click edit, add the python directory (c:\Python26)</p>
<p>followed by a semi colon at the end of the variable Value.(eg- xxxxxx<span style="color: #ff0000;"><span style="text-decoration: underline;"><span style="color: #000000;"><em>;C:\Python26</em></span></span></span>)</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2010/02/use-python-and-spe-in-windows-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Typing Local Languages [ Eg: Tamil ] in Firefox</title>
		<link>http://openpeta.com/index.php/2009/04/typing-local-languages-eg-tamil-in-firefox/</link>
		<comments>http://openpeta.com/index.php/2009/04/typing-local-languages-eg-tamil-in-firefox/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 08:07:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Linux on NoteBook PCs]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/?p=119</guid>
		<description><![CDATA[English is the common language for all operating system and programming languages. If end user wants to use the particular software or Operating System ,the product has to support Internationalisation [I18N] or localisation . Now a days all products are coming with those options. In this article , let us discuss about the how to [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-8096298918291230";
/* 234x60, OpenPeta,created 5/2/09 */
google_ad_slot = "6700285981";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
English is the common language for all operating system and programming languages. If end user wants to use the particular software or Operating System ,the product has to support Internationalisation [I18N] or localisation . Now a days all products are coming with those options. In this article , let us discuss about the how to type local languages in Linux like Ubuntu and firefox. First i am going to show  how to type in &#8220;Tamil&#8221; language with firefox. Based on your comments we can discuss about  typing in other languages.</p>
<p>Typing Tamil  in Firefox Browser</p>
<p>1. You need &#8220;TamilVisai&#8221; [ old name was Tamilkey] addon for typing Tamil in firefox, so click the link given below , in that page select &#8220;Add to Firefox&#8221; button.</p>
<p style="text-align: center;"><a title="Tamil Key Addon" href="https://addons.mozilla.org/en-US/firefox/addon/2994" target="_blank"> Click here to Install Tamil Visai Addon for Firefox</a></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-121" title="Opening Tamil Visai Page" src="http://www.openpeta.com/wp-content/uploads/2009/04/tamil1.png" alt="Opening Tamil Visai Page" width="589" height="427" /></p>
<p>2. Now Another pop-up window will open , There u select &#8220;install&#8221;  button . Installation will take one or two minutes [Based on your Internet Speed]</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-122" title="Installing Tamil Visai" src="http://www.openpeta.com/wp-content/uploads/2009/04/tamil2.png" alt="Installing Tamil Visai" width="584" height="432" /></p>
<p>3. After installing TamilVisai Restart Your firefox.</p>
<p>4. If you want to type in tamil in any text box or text area , simply right click on your mouse and select  Tamil vissai option  or press Alt+F8 . based on your type wring method .you can choose any one of the type options , If you know Tamil typewriting then choose Tamill99 option , otherwise choose Anjal [Based on phonetics].</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-123" title="Typing Tamil in Google Search Box" src="http://www.openpeta.com/wp-content/uploads/2009/04/tamil3.png" alt="Typing Tamil in Google Search Box" width="602" height="406" /></p>
<p>5. For Type in English Press F9</p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2009/04/typing-local-languages-eg-tamil-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network File System (NFS) Configuration</title>
		<link>http://openpeta.com/index.php/2008/07/network-file-system-nfs-configuration/</link>
		<comments>http://openpeta.com/index.php/2008/07/network-file-system-nfs-configuration/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 04:29:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/2008/07/21/network-file-system-nfs-configuration/</guid>
		<description><![CDATA[Assume that You are working on the host 192.168.3.71 and you want to export a directory to another host (say 192.168.3.72) and mount it as a file system&#8230;.This can be done using NFS.. Required Services are: 1.nfs 2.nfslock 3.portmap 4.rpc.mountdFirst let us discuss about server-side configuration:In our case server is 192.168.3.71: Step 1 : Open [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:verdana;">        Assume that You are working on the host 192.168.3.71 and you want to export a</span> <span style="font-family:verdana;">directory to another host (say 192.168.3.72) and mount it as a file system&#8230;.This can be </span><span style="font-family:verdana;">done using NFS..</span></p>
<p><span style="font-family:verdana;">Required Services are:</span><br /><span style="font-family:verdana;">        1.nfs</span><br /><span style="font-family:verdana;">        2.nfslock</span><br /><span style="font-family:verdana;">        3.portmap</span><br /><span style="font-family:verdana;">        4.rpc.mountd</span><br /><span style="font-family:verdana;">First let us discuss about server-side configuration:</span><br /><span style="font-family:verdana;"><br />In our case server is 192.168.3.71:</span></p>
<p><span style="font-family:verdana;">Step 1 : </span><span style="font-family:verdana;"> Open /etc/exports file and mention the directory to be exported according to the</span><br /><span style="font-family:verdana;">Syntax as follows</span><br /><span style="font-family:verdana;">    <br /><span style="font-weight: bold;">               &lt;directory path&gt;              &lt;client ip-address&gt;(options)</span></span><br /><span style="font-family:verdana;"><br />Options can be<br /></span><span style="font-family:verdana;">        ro      &#8212;> read-only</span><br /><span style="font-family:verdana;">        rw      &#8212;> read-write</span><br /><span style="font-family:verdana;">        sync &#8212;> synchronous</span><br /><span style="font-family:verdana;">        sw      &#8212;> sync write</span><br /><span style="font-family:verdana;">        no_wdelay&#8211;> no write delay</span><br /><span style="font-family:verdana;">        no_root_squash&#8211;>same level of access privileges will be given as it had in the</span> <span style="font-family:verdana;">server</span></p>
<p><span style="font-family:verdana;">If You want to export /home/ameer to your client(192.168.3.72) with read-write,synchronous</span><br /><span style="font-family:verdana;">and with no write delays.. then  your  /etc/exports configuration file should have a line like this..</span><br /><span style="font-family:verdana;"><br />   <span style="font-weight: bold;"> /home/ameer                   192.168.3.72(rw,sync,no_wdelay)</span></span><br /><span style="font-family:verdana;"><br />After saving start or restart the nfs service..</span> <span style="font-family:verdana;">Thus your configuration file will look like this..</span><br /><span style="font-family:verdana;">        # <span style="font-weight: bold;">vi /etc/exports</span></span><br /><span style="font-family:verdana;">        /etc/neo                   192.168.3.72(rw,sync,no_root_squash)</span><br /><span style="font-family:verdana;">        /home/ameer                192.168.3.72(rw,sync,no_wdelay)</span><br /><span style="font-family:verdana;">Step 2:</span><br /><span style="font-family:verdana;">        <span style="font-weight: bold;"># service nfs restart</span></span><br /><span style="font-family:verdana;">        Shutting down NFS mountd:                            [ OK ]</span><br /><span style="font-family:verdana;">        Shutting down NFS daemon:                              [ OK  ]</span><br /><span style="font-family:verdana;">        Shutting down NFS quotas:                              [ OK  ]</span><br /><span style="font-family:verdana;">        Shutting down NFS services:                            [ OK  ]</span><br /><span style="font-family:verdana;">        Starting NFS services:                                [  OK  ]</span><br /><span style="font-family:verdana;">        Starting NFS quotas:                                  [  OK  ]</span><br /><span style="font-family:verdana;">        Starting NFS daemon:                                  [  OK  ]</span><br /><span style="font-family:verdana;">        Starting NFS mountd:                                  [  OK ]</span></p>
<p><span style="font-family:verdana;">Step 3:</span>  <span style="font-family:verdana;">Now run the command exportfs</span><br /><span style="font-weight: bold;font-family:verdana;" ># exportfs</span><br /><span style="font-family:verdana;">/home/ameer        192.168.3.72</span><br /><span style="font-family:verdana;">/etc/neo        192.168.3.72</span></p>
<p><span style="font-family:verdana;">What to do in client-side:(192.168.3.72)</span><br /><span style="font-family:verdana;">        In the client side You need to mount the exported directory using mount command and</span><br /><span style="font-family:verdana;">the syntax is as follows:</p>
<p></span><span style="font-family:verdana;">        <span style="font-weight: bold;">mount  -t  &lt;nfs-type</span></span><span style="font-family:verdana;"><span style="font-weight: bold;">&gt;</span></span><span style="font-family:verdana;"><span style="font-weight: bold;">  -o  </span></span><span style="font-family:verdana;"><span style="font-weight: bold;">&lt;</span></span><span style="font-family:verdana;"><span style="font-weight: bold;">options</span></span><span style="font-family:verdana;"><span style="font-weight: bold;">&gt;</span></span><span style="font-family:verdana;"><span style="font-weight: bold;">&lt;</span></span><span style="font-family:verdana;"><span style="font-weight: bold;">server directory</span></span><span style="font-family:verdana;"><span style="font-weight: bold;">&gt;</span></span><span style="font-family:verdana;"><span style="font-weight: bold;">&lt;</span></span><span style="font-family:verdana;"><span style="font-weight: bold;">local mount point&gt;</span></span><br /><span style="font-family:verdana;"><br />your nfs-types can be:</p>
<p></span><span style="font-family:verdana;">nfs ,nfsv2,nfsv3,nfsv4</span><br /><span style="font-family:verdana;"><br /></span><span style="font-family:verdana;">or  we can use the following syntax</span><br /><span style="font-family:verdana;"><br /> <span style="font-weight: bold;"> mount &lt;server-ip&gt;:&lt;directory path&gt;&lt;local mount-point&amp;gt</span></span><span style="font-weight: bold;">;</span><br /><span style="font-family:verdana;"><br />Thus,</span><span style="font-family:verdana;">if u want to mount /home/ameer in /mnt/mine</span><br /><span style="font-family:verdana;">in our case the command is:</span><br /><span style="font-family:verdana;">    <span style="font-weight: bold;"># mount 192.168.3.71:/home/ameer /mnt/mine</span></span></p>
<p><span style="font-family:verdana;">If u want to mount this directory permanently just make an entry in /etc/fstab</span><br /><span style="font-weight: bold;font-family:verdana;" ># vi /etc/fstab</span><br /><span style="font-family:verdana;"># This file is edited by fstab-sync &#8211; see &#8216;man fstab-sync&#8217; for details</span><br /><span style="font-family:verdana;">/dev/VolGroup00/LogVol00 /                     ext3 defaults        11</span><br /><span style="font-family:verdana;">LABEL=/boot              /boot                ext3 defaults         12</span><br /><span style="font-family:verdana;">none                    /dev/pts               devpts gid=5,mode=620 0 0</span><br /><span style="font-family:verdana;">none                    /dev/shm              tmpfs defaults        00</span><br /><span style="font-family:verdana;">none                   /proc                  proc defaults         00</span><br /><span style="font-family:verdana;">none                  /sys                     sysfs defaults       00</span><br /><span style="font-family:verdana;">/dev/VolGroup00/LogVol01 swap                  swap defaults         00</span><br /><span style="font-weight: bold;font-family:verdana;" >192.168.3.71:/etc/ameer /mnt/mine/                  nfs     defaults    00</span><br /><span style="font-family:verdana;"><br />If you see the file contents above, the last line indicates that /home/ameer is mounted</span> <span style="font-family:verdana;">permanently using nfs.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2008/07/network-file-system-nfs-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>APACHE HTTP SERVER</title>
		<link>http://openpeta.com/index.php/2008/07/apache-http-server/</link>
		<comments>http://openpeta.com/index.php/2008/07/apache-http-server/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 02:14:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/2008/07/15/apache-http-server/</guid>
		<description><![CDATA[The Apache HTTP server is a robust, commercial-grade open source web server. Some of its features are Apache API- modules utilize a more powerful set of APIs. Filtering- modules can act as content filters. IPv6 support &#8211; the next generation IP addressing format is supported. Simplified directives &#8211; confusing directives have been removed. Multilingual error [...]]]></description>
			<content:encoded><![CDATA[<p>The Apache HTTP server is a robust, commercial-grade open source web server. Some of its features are
<ul>
<li>        Apache API- modules utilize a more powerful set of APIs.</li>
<li>        Filtering- modules can act as content filters.</li>
<li>        IPv6 support &#8211; the next generation IP addressing format is supported.</li>
<li>        Simplified directives &#8211; confusing directives have been removed.</li>
<li>        Multilingual error responses- When using SSI documents      customizable   error response pages  can be delivered in multiple languages.</li>
</ul>
<p><span style="font-weight: bold;">STARTING AND STOPPING HTTP</span></p>
<p>        The httpd RPM installs the /etc/init.d/httpd script which can be accessed using the</p>
<p>                 /sbin/service command.<br />       To start the server as root type :<br />              <span style="font-weight: bold;">  /sbin/service httpd start</span><br />       To stop the server as root type :<br />              <span style="font-weight: bold;">  /sbin/service httpd stop</span><br />       To restart the server as root type :<br />                <span style="font-weight: bold;"> /sbin/service httpd restart</span></p>
<p><span style="font-weight: bold;">APACHE HTTP SERVER CONFIGURATION</span></p>
<p>The Apache http server configuration file is<br />               <span style="font-weight: bold;">   /etc/httpd/conf/httpd.conf</span><br />The httpd.conf file is well commented and mostly self explanatory. The web server’s error log file is<br />                <span style="font-weight: bold;"> /var/log/httpd/error_log</span></p>
<p>Below is an example of the configuration file</p>
<p>    # UserDir is disabled by default since it can confirm the presence<br />   of a username on the system (depending on home directory<br />    permissions).<br />         UserDir &#8220;disable&#8221;<br />       To enable requests to /~user/ to serve the user&#8217;s public_html<br />    directory, use this directive instead of &#8220;UserDir disable&#8221;:</p>
<p>#VirtualHost: If you want to maintain multiple domains/hostnames on your<br /> machine you can setup VirtualHost containers for them. Most configurations<br /> use only name-based virtual hosts so the server doesn&#8217;t need to worry about<br /> IP addresses. This is indicated by the asterisks in the directives below.</p>
<p>         <span style="font-weight: bold;"></span> # Virtual host Virtual Host 1<br />       &lt;VirtualHost 10.0.0.11&gt;<br />            DocumentRoot /var/www/html/project2<br />              ServerAdmin abc@yahoo.com<br />            ServerName server<br />              DirectoryIndex index.html index.htm index.shtml<br />        &lt;/VirtualHost&gt;</p>
<p>The following sub sections contain a list of short descriptions for many of the directives included in httpd.conf:</p>
<p>1. ServerRoot: &#8211; It specifies the top level directory containing website contents. By default, Server<br />Root is set to &#8220;/etc/httpd&#8221; for both secure and non-secure servers.<br />         Example: ServerRoot &#8220;/etc/httpd&#8221;</p>
<p>2. PidFile: &#8211; It names the file where the server records its Pid.(Default value &#8220;/var/run/httpd.pid&#8221;).<br />         Example: PidFile &#8220;/var/run/httpd.pid&#8221;</p>
<p>3. Timeout: &#8211; Defines in seconds the amount of time the server waits for receipts and transmissions during communications. (Default value is 300 seconds)<br />         Example: TimeOut 300</p>
<p>4.KeepAlive :- It sets whether the server allows more than one request per connection and can be used to prevent any one client from consuming too much of server&#8217;s resources.(Default is off)<br />         Example: KeepAlive false</p>
<p>5. MaxKeepAliveRequests: &#8211; Sets the maximum number of requests allowed per persistent connection.<br />(Default is 100)<br />        Example: MaxKeepAliveRequests 100</p>
<p>6. KeepAliveTimeout: &#8211; Sets the nuimber of seconds the server waits after a request has been served before it closes the connections. (Default is 15 seconds)<br />        Example: KeepAliveTimeout 15</p>
<p>7. StartServers: &#8211; Sets how server processes are created upon startup.<br />        Example: StartServers          2</p>
<p>8. MaxRequestsPerChild: &#8211; Sets the total number of requests each child server process serves before the child dies.<br />        Example: MaxRequestsPerChild 0</p>
<p>9. MaxClients: &#8211; Sets a limit on total number of server processes or simultaneously connected clients that can run at one time. (Default is 150)<br />        Example: MaxClients          150</p>
<p>10. ServerAdmin: &#8211; Sets the ServerAdmin directive to the email address of the web server administrator. (Default set to root@localhost.com)<br />        Example: ServerAdmin abc@yahoo.com</p>
<p>11. ServerName: &#8211; It specifies a hostname and port number for the server.<br />        Example: ServerName server</p>
<p>12. UseCanonicalName: &#8211; Configures the Apache server to reference itself using the value specified in the Server Name and Port directives when ON. When OFF the server users the value used by the requesting clients when referring to itself.(Default is OFF).<br />        Example: UseCanonicalName on</p>
<p>13. DocumentRoot: &#8211; Directory which contains most of the HTML files which are served in response to requests. (Default is &#8220;/var/www/html&#8221; directory)<br />        Example: DocumentRoot &#8220;/var/www/html&#8221;</p>
<p>14.DirectoryIndex :- Default pages served by the server when a user request an index of a directory by specifying a forward slash at the end of the directory name.(Default is &#8220;index.html&#8221;)<br />        Example: DirectoryIndex index.html index.htm index.shtml</p>
<p>15. User: &#8211; Sets the user name of server process and determines what files the server is allowed to access. (Default is apache)<br />        Example: User apache</p>
<p>16. Group: &#8211; Specifies the group name of the apache http server processes.(Default is apache)<br />        Example: Group apache</p>
<p><span style="font-weight: bold;">CREATING A WEB PROJECT USING APACHE</span></p>
<p>Server side:</p>
<p> Open the terminal and give following commands:<br />         #vi index.html<br /> Type content for front page save and exit.<br />         #cp index.html /var/www/html<br />         #service httpd restart</p>
<p>Client side:</p>
<p>1. Open the web browser<br />2. Enter server IP address or server name and the name of the file.<br />    <span style="font-weight: bold;">  http://<server>/index.html</server></span><br />This will open the index.html file present at server.</p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2008/07/apache-http-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Samba Server Configuration (Using Command Mode &#8211; Terminal )</title>
		<link>http://openpeta.com/index.php/2007/09/samba-server-configuration-using-command-mode-terminal/</link>
		<comments>http://openpeta.com/index.php/2007/09/samba-server-configuration-using-command-mode-terminal/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 04:58:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/2007/09/25/samba-server-configuration-using-command-mode-terminal/</guid>
		<description><![CDATA[Samba is a free software re-implementation of SMB/CIFS networking protocol, released under the GNU General Public License. The name Samba comes from inserting two vowels into the name of the standard protocol used by the Microsoft Windows network file system, &#8220;SMB&#8221; (Server Message Block). Now lets see the configuration of samba shared folder Server Side [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Samba is a free software re-implementation of SMB/CIFS networking protocol, released under the GNU General Public License. The name Samba comes from inserting two vowels into the name of the standard protocol used by the Microsoft Windows network file system, &#8220;SMB&#8221; (Server Message Block).</p>
<p>Now lets see the configuration of samba shared folder</p>
<p>Server Side Configuration<br />
Example :<br />
Server IP : 192.168.3.105<br />
Share folder name : /mnt/myshare</p>
<p>1. Create or select share folder<br />
[root@myserver /]# mkdir /mnt/myshare<br />
[root@myserver /]# cd /mnt/myshare/<br />
[root@myserver myshare]# vi smaple.c<br />
#include&lt;stdio.h&gt;</p>
<p>main()<br />
{<br />
printf(&#8220;Sample Samba Share&#8221;);<br />
}<br />
Now i am going to share /mnt/myshare folder using samba.</p>
<p>2.Goto the samba folder<br />
<span style="font-style: italic;"> [root@myserver myshare]# cd /etc/samba/</span><br />
<span style="font-style: italic;"> [root@myserver samba]# ls</span><br />
<span style="font-style: italic;"> smb.conf  smbpasswd  smbusers</span></p>
<p>These three files are used to configure the smaba share<br />
smb.conf &#8211; samba main configuration file<br />
smbpasswd &#8211; command for creating samba password<br />
smusers &#8211; used for creating unix and windows users</p>
<p>3. Configure /etc/samba/smb.conf<br />
[root@myserver myshare]# vi  /etc/samba/smb.conf<br />
Add the following config to end of this file , save and exit<br />
<span style="font-style: italic; font-weight: bold;"> [shareme]</span><br />
<span style="font-style: italic; font-weight: bold;"> path = /mnt/myshare</span><br />
<span style="font-style: italic; font-weight: bold;"> writable = no</span><br />
<span style="font-style: italic; font-weight: bold;"> valid users = antony pras</span><br />
<span style="font-style: italic; font-weight: bold;"> public = no</span></p>
<p>where<br />
[shareme] &#8211; name of the share folder (eg: smb://192.168.3.105/shareme)<br />
path &#8211; destination path of share folder (here /mnt/myshare)<br />
writable &#8211; readonly (no) or allpermission (yes)<br />
valid users &#8211; only antony and pras can access the share folder among the network<br />
publi &#8211; any one can access the folder (yes)<br />
valid users only can access the folder (no)</p>
<p>4.we have configured samba share for only two users . if the users does not exist in you<br />
machine , then create the users using the following command<br />
<span style="font-style: italic;"> [root@myserver samba]# useradd antony</span><br />
<span style="font-style: italic;"> useradd: user antony exists</span><br />
<span style="font-style: italic;"> [root@myserver samba]# useradd pras</span></p>
<p>5.Assign the windows username<br />
goto smb users file<br />
<span style="font-style: italic;"> # Unix_name = SMB_name1 SMB_name2 &#8230;</span><br />
<span style="font-style: italic;"> antony = aaj</span><br />
<span style="font-style: italic;"> pras = prs</span></p>
<p>Here<br />
aaj and prs are the windows usernames of antony and pras</p>
<p>6. now create common samba password for unix and windows users<br />
<span style="font-style: italic;"> [root@myserver~]# smbpasswd -a antony</span><br />
<span style="font-style: italic;"> New SMB password:</span><br />
<span style="font-style: italic;"> Retype new SMB password:</span></p>
<p>7. Restart the samba daemon<br />
<span style="font-style: italic;"> [root@myserver ~]# service smb restart</span><br />
<span style="font-style: italic;"> Shutting down SMB services:                                [FAILED]</span><br />
<span style="font-style: italic;"> Shutting down NMB services:                                [FAILED]</span><br />
<span style="font-style: italic;"> Starting SMB services:                                     [  OK  ]</span><br />
<span style="font-style: italic;"> Starting NMB services:                                     [  OK  ]</span></p>
<p>Client Side Mounting<br />
1. (In Linux)  go to file browser type <span style="font-style: italic;">smb://192.168.3.105/shareme</span> , you are prompted to give username and password<br />
give valid unix user and samba password</p>
<p>2. or use samba mount command<br />
<span style="font-style: italic;"> [root@myclient1 ~]# smbmount 192.168.3.105:/shareme  /mnt/sample -o username = antony password = antony rw </span></p>
<p>3.(In windows ) goto run , type <span style="font-style: italic;">\\192.168.3.105\shareme</span> ,you are prompted to give username and password<br />
give valid windows user and samba password</p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2007/09/samba-server-configuration-using-command-mode-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network Information Services (NIS) &#8211; Configuration</title>
		<link>http://openpeta.com/index.php/2007/09/network-information-services-nis-configuration/</link>
		<comments>http://openpeta.com/index.php/2007/09/network-information-services-nis-configuration/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 07:13:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/2007/09/21/network-information-services-nis-configuration/</guid>
		<description><![CDATA[The Network Information Service or NIS (originally called Yellow Pages or YP) is Sun Microsystems’ client-server directory service protocol for distributing system configuration data such as user and host names between computers on a computer network. Sun licenses this technology to virtually all other Unix vendors. As the name “Yellow Pages” was a registered trademark [...]]]></description>
			<content:encoded><![CDATA[</p>
<div style="text-align: justify;">    The Network Information Service or NIS (originally called Yellow Pages or YP) is <span style="font-style: italic;">Sun Microsystems’ client-server directory service protocol</span> for distributing system configuration data such as user and host names between computers on a computer network. Sun licenses this technology to virtually all other Unix vendors. As the name “Yellow Pages” was a registered trademark in the United Kingdom of British Telecom PLC for their (paper) commercial telephone directory, Sun changed the name of their system to NIS, though all the commands and functions still start with “yp”.<br />     In this article i have configured NIS with two system . one is server and other one is client . so the client can use the server  username and password using NIS.</div>
</p>
<p> Example :<br />NIS Domain name : NETADMIN<br />NIS Server name : myserver (192.168.3.105)<br />NIS Client Name : myclient (192.168.3.104)<br />NIS Username : nisuser<br />NIS Password : nisuser</p>
<p>NIS Server Configuration<br />Network Configuration<br />[root@myserver ~]# vi /etc/hosts<br />192.168.3.105  myserver<br />192.168.3.104  myclient</p>
<p>Packages needed for Server Side<br /> 1) ypserv<br /> 2) yptools</p>
<p>Daemons<br /> 1) portmap<br /> 2) yppasswdd<br /> 3) ypserv<br /> 4) ypbind<br /> 5) ypxfrd</p>
<p>1. Assign NIS Domain name for your Server<br />[root@myserver ~]# vi /etc/sysconfig/network<br />   NETWORKING=yes<br />   HOSTNAME=myserver<br />   NISDOMAIN=NETADMIN</p>
<p>2. Assign Local Server<br />[root@myserver ~]# vi /etc/yp.conf<br />   # /etc/yp.conf &#8211; ypbind configuration file<br />   # Valid entries are<br />   #<br />   # domain NISDOMAIN server HOSTNAME<br />   #       Use server HOSTNAME for the domain NISDOMAIN.<br />   #<br />   # domain NISDOMAIN broadcast<br />   #       Use  broadcast  on  the local net for domain NISDOMAIN<br />   #<br />   # domain NISDOMAIN slp<br />   #       Query local SLP server for ypserver supporting NISDOMAIN<br />   #<br />   # ypserver HOSTNAME<br />   #       Use server HOSTNAME for the  local  domain.  The<br />   #       IP-address of server must be listed in /etc/hosts.<br />   #<br />   # broadcast<br />   #       If no server for the default domain is specified or<br />   #       none of them is rechable, try a broadcast call to<br />   #       find a server.<br />   ypserver 127.0.0.1</p>
<p>3. Start NIS related Daemons<br />[root@myserver ~]# service portmap start<br />Starting portmap:                                          [  OK  ]<br />[root@myserver ~]# service yppasswd start<br />yppasswd: unrecognized service<br />[root@myserver ~]# service yppasswdd start<br />Starting YP passwd service:                                [  OK  ]<br />[root@myserver ~]# service ypserv start<br />Setting NIS domain name NETADMIN:                          [  OK  ]<br />Starting YP server services:                               [  OK  ]</p>
<p>4. Start at the system boot<br />[root@myserver ~]# chkconfig portmap on<br />[root@myserver ~]# chkconfig yppasswdd  on<br />[root@myserver ~]# chkconfig ypserv  on</p>
<p>5. Check all Daemons are running properly or not<br />[root@myserver ~]# rpcinfo -p myserver<br />  program vers proto   port<br />   100000    2   tcp    111  portmapper<br />   100000    2   udp    111  portmapper<br />   100024    1   udp  32769  status<br />   100024    1   tcp  32769  status<br />   100009    1   udp   1009  yppasswdd<br />   100004    2   udp    648  ypserv<br />   100004    1   udp    648  ypserv<br />   100004    2   tcp    651  ypserv<br />   100004    1   tcp    651  ypserv</p>
<p>6. Initialize your NIS Domain (You can add slave servers here)<br />[root@myserver ~]# /usr/lib/yp/ypinit  -m</p>
<p>At this point, we have to construct a list of the hosts which will run NIS<br />servers.  nisserver is in the list of NIS server hosts.  Please continue to add<br />the names for the other hosts, one per line.  When you are done with the<br />list, type a <control>.<br />       next host to add:  nisserver<br />       next host to add:<br />       next host to add:<br />The current list of NIS servers looks like this:</p>
<p>nisserver</p>
<p>Is this correct?  [y/n: y]  y<br />We need a few minutes to build the databases&#8230;<br />Building /var/yp/NETADMIN/ypservers&#8230;<br />Running /var/yp/Makefile&#8230;<br />gmake[1]: Entering directory `/var/yp/NETADMIN&#8217;<br />Updating passwd.byname&#8230;<br />Updating passwd.byuid&#8230;<br />Updating group.byname&#8230;<br />Updating group.bygid&#8230;<br />Updating hosts.byname&#8230;<br />Updating hosts.byaddr&#8230;<br />Updating rpc.byname&#8230;<br />Updating rpc.bynumber&#8230;<br />Updating services.byname&#8230;<br />Updating services.byservicename&#8230;<br />Updating netid.byname&#8230;<br />Updating protocols.bynumber&#8230;<br />Updating protocols.byname&#8230;<br />Updating mail.aliases&#8230;<br />gmake[1]: Leaving directory `/var/yp/NETADMIN&#8217;</p>
<p>nisserver has been set up as a NIS master server.</p>
<p>Now you can run ypinit -s nisserver on all slave server.</p>
<p>7. Start NIS Server related daemons<br />[root@myserver ~]# service ypbind start<br />Binding to the NIS domain:                                 [  OK  ]<br />Listening for an NIS domain server.<br />[root@myserver ~]# service ypxfrd start<br />Starting YP map server:                                    [  OK  ]<br />[root@myserver ~]# chkconfig ypbind on<br />[root@myserver ~]# chkconfig ypxfrd on</p>
<p>8. Once Again check all NIS related daemons are running properly or not<br />[root@myserver ~]# rpcinfo -p nisserver<br />  program vers proto   port<br />   100000    2   tcp    111  portmapper<br />   100000    2   udp    111  portmapper<br />   100024    1   udp  32769  status<br />   100024    1   tcp  32769  status<br />   100009    1   udp   1009  yppasswdd<br />   100004    2   udp    648  ypserv<br />   100004    1   udp    648  ypserv<br />   100004    2   tcp    651  ypserv<br />   100004    1   tcp    651  ypserv<br />   100007    2   udp    874  ypbind<br />   100007    1   udp    874  ypbind<br />   100007    2   tcp    877  ypbind<br />   100007    1   tcp    877  ypbind<br />600100069    1   udp    830  fypxfrd<br />600100069    1   tcp    832  fypxfrd</p>
<p>9. Create User for NIS Logon<br />[root@myserver ~]# useradd -g users nisuser<br />[root@myserver ~]# passwd nisuser<br />Changing password for user nisuser.<br />New UNIX password:<br />BAD PASSWORD: it is based on a dictionary word<br />Retype new UNIX password:<br />passwd: all authentication tokens updated successfully.<br />10 .Bind the new users to NIS server files<br />[root@myserver ~]# cd /var/yp/<br />[root@myserver yp]# make<br />gmake[1]: Entering directory `/var/yp/NETADMIN&#8217;<br />Updating passwd.byname&#8230;<br />Updating passwd.byuid&#8230;<br />Updating netid.byname&#8230;<br />gmake[1]: Leaving directory `/var/yp/NETADMIN&#8217;</p>
<p>11 .Check the username and password have benn added or not<br />[root@myserver yp]# ypmatch nisuser passwd<br />nisuser:$1$HQ.Mq78s$kALGajBahCSFXKbfP4yrq/:507:100::/home/nisuser:/bin/bash          <br />         (or)<br />[root@myserver yp]# getent passwd nisuser<br />nisuser:x:507:100::/home/nisuser:/bin/bash<br />[root@myserver yp]#</p>
<p>NIS Client Configuration</p>
<p>Network Configuration<br />[root@myclient ~]# vi /etc/hosts<br />192.168.3.104  myclient<br />192.168.3.105  myserver</p>
<p>Packages needed for Server Side<br /> 1) ypbind<br /> 2) yptools<br />Daemons<br /> 1) portmap<br /> 2) ypbind</p>
<p>1. Configure the NIS client using authconfig<br /> [root@myclient ~]#authconfig<br /> Type the following in that window<br />      NIS DOMAIN : NETADMIN<br />      SERVER     : myserver</p>
<p>2. Save and exit<br />3. Start the daemons<br />  [root@myclient~]# service portmap start   <br />  Starting portmap:                                          [  OK  ]<br />  [root@myclient ~]# service ypbind start<br />  Binding to the NIS domain:                                 [  OK  ]<br />  Listening for an NIS domain server.<br />
                            [ok]<br />  [root@myclient ~]# chkconfig portmap on<br />  [root@myclient ~]# chkconfig ypbind on     </p>
<p>4. Restart the system and next time you can use server username and password<br />  username : nisuser<br />  password : nisuser</control></p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2007/09/network-information-services-nis-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
