Koozali.org: home of the SME Server

jlibrary - A howto.

duncan

jlibrary - A howto.
« on: February 05, 2007, 06:49:52 AM »
Download the JDK 5.0 bin file from here. You want the version titled "Linux RPM in self-extracting file". You will need to accept the License Agreement towards the top of the page.

Install as follows. In this case we are using jdk-1_5_0_06-linux-i586-rpm.bin.

Code: [Select]
# sh jdk-1_5_0_06-linux-i586-rpm.bin

and scroll thru until you get to the "Do you agree to the above license terms? [yes or no]" and answer yes. After a little time the installation will complete.

We need to add the JDK directory to our path so we do as follows (remember - adjust your paths as required).

Code: [Select]
# ln -s /usr/java/jdk1.5.0_06 /usr/java/jdk
# pico /etc/profile.d/java_env.sh


and paste in the following.

Code: [Select]
# java environment

export JAVA_HOME="/usr/java/jdk"
export PATH=$PATH:$JAVA_HOME/bin


Do a Control-x and save.

Adjust the permissions of the file like so.

Code: [Select]
chmod 0755 /etc/profile.d/java_env.sh

Do a quick reboot to setup the correct PATH.

Download the latest jlibrary server package from here. I would suggest that you extract the file in /opt but it`s entirely up to you.

In this case we are using version jlibrary-server-1.0.3. Adjust your paths as required. Extract like so.

Code: [Select]
# tar -xzvf jlibrary-server-1.0.3.tar.gz

and run the startup file.

Code: [Select]
/opt/jlibrary-server/bin/startup.sh

You should be able to browse the documentation page at

http://ipaddress:8080/jlibrary/index.html


And thats all for the time being  :)

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
jlibrary - A howto.
« Reply #1 on: February 05, 2007, 07:08:19 PM »
What exactly am I looking to download from sun?
I get:
Code: [Select]
This Catalog lists only the for sale products on the Download Center. For a complete listing of the free products available, please see the Download Center home page.
When trying your link

Thanks,

duncan

jlibrary - A howto.
« Reply #2 on: February 05, 2007, 10:28:09 PM »
Try - http://java.sun.com/javase/downloads/index_jdk5.jsp

And select the JDK 5.0 Update 11 option (3rd option down)

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
jlibrary - A howto.
« Reply #3 on: February 05, 2007, 10:46:22 PM »
I did get to that one before, I wasn't sure because of the different version  :D

Thanks,

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
jlibrary - A howto.
« Reply #4 on: February 06, 2007, 09:22:59 PM »
I'm using dansguardian on port 8080, anyone know how to do this?:
Quote
From jlibrary site: To do this, you only have to configure the internal Tomcat server. Refer to the tomcat documentation to find more information about how to do this


Thanks,

duncan

jlibrary - A howto.
« Reply #5 on: February 06, 2007, 10:47:13 PM »