Ute Hoffmann wrote:
> Hallo,
> is there anyone who runs WO 5.3.x on a Debian Linux box as deployment
> environment?
> 
> I try to get this running and have all the WO Files in place hopefully.
> But where can I set the NEXT-ROOT environment variable on a Debian Linux
> machine. I just read a long thread (yes, I tried via google) about the
> policy of Debian not to have global environment variables at all...:-(.
> Is there someone around who has managed this and can give me advice?
> 
> Thanks,
> 
> Ute


Hi,

I'm not running WO 5.3.x under Linux (but I'll try soon), just 5.2.
Frist you need to setup NEXT_ROOT not NEXT-ROOT !
You can setup system wide variables by editing /etc/profile to add:
(work with Bourne compatible shells) :
NEXT_ROOT=/opt/Apple
export  NEXT_ROOT

for testing do :
# source /etc/profile
# echo $NEXT_ROOT

You also can do it localy for a specific user with ~/.bash_profile
(depend on the user shell) or ~/.profile (could be sourced by /etc/profile)

But as you may add an init script /etc/init.d/myservice for starting
wotaskd & javamonitor you could export the NEXT_ROOT variable in this
script (or in /etc/default/myservice as it is automiticly sourced,it is
very closed to the Debian wrapper script (
http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.9 )

Actualy under Linux, I have created a user for runing WO 5.2 stuff (it's
cleaner than under root) and I setup NEXT_ROOT in sh script.


Aurélien Minet
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to