Friday, January 01, 2010

dcache on fedora12

Below are the steps taken to get dcache working on Fedora. I was using my Fedora 12 for this. A lot of stuff below is coming from my chat logs with wvithanage who is the project fellow.

Install below packages via yum along with their dependancies.
yum package-name install

Make below symbolic links. You will have to create /usr/include/ossp directory as well )
Inside /usr/include/ossp/
uuid.h -> /usr/include/uuid.h

Inside /usr/lib
/usr/lib/ -> /usr/lib/mysql/
Make a directory, and inside it run the below. If you don't have "svn" installed,
yum install svn would get that for you.
Now, simply change the directory to "trunk" and run the below commands.
./configure --prefix=/usr
sudo make install
Run sudo dcache

Point the browser to and create a user and login. Make sure to put the mysql database access details properly, and assign a port for dcache to listen on..and you are done.

Now change your browser settings to use dcache as the proxy, after few minutes of browsing you should start noticing activities on the graphs.

Hope this helps..did this in a bit of a hurry. Probably will have to go through again and make sure i didn't miss anything out.

No comments: