...
and install it like this :
Code Block |
---|
sudo mkdir /opt/next sudo /usr/java/jdk1.5/bin/java -jar WOInstaller.jar 5.4.3 /opt/next |
(You can also install 5.3.3 instead of 5.4.3)
WebObjects frameworks are now installed in /opt/next
Code Block |
---|
[root@ ~]# ls -l /opt/next
total 12
drwxr-xr-x 3 root root 4096 Nov 9 08:19 Developer
drwxr-xr-x 4 root root 4096 Nov 9 08:19 Library
drwxr-xr-x 3 root root 4096 Nov 9 08:20 Local
|
Edit the bash profile of the appserver, and add this line :
Code Block |
---|
NEXT_ROOT=/opt/next; export NEXT_ROOT
|
and run it manually in your current shell :
Code Block |
---|
[appserver@ ~]$ NEXT_ROOT=/opt/next; export NEXT_ROOT
|
3. Now we need to change some permissions. To follow the conventions from Mac OS X, we will create two users to run wotaskd and Monitor under this user :
...
Code Block |
---|
chown -R appserver:appserveradm /opt/next/Local chown -R appserver:appserveradm /opt/next/Library chmod 750 /opt/next/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor chmod 750 /opt/next/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/SpawnOfWotaskd.sh chmod 750 /opt/next/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd |
...