Linux



15 Apr 10

I recently setup Subversion on Centos as well as RHEL, so thought will share the steps followed though it’s pretty straight forward it will help people looking for it and will be available to me for future references as well :)

Step1 Install rpmforge repository

$ sudo rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

Step2 Install Subversion

$ sudo yum install subversion

Step3 Install mod_dav_svn (Only required if you planning Apache Integration)

$ sudo yum install mod_dav_svn

Voila and you are done, go to command prompt and type following

$ svn –version

You should see output as below

svn, version 1.6.9 (r901367)
compiled Mar 22 2010, 00:59:50

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
– handles ‘http’ scheme
– handles ‘https’ scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
– with Cyrus SASL authentication
– handles ‘svn’ scheme
* ra_local : Module for accessing a repository on local disk.
– handles ‘file’ scheme


Filed under: Linux,OpenSource

Trackback Uri






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






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