From owner-freebsd-questions@FreeBSD.ORG Thu Mar 30 19:06:15 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4308016A400 for ; Thu, 30 Mar 2006 19:06:15 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4E8343D46 for ; Thu, 30 Mar 2006 19:06:14 +0000 (GMT) (envelope-from david.robillard@gmail.com) Received: by wproxy.gmail.com with SMTP id i21so532180wra for ; Thu, 30 Mar 2006 11:06:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=kA3ZpwfX4DkI7mRfyZ+DFNVFWFW2Uk6ZSoVtuCR4WRUr9ERCeJy++NpkfAMnad0xk0z5nbnLizr5pmFT4ZDBnY0+Mo2U0lQxNhrQm9DqeNEhLcJkUGeWqAkhvnt52yP4VzjlBOON8C1oXG8l+Pn8FtJtUzDrM4saAOcWI4Lf7gQ= Received: by 10.65.205.6 with SMTP id h6mr6437qbq; Thu, 30 Mar 2006 11:06:13 -0800 (PST) Received: by 10.64.178.13 with HTTP; Thu, 30 Mar 2006 11:06:13 -0800 (PST) Message-ID: <226ae0c60603301106o2e7113e5kb1bc1543df1b60fe@mail.gmail.com> Date: Thu, 30 Mar 2006 14:06:13 -0500 From: "David Robillard" To: "FreeBSD Questions Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Aguiar Magalhaes Subject: Re: Java and tomcat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 19:06:15 -0000 > Martin, > > this 'how to' isn't working... It isn't up to date, > some downloads doesn't exist > > What can I do ? The java page on the FreeBSD server is for an old version of Tomcat and Jav= a. To get Tomcat 5.5 running, try this instead. Note that if you don't have porteasy(1), just install it: sudo pkg_add -rv porteasy # Change your Kernel configuration with this line: options COMPAT_LINUX # Rebuilt, install, reboot, as always... # Hint: Make sure you update your src tree with the latest sources from # your favorite cvsup mirror :) # Install the linux binary compatibility. sudo porteasy -uv emulators/linux_base-rh-9 cd /usr/ports/emulators/linux_base-rh-9 sudo make install clean # Make sure the /compat/linux/proc file system is mounted at each reboot. # Edit fstab(5) and add this line: linproc /compat/linux/proc linprocfs rw =20 0 0 # Check that it works by rebooting. sudo init 6 # Install port java/tomcat5.5 and follow instructions as they appear when you run make. sudo porteasy -uv www/tomcat55 cd /usr/ports/www/tomcat55 sudo make # Follow what will be printed. Basically, what you need to do is download # java from sun's website and place the file inside your ports tree. # It's super easy from there. Good luck, David --- Martin Hepworth escreveu: > Hi > > there's an excellant 'how to' here... > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/ > > -- > Martin > > On 3/22/06, Aguiar Magalhaes > wrote: > > > > Hi list, > > > > I=B4d like to install java (virtual machine) and > tomcat > > on the freebsd 6.0.. > > > > Are they full compatible ?? Are they in ports ?? > > > > Help me please, > > > > Aguiar -- David Robillard UNIX systems administrator, CISSP Montreal: +1 514 966 0122