...
Code Block |
---|
[root@ ~]# 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 |
Edit the bash profile of the appserver, and add this line :
Code Block |
---|
NEXT_ROOT=/opt; export NEXT_ROOT
|
and run it manually in your current shell :
Code Block |
---|
[appserver@ ~]$ NEXT_ROOT=/opt; 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 |
---|
[root@ ~]# su - appserver
|
Edit the bash profile of the appserver, and add this line :
Code Block |
---|
NEXT_ROOT=/opt; export NEXT_ROOT
|
and run it manually in your current shell :
Code Block |
---|
[appserver@ ~]$ NEXT_ROOT=/opt; export NEXT_ROOT
|
You can start wotaskd and Monitor to make sure that they run without any problems :
...