<?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>Saji Personal Notes</title>
	<atom:link href="http://www.oss101.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.oss101.com</link>
	<description>Writing it down to refer later</description>
	<lastBuildDate>Thu, 29 Jul 2010 11:29:36 +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>postgresql setup</title>
		<link>http://www.oss101.com/?p=162</link>
		<comments>http://www.oss101.com/?p=162#comments</comments>
		<pubDate>Thu, 29 Jul 2010 11:28:19 +0000</pubDate>
		<dc:creator>saji</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[nuxeo]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://www.oss101.com/?p=162</guid>
		<description><![CDATA[error when trying to do
psql -U postgres template1
psql: FATAL:  Ident authentication failed for user &#8220;postgres&#8221;
Explanation:- access permission in /var/lib/pgsql/data/pg_hba.conf
this problem was solved by editing &#8221; /var/lib/pgsql/data/pg_hba.conf&#8221; file
This file decide how the host are allowed to connect  and which databases they can use.
Modify the entry as this
local   all         all                              trust
host    all         all         127.0.0.1/32         trust
]]></description>
			<content:encoded><![CDATA[<p>error when trying to do</p>
<p>psql -U postgres template1</p>
<p>psql: FATAL:  Ident authentication failed for user &#8220;postgres&#8221;</p>
<p>Explanation:- access permission in /var/lib/pgsql/data/pg_hba.conf<br />
this problem was solved by editing &#8221; /var/lib/pgsql/data/pg_hba.conf&#8221; file<br />
This file decide how the host are allowed to connect  and which databases they can use.</p>
<p>Modify the entry as this</p>
<blockquote><p>local   all         all                              trust</p>
<p>host    all         all         127.0.0.1/32         trust</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.oss101.com/?feed=rss2&amp;p=162</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error Message: Metadata file does not match checksum [Centos 5 yum ]</title>
		<link>http://www.oss101.com/?p=154</link>
		<comments>http://www.oss101.com/?p=154#comments</comments>
		<pubDate>Mon, 26 Jul 2010 12:39:50 +0000</pubDate>
		<dc:creator>saji</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.oss101.com/?p=154</guid>
		<description><![CDATA[try this
yum clean all
yum makecache
yum update

]]></description>
			<content:encoded><![CDATA[<p>try this</p>
<pre>yum clean all
yum makecache
yum update
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.oss101.com/?feed=rss2&amp;p=154</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>screen :- tool for sysadmin</title>
		<link>http://www.oss101.com/?p=150</link>
		<comments>http://www.oss101.com/?p=150#comments</comments>
		<pubDate>Sun, 25 Jul 2010 11:18:59 +0000</pubDate>
		<dc:creator>saji</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.oss101.com/?p=150</guid>
		<description><![CDATA[When you have to do ssh and work, try to give &#8220;screen&#8221; command . It will save you
Some screen  commands to remember

screen -ls will list the current screen sessions running on a machine.
Control+a (press Control and then press a) Will toggle between your current shell and your previous shell
Control+a d will detach you from a [...]]]></description>
			<content:encoded><![CDATA[<p>When you have to do ssh and work, try to give &#8220;screen&#8221; command . It will save you</p>
<p>Some screen  commands to remember</p>
<ul>
<li>screen -ls will list the current screen sessions running on a machine.</li>
<li>Control+a (press Control and then press a) Will toggle between your current shell and your previous shell</li>
<li>Control+a d will detach you from a session.</li>
</ul>
<p>Basics of how to use screen on a Linux/Ubuntu machine</p>
<p>Create a session :-<br />
screen -S sessionname<br />
Here I am giving  &#8220;screen -S nuxeo&#8221; //I am working on nuxeo , so I named it</p>
<p>We can have up to 10 interactive shells open in one window.When we start a new session we are in shell 0.<br />
To create more shells,Press cntrl key, then press and release  the &#8220;a&#8221; key and type letter &#8220;c&#8221;</p>
<p>switching between shells<br />
press ctrl, then press and relase &#8220;a&#8221;  key and then press the shell no</p>
<p>GNU Screen allows you to manage several interactive shell instances within the same “window.” By using different keyboard shortcuts, you are able to shuffle through the shell instances, access any of them directly, create new ones, kill old ones, attach and detach existing ones.</p>
<p>Instead of opening up several terminal instances on your desktop or using those ugly GNOME/KDE-based tabs, Screen can do it better and simpler.</p>
<p>Not only that, with GNU Screen, you can share sessions with others and detach/attach terminal sessions. It is a great tool for people who have to share working environments between work and home.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oss101.com/?feed=rss2&amp;p=150</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>remote desktop on CentOS</title>
		<link>http://www.oss101.com/?p=146</link>
		<comments>http://www.oss101.com/?p=146#comments</comments>
		<pubDate>Sun, 25 Jul 2010 10:42:39 +0000</pubDate>
		<dc:creator>saji</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[remotedesktop]]></category>
		<category><![CDATA[vncserver]]></category>

		<guid isPermaLink="false">http://www.oss101.com/?p=146</guid>
		<description><![CDATA[check the service vncserver is running
if running
give vncserver :desktopno
ie vncserver: 1
now  you will be able to use ur client remote desktop to connect to the centos
]]></description>
			<content:encoded><![CDATA[<p>check the service vncserver is running</p>
<p>if running</p>
<p>give vncserver :desktopno</p>
<p>ie vncserver: 1</p>
<p>now  you will be able to use ur client remote desktop to connect to the centos</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oss101.com/?feed=rss2&amp;p=146</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>running DM nuxeo with JBOSS</title>
		<link>http://www.oss101.com/?p=144</link>
		<comments>http://www.oss101.com/?p=144#comments</comments>
		<pubDate>Sun, 25 Jul 2010 10:39:56 +0000</pubDate>
		<dc:creator>saji</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[DM]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[nuxeo]]></category>

		<guid isPermaLink="false">http://www.oss101.com/?p=144</guid>
		<description><![CDATA[My DM nuxeo on Jboss was not able to access from the  LAN
It was because by default JBossAS binds its services to localhost (127.0.0.1) *by default*, instead of binding to all available interfaces (0.0.0.0). This was primarily done for security reasons because of concerns of users going to production without having secured their servers properly.
We [...]]]></description>
			<content:encoded><![CDATA[<p>My DM nuxeo on Jboss was not able to access from the  LAN</p>
<p>It was because by default JBossAS binds its services to localhost (127.0.0.1) *by default*, instead of binding to all available interfaces (0.0.0.0). This was primarily done for security reasons because of concerns of users going to production without having secured their servers properly.</p>
<p>We can enable it by running &#8220;/opt/nuxeo-dm/bin/run.sh -b 0.0.0.0 &#8220;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oss101.com/?feed=rss2&amp;p=144</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>finding PCI devices</title>
		<link>http://www.oss101.com/?p=141</link>
		<comments>http://www.oss101.com/?p=141#comments</comments>
		<pubDate>Thu, 22 Jul 2010 11:03:13 +0000</pubDate>
		<dc:creator>saji</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[pci]]></category>
		<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://www.oss101.com/?p=141</guid>
		<description><![CDATA[Some times you need to find out the device name and other details . U can use the command
lspci    =    Which list all PCI devices
lshw    =    List hardware
lshw -C network  = List device which are under group network
To find PCI devices , let us say network
lspci -v &#124; grep Ethernet -A 1
18:00.0 Ethernet controller: [...]]]></description>
			<content:encoded><![CDATA[<p>Some times you need to find out the device name and other details . U can use the command</p>
<p>lspci    =    Which list all PCI devices</p>
<p>lshw    =    List hardware</p>
<p>lshw -C network  = List device which are under group network</p>
<p>To find PCI devices , let us say network</p>
<p>lspci -v | grep Ethernet -A 1</p>
<p>18:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)<br />
Subsystem: Hewlett-Packard Company Device 30c0</p>
<p>##</p>
<p>To find the  info about network devices</p>
<p>it is &#8220;ifconfig&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oss101.com/?feed=rss2&amp;p=141</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding the size of a directory</title>
		<link>http://www.oss101.com/?p=138</link>
		<comments>http://www.oss101.com/?p=138#comments</comments>
		<pubDate>Mon, 12 Jul 2010 05:25:00 +0000</pubDate>
		<dc:creator>saji</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://www.oss101.com/?p=138</guid>
		<description><![CDATA[$du
Typing the above at the prompt gives you a list of directories that exist in the current directory along with their sizes. The last line of the output gives you the total size of the current directory including its subdirectories. The size given includes the sizes of the files and the directories that exist in [...]]]></description>
			<content:encoded><![CDATA[<p>$du<br />
Typing the above at the prompt gives you a list of directories that exist in the current directory along with their sizes. The last line of the output gives you the total size of the current directory including its subdirectories. The size given includes the sizes of the files and the directories that exist in the current directory as well as all of its subdirectories. Note that by default the sizes given are in kilobytes.</p>
<p>$du -ch | grep total<br />
This would have only one line in its output that displays the total size of the current directory including all the subdirectories.</p>
<p>$du &#8211;exculde=doc<br />
The above command would display the size of the current directory along with all its subdirectories, but it would exclude all the files having the given pattern present in their filenames. Thus in the above case if there happens to be any doc files within the current directory or any of its subdirectories, their size would not be included while calculating the total directory size.</p>
<p>$du -ch | sort -rn<br />
Listing the disk space used for a directory and its subdirectories, sorted by disk usage</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oss101.com/?feed=rss2&amp;p=138</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It is only for &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</title>
		<link>http://www.oss101.com/?p=134</link>
		<comments>http://www.oss101.com/?p=134#comments</comments>
		<pubDate>Thu, 01 Jul 2010 04:24:56 +0000</pubDate>
		<dc:creator>saji</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.oss101.com/?p=134</guid>
		<description><![CDATA[It is only for &#8230;&#8230;..
When SQUID was used for internet sharing in All MS enviornment  respone was :- It is only in the server side , and It is not doing much other than internet sharing.
When using CVS . Explanation was was:-  It is only in the version control
When using Linux OS for ORACLE erp [...]]]></description>
			<content:encoded><![CDATA[<p>It is only for &#8230;&#8230;..</p>
<p>When SQUID was used for internet sharing in All MS enviornment  respone was :- It is only in the server side , and It is not doing much other than internet sharing.</p>
<p>When using CVS . Explanation was was:-  It is only in the version control<br />
When using Linux OS for ORACLE erp . Explanation Oracle works well with Linux<br />
When SAMBA was used for PDC. Explanation was was:-  It is only in the server side<br />
When Nagious /ZABBIX was used.   Explanation was was:-  It is only for monitoring<br />
When SNORT  was used. Explanation was :-  It is only for IDS<br />
When OpenVPN was used. Explanation was :-  It is only for VPN<br />
When ISPConfig was used. Explanation was :-  It is only for Web Site management<br />
when Joomla was used. Explanation was :-  It is only for Web Site hosting<br />
When Asterisk was used . Explanation was :-  It is only for Phone system</p>
<p>When DOTproject was used. Explanation was :-  It is only for Project Management</p>
<p>When UltraMonkey was used. Explanation was :-  It is only for Load Balancing</p>
<p>When heartbeat was used.  Explanation was :-  It is only for High Avaliablity</p>
<p>When Amanda/BackuPC was used. Explanation was :-  It is only  for BackupWhen<br />
When Nuxeo was introduced[Not used live so far] :- It is only for DM</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oss101.com/?feed=rss2&amp;p=134</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problem in sharing the HP printer</title>
		<link>http://www.oss101.com/?p=132</link>
		<comments>http://www.oss101.com/?p=132#comments</comments>
		<pubDate>Sun, 27 Jun 2010 05:39:28 +0000</pubDate>
		<dc:creator>saji</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[CUPS]]></category>
		<category><![CDATA[HP]]></category>
		<category><![CDATA[Printer]]></category>

		<guid isPermaLink="false">http://www.oss101.com/?p=132</guid>
		<description><![CDATA[Configuring  HP5200 was too simple . I had done only this much . I connected the printer to the server (feodra 12 ) , and switched on the server
The printer was automatically detected and configured to the system.
From the client side (Fedora 12) I did had problem in connecting to the printer. This was because [...]]]></description>
			<content:encoded><![CDATA[<p>Configuring  HP5200 was too simple . I had done only this much . I connected the printer to the server (feodra 12 ) , and switched on the server<br />
The printer was automatically detected and configured to the system.<br />
From the client side (Fedora 12) I did had problem in connecting to the printer. This was because of name resolution problem + cups<br />
settings<br />
I had to do few steps<br />
# In the server (ie where the printer was connected ) I had to give the necessary sharing option for the CUPS (http://server.mydomain.com:631/<br />
# In  the Linux client PC , I had to edit the /etc/hosts file and made entry for the server</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oss101.com/?feed=rss2&amp;p=132</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling services in Ubuntu</title>
		<link>http://www.oss101.com/?p=129</link>
		<comments>http://www.oss101.com/?p=129#comments</comments>
		<pubDate>Tue, 22 Jun 2010 13:38:24 +0000</pubDate>
		<dc:creator>saji</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.oss101.com/?p=129</guid>
		<description><![CDATA[In ubuntu u can use
&#8220;update-rc.d -f  service remove &#8221; to disable the services when the machine boots up
]]></description>
			<content:encoded><![CDATA[<p>In ubuntu u can use</p>
<p>&#8220;update-rc.d -f  service remove &#8221; to disable the services when the machine boots up</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oss101.com/?feed=rss2&amp;p=129</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
