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
uuid-devel mysql-devel php-mysql php-ZendFramework-Db-Adapter-Mysqli lighttpd lighttpd-fastcgi
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/libmysqlclient_r.so -> /usr/lib/mysql/libmysqlclient_r.so.16.0.0
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.
./autogen.sh ./configure --prefix=/usr sudo make install
Run sudo dcache Point the browser to http://127.0.0.1:8085/ 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.

java security exceptions

note to self Found somewhat easy way to get around the annoying java security settings. Simply add the destinations preceded by http://...