Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2001 00:41:12 +0200
From:      Ernst de Haan <ernst@jollem.com>
To:        "Jim Bodkins (Prologic)" <bodkins@prologic.com>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Orion on FreeBSD HOWTO
Message-ID:  <20010630004112.A65271@c187104187.telekabel.chello.nl>
In-Reply-To: <001a01c100de$ffbd72b0$251cd3d0@bodkins>; from bodkins@prologic.com on Fri, Jun 29, 2001 at 02:03:49PM -0700
References:  <001a01c100de$ffbd72b0$251cd3d0@bodkins>

next in thread | previous in thread | raw e-mail | index | archive | help
Jim,

>    make, make install, cd /usr and "resin-2.0.0/bin/httpd.sh start" and it's
>    up. It was like 20 minutes time. Also, as I recall Orion installed ok but
>    fubared when run. I'll try it again and take notes if you like. (Although
>    I dont have that version of the Linux jdk installed right now).

Yes, I would really like that, thanks.

Here are some extensive instructions to get Orion up and running. If you know
all this, then okay, no offense intended ;)

___________________
Step 1: Install JDK

Make sure you have a 1.2 or 1.3 JDK. You can query your installed
packages using:

   pkg_info | grep jdk

Any of these will do:

   linux-jdk-1.2.2
   jdk-1.2.2b10
   linux-jdk-1.2.2
   linux-jdk-1.3.0
   linux-jdk-1.3.1

If you haven't got *any* JDK installed, then I suggest you install the
java/linux-jdk13 port, this will get you the Sun JDK 1.3.1 for Linux
(linux-jdk-1.3.1):

   # cd /usr/ports/java/linux-jdk13
   # make install

_________________________
Step 2: Update your ports

This step is optional, but if you haven't recently updated your ports, I
suggest you do it now. You can usually do something like:

   # cvsup /etc/cvs-supfile

_____________________
Step 3: Install Orion

Go to the Orion port directory. If you've recently updated your ports
collection, then you can find it in /usr/ports/www/orion:

   # cd /usr/ports/www/orion

If you can't find it there, you have an old version in java/orion:

   # cd /usr/ports/java/orion    (only if www/orion doesn't exist)

If you do not want to use the default JDK, which is the linux-jdk-1.3.1, then
set the path to your JDK:

   # setenv JAVA_HOME /usr/local/jdk1.2.2  (for the native 1.2.2 JDK)

Now install the port:

   # pwd
   /usr/ports/www/orion
   # make install

________________________
Step 4: Start the server

After Orion installed successfully, start the server:

   # orionctl start

You can use 'man orionctl' for more info.

Test the server by pointing you favorite web browser (lynx?) to:

   http://127.0.0.1/

You should see an Orion welcome page.

_________________________
Step 5: Get your feet wet

If you want to get your feet wet ASAP, follow the Orion Primer. Should get you
started with J2EE and Orion in no time. See:

   * http://jollem.com/orion-primer/


Any comments are welcome. Let me know if it works for you, flame me if it
doesn't ;-)


Ernst

-- 
Ernst de Haan
Java Architect
Jollem Information Technology

    "Come to me all who are weary and burdened
        and I will give you rest" -- Jesus Christ

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010630004112.A65271>