OpenSource



1 Oct 09

I have been fiddling around with Apache for quite sometime now on Ubuntu and there were few questions which used to come to my mind as novice user initially like how do i install apache on first place, where are Apache logs, where are Apache conf files located, how do I add new site to Apache server, stopping and restarting the server so I thought that I would some up answer to all these question at a single place for my own future reference and for the help of my readers.

So first things first I will start with how to install apache here apt-get comes to your rescue and thanks to Ubuntu archives all you need to give simple on liner as shown below

sudo apt-get install apache2

So now that we are done with installation lets move on other things like for troubleshooting you need to know where are apache logs, apache logs can be found at below mentioned path here you can find access logs as well as error logs

/var/log/apache2/

we also need to know where are configuration related files to our web server for that we need to look at path mentioned below here you will find apache2.conf, httpd.conf, ports.conf and other configuration related files how to modify and update them is beyond the scope of this nifty article

/etc/apache2/

Moving on to next FAQ this one is my favourite now that I have setup apache how do I go about hosting my site thats the whole purpose for you following along this article, all you need to do is follow the sequence mentioned below

Create a file mysite or what ever name you want to give and add configuration related to your site in this file

gedit /etc/apache2/sites-available/mysite
cd /etc/apache2/sites-available
sudo a2ensite mysite

you are done with setting up your site.

Last of these faq’s is how do I start and stop the server for doing this all you need to know about is apache2ctl utility and you can start stop using it pretty easily

apache2ctl start
apache2ctl stop
apache2ctl restart

We are done with the faq’s which were in mind and I will keep on updating this list in future as and when things come to my mind. In next article I would covering how to use apache to host Subversion repositories along with domain authentication so stay tuned.

/etc/apache2/conf.d/

Filed under: Linux,OpenSource

Trackback Uri






22 Sep 09

Nice tutorial to get you started with your OpenSocial applications entirely in eclipse.

Installation details and tutorials can be found here. Enjoy OpenSocial development.


Filed under: OpenSource

Trackback Uri






16 Sep 09

I was struggling due to this problem for two days now and got the solution just now so thought I will share it
with you all; as I don’t want anyone else to land up in trouble as i did so I am using Hardy and was trying to build subvertpy from source as the package was not available for same.

The problem occurs due to absence of Python development headers as many python modules have dependency on  Python development headers to compile.

Solution is to install development headers using package manager; open the terminal and issue the following commands

sudo apt-cache search python

and select the package that matches your installation as in my case it is python2.5-dev; issue the following command to install it

sudo apt-get install python2.5-dev

This will install development headers in /usr/include/python2.5 and now you can build your python module successfully.


Filed under: OpenSource

Trackback Uri






7 Sep 09

Just wanted to let you know about an exciting event siliconindia is organizing on September 12 (Saturday in Mumbai). It’s by far the largest and most exciting event of its kind in Mumbai.

It is your chance to know the building of companies like Rediff.com, Syntel, Netmagic, Sulekha, Microworld and many more as their founders come and share their journey with us:
Venki Nishtala, Founder & CEO, Rediff.com
Keshav R. Murugesh, CEO, Syntel
Sharad Sanghi, Founder & CEO, Netmagic
Govind Rammurthy, Founder, CEO & MD, MicroWorld Technologies
Satya Prabhakar, Founder & CEO, Sulekha.com

There will be 30 most promising technology startups showcasing their products. You can meet these entrepreneurs and also over 30 investors.

To attend this event, register FREE at http://www.siliconindia.com/startupcity_mumbai/index.php

Watch live product demonstrations
Get a peek into cutting edge technologies
Lay hands on the best-of-breed solutions
Meet young, energetic, passionate geeks
Experience the culture of innovation in small companies
Visionary Keynotes
In-depth Panel Discussions

TIME: 8.45 AM to 5 PM
WHEN: Saturday, September 12, 2009
WHERE: Hotel RanSgarda, Bandra, Mumbai


Filed under: OpenSource

Trackback Uri






4 Sep 09

Eclipse latest version is Galileo and its not available from ubuntu archive I just finished installing it on my machine i thought I will share instructions with my readers.
So here we have a step by step instruction to install Eclipse Galileo (3.5) on Ubuntu mine is Hardy

Lets start with creating a directory where we want to install

mkdir /bin/ide

cd  /bin/ide

you can manually download the installable from one of the available mirrors or you can use wget for same I prefer using wget

wget http://d2u376ub0heus3.cloudfront.net/galileo/eclipse-java-galileo-linux-gtk.tar.gz

than we need to unzip the contents of the zip file and we are almost done

tar xzvf eclipse-java-galileo-linux-gtk .tar.gz

You can set the eclipse executable to your path

PATH=$PATH:/bin/ide/eclipse

This is not the best way to do it but still does the job alternatively you can create a simple shell file and keep it in bin directory whcih just calls eclipse and you are good to go.


Filed under: Linux,OpenSource

Trackback Uri






25 Jun 09

Few months back I wrote this module for some product which I was working that didn’t work out so I thought I will make it available to people to use.

This is very simple PHP API for fetching stock quotes from yahoo finance. I hope people find it useful. How to use it is mentioned in the PHP file itself. In case you have some queries regarding same ; do let me know.

You can download the PHP file from this link ystock

Any feedbacks are welcome.


Filed under: OpenSource,Programming

Trackback Uri






23 May 09

Assuming svn keywords property is enabled on your office files you need add the keywords in the syntax shown below

Path of file in the subversion repository $HeadURL::                         $
For the current $Revision::                                                  $
For the checkin date $Date::                                                 $
For Author $Author::                                                         $

The noticeable difference from the keywords expansion in text file is the extra spaces given after :: if you don’t give extra spaces than your file will get corrupted as during expansion the space required for expansion will not be available and hence causing corruption of files.


Filed under: OpenSource

Trackback Uri






21 Apr 09

For this week only, Atlassian is offering a special 5-user “starter” license of JIRA and Confluence for only $5 each. They’re calling it the Atlassian Stimulus Package and it’s a great way of supporting small teams and small businesses in this difficult economic environment. Best of all, they will be donating every penny to charity, so please help them spread the word!

The Atlassian Foundation is donating all proceeds to Room to Read, a charity that helps the world’s future entrepreneurs by building libraries and schools for children in developing nations.

Get all the details at www.atlassian.com/starter. Hurry, offer ends on 24 April 2009.

Please spread the word as much as possible.

I would like to congratulate Atlassian for the great effort.


Filed under: non-techanical,OpenSource

Trackback Uri






9 Mar 09

I am to used to searching everything from Firefox search providers box on the left hand side; I was getting fed up when I type some issue id for my local jira and not getting any results so I decided to develop a search provider for jira quick search and to my surprise it was easier than I expected; hence I put ins some effort in working it out and I want to save effort of people who might be interested in doing same.
We will create an xml file based on following page creating open search plugin for Firefox

<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>Jira</ShortName>
<Description>My Personal Jira</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">My Image URl</Image>
<Url type="text/html" method="post" template="http://vishy:8080/jira/secure/QuickSearch.jspa">
<Param name="searchString" value="{searchTerms}"/>
<Param name="ei" value="UTF-8"/>
</Url>
<SearchForm>http://vishy:8080/jira/secure/QuickSearch.jspa</SearchForm>
</OpenSearchDescription>

Edit the fields in bold according to your setup and save the file in your <Firefox installation directory>\searchplugins\jira.xml

Restart your browser and check the list of search providers; you will see a new search provider with name you specified in tag short name.

The above concept can be extended for searching any other intranet side through Firefox.

Enjoy searching Jira issues; post me back if you have some issue getting it working. :)


Filed under: OpenSource,Programming

Trackback Uri






6 Jan 09

Subversion 1.5 is out and its been almost half year to it. Now thought comes to mind where to go from here, Subversion has still a long way to go from here, Subversion developers should not content with accomplishments in 1.5 its still a long way for Subversion to go to be an enterprise software, having said that I would also like to point that penetration of Subversion in enterprise environment has considerably increased but still it has an uphill task and I am sure that Subversion development team is aware of same.

I am big fan of Subversion thats why I sometime ponder about its future, when I see fanatics talking about GIT, Clearcase and Perforce. I was really saddened when Linus trovalds in his speech said “whole point the Subversion project started is wrong” but I have not found anything wrong with the tool, may be I am not as capable as Linus and neither I am into kernel development but Subversion works pretty well for me and so does for my organization, and there are many other Subversion works for them too.

There is a big wish list which people might have for Subversion but I would say to Subversion developer community add the features which are good for tool as whole and keep in mind that Subversion is version control first anything else later.


Filed under: OpenSource

Trackback Uri