<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8611940053650399717</id><updated>2011-12-23T17:31:56.875+05:30</updated><category term='linux'/><category term='apache'/><category term='bumpedinto'/><category term='freepbx'/><category term='technology'/><category term='virtual_hosts'/><category term='cvs'/><category term='postgres'/><category term='video softwares'/><category term='tools'/><category term='s3'/><category term='alfresco'/><category term='java'/><category term='ec2'/><category term='webmin'/><category term='softwares'/><category term='nagios'/><category term='codemunch'/><category term='crm'/><category term='game'/><category term='firefox'/><category term='asterisk'/><category term='bluetooth'/><category term='editor'/><category term='cp'/><category term='desktop'/><category term='wireless'/><category term='amazon'/><category term='RoR'/><category term='services'/><category term='Literature'/><category term='.htaccess'/><category term='jasper reports'/><category term='ubuntu'/><category term='plugins'/><category term='svn'/><category term='google'/><category term='database'/><title type='text'>All about opensource</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>38</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-7958755556026712955</id><published>2009-02-24T18:58:00.003+05:30</published><updated>2009-02-24T19:09:37.352+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.htaccess'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><title type='text'>To protect a directory with .htaccess in Fedora</title><content type='html'>A folder or directory of the public documents can be protected to prevent unauthorized visitors from seeing its contents using "HTTP authentication"&lt;br /&gt;&lt;br /&gt;Create a file named .htaccess in the directory you want to protect and put following into file:&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;AuthType Basic&lt;br /&gt;AuthName "Secure Area"&lt;br /&gt;AuthUserFile /etc/httpd/conf/htpasswdfile&lt;br /&gt;Require valid-user&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Save the file and exit.&lt;br /&gt;Now create the htpasswd file at given location.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cd /etc/httpd/conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;htpasswd -c htpasswdfile admin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here one user 'admin' and password file 'htpasswdfile' is being created with the command 'htpasswd'&lt;br /&gt;It will prompt for password (2 times), supply the password.&lt;br /&gt;&lt;br /&gt;## (Some how apache, the web server user is not able to read the password file if you place the file in /root and /home/ folder so keep the file in the location where the httpd.conf file is)&lt;br /&gt;&lt;br /&gt;## Make sure &lt;span style="font-weight:bold;"&gt;AllowOverride&lt;/span&gt; is set to &lt;span style="font-weight:bold;"&gt;All&lt;/span&gt; in the &lt;span style="font-weight:bold;"&gt;httpd.conf&lt;/span&gt; file&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-7958755556026712955?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/7958755556026712955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=7958755556026712955' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7958755556026712955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7958755556026712955'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2009/02/to-protect-directory-with-htaccess-in.html' title='To protect a directory with .htaccess in Fedora'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-7620685911744147542</id><published>2009-02-17T17:55:00.005+05:30</published><updated>2009-02-17T18:12:29.746+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='freepbx'/><category scheme='http://www.blogger.com/atom/ns#' term='amazon'/><category scheme='http://www.blogger.com/atom/ns#' term='ec2'/><category scheme='http://www.blogger.com/atom/ns#' term='asterisk'/><title type='text'>Amazon EC2 Server Setup</title><content type='html'>Assuming you already created account on AWS ans S3 so you will be having:&lt;br /&gt;EC2 Private Key&lt;br /&gt;EC2 Certificate Key&lt;br /&gt;User ID&lt;br /&gt;S3 access key&lt;br /&gt;S3 secret key&lt;br /&gt;&lt;br /&gt;Download Amazon EC2 API Tools from &lt;a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&amp;categoryID=88"&gt;here&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;The command line tools used here require Java version 5 or later to run. Either a JRE or JDK installation is acceptable.&lt;br /&gt;&lt;br /&gt;Unzip it at some location.&lt;br /&gt;Let say on /root/amazon&lt;br /&gt;Also assuming you have your EC2 Private Key &amp; EC2 Certificate Key at /root/amazon/ec2&lt;br /&gt;&lt;br /&gt;Set these in your environment. Open .bash_profile file and add these entries as below:&lt;br /&gt;&lt;br /&gt;PATH=............:/root/amazon/ec2-api-tools-1.3-30349/bin&lt;br /&gt;&lt;br /&gt;export PATH&lt;br /&gt;unset USERNAME&lt;br /&gt;&lt;br /&gt;JAVA_HOME=/usr/local/jdk1.6.0_10&lt;br /&gt;export JAVA_HOME&lt;br /&gt;&lt;br /&gt;EC2_HOME=/root/amazon/ec2-api-tools-1.3-30349&lt;br /&gt;export EC2_HOME&lt;br /&gt;&lt;br /&gt;EC2_PRIVATE_KEY=/root/amazon/ec2/pk-xxxxxxx.pem&lt;br /&gt;export EC2_PRIVATE_KEY&lt;br /&gt;&lt;br /&gt;EC2_CERT=/root/amazon/ec2/cert-xxxxxxxxxx.pem&lt;br /&gt;export EC2_CERT&lt;br /&gt;&lt;br /&gt;After closing the .bash_profile file run the following command:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;source .bash_profile&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Finding a Suitable AMI:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ec2-describe-images -o self -o amazon | grep machine&lt;br /&gt;ec2-describe-images | grep public&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mT2Rvv8l6ac/SZqwdoifFQI/AAAAAAAAAqM/ujn0WFEq3CQ/s1600-h/clearaster1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 13px;" src="http://2.bp.blogspot.com/_mT2Rvv8l6ac/SZqwdoifFQI/AAAAAAAAAqM/ujn0WFEq3CQ/s400/clearaster1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5303745534326936834" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Generating a Keypair:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ec2-add-keypair gsg-keypair &lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Save the output content in a file (ex: id_rsa-gsg-keypair)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;chmod 600 id_rsa_gsg-keypair&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ec2-run-instances ami-86e90eef -k id_rsa_gsg-keypair&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Note down the instance id (i-56a32e3f). This may be different for you.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ec2-describe-instances i-56a32e3f&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(Note the Public URL ec2-174-129-185-64.compute-1.amazonaws.com, this may be different for you)&lt;br /&gt;&lt;br /&gt;Authorizing Network Access to Your Instances:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ec2-authorize default -p 22&lt;br /&gt;ec2-authorize default -p 80&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Connecting to your Instance:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ssh -i id_rsa_gsg-keypair root@ec2-174-129-107-244.compute-1.amazonaws.com&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;root@my-instance # &lt;br /&gt;After login to the ec2 server start the services&lt;br /&gt;Start the Apache Web Server:&lt;br /&gt;[root@ip-xx-xxx-xx-xxx:~]&lt;span style="font-weight:bold;"&gt; /etc/init.d/httpd start&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Start the MySQl Server&lt;br /&gt;[root@ip-xx-xxx-xx-xxx:~] &lt;span style="font-weight:bold;"&gt;/etc/init.d/mysqld start&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Start the Asterisk Server&lt;br /&gt;[root@ip-xx-xxx-xx-xxx:~] &lt;span style="font-weight:bold;"&gt;amportal start&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Point the browser at:&lt;br /&gt;http://ec2-174-129-107-244.compute-1.amazonaws.com/&lt;br /&gt;&lt;br /&gt;Congratulations !! you have running Asterisk server with FreePBX and latest sugar.&lt;br /&gt;To Access sugar:&lt;br /&gt;http://ec2-174-129-107-244.compute-1.amazonaws.com/sugar52&lt;br /&gt;(User/Pass: admin/admin)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-7620685911744147542?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/7620685911744147542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=7620685911744147542' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7620685911744147542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7620685911744147542'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2009/02/amazon-ec2-server-setup.html' title='Amazon EC2 Server Setup'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mT2Rvv8l6ac/SZqwdoifFQI/AAAAAAAAAqM/ujn0WFEq3CQ/s72-c/clearaster1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-3107976743524008563</id><published>2009-01-22T12:09:00.001+05:30</published><updated>2009-01-22T12:14:35.817+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='s3'/><title type='text'>Managing S3 account from Fedora or Linux machine</title><content type='html'>Download S3 commands tool from &lt;a href="http://sourceforge.net/project/showfiles.php?group_id=178907"&gt;SourceForge &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(select tar file of the s3cmd to download)&lt;br /&gt;&lt;br /&gt;Untar it some convenient location say /usr/local&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cd /usr/local&lt;/span&gt;&lt;br /&gt;tar ixzf s3cmd-0.9.8.x.tar.gz &lt;br /&gt;&lt;br /&gt;It will create one dir s3cmd-0.9.8.x&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cd s3cmd-0.9.8.x&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;python setup.py install&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create a configuration file:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;s3cmd --configure&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Supply your S3 account id and secret key&lt;br /&gt;&lt;br /&gt;Follow the instructions...&lt;br /&gt;&lt;br /&gt;Once config file is created you can use s3cmd.&lt;br /&gt;&lt;br /&gt;How to use and other for general usage run the&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;s3cmd --help&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-3107976743524008563?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/3107976743524008563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=3107976743524008563' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/3107976743524008563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/3107976743524008563'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2009/01/managing-s3-account-from-fedora-or.html' title='Managing S3 account from Fedora or Linux machine'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-3952084785844763231</id><published>2008-11-24T16:05:00.004+05:30</published><updated>2008-11-24T16:36:19.558+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='virtual_hosts'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><title type='text'>Creating Virtual Hosts in Apache for Fedora</title><content type='html'>In the &lt;span style="font-weight:bold;"&gt;/etc/httpd/conf/httpd.conf&lt;/span&gt; file add following line at the end or in the virtual host section.&lt;br /&gt;&lt;br /&gt;NameVirtualHost *&lt;br /&gt;&lt;br /&gt;# for domain mydomain1.com&lt;br /&gt;&lt; VirtualHost * &gt;&lt;br /&gt;   DocumentRoot /var/www/vhosts/mydomain1/htdocs&lt;br /&gt;   ServerName mydomain1.com&lt;br /&gt;   ErrorLog /var/www/vhosts/mydomain1/logs/error_log&lt;br /&gt;   CustomLog /var/www/vhosts/mydomain1/logs/access_log common&lt;br /&gt;&lt; /VirtualHost &gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# for domain mydomain2.com&lt;br /&gt;&lt; VirtualHost * &gt;&lt;br /&gt;   DocumentRoot /var/www/vhosts/mydomain2/htdocs&lt;br /&gt;   ServerName mydomain2.com&lt;br /&gt;   ErrorLog /var/www/vhosts/mydomain2/logs/error_log&lt;br /&gt;   CustomLog /var/www/vhosts/mydomain2/logs/access_log common&lt;br /&gt;&lt; /VirtualHost &gt;&lt;br /&gt;&lt;br /&gt;Save end Close the file.&lt;br /&gt;&lt;br /&gt;Create directories/files according to the virtual hosts defined in the httpd.conf file.&lt;br /&gt;&lt;br /&gt;$ cd /var/www&lt;br /&gt;$ mkdir vhosts&lt;br /&gt;$ cd /var/www/vhosts&lt;br /&gt;$ mkdir -p mydomain1/htdocs&lt;br /&gt;$ cd mydomain1&lt;br /&gt;$ mkdir logs&lt;br /&gt;$ cd logs&lt;br /&gt;$ touch error_log&lt;br /&gt;$ touch access_log&lt;br /&gt;$ cd mydomain1&lt;br /&gt;$ chown -R apache:apache logs&lt;br /&gt;$ chown -R apache:apache htdocs&lt;br /&gt;&lt;br /&gt;Restart the web server (apache).&lt;br /&gt;&lt;br /&gt;/etc/init.d/httpd restart&lt;br /&gt;&lt;br /&gt;To teat the Virtual Host syntax:&lt;br /&gt;&lt;br /&gt;$ /usr/sbin/httpd  -S&lt;br /&gt;&lt;br /&gt;(Output will be like below)&lt;br /&gt;&lt;br /&gt;VirtualHost configuration:&lt;br /&gt;wildcard NameVirtualHosts and _default_ servers:&lt;br /&gt;*:*                    is a NameVirtualHost&lt;br /&gt;         port * namevhost mydomain1.com (/etc/httpd/conf/httpd.conf:1049)&lt;br /&gt;         port * namevhost mydomain2.com (/etc/httpd/conf/httpd.conf:1057)&lt;br /&gt;Syntax OK&lt;br /&gt;&lt;br /&gt;Virtual Host can be easily set and tested on Local Fedora / Redhat machine&lt;br /&gt;In local Fedora/RH machine:&lt;br /&gt;&lt;br /&gt;NameVirtualHost 127.0.0.1&lt;br /&gt; &lt;br /&gt;&lt; VirtualHost 127.0.0.1 &gt;&lt;br /&gt;   DocumentRoot "/var/www/html"&lt;br /&gt;   ServerName localhost&lt;br /&gt;&lt; /VirtualHost &gt;&lt;br /&gt;&lt;br /&gt;&lt; VirtualHost 127.0.0.1 &gt;&lt;br /&gt;   DocumentRoot "/var/www/mysite"&lt;br /&gt;   ServerName mysite.com&lt;br /&gt;&lt; /VirtualHost &gt;&lt;br /&gt;&lt;br /&gt;Add the mysite.com in the &lt;span style="font-weight:bold;"&gt;/etc/hosts&lt;/span&gt; file (at the end)&lt;br /&gt;127.0.0.1       localhost.localdomain   localhost       localhost&lt;br /&gt;::1     localhost6.localdomain6 localhost6&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;127.0.0.1   mysite.com mysite.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Restart the Apache.&lt;br /&gt;&lt;br /&gt;Point your browser at:&lt;br /&gt;http://localhost&lt;br /&gt;&lt;br /&gt;It will display the content under /var/www/html dir&lt;br /&gt;&lt;br /&gt;http://mysite.com/&lt;br /&gt;&lt;br /&gt;It will display the content under /var/www/mysite dir&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-3952084785844763231?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/3952084785844763231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=3952084785844763231' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/3952084785844763231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/3952084785844763231'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2008/11/creating-virtual-hosts-in-apache-for.html' title='Creating Virtual Hosts in Apache for Fedora'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-5887362712094869051</id><published>2008-11-04T19:04:00.003+05:30</published><updated>2008-11-04T19:08:12.604+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='svn'/><title type='text'>creating svn repository in Fedora</title><content type='html'>Lets first install subversion (svn server packages) and Apache module for subversion:&lt;br /&gt;&lt;br /&gt;$ yum -y install subversion mod_dav_svn &lt;br /&gt;&lt;br /&gt;$cd /etc/httpd/conf.d/&lt;br /&gt;$ vi subversion.conf&lt;br /&gt;&lt;br /&gt;# Make sure you uncomment the following if they are commented out&lt;br /&gt;LoadModule dav_svn_module     modules/mod_dav_svn.so&lt;br /&gt;LoadModule authz_svn_module   modules/mod_authz_svn.so&lt;br /&gt;&lt;br /&gt;# Add the following to allow a basic authentication and point Apache to where the actual&lt;br /&gt;# repository resides.&lt;br /&gt;&lt;Location /repos&gt;&lt;br /&gt;        DAV svn&lt;br /&gt;        SVNPath /var/www/svn/repos&lt;br /&gt;        AuthType Basic&lt;br /&gt;        AuthName "SVN Access"&lt;br /&gt;        AuthUserFile /etc/httpd/conf.d/svnpassowrd&lt;br /&gt;        Require valid-user&lt;br /&gt;&lt;/Location&gt;&lt;br /&gt;&lt;br /&gt;Add user who can access the repository:&lt;br /&gt;$ htpasswd -cm /etc/httpd/conf.d/svnpassowrd user1&lt;br /&gt;(It will ask for the apssword for the user 'user1')&lt;br /&gt;&lt;br /&gt;$ htpasswd -m  /etc/httpd/conf.d/svnpassowrd user2&lt;br /&gt;(It will ask for the apssword for the user 'user2')&lt;br /&gt;&lt;br /&gt;Create the repository: &lt;br /&gt;&lt;br /&gt;$ cd /var/www/ &lt;br /&gt;$ mkdir svn&lt;br /&gt;$ cd svn&lt;br /&gt;$ svnadmin create repos&lt;br /&gt;$ chown -R apache:apache repos&lt;br /&gt;$ service httpd restart&lt;br /&gt;&lt;br /&gt;Access repository from a web browser: &lt;br /&gt;http://ip-address/repos&lt;br /&gt;(It will ask the apache authentication user and password, supply the user/pass we created using htpasswd command)&lt;br /&gt;&lt;br /&gt;Imporing a project into repository:&lt;br /&gt;$ svn import /home/sanjay/testproj/  file:///var/svn/repos/testptoj -m "initial testproject"&lt;br /&gt;&lt;br /&gt;Here "repos" is the svn repository (created by svnadmin create command) and "testproj" is one project inside this repository.&lt;br /&gt;/home/sanjay/testproj is the folder containing all the files we want to be in repos.&lt;br /&gt;&lt;br /&gt;Adding a dir tree in the existing repository.&lt;br /&gt;Case: Although we can use the svn add/commit but if the dir is too big and there is no UI access for svn repository then&lt;br /&gt;better  use the "import" command of svn.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now if we want to add "wiki" folder into the "testproj" then use the import as below"&lt;br /&gt;&lt;br /&gt;$ svn import /home/sanjay/testproj/wiki/ file:///var/svn/repos/testproj/wiki -m "wiki folder in testproj"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-5887362712094869051?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/5887362712094869051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=5887362712094869051' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/5887362712094869051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/5887362712094869051'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2008/11/creating-svn-repository-in-fedora.html' title='creating svn repository in Fedora'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-8963892793209586458</id><published>2008-07-24T16:53:00.002+05:30</published><updated>2008-07-24T17:07:16.861+05:30</updated><title type='text'>Taking dump of svn repository</title><content type='html'>This is for taking a dump of a existing svn repository and creating a svn repository on different server.&lt;br /&gt; &lt;br /&gt;Take the dump of svn repo from svn. &lt;br /&gt;If we want all the log history then no argument is needed.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$svnadmin dump /opt/svn/myrepo/ &gt;myrepobackup&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Copy this file to new server.&lt;br /&gt;&lt;br /&gt;Create one repo on new server.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ svnadmin create --fs-type fsfs /opt/svn/myrepo/&lt;/span&gt;&lt;br /&gt;Load from the svn dump copy&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$svnadmin load /opt/svn/myrepo &lt; /root/Desktop/myrepobackup&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This way we will get all the history log file of existing repository.&lt;br /&gt;&lt;br /&gt;If we want dump of a particular revision the use:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ svnadmin dump /opt/svn/myrepo -r 100 &gt;myrepobackup100&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For creating a repository read:&lt;br /&gt;&lt;a href="http://sanjaykatiyar1.blogspot.com/2007/06/add-svn-repository.html"&gt;http://sanjaykatiyar1.blogspot.com/2007/06/add-svn-repository.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-8963892793209586458?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/8963892793209586458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=8963892793209586458' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/8963892793209586458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/8963892793209586458'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2008/07/taking-dump-of-svn-repository.html' title='Taking dump of svn repository'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-663543546319484853</id><published>2008-06-19T19:02:00.001+05:30</published><updated>2008-06-19T19:05:02.528+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='cvs'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>CVS Installation on Ubuntu</title><content type='html'>Login to server as root. &lt;br /&gt;Install CVS files:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;apt-get install cvs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Install the CVS server:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;apt-get install cvsd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After installing some file it will prompt (UI) for your repository name.&lt;br /&gt;By default it provides 2 repos&lt;br /&gt;demo&lt;br /&gt;myrepos&lt;br /&gt;&lt;br /&gt;Either you can remove these and add one new or let it be there and add new one.&lt;br /&gt;Let say add '/cvsrepo'. Click the OK to close the UI.&lt;br /&gt;&lt;br /&gt;If the folder cvsrepo does not exist, then create it. &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cd /var/lib/cvsd&lt;br /&gt;mkdir cvsrepo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Initialize the repository&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cvs -d /var/lib/cvsd/cvsrepo init&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create a user and password to access the cvs repository (cvsrepo):&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cvsd-passwd /var/lib/cvsd/cvsrepo +cvsuser&lt;/span&gt;&lt;br /&gt;(cvsuser is the user name who is going to access the cvs repo.&lt;br /&gt;It will ask password for user 'cvsuser' supply the password)&lt;br /&gt;If you want to add more user follow the same..&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cvsd-passwd /var/lib/cvsd/cvsrepo +newuser&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Change the following&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;vi /var/lib/cvsd/cvsrepo/CVSROOT/config&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Change "SystemAuth=no"&lt;br /&gt;&lt;br /&gt;Just make sure the cvsrepo is added.&lt;br /&gt;Open the /etc/cvsd/cvsd.conf file&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;vi /etc/cvsd/cvsd.conf&lt;/span&gt;&lt;br /&gt;Go to the end of the file.&lt;br /&gt;If below line is there then its fine otherwise add the following line&lt;br /&gt;Repos /cvsrepo&lt;br /&gt;&lt;br /&gt;then restart cvsd:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;/etc/init.d/cvsd restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Give the right permission to the repo:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cd /var/lib/cvsd&lt;br /&gt;chown -R cvsd:cvsd cvsrepo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Test installation:&lt;br /&gt;cd to some dir&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cvs -d :pserver:cvsuser@localhost:/cvsrepo login&lt;br /&gt;&lt;br /&gt;cvs -d :pserver:cvsuser@localhost:/cvsrepo checkout .&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;If its checking out without any error then it means all is well.&lt;br /&gt;Then you can create the projects (module) in cvsrepo.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-663543546319484853?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/663543546319484853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=663543546319484853' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/663543546319484853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/663543546319484853'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2008/06/cvs-installation-on-ubuntu.html' title='CVS Installation on Ubuntu'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-2847219996847015291</id><published>2008-05-29T19:56:00.000+05:30</published><updated>2008-05-29T19:59:13.124+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='plugins'/><title type='text'>How to insatll Java plugins in Firefox on Fedora</title><content type='html'>Case 1: If you do not have  have JDK &gt;1.5 installed then download the jre for Fedora/Redhat from here:&lt;br /&gt;&lt;a href="http://java.com/en/download/help/5000010500.xml#download"&gt;http://java.com/en/download/help/5000010500.xml#download&lt;/a&gt;&lt;br /&gt;And installed jre as steps given at same page.&lt;br /&gt;&lt;br /&gt;Let say jre has been installed at /usr/java/jre1.6.0/&lt;br /&gt;&lt;br /&gt;Case 2: If Firefox is installed as RPM then run the command:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;$ cd /usr/lib/firefox-x.x.x.x/plugins&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;$ ln -s /usr/java/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Case 3: If you already have JDK &gt;1.5 installed then cd to jdk location.&lt;br /&gt;Lets say jdk is insatlled at:&lt;br /&gt;/usr/local/jdk1.5.0_09/&lt;br /&gt;&lt;span style="font-style:italic;"&gt;$ cd /usr/lib/firefox-x.x.x.x/plugins&lt;br /&gt;$ ln -s /usr/local/jdk1.5.0_09/jre/plugin/i386/ns7/libjavaplugin_oji.so&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Case 4: If Firefax has been installed manually then cd to firefox&lt;br /&gt;Lets say Firefox is at /usr/local/firefox&lt;br /&gt;&lt;span style="font-style:italic;"&gt;$ cd /usr/local/firefox/plugins&lt;br /&gt;$ ln -s /usr/local/jdk1.5.0_09/jre/plugin/i386/ns7/libjavaplugin_oji.so&lt;/span&gt;&lt;br /&gt;or&lt;br /&gt;&lt;span style="font-style:italic;"&gt;$ ln -s /usr/java/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Restart the Firefox:)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-2847219996847015291?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/2847219996847015291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=2847219996847015291' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/2847219996847015291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/2847219996847015291'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2008/05/how-to-insatll-java-plugins-in-firefox.html' title='How to insatll Java plugins in Firefox on Fedora'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-5816305844171428966</id><published>2008-05-23T17:08:00.003+05:30</published><updated>2008-05-23T17:23:25.543+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='jasper reports'/><category scheme='http://www.blogger.com/atom/ns#' term='postgres'/><title type='text'>Using Jasper reports with Postgres database</title><content type='html'>As Jasper reports has been written in Java we need JDK/JRE installed on machine.&lt;br /&gt;Download jasper report from here (jasperreports-3.0.0-project.tar.gz)&lt;br /&gt;&lt;a href="http://sourceforge.net/project/showfiles.php?group_id=36382&amp;package_id=28579"&gt;http://sourceforge.net/project/showfiles.php?group_id=36382&amp;package_id=28579&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Open it at some convenient location lets say:&lt;br /&gt;/usr/local&lt;br /&gt;A folder will be created jasperreports-3.0.0&lt;br /&gt;&lt;br /&gt;Here we are going to create reports from the Postgres sql so we need Java Postgres driver.&lt;br /&gt;Download driver from here:&lt;br /&gt;&lt;a href="http://jdbc.postgresql.org/download.html"&gt;http://jdbc.postgresql.org/download.html&lt;/a&gt;&lt;br /&gt;Select appropriate jar file, means if JDK is &gt;1.4 &lt;1.6 and Postgres &gt;8.1 then &lt;br /&gt;download the JDBC3 (postgresql-8.2-508.jdbc3.jar)&lt;br /&gt;Place this file at /usr/local/jasperreports-3.0.0/lib folder.&lt;br /&gt;&lt;br /&gt;There are many sample reports type availabe in the jasperreports-3.0.0/demo/samples&lt;br /&gt;Let say we are interested in the Charts type of report (Bar, Pie and Line charts)&lt;br /&gt;&lt;br /&gt;To connet to the postgres database open the ChartsApp.java file.&lt;br /&gt;By defualt Jasper uses inbuilt HSQL db and below function does this:&lt;br /&gt; &lt;span style="font-style:italic;"&gt;private static Connection getConnection() throws ClassNotFoundException, SQLException&lt;br /&gt;        {&lt;br /&gt;                //Change these settings according to your local configuration&lt;br /&gt;                String driver = "org.hsqldb.jdbcDriver";&lt;br /&gt;                String connectString = "jdbc:hsqldb:hsql://localhost";&lt;br /&gt;                String user = "sa";&lt;br /&gt;                String password = "";&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                Class.forName(driver);&lt;br /&gt;                Connection conn = DriverManager.getConnection(connectString, user, password);&lt;br /&gt;                return conn;&lt;br /&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Change it to something like this:&lt;br /&gt;   &lt;span style="font-style:italic;"&gt; // for postgre sql db&lt;br /&gt;      private static Connection getConnection() throws ClassNotFoundException, SQLException&lt;br /&gt;                //Change these settings according to your local configuration&lt;br /&gt;&lt;br /&gt;                String driver = "org.postgresql.Driver";&lt;br /&gt;                String connectString = "jdbc:postgresql://localhost:5432/YOUR_PG_DB_NAME";&lt;br /&gt;                String user = "PG_USER_NAME";&lt;br /&gt;                String password = "PG_USER_PASSWORD";&lt;br /&gt;&lt;br /&gt;                Class.forName(driver);&lt;br /&gt;                Connection conn = DriverManager.getConnection(connectString, user, password);&lt;br /&gt;                return conn;&lt;br /&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now in any one of the jrxml file you can write your sql query depending upon the requirement.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-5816305844171428966?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/5816305844171428966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=5816305844171428966' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/5816305844171428966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/5816305844171428966'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2008/05/using-jasper-reports-with-postgres.html' title='Using Jasper reports with Postgres database'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-3419180694277979821</id><published>2008-04-25T19:17:00.002+05:30</published><updated>2008-04-25T19:29:18.966+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='webmin'/><category scheme='http://www.blogger.com/atom/ns#' term='cp'/><title type='text'>installing webmin</title><content type='html'>If you want to manage your server then its a good idea to install a control panel application like webmin.&lt;br /&gt;Its easy to install on Redhat based systems like RH, Fedora or CentOS.&lt;br /&gt;&lt;br /&gt;Download the rpm package from here:&lt;br /&gt;&lt;a href="http://www.webmin.com/download.html"&gt;http://www.webmin.com/download.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then run the command as su&lt;br /&gt;rpm -U webmin-1.410-1.noarch.rpm&lt;br /&gt;&lt;br /&gt;To access the webmin via browser:&lt;br /&gt;http://Your_IP_Address:10000/&lt;br /&gt;or&lt;br /&gt;http://localhost:10000/&lt;br /&gt;&lt;br /&gt;By default webmin uses 10000 port.&lt;br /&gt;&lt;br /&gt;May be this port is blocked by firewall on your system, to open this port just add following line in the /etc/sysconfig/iptables file&lt;br /&gt;[0:0] -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT&lt;br /&gt;&lt;br /&gt;And restart the iptables&lt;br /&gt;/etc/init.d/iptables restart&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-3419180694277979821?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/3419180694277979821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=3419180694277979821' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/3419180694277979821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/3419180694277979821'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2008/04/installing-webmin.html' title='installing webmin'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-7515259492406927998</id><published>2008-03-11T11:36:00.002+05:30</published><updated>2008-03-11T11:44:59.233+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='services'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>Get Google Applications for your domain</title><content type='html'>Goolge provides many services like Gmail, Google Talk, Google Calendar, Google Docs, Google Sites &lt;br /&gt;for a domain free of cost.&lt;br /&gt;&lt;br /&gt;Here is the link, by this you can get the google mail, docs and other&lt;br /&gt;services for your domain.&lt;br /&gt;&lt;br /&gt;http://www.google.com/a/help/intl/en/admins/editions_spe.html&lt;br /&gt;&lt;br /&gt;Select "Standard Edition" Free and follow the instructions.&lt;br /&gt;&lt;br /&gt;At the last step it will create one text file which you have to copy in &lt;br /&gt;html/htdocs/public_html folder of your domain. &lt;br /&gt;Goolge will read this file and verify the domain.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-7515259492406927998?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/7515259492406927998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=7515259492406927998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7515259492406927998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7515259492406927998'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2008/03/get-google-applications-for-your-domain.html' title='Get Google Applications for your domain'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-8299202704081746767</id><published>2008-03-07T18:54:00.002+05:30</published><updated>2008-03-07T19:02:49.593+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='softwares'/><title type='text'>Files, directories and database script comparison tool</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.aquafold.com/images/linux-in-action-large.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px;" src="http://www.aquafold.com/images/linux-in-action-large.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;There is one UI based tool available for Linux which can be used for Files, database script and directory comparison; its "Aqua Data Studio".&lt;br /&gt;Download the Linux version from &lt;a href="http://www.aquafold.com/downloads.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It requires JDK/JRE 1.5 or above.&lt;br /&gt;&lt;br /&gt;After downloading the tar file extract it some location and run the datastudio.sh file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-8299202704081746767?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/8299202704081746767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=8299202704081746767' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/8299202704081746767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/8299202704081746767'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2008/03/files-directories-and-database-script.html' title='Files, directories and database script comparison tool'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-2303376440463280753</id><published>2008-02-21T12:04:00.002+05:30</published><updated>2008-02-21T12:22:47.880+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='desktop'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>Google Desktop on Linux</title><content type='html'>Google is providing desktop search via Goolge Desktop. Its very easy to install on Linux machine.&lt;br /&gt;&lt;br /&gt;Download rpm from &lt;a href="http://desktop.google.com/en/linux/download.html"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Run the rpm as:&lt;br /&gt;&lt;br /&gt;$rpm -ivh google-desktop-linux-current.rpm&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_mT2Rvv8l6ac/R70fWwD2lhI/AAAAAAAAAXc/On6NOBhzzEM/s1600-h/google.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_mT2Rvv8l6ac/R70fWwD2lhI/AAAAAAAAAXc/On6NOBhzzEM/s320/google.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5169322423009842706" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After installing it will take some time for indexing the local hard disk.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-2303376440463280753?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/2303376440463280753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=2303376440463280753' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/2303376440463280753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/2303376440463280753'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2008/02/google-desktop-on-linux.html' title='Google Desktop on Linux'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_mT2Rvv8l6ac/R70fWwD2lhI/AAAAAAAAAXc/On6NOBhzzEM/s72-c/google.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-2929818276964305815</id><published>2008-02-11T13:00:00.000+05:30</published><updated>2008-02-11T13:03:04.629+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='editor'/><title type='text'>Editing a file on Nano Editor</title><content type='html'>Open the file with write mode&lt;br /&gt;&lt;br /&gt;$ nano -w file_name&lt;br /&gt;&lt;br /&gt;Modify the file&lt;br /&gt;Press Ctrl+O, ENTER and Ctrl+X to Save and Exit the editor&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-2929818276964305815?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/2929818276964305815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=2929818276964305815' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/2929818276964305815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/2929818276964305815'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2008/02/editing-file-on-nano-editor.html' title='Editing a file on Nano Editor'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-8904960525813000904</id><published>2008-02-05T18:11:00.000+05:30</published><updated>2008-02-05T18:13:57.375+05:30</updated><title type='text'>Installation of CVS Server</title><content type='html'>Most of the latest Linux distro comes with cvs installed. &lt;br /&gt;Only you have to make some adjustment to make it running.&lt;br /&gt;&lt;br /&gt;Check in your machine by typing:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$which cvs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If it returns some path then its there so please skip first two steps.&lt;br /&gt;&lt;br /&gt;1. Take the rpm version of cvs server from&lt;br /&gt;http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/&lt;br /&gt;&lt;br /&gt;2. run the command as su&lt;br /&gt;( I stored downloaded rpm at /home/sanjay/)&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$rpm -ivh /home/sanjay/cvs-1.11.x-x.i386.rpm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It will install cvs at /usr/bin&lt;br /&gt;&lt;br /&gt;Alternatively cvs can be installed via yum &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ yum install cvs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3. Create cvsroot directory&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$mkdir /home/sanjay/projects&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4. Set environment variable CVSROOT in root's .bash_profile&lt;br /&gt;$ vi .bash_profile&lt;br /&gt;(in .bash_profile file add lines)&lt;br /&gt;CVSROOT=/home/sanjay/projects&lt;br /&gt;export CVSROOT&lt;br /&gt;&lt;br /&gt;(After saving &amp; exiting the file run the command&lt;br /&gt;$ source .bash_profile (to make the changes permanent)&lt;br /&gt;&lt;br /&gt;5. Initialize CVSROOT&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ cvs -d /home/sanjay/projects init&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It will create one directory named CVSROOT inside /home/sanjay/projects&lt;br /&gt;&lt;br /&gt;6. Edit /etc/xinetd.conf file&lt;br /&gt;&lt;br /&gt;Add following entry at the last:&lt;br /&gt;&lt;br /&gt;service cvspserver&lt;br /&gt;{&lt;br /&gt;socket_type = stream&lt;br /&gt;protocol = tcp&lt;br /&gt;wait = no&lt;br /&gt;user = root&lt;br /&gt;env = HOME=/home/sanjay/projects&lt;br /&gt;server = /usr/bin/cvs&lt;br /&gt;server_args = --allow-root=/home/sanjay/projects pserver&lt;br /&gt;disable = no&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7. restart xinetd server&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ service xinetd restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;8. Add one user/group cvs, who owns the /home/sanjay/projects directory&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ adduser cvs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;9. Give ownership of /home/sanjay/projects directory to this cvs user&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;chown cvs:cvs /home/sanjay/projects/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;10. Give right permissions to the directory&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ chmod -R 2775 /home/sanjay/projects/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;11. Add exiting user to the cvs group so they can access the repository&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ usermod -G cvs vivek&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(assuming vivek user is already there)&lt;br /&gt;&lt;br /&gt;12. Adding module to repository&lt;br /&gt;&lt;br /&gt;Create folder say moodle inside /home/sanjay/projects/&lt;br /&gt;and put all the projects file there&lt;br /&gt;&lt;br /&gt;Like :&lt;br /&gt;$mkdir /home/sanjay/projects/moodle&lt;br /&gt;&lt;br /&gt;14. moodle will become the module inside repository that we can checkout and can checkin our files.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-8904960525813000904?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/8904960525813000904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=8904960525813000904' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/8904960525813000904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/8904960525813000904'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2008/02/installation-of-cvs-server.html' title='Installation of CVS Server'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-8102261500802350881</id><published>2008-02-01T17:46:00.000+05:30</published><updated>2008-02-02T02:13:07.538+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='softwares'/><category scheme='http://www.blogger.com/atom/ns#' term='bumpedinto'/><title type='text'>Solunas: The hotel management system</title><content type='html'>&lt;a href="http://solunas.org/"&gt;Solunas&lt;/a&gt; is a Hotel Booking Engine Software written in RoR. &lt;br /&gt;&lt;br /&gt;There are 2 separate parts of the whole application.&lt;br /&gt;a) Backend: Solunas server for the admin of the property.&lt;br /&gt;Its features are:&lt;br /&gt;Manage your Properties / Rooms, &lt;br /&gt;Manage the very flexible price system - Minimum stay / weekday match / etc&lt;br /&gt;&lt;br /&gt;b) Frontend:A component integrated on Joomla for the end users.&lt;br /&gt;Its features are:&lt;br /&gt;Show availability calendars&lt;br /&gt;Cart function to add multiple bookings&lt;br /&gt;Checkout&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Installation&lt;/span&gt;( Applicable on Linux, tested on Fedora 7)&lt;br /&gt;I am assuming your machine has MySQL, Apache, Ruby and Rails installed.&lt;br /&gt;&lt;br /&gt;Download the solunas from &lt;a href="http://sourceforge.net/project/showfiles.php?group_id=115860"&gt;sourceforge&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Extract it some where like /home/sanjay&lt;br /&gt;&lt;br /&gt;Create one blank database on mysql.&lt;br /&gt;&lt;br /&gt;There is one sql file solunas.sql inside solunas/db folder, dump this file against the mysql database created for solunas.&lt;br /&gt;&lt;br /&gt;Check your ruby version:&lt;br /&gt;&lt;br /&gt;$ rails -v&lt;br /&gt;&lt;br /&gt;Then change the environment.rb file (inside config folder)&lt;br /&gt;RAILS_GEM_VERSION = '1.1.6'&lt;br /&gt;&lt;br /&gt;Also change the database.yml file: &lt;br /&gt;development:&lt;br /&gt;  adapter: mysql&lt;br /&gt;  database: solunas&lt;br /&gt;  username: db_user&lt;br /&gt;  password: db_pass&lt;br /&gt;  host: localhost&lt;br /&gt;&lt;br /&gt;Start the webrick server.&lt;br /&gt;&lt;br /&gt;$ cd /home/sanjay/solunas&lt;br /&gt;$ ruby script/server&lt;br /&gt;&lt;br /&gt;Point your browser at:&lt;br /&gt;http://localhost:3000/&lt;br /&gt;Login as user 'marc' and password 'isemann'&lt;br /&gt;And start managing your hotel. &lt;br /&gt;:)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-8102261500802350881?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/8102261500802350881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=8102261500802350881' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/8102261500802350881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/8102261500802350881'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2008/02/solunas-hotel-management-system.html' title='Solunas: The hotel management system'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-7003378137406990114</id><published>2008-01-07T19:28:00.000+05:30</published><updated>2008-01-07T19:34:58.335+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><category scheme='http://www.blogger.com/atom/ns#' term='codemunch'/><title type='text'>Introducing CodeMunch</title><content type='html'>We have indroduced the web based application &lt;a href="http://www.codemunch.com"&gt;http://www.codemunch.com&lt;/a&gt;. CodeMunch is the innovative way to manage one's profile cum resume. In short CodeMunch is a resume builder. Our main targeted audiences are freshers from colleges of various streams, who struggle a lot to create their professional looking resume. In CodeMunch they can import their resume in different formats including PDF and doc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-7003378137406990114?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/7003378137406990114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=7003378137406990114' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7003378137406990114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7003378137406990114'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2008/01/introducing-codemunch.html' title='Introducing CodeMunch'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-984738213158863276</id><published>2007-12-21T13:08:00.000+05:30</published><updated>2007-12-21T13:23:50.975+05:30</updated><title type='text'>Live to the present</title><content type='html'>Borrowed from the Charvak;&lt;br /&gt;&lt;br /&gt;           &lt;span style="font-weight:bold;"&gt; &lt;span style="font-style:italic;"&gt;While life is yours live joyously;&lt;br /&gt;            No one can avoid Death's searching eye:&lt;br /&gt;            When this body of ours is burnt,&lt;br /&gt;            How can it ever return again?&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Or the very popular saying of Charvak:&lt;br /&gt;&lt;br /&gt;            &lt;span style="font-style:italic;"&gt;Jab tuk jiyo sukh se jiyo&lt;br /&gt;            Chahe udhaar le ke Ghee piyo&lt;span style="font-weight:bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-984738213158863276?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/984738213158863276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=984738213158863276' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/984738213158863276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/984738213158863276'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/12/live-to-present.html' title='Live to the present'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-2249981102631840827</id><published>2007-11-27T14:13:00.000+05:30</published><updated>2007-11-27T14:18:01.713+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='softwares'/><title type='text'>A quick note on how to install Alfresco</title><content type='html'>1. Install (if not already there) jre/jdk1.5x (no jdk-1.4x)&lt;br /&gt;&lt;br /&gt;2. Set JAVA_HOME environment variable&lt;br /&gt;In the .bash_profile file of root add these line at the last&lt;br /&gt;JAVA_HOME=/Path_Of_Jdk1.5&lt;br /&gt;export JAVA_HOME&lt;br /&gt;&lt;br /&gt;3. Create a dir 'alfresco' in /opt&lt;br /&gt;&lt;br /&gt;$cd /opt&lt;br /&gt;$ mkdir alfresco&lt;br /&gt;&lt;br /&gt;4. Download this file 'alfresco-community-tomcat-2.0.0.tar.gz' from&lt;br /&gt;sourceforge&lt;br /&gt;http://sourceforge.net/project/showfiles.php?group_id=143373&lt;br /&gt;&lt;br /&gt;5. Untar the tar file at /opt/alfresco&lt;br /&gt;$ cd /opt/alfresco&lt;br /&gt;$tar -xzf  /Path/alfresco-community-tomcat-2.0.0.tar.gz&lt;br /&gt;&lt;br /&gt;6. Create one mysql database&lt;br /&gt;$ cd alfresco/extras/databases/mysql&lt;br /&gt;$ mysql -u root -p  &lt; db_setup.sql&lt;br /&gt;&lt;br /&gt;7. Remove 3 files (default for HSQL) from here&lt;br /&gt;&lt;br /&gt;$ cd /opt/alfresco/tomcat/shared/classes/alfresco/extension&lt;br /&gt;&lt;br /&gt; custom-db-and-data-context.xml&lt;br /&gt; custom-db-connection.properties&lt;br /&gt; custom-hibernate-dialect.properties&lt;br /&gt;&lt;br /&gt;8. Start the tomcat server and run the alfresco&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$cd /opt/alfresco&lt;br /&gt;$ alfresco.sh start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;9. Point browser at&lt;br /&gt;http://localhost:8080/alfresco&lt;br /&gt;&lt;br /&gt;10. Stop alfresco&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$cd /opt/alfresco&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ alfresco.sh stop&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-2249981102631840827?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/2249981102631840827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=2249981102631840827' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/2249981102631840827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/2249981102631840827'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/11/quick-note-on-how-to-install-alfresco.html' title='A quick note on how to install Alfresco'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-7688133615078828269</id><published>2007-10-25T15:37:00.000+05:30</published><updated>2007-10-25T15:55:25.437+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='softwares'/><title type='text'>NetBeans IDE on Linux</title><content type='html'>The NetBeans IDE is a free, open-source Integrated Development Environment for software developers. &lt;br /&gt;The NetBeans IDE provides developers with all the tools they need to create professional &lt;br /&gt;cross-platform desktop, enterprise, web and mobile applications. &lt;br /&gt;&lt;br /&gt;To install NetBeans IDE on Linux (Steps given here are performed on FC7):&lt;br /&gt;&lt;br /&gt;It needs Java SDK-1.5.x so first install Java SDK-1.5.x and the JAVA_HOME in the environment variable in the .bash_profile file &lt;br /&gt;&lt;br /&gt;# Download NetBeans IDE from &lt;a href="http://www.netbeans.info/downloads/index.php"&gt;here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Downloaded file be like this:  netbeans-x_x_x-linux.bin &lt;br /&gt;&lt;br /&gt;# Make the file executable&lt;br /&gt;&lt;br /&gt;$ chmod +x  netbeans-x_x_x-linux.bin &lt;br /&gt;Run this file&lt;br /&gt;$ ./netbeans-x_x_x-linux.bin &lt;br /&gt;&lt;br /&gt;It will open the Launcher, accept the License and click Next. &lt;br /&gt;Select the Java version you want to use with the IDE, specify the path where you want to install the NetBeans IDE.&lt;br /&gt;&lt;br /&gt;It will install all the files in the selected folder to run the NetBeans IDE cd to the bin directory and run the command:&lt;br /&gt;&lt;br /&gt;$ ./netbeans&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-7688133615078828269?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.netbeans.org/' title='NetBeans IDE on Linux'/><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/7688133615078828269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=7688133615078828269' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7688133615078828269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7688133615078828269'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/10/netbeans-ide-on-linux.html' title='NetBeans IDE on Linux'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-2268621679618937387</id><published>2007-10-17T11:47:00.000+05:30</published><updated>2007-10-17T11:54:20.884+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Could not find default font "fixed" . X Server not starting</title><content type='html'>If you encountered this problem in your linux then most probably this is because of there is no enough space left in your hard disk &lt;br /&gt;&lt;br /&gt;Login as root in the text mode and check the hard disk space:&lt;br /&gt;&lt;br /&gt;$ df -h&lt;br /&gt;&lt;br /&gt;If available space is very low then delete some unwanted files/folder and make more space.&lt;br /&gt;&lt;br /&gt;Restart your machine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-2268621679618937387?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/2268621679618937387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=2268621679618937387' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/2268621679618937387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/2268621679618937387'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/10/could-not-find-default-font-fixed-x.html' title='Could not find default font &quot;fixed&quot; . X Server not starting'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-352309019456949231</id><published>2007-10-15T14:41:00.000+05:30</published><updated>2007-10-15T14:48:00.626+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='game'/><title type='text'>Breakout game for Linux</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_mT2Rvv8l6ac/RxMvPG56egI/AAAAAAAAAAs/6C6orJrJmnw/s1600-h/lgame.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://bp3.blogger.com/_mT2Rvv8l6ac/RxMvPG56egI/AAAAAAAAAAs/6C6orJrJmnw/s320/lgame.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5121489137848449538" /&gt;&lt;/a&gt;&lt;br /&gt;Want to play your favorite BREAKOUT game on Linux box. Its open source clone version is available.&lt;br /&gt;&lt;br /&gt; Download the sorce code from &lt;a href="http://lgames.sourceforge.net"&gt;here&lt;/a&gt; .&lt;br /&gt;Open the tar file and run the following commands in the terminal.&lt;br /&gt;&lt;br /&gt;$cd lbreakout-x-xx&lt;br /&gt;$ ./configure&lt;br /&gt;$ make&lt;br /&gt;$ make install&lt;br /&gt;&lt;br /&gt;The executale will be installed at /usr/local/bin&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-352309019456949231?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/352309019456949231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=352309019456949231' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/352309019456949231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/352309019456949231'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/10/breakout-game-for-linux.html' title='Breakout game for Linux'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_mT2Rvv8l6ac/RxMvPG56egI/AAAAAAAAAAs/6C6orJrJmnw/s72-c/lgame.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-8214295959067792873</id><published>2007-09-27T18:37:00.000+05:30</published><updated>2007-09-27T18:40:56.833+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='RoR'/><category scheme='http://www.blogger.com/atom/ns#' term='softwares'/><title type='text'>RMagick installation on Fedoras</title><content type='html'>RMagick requires ImageMagick and ImageMagick-devel libraries.&lt;br /&gt;Your distribution may include at least some of these libraries by default and probably provides pre-built packages for the others. If not, these are available as source code tarballs from http://www.imagemagick.org/pub/delegates/.&lt;br /&gt;&lt;br /&gt;Or you can install these using the yum command:&lt;br /&gt;&lt;br /&gt;$yum install ImageMagick&lt;br /&gt;&lt;br /&gt;$yum install ImageMagick-devel&lt;br /&gt;&lt;br /&gt;RMagick also needs Windows TureType font, download the rpm from here:&lt;br /&gt;&lt;br /&gt;http://www.zacharywhitley.com/linux/rpms/fedora/core/6/i386/msttcorefonts-2.0-1.noarch.rpm&lt;br /&gt;&lt;br /&gt;Install this:&lt;br /&gt;$ rpm -ivh msttcorefonts-2.0-1.noarch.rpm&lt;br /&gt;&lt;br /&gt;Make a symbolic link the font dir to the place rmagick expects them:&lt;br /&gt;&lt;br /&gt;ln -s /usr/share/fonts/msttcorefonts  /usr/share/fonts/default/TrueType&lt;br /&gt;&lt;br /&gt;Some applications based on RMagick also requires freeimage header files.&lt;br /&gt;Download freeimage from here &lt;br /&gt;http://freeimage.sourceforge.net/download.html&lt;br /&gt;Unzip the file and cd to the freeimage dir and run following commands&lt;br /&gt;&lt;br /&gt;# make&lt;br /&gt;# make install&lt;br /&gt;&lt;br /&gt;Now install RMagic using the gem &lt;br /&gt;&lt;br /&gt;$ gem install RMagick --include-dependencies&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-8214295959067792873?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/8214295959067792873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=8214295959067792873' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/8214295959067792873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/8214295959067792873'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/09/rmagick-installation-on-fedoras.html' title='RMagick installation on Fedoras'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-7634889265526539531</id><published>2007-08-30T11:31:00.000+05:30</published><updated>2007-08-30T11:34:32.876+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='bluetooth'/><category scheme='http://www.blogger.com/atom/ns#' term='wireless'/><title type='text'>Connecting Bluetooth devices</title><content type='html'>Tested on FC7 running on Compaq Presario and Nokia-N73 and Sony w300i&lt;br /&gt;&lt;br /&gt;Start the bluetooth device like mobile phone having bluetooth support.&lt;br /&gt;Oviously device should have in-front of the Laptop.&lt;br /&gt;&lt;br /&gt;Start the Bluetooth service on FC7. &lt;br /&gt;System =&gt; Administration =&gt; Server Settings =&gt; Services =&gt; Bluetooth&lt;br /&gt;Turn on the Wireless on FC7&lt;br /&gt;&lt;br /&gt;Run the Bluetooth File Sharing&lt;br /&gt;Applications =&gt; System Tools =&gt; Bluetooth File Sharing&lt;br /&gt;&lt;br /&gt;To check whether FC7 is able to scan the mobile devices&lt;br /&gt;Run at terminal:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ hcitool scan&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It will display the mobile name.&lt;br /&gt;&lt;br /&gt;Now open the file browser to send file to mobile.&lt;br /&gt;&lt;br /&gt;Right click on file =&gt; Send to =&gt; Bluetooth =&gt; Select the mobile name&lt;br /&gt;&lt;br /&gt;In the Mobile it will ask for confirmation, click yes to accept the file from computer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-7634889265526539531?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/7634889265526539531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=7634889265526539531' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7634889265526539531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7634889265526539531'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/08/connecting-bluetooth-devices.html' title='Connecting Bluetooth devices'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-6393971840151819611</id><published>2007-08-22T17:05:00.000+05:30</published><updated>2007-08-22T17:26:10.195+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='video softwares'/><title type='text'>running mp3 and video on Fedora</title><content type='html'>As default Fedora installation does not support player for MP3 and some video format like avi and MP4, we have to install either MPlayer or VLC to play these files.&lt;br /&gt;&lt;br /&gt;To install MPlayer and VLC:&lt;br /&gt;&lt;br /&gt;Copy the freshrpm from &lt;a href="http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/5/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm"&gt;here&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Install this rpm:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$rpm -ivh freshrpms-release-1.1-1.fc.noarch.rpm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now install MPlayer and VLC&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ yum -y install mplayer vlc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After successful installation you get the &lt;span style="font-weight:bold;"&gt;'MPlayer'&lt;/span&gt; and &lt;span style="font-weight:bold;"&gt;'VLC media player'&lt;/span&gt; menu in the Applications =&gt; Sound and Video&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-6393971840151819611?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/6393971840151819611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=6393971840151819611' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/6393971840151819611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/6393971840151819611'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/08/running-mp3-and-video-on-fedora.html' title='running mp3 and video on Fedora'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-6289269550865741896</id><published>2007-08-08T15:25:00.000+05:30</published><updated>2007-08-08T15:29:10.665+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='softwares'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>installing and running memcached</title><content type='html'>memcached is a general-purpose distributed memory caching system.&lt;br /&gt;It is often used to speed up dynamic database-driven websites by caching data and objects in memory to reduce the amount the database needs to be read.&lt;br /&gt;&lt;br /&gt;memcached is dependent on libevent library, so firstly download the source files for Libevent&lt;br /&gt;from &lt;a href="http://http://www.monkey.org/~provos/libevent/"&gt;http://www.monkey.org/~provos/libevent/&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Install libevent:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ tar -xvf libevent-1.3c.tar.gz&lt;br /&gt;$ cd libevent-1.3c&lt;br /&gt;$ ./configure&lt;br /&gt;$ make&lt;br /&gt;$ make install&lt;br /&gt;&lt;br /&gt;In Fedora the library (libevent-1.3c.so.1.0.3) will be installed at&lt;br /&gt;/usr/local/lib&lt;br /&gt;Create a link or copy this file to standard libarary location (/lib) of Fedora&lt;br /&gt;$ cd /lib&lt;br /&gt;$ ln -s /usr/local/lib/libevent-1.3c.so.1.0.3  libevent-1.3c.so.1&lt;br /&gt;&lt;br /&gt;Download the latest memcached from &lt;a href="http://www.danga.com/memcached/download.bml"&gt;http://www.danga.com/memcached/download.bml&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;$ tar -xzf memcached-1.2.2.tar.gz&lt;br /&gt;$ cd memcached-1.2.2&lt;br /&gt;$ ./configure&lt;br /&gt;$ make&lt;br /&gt;$ make install&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Running:&lt;/span&gt;&lt;br /&gt;$ memcached -h &lt;br /&gt;(Will display various options)&lt;br /&gt;&lt;br /&gt;To run as a deoman&lt;br /&gt;$ memcached -d -u apache&lt;br /&gt;Will start as daemon with default options Port(p): 11211 and Max memory (m) to use: 64MB&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-6289269550865741896?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/6289269550865741896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=6289269550865741896' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/6289269550865741896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/6289269550865741896'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/08/installing-and-running-memcached.html' title='installing and running memcached'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-7746081128808990387</id><published>2007-08-01T17:41:00.000+05:30</published><updated>2007-08-01T18:04:27.185+05:30</updated><title type='text'>Create swap file in Fedora- Linux</title><content type='html'>Swap file is used by the Kernel for Virtual Memory.&lt;br /&gt;It is recommended to have swap size double of the RAM but if RAM is more than enough (&gt;512 MB) then&lt;br /&gt;smaller swap has no issue.&lt;br /&gt;&lt;br /&gt;To know the actual memory (RAM) and already swap on a Linux box use the free command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ free&lt;/span&gt;&lt;br /&gt;             total       used       free     shared    buffers     cached&lt;br /&gt;Mem:        507956     489860      18096          0       9580      76876&lt;br /&gt;-/+ buffers/cache:     403404     104552&lt;br /&gt;Swap:      1012084      69668     942416&lt;br /&gt;&lt;br /&gt;Now to create extra swap file follow the steps:&lt;br /&gt;(To create swap file of approx 1GB)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ dd if=/dev/zero  if=/usr/more_swap  bs=1000000 count=1024&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(It will create one swap file more_swap in /usr)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ chmod  600 /usr/more_swap&lt;br /&gt;$ mkswap  /usr/more_swap&lt;br /&gt;$ swapon  /usr/more_swap&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now add this file to the /etc/fstab file (at last)&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ vi /etc/fstab&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;/usr/more_swap  swap   swap  defaults  0  0&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-7746081128808990387?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/7746081128808990387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=7746081128808990387' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7746081128808990387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7746081128808990387'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/08/create-swap-file-in-fedora-linux.html' title='Create swap file in Fedora- Linux'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-883130152540430388</id><published>2007-07-17T11:50:00.000+05:30</published><updated>2007-07-17T12:11:19.696+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='softwares'/><category scheme='http://www.blogger.com/atom/ns#' term='nagios'/><title type='text'>Installing and running Nagios</title><content type='html'>Download latest &amp; stable nagios from here. Select the tarball&lt;br /&gt;&lt;a href="http://www.nagios.org/download/"&gt;Download&lt;/a&gt;&lt;br /&gt;Also download the plugins&lt;br /&gt;&lt;br /&gt;Here these steps have been performed on Fedora 2 and Fedora5 using the nagios-2.9 and nagios-plugin-1.4.9.&lt;br /&gt;&lt;br /&gt;Add one user nagios and one group nagcmd&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$adduser nagios&lt;/span&gt;&lt;br /&gt;(There is no need of assigning password to this user as this user is not going to login to the&lt;br /&gt;system)&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$groupadd nagcmd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Add user nagios and web server user apache to this group&lt;br /&gt;(To know who is the owner of web server&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$grep "^User" /etc/httpd/conf/httpd.conf&lt;/span&gt;&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$usermod -G nagcmd nagios&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$usermod -G nagcmd apache&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$cd /usr/local/&lt;/span&gt;&lt;br /&gt;Create one dir to hold all the nagios files&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ mkdir nagios&lt;/span&gt;&lt;br /&gt;Change ownership of this dir to nagios&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$chown -R nagios:nagios nagios&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Untar the downloaded nagios tar file&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$tar -xzf nagios-x.x.tar.gz&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;It will create one dir nagios-x.x inside the /usr/local&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;$cd nagios-x.x/&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Configure the nagios and install &lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;$./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=nagcmd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$make all&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$make install&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$make install-init&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$make install-commandmode&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$make install-config&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Installing Plugins&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ cd /usr/local&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Untar the downloaded nagios plugin&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$tar -xzf nagios-plugins-1.x.x.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$cd nagios-plugins-1.x.x/&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Configure the nagios plugin, and install plugins&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;$./configure --prefix=/usr/local/nagios&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$make&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$make install&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Plugins will be installed at&lt;br /&gt;/usr/local/nagios/libexec&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;Setup The Web Interface&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Configure Aliases and Directory Options For The Web Interface&lt;br /&gt;Add these line (at last) in the httpd.conf file (at /etc/httpd/conf dir)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(153, 0, 0);"&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;directory&gt;&lt;br /&gt;    Options ExecCGI&lt;br /&gt;    AllowOverride None&lt;br /&gt;    Order allow,deny&lt;br /&gt;    Allow from all&lt;br /&gt;    AuthName "Nagios Access"&lt;br /&gt;    AuthType Basic&lt;br /&gt;    AuthUserFile /usr/local/nagios/etc/htpasswd.users&lt;br /&gt;    Require valid-user&lt;br /&gt;&lt;/directory&gt;&lt;br /&gt;&lt;br /&gt;Alias /nagios /usr/local/nagios/share&lt;br /&gt;&lt;br /&gt;&lt;directory&gt;&lt;br /&gt;    Options None&lt;br /&gt;    AllowOverride None&lt;br /&gt;    Order allow,deny&lt;br /&gt;    Allow from all&lt;br /&gt;    AuthName "Nagios Access"&lt;br /&gt;    AuthType Basic&lt;br /&gt;    AuthUserFile /usr/local/nagios/etc/htpasswd.users&lt;br /&gt;    Require valid-user&lt;br /&gt;&lt;/directory&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Restart the webserver&lt;br /&gt;$ /etc/init.d/httpd restart&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;Configure Web Authentication&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$htpasswd -c /usr/local/nagios/etc/htpasswd.users  nagiosadmin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(Enter the password)&lt;br /&gt;&lt;br /&gt;Rename the config sample file&lt;br /&gt;Nagios creates sample configurtion files at /usr/local/nagios/etc&lt;br /&gt;Rename these files&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$cd /usr/local/nagios/etc&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$mv nagios.cfg-sample nagios.cfg&lt;/span&gt;&lt;br /&gt;...and so on&lt;br /&gt;&lt;br /&gt;Start nagios&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$/etc/init.d/nagios start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After changing any config file check the main nagios.config&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It will display any syntax error in any config file with file name and line number, rectify the errors and reload the nagios.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$/etc/init.d/nagios reload&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Point your browser at:&lt;br /&gt;&lt;br /&gt;http://localhost/nagios&lt;br /&gt;&lt;br /&gt;It will ask for apache authentication, supply the user: nagiosadmin and password&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-883130152540430388?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/883130152540430388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=883130152540430388' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/883130152540430388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/883130152540430388'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/07/installing-and-running-nagios.html' title='Installing and running Nagios'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-7642880031612451391</id><published>2007-07-12T00:59:00.000+05:30</published><updated>2007-07-12T01:04:21.048+05:30</updated><title type='text'>Himmat karne walon kee haar nahin hoti</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_mT2Rvv8l6ac/RpUwG5rO3ZI/AAAAAAAAAAc/Uo77vcMhzwk/s1600-h/poem1.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp0.blogger.com/_mT2Rvv8l6ac/RpUwG5rO3ZI/AAAAAAAAAAc/Uo77vcMhzwk/s320/poem1.png" alt="" id="BLOGGER_PHOTO_ID_5086024249304341906" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_mT2Rvv8l6ac/RpUwPZrO3aI/AAAAAAAAAAk/hsIlB_jt5ao/s1600-h/poem.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp2.blogger.com/_mT2Rvv8l6ac/RpUwPZrO3aI/AAAAAAAAAAk/hsIlB_jt5ao/s320/poem.png" alt="" id="BLOGGER_PHOTO_ID_5086024395333229986" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-7642880031612451391?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/7642880031612451391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=7642880031612451391' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7642880031612451391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7642880031612451391'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/07/himmat-karne-walo-ke-haar-nahin-hoti.html' title='Himmat karne walon kee haar nahin hoti'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_mT2Rvv8l6ac/RpUwG5rO3ZI/AAAAAAAAAAc/Uo77vcMhzwk/s72-c/poem1.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-7570752513655350912</id><published>2007-06-29T17:55:00.001+05:30</published><updated>2008-10-31T10:37:42.986+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='softwares'/><category scheme='http://www.blogger.com/atom/ns#' term='svn'/><title type='text'>add svn repository</title><content type='html'>1. add one svn user and group&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ useradd svn -c "SVN Owner" -s /bin/false&lt;/span&gt;      &lt;br /&gt;(-c comment, -s shell , here no shell access)&lt;br /&gt;&lt;br /&gt;2. If we want more than one repository then add group for each one.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ groupadd reposgp &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ usermod -G reposgp svn&lt;/span&gt;&lt;br /&gt;(Add this group to svn user/group)&lt;br /&gt;&lt;br /&gt;3. Create a Subversion repository&lt;br /&gt;&lt;br /&gt;We are creating it at /var ; svn will be the folder containing all repos&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ install -v -m 0755 -o svn -g svn -d /var/svn &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ svnadmin create --fs-type fsfs /var/svn/repos&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(Here 'repos' will be our repos)&lt;br /&gt;&lt;br /&gt;Now we can import some files/dir to the repos&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ svn import -m "Initial import." /path/to/source/tree &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    file:///var/svn/repos&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now change owner and group information on the repository, and add&lt;br /&gt;an unprivileged user to the svn and reposgp groups:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ chown -R svn:odotgp /var/svn/repos&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ chmod -R g+w /var/svn/repos&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ chmod g+s /var/svn/repos/db &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ usermod -G svn,repsogp sanjay&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(here sanjay is already a user in the system)&lt;br /&gt;&lt;br /&gt;We can verify the existing groups of user with the commands&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ groups sanjay&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-7570752513655350912?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/7570752513655350912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=7570752513655350912' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7570752513655350912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7570752513655350912'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/06/add-svn-repository.html' title='add svn repository'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-2973440575441368520</id><published>2007-06-18T12:47:00.000+05:30</published><updated>2007-06-18T12:49:13.597+05:30</updated><title type='text'>Regular Expressions</title><content type='html'>&lt;span style="color: rgb(204, 0, 0);"&gt;Regular Expression:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;^ : Matches the Beginning of string&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;$ : Matches the End of string&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;(): Parentheses, define the scope and precedence of Operators&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;Quantification: How often the preceding expression is allowed&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;There are 3: ?, * and +&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;?: 0 or 1   [ colo&lt;span style="font-weight: bold; font-style: italic;"&gt;u&lt;/span&gt;?r will match color or colour ]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;*: 0, 1 or any number [ g&lt;span style="font-weight: bold; font-style: italic;"&gt;o&lt;/span&gt;*gol will match ggol, gogol, googol, gooogol etc ]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;+: at least 1 [ g&lt;span style="font-style: italic; font-weight: bold;"&gt;o&lt;/span&gt;+gol = gogol, googol, gooogol etc ]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;{n}: Repeat n times the previous exp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;Examples:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;1xx : ^1[0-9]{x}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;21xx or 22xx: ^2[12][0-9]{2}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;3xxxxxxxxxx, 4xxxxxxxxx, 9xxxxxxxxx (10 digits telephone number starting with 3, 4 or 9)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;^[349][0-9]{9}&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-2973440575441368520?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/2973440575441368520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=2973440575441368520' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/2973440575441368520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/2973440575441368520'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/06/regular-expressions.html' title='Regular Expressions'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-7851642052060561689</id><published>2007-06-14T16:34:00.000+05:30</published><updated>2007-06-14T16:43:59.428+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='softwares'/><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>Setting a Crontab</title><content type='html'>&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Syntax:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;*     *              *                *               *              command&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="color: rgb(0, 0, 153);"&gt;# Use the hash sign to prefix a comment&lt;br /&gt;# +---------------- minute (0 - 59)&lt;br /&gt;# |  +------------- hour (0 - 23)&lt;br /&gt;# |  |  +---------- day of month (1 - 31)&lt;br /&gt;# |  |  |  +------- month (1 - 12)&lt;br /&gt;# |  |  |  |  +---- day of week (0 - 7) (Sunday=0 or 7)&lt;br /&gt;# |  |  |  |  |&lt;br /&gt;# *  *  *  *  *  command to be executed&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p style="color: rgb(0, 0, 153);"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;b&gt;Crontab&lt;/b&gt; &lt;b&gt;&lt;a name="Example"&gt;Example&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;_______&lt;br /&gt;&lt;span style="font-weight: 400;"&gt;&lt;br /&gt;A line in crontab file like below  removes the tmp files from /home/someuser/tmp  each day at 6:30 PM.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="color: rgb(0, 0, 153);"&gt;&lt;span style="font-weight: 400;"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;30     18      *     *     *          rm /home/someuser/tmp/* &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="color: rgb(0, 0, 153);"&gt; &lt;/p&gt;&lt;p style="color: rgb(0, 0, 153);"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;Changing the parameter values as below will cause this command to run at  different time schedule below :&lt;/span&gt;&lt;/p&gt;       &lt;table style="color: rgb(0, 0, 153);" bordercolorlight="#DBDBDB" bordercolordark="#FFFFFF" border="1" cellpadding="0" cellspacing="0" height="127" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;     &lt;td style="font-weight: bold; color: rgb(204, 0, 0);" bg="" align="center" height="13" width="8%"&gt;&lt;span style="color: rgb(255, 255, 255);font-family:Verdana;font-size:78%;"  &gt;min&lt;/span&gt;&lt;/td&gt;     &lt;td style="font-weight: bold; color: rgb(204, 0, 0);" bg="" align="center" height="13" width="9%"&gt;&lt;span style="color: rgb(255, 255, 255);font-family:Verdana;font-size:78%;"  &gt;hour&lt;/span&gt;&lt;/td&gt;     &lt;td style="font-weight: bold; color: rgb(204, 0, 0);" bg="" align="center" height="13" width="9%"&gt;&lt;span style="color: rgb(255, 255, 255);font-family:Verdana;font-size:78%;"  &gt;day/month&lt;/span&gt;&lt;/td&gt;     &lt;td style="font-weight: bold; color: rgb(204, 0, 0);" bg="" align="center" height="13" width="13%"&gt;&lt;span style="color: rgb(255, 255, 255);font-family:Verdana;font-size:78%;"  &gt;month&lt;/span&gt;&lt;/td&gt;     &lt;td style="font-weight: bold; color: rgb(204, 0, 0);" bg="" align="center" height="13" width="9%"&gt;&lt;span style="color: rgb(255, 255, 255);font-family:Verdana;font-size:78%;"  &gt;day/week&lt;/span&gt;&lt;/td&gt;     &lt;td style="font-weight: bold; color: rgb(204, 0, 0);" bg="" align="left" height="13" valign="top" width="66%"&gt;&lt;span style="color: rgb(255, 255, 255);font-family:Verdana;font-size:78%;"  &gt; Execution       time&lt;/span&gt;&lt;/td&gt;       &lt;/tr&gt;       &lt;tr&gt;     &lt;td bg="" align="center" height="38" width="8%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;30&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="9%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;0&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="9%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;1&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="13%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;1,6,12&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="9%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;*&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="left" height="38" valign="top" width="66%"&gt;&lt;span style=";font-family:Verdana;font-size:78%;"  &gt;-- 00:30 Hrs       on 1st of Jan, June &amp; Dec.&lt;/span&gt;&lt;/td&gt;       &lt;/tr&gt;       &lt;tr&gt;     &lt;td colspan="6" bg="" align="center" height="1" width="100%"&gt;       &lt;p align="left"&gt;&lt;span style="color: rgb(219, 219, 219);font-family:Verdana;font-size:78%;"  &gt;:&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;       &lt;/tr&gt;       &lt;tr&gt;     &lt;td bg="" align="center" height="38" width="8%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;0&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="9%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;20&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="9%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;*&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="13%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;10&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="9%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;1-5&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="left" height="38" valign="top" width="66%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;--8.00 PM every      weekday (Mon-Fri) only in Oct.&lt;/span&gt;&lt;/td&gt;       &lt;/tr&gt;       &lt;tr&gt;     &lt;td colspan="6" bg="" align="center" height="2" width="100%"&gt;       &lt;p align="left"&gt;&lt;span style="color: rgb(219, 219, 219);font-family:Verdana;font-size:78%;"  &gt;:&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;       &lt;/tr&gt;       &lt;tr&gt;     &lt;td bg="" align="center" height="38" width="8%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;0&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="9%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;0&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="9%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;1,10,15&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="13%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;*&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="9%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;*&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="left" height="38" valign="top" width="66%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;-- midnight on      1st ,10th &amp; 15th of month&lt;/span&gt;&lt;/td&gt;       &lt;/tr&gt;       &lt;tr&gt;     &lt;td colspan="6" bg="" align="center" height="2" width="100%"&gt;       &lt;p align="left"&gt;&lt;span style="color: rgb(219, 219, 219);font-family:Verdana;font-size:78%;"  &gt;:&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;       &lt;/tr&gt;       &lt;tr&gt;     &lt;td bg="" align="center" height="38" width="8%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;5,10&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="9%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;0&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="9%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;10&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="13%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;*&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="center" height="38" width="9%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;1&lt;/span&gt;&lt;/td&gt;     &lt;td bg="" align="left" height="38" valign="top" width="66%"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;-- At      12.05,12.10 every Monday &amp; on 10th of every month&lt;/span&gt;&lt;/td&gt;       &lt;/tr&gt;       &lt;tr&gt;     &lt;td colspan="6" bg="" height="1" width="100%"&gt;&lt;span style="color: rgb(219, 219, 219);font-family:Verdana;font-size:78%;"  &gt;:&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);font-family:Times New Roman;font-size:100%;"  &gt;By default cron jobs sends a email to the user account executing the cronjob.  If this is not needed put the following command At the end of the cron job line  .&lt;br /&gt;&lt;br /&gt;&gt;/dev/null 2&gt;&amp;amp;1&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-7851642052060561689?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/7851642052060561689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=7851642052060561689' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7851642052060561689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7851642052060561689'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/06/syntax-command-use-hash-sign-to-prefix.html' title='Setting a Crontab'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-4838683887483313738</id><published>2007-05-17T13:33:00.000+05:30</published><updated>2007-05-17T13:39:07.334+05:30</updated><title type='text'>Happy Bday to Shlok</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_mT2Rvv8l6ac/RkwNjOMwibI/AAAAAAAAAAM/x89sNXIK5go/s1600-h/DSC01503.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp2.blogger.com/_mT2Rvv8l6ac/RkwNjOMwibI/AAAAAAAAAAM/x89sNXIK5go/s320/DSC01503.JPG" alt="" id="BLOGGER_PHOTO_ID_5065438579643156914" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;My son Muthu aka Shlok just celebrated his first birthday at 12th May&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-4838683887483313738?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/4838683887483313738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=4838683887483313738' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/4838683887483313738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/4838683887483313738'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/05/happy-bday-to-shlok.html' title='Happy Bday to Shlok'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_mT2Rvv8l6ac/RkwNjOMwibI/AAAAAAAAAAM/x89sNXIK5go/s72-c/DSC01503.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-1217280548539470911</id><published>2007-05-16T18:47:00.000+05:30</published><updated>2007-05-16T18:48:17.620+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='softwares'/><title type='text'>bugzilla installation on Fedora</title><content type='html'>Download latest stable Bugzilla from &lt;a href="http://www.bugzilla.org/download/"&gt;here&lt;/a&gt;&lt;br /&gt;Untar the package at /var/www/html folder&lt;br /&gt;$ tar -xzf bubzilla.x.x.tar.gz&lt;br /&gt;&lt;br /&gt;Bugzilla's installation process is based on a script called checksetup.pl. The first thing it checks is whether you have appropriate versions of all the required Perl modules. The aim of this section is to pass this check. When it passes, proceed to Section 2.2.&lt;br /&gt;&lt;br /&gt;To check you have the required modules, run:&lt;br /&gt;&lt;br /&gt;bash# ./checksetup.pl --check-modules&lt;br /&gt;&lt;br /&gt;checksetup.pl will print out a list of the required and optional Perl modules, together with the versions (if any) installed on your machine. The list of required modules is reasonably long; however, you may already have several of them installed&lt;br /&gt;&lt;br /&gt;$ perl -MCPAN -e 'install "&lt;modulename&gt;"'&lt;br /&gt;&lt;br /&gt;Create one database in mysql with user/passord&lt;br /&gt;&lt;br /&gt;Change the localcongif file of bugzilla (db related)&lt;br /&gt;&lt;br /&gt;Run the&lt;br /&gt;./checksetup.pl&lt;br /&gt;&lt;br /&gt;Change the apache httpd.conf file add&lt;br /&gt; &lt;directory&gt;&lt;br /&gt;    AddHandler cgi-script .cgi&lt;br /&gt;    Options +Indexes +ExecCGI&lt;br /&gt;    DirectoryIndex index.cgi&lt;br /&gt;    AllowOverride Limit&lt;br /&gt;    &lt;/directory&gt;&lt;br /&gt;&lt;br /&gt;Restart the webserver&lt;br /&gt;Point browser at&lt;br /&gt;http://localhost/bugzilla&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-1217280548539470911?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/1217280548539470911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=1217280548539470911' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/1217280548539470911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/1217280548539470911'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/05/bugzilla-installation-on-fedora.html' title='bugzilla installation on Fedora'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-3232695933408407278</id><published>2007-05-07T17:22:00.000+05:30</published><updated>2007-05-07T17:39:46.329+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Literature'/><title type='text'>Favorite Hindi books</title><content type='html'>&lt;span style="font-family: courier new;"&gt;1. Shekhar - Ek Jeevani (part 1)- Agyey&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;2. Shekhar - Ek Jeevani (part 2)- Agyey&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;3. Nadi ke Dweep - Agyey&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;4. Apane-apane ajnabi-  Agyey&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;5. Yayaati - Vishnu Sakharaam Khandekar&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;6. Rag-Darbaari - Shree Laal shukla&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;7. Vishrampur ka Sant - Shree Laal shukla&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;8. Mujhe Chaand Chahiye - Surendra Verma&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;9. Mratunjay - Vishnu Sawant (Hindi)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;10. Yatha-sambhav - Sharad Joshi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;11. Vaishnav Ki Fislan: Harishankar Parsai&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;12. Gunaho ka Devata - Dharmveer Bharati&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;13. Aur Ant mein Prarthana- Udai Prakash&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;14. Tastari mein toofan: Meenaxi Puri&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;15. Apka Bunty : Mannu Bhandari&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;16. Saara Akash : Rajendra Yadav&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;17. Warren Hastings Ka Saand : Udai Prakash&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;18. Zindaginama : Krishna Sobti&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;19. Ghaalib Chuti Sharab: Ravindra Kaaliya&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;20. Chaak: Maitreyi Pushpa&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;21. Edennmam: Maitreyi Pushpa&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;22. Mitro Marjani: Krishna Sobti&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;23. Paul Gomara ka scooter: Udai Prakash&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;24. Maila Aanchal: Renu&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;25. Sunita : Jainendra&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;26. Peeli Chhatri Wali Larki: Udai Prakash&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;27. Tirich: Udai Prakash&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;28. Andha Yug: Dharam Vir Bharti&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;29. Dilo Daanish: Krishna Sobti&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;30. Kasap: Shyam Manohar Joshi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;31. Tyaag Patra: Jainendra&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-3232695933408407278?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/3232695933408407278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=3232695933408407278' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/3232695933408407278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/3232695933408407278'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/05/favorite-hindi-books.html' title='Favorite Hindi books'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-4371634635892259377</id><published>2007-04-23T19:04:00.000+05:30</published><updated>2007-04-23T19:11:03.380+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><category scheme='http://www.blogger.com/atom/ns#' term='alfresco'/><title type='text'>Install Alfresco from the Source Code in Fedoras</title><content type='html'>1. Install Java 1.5x&lt;br /&gt;If you dont have the java downlaod it from&lt;br /&gt;&lt;a href="http://java.sun.com/javase/downloads/index.jsp"&gt;here &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Install Tomcat 5.2x&lt;br /&gt;Take tomcat 5 from&lt;br /&gt;&lt;a href="http://tomcat.apache.org/download-55.cgi"&gt; here &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Install Ant 1.6x&lt;br /&gt;Download latest Ant from&lt;br /&gt;&lt;a href="http://ant.apache.org/bindownload.cgi"&gt; here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. Set these Environment Variables: In Redhat/Fedora linux these vales can be&lt;br /&gt;set in .bash_profile file&lt;br /&gt;    JAVA_HOME&lt;br /&gt;    TOMCAT_HOME&lt;br /&gt;    VIRTUAL_TOMCAT_HOME&lt;br /&gt;    (For virtual tomcat you need to install one more tomcat 5.2x)&lt;br /&gt;&lt;br /&gt;5. Checkout Source Code from here:&lt;br /&gt;   $svn co svn://svn.alfresco.com/alfresco/HEAD&lt;br /&gt;   $cd HEAD/root/projects/installer/HEAD&lt;br /&gt;   (delete 3 files custom*)&lt;br /&gt;&lt;br /&gt;6. $cd HEAD/root/&lt;br /&gt;   ant build-tomcat&lt;br /&gt;This will create one alfresco.war file and copy it to the&lt;br /&gt;TOMCAT_HOME/webapps/&lt;br /&gt;&lt;br /&gt;7. copy mysql-java connector jar file form&lt;br /&gt;HEAD/root/projects/3rd-party/lib/devenv/mysql-connector-java-5.0.3-bin.jar&lt;br /&gt;to TOMCAT_HOME/common/lib&lt;br /&gt;&lt;br /&gt;8. Create one alfresco database and grant all to alfresco user&lt;br /&gt;Connect to mysql as root&lt;br /&gt;mysql&gt;create database alfresco;&lt;br /&gt;mysql&gt;grant all on alfresco.* to alfresco@localhost identified by 'alfresco';&lt;br /&gt;mysql&gt;grant all on alfresco.* to alfresco@localhost.localdomain identified by 'alfresco';&lt;br /&gt;&lt;br /&gt;9. As default memory (heap size) allocated by tomcat for java is less than required to run the alfresco sp increase the heap size.Edit the tomcat/catalina.sh file and make&lt;br /&gt;&lt;br /&gt;$_RUNJAVA.... line like this&lt;br /&gt;$_RUNJAVA -Xmx512M $JAVA_OPTS $CATALINA_OPTS&lt;br /&gt;&lt;br /&gt;10. Start Tomcat&lt;br /&gt;    $./catalina.sh run &amp;&lt;br /&gt;&lt;br /&gt;11. Point Browser to:&lt;br /&gt;      http://localhost:8080/alfresco&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-4371634635892259377?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/4371634635892259377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=4371634635892259377' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/4371634635892259377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/4371634635892259377'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/04/install-alfresco-from-source-code-in.html' title='Install Alfresco from the Source Code in Fedoras'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-137280098346111783</id><published>2007-04-20T11:06:00.000+05:30</published><updated>2007-04-20T11:56:51.400+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='crm'/><title type='text'>Change sugarCRM password from backend</title><content type='html'>If you forget your sugar admin password then dont be panic.&lt;br /&gt;Can reset it from the mysql backend.&lt;br /&gt;&lt;br /&gt;Connect to your sugar mysql database and execute this query:&lt;br /&gt;&lt;br /&gt;For sugar version &lt;  style="font-family:verdana;"&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;update users set user_password=MD5('NewPass') where user_name='admin';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For sugar version &gt;= 45&lt;br /&gt;&lt;span style="font-family:verdana;font-size:130%;"&gt; update users set user_hash=MD5('NewPass') where user_name='admin';&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-137280098346111783?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/137280098346111783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=137280098346111783' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/137280098346111783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/137280098346111783'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/04/change-sugarcrm-password-from-backend.html' title='Change sugarCRM password from backend'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8611940053650399717.post-7291893573687319034</id><published>2007-04-18T14:51:00.000+05:30</published><updated>2007-04-18T14:58:01.387+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>Install Java on Linux Machine</title><content type='html'>Download the latest JDK from &lt;a href="http://java.sun.com/javase/downloads/index.jsp" title="Java"&gt;http://java.sun.com/javase/downloads/index.jsp&lt;/a&gt;&lt;br /&gt;Select jdk-xxx.xx.Linux.xxx.bin to download for Linux machine&lt;br /&gt;&lt;br /&gt;This is a binary file so execute this file.&lt;br /&gt;&lt;br /&gt;$ cd /usr&lt;br /&gt;$ ./jdk-xxx.x-linux-i586.bin&lt;br /&gt;&lt;br /&gt;Edit your bash profile file to set the Java home.&lt;br /&gt;&lt;br /&gt;$cd&lt;br /&gt;$vi .bash_profile&lt;br /&gt;Add/edit these lines&lt;br /&gt;PATH=/usr/jdk-xxx-x.x/bin&lt;br /&gt;&lt;br /&gt;JAVA_HOME=/usr/jdk-xxx-x.x/&lt;br /&gt;export JAVA_HOME&lt;br /&gt;&lt;br /&gt;#Save and Exit from the vi&lt;br /&gt;&lt;br /&gt;$source .bash_profile&lt;br /&gt;&lt;br /&gt;Check the java version&lt;br /&gt;$ java -version&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8611940053650399717-7291893573687319034?l=sanjaykatiyar1.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanjaykatiyar1.blogspot.com/feeds/7291893573687319034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8611940053650399717&amp;postID=7291893573687319034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7291893573687319034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8611940053650399717/posts/default/7291893573687319034'/><link rel='alternate' type='text/html' href='http://sanjaykatiyar1.blogspot.com/2007/04/install-java-on-linux-machine.html' title='Install Java on Linux Machine'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/15390787100245122465</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
