From owner-freebsd-java Fri Jun 29 15:43: 9 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 6289C37B405 for ; Fri, 29 Jun 2001 15:42:58 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f5TMfDU65300; Sat, 30 Jun 2001 00:41:13 +0200 (CEST) (envelope-from ernst) Date: Sat, 30 Jun 2001 00:41:12 +0200 From: Ernst de Haan To: "Jim Bodkins (Prologic)" Cc: freebsd-java@FreeBSD.ORG Subject: Orion on FreeBSD HOWTO Message-ID: <20010630004112.A65271@c187104187.telekabel.chello.nl> References: <001a01c100de$ffbd72b0$251cd3d0@bodkins> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <001a01c100de$ffbd72b0$251cd3d0@bodkins>; from bodkins@prologic.com on Fri, Jun 29, 2001 at 02:03:49PM -0700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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