Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
rpm --install jdk-1_5_0_16-linux-i586.rpm
ln -s /usr/java/jdk1.5.0_16 /usr/java/jdk1.5
vi .bash_profile
PATH=$PATH:/usr/java/jdk1.5/bin:$HOME/bin
wget http://webobjects.mdimension.com/wolips/WOInstaller.jar
[root@wohost ~]# /usr/java/jdk1.5/bin/java -jar WOInstaller.jar 5.4.3 /opt
[root@wohost ~]# ls -l /opt/
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
[root@wohost ~]# groupadd appserveradm
[root@wohost ~]# useradd -g appserveradm appserver
[root@wohost ~]# NEXT_ROOT=/opt; export NEXT_ROOT
[root@wohost ~]# chown appserver:appserveradm $NEXT_ROOT/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd
[root@wohost ~]# chmod 750 $NEXT_ROOT/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd
[root@wohost ~]# chown -R appserver:appserveradm /opt/Local/Library/WebObjects/
[root@wohost ~]# chmod 750 $NEXT_ROOT/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor
[root@wohost ~]# chown appserver:appserveradm $NEXT_ROOT/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor
[root@wohost ~]# chown appserver:appserveradm /opt/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/SpawnOfWotaskd.sh
[root@wohost ~]# su - appserver
[appserver@wohost ~]$ $NEXT_ROOT/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd &
[appserver@wohost ~]$ $NEXT_ROOT/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor -WOPort 56789 &
vi make.config
ADAPTOR_OS = LINUX
# LINUX
ifeq "LINUX" "$(OS)"

CFLAGS += -I/usr/local/include
LDFLAGS += -L/usr/local/lib
----> CC=gcc
----> ADAPTORS = Apache2.2
[root@wohost Adaptors]# cd Apache2.2/
make
[root@wohost Apache2.2]# /usr/local/apache/bin/apxs -i -a -n WebObjects mod_WebObjects.la
[root@wohost Apache2.2]# cp -rp /opt/Library/WebObjects/WODocumentRoot/WebObjects /usr/local/apache/htdocs
[root@wohost Apache2.2]# cp apache.conf /usr/local/apache/conf/extra/webobjects.conf
vi webobjects.conf
----> #LoadModule WebObjects_module           modules/mod_WebObjects.so
WebObjectsAlias /apps/WebObjects
[root@wohost ~]# chmod 750 /opt/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/SpawnOfWotaskd.sh