perfsonar-dev - SQL-MA on FreeBSD
Subject: perfsonar development work
List archive
- From: Mukul Sabharwal <>
- To:
- Subject: SQL-MA on FreeBSD
- Date: Wed, 14 Feb 2007 11:25:44 -0600
Hello,
After struggling some what with installing the SQL-MA service on FreeBSD, I realized that the culprit was JDK 1.5, which if runs
in linux compatibility mode will not allow the SQL-MA to install.
My installation notes for anybody who might be in a similar situation
Installation Notes for PerfSonar SQL-MA Service
-----------------------------------------------
(A) Installing Java on FreeBSD
I. Downloading files
<-> Download JDK 1.4.2 for Linux
(x) http://java.sun.com/j2se/1.4.2/download.html
--> j2sdk-1_4_2_13-linux-i586.bin
<-> Download JDK 1.5.0 sources for Linux
(x)
http://www.sun.com/software/communitysource/j2se/java2/download.xml
--> SCSL Source (jdk-1_5_0-src.scsl.zip)
--> SCSL Binaries (jdk-1_5_0-bin.scsl.zip)
<-> Download patch files for FreeBSD
(x)
http://www.eyesbeyond.com/freebsddom/java/jdk15.html
--> Patch Level 4
(bsd-jdk15-patches-4.tar.bz2)
<-> Move these four files to /usr/ports/distfiles
(x) mv *.zip *.bz2 *.bin /usr/ports/distfiles
II. Running commands
<-> sudo kldload linprocfs
<-> sudo mount -t linprocfs linprocfs /compat/linux/proc
<-> cd /usr/ports/java/jdk15
<-> sudo make install clean
(B) Installing MySQL on FreeBSD
I. Running commands
<-> cd /usr/ports/databases/mysql50-server
<-> sudo make -DWITH_LINUXTHREADS install clean
<-> sudo mysql_install_db
<-> sudo chown -R mysql /var/db/mysql
<-> sudo chgrp -R mysql /var/db/mysql
<-> echo 'mysql_enable="YES"' > /etc/rc.conf
<-> sudo mysqladmin -u root password OakEsNet
(C) Setting up the build environment
I. Running commands
<-> export JAVA_HOME=/usr/local/jdk1.5.0
<-> export PATH=$JAVA_HOME/bin:$PATH
<-> export ANT_HOME=/usr/local/apache-ant-1.7.0
<-> export PATH=$ANT_HOME/bin:$PATH
(D) Installing PerfSonar
I. Downloading files
<-> Download Ant 1.7.0
(x) http://ant.apache.org/bindownload.cgi
--> apache-ant-1.7.0-bin.tar.gz
(x) Untar
--> tar zxf apache-ant-1.7.0-bin.tar.gz
<-> Download SQL-MA RC*
(x) http://wiki.perfsonar.net/jra1-wiki/index.php/PerfSONAR_Java_SQL_MA_release_candidate
--> perfSONAR-SQL-MA-1.0-RC*.tar.gz
II. Running commands
<-> tar zxf perfSONAR-SQL-MA-1.0-RC*.tar.gz
<-> export PERFSONAR=$PWD/perfSONAR-SQL-MA-1.0-RC*
<-> cd $PERFSONAR/perfsonar/ant
III. Reading a different guide
<-> Now, start from "Step 4"
(x) http://wiki.perfsonar.net/jra1-wiki/index.php/SQL_MA_Relese_Candidate_Installation_guide_v2
--
Mukul Sabharwal
Network Engineering, ESnet
Lawrence Berkeley Laboratory
- SQL-MA on FreeBSD, Mukul Sabharwal, 02/14/2007
- Re: [pS-dev] SQL-MA on FreeBSD, Loukik Kudarimoti, 02/14/2007
Archive powered by MHonArc 2.6.16.