Operating System - HP-UX
1751872 Members
5101 Online
108782 Solutions
New Discussion

Re: Can we install tomcat on separate Filesystem ( not on /opt )

 
SOLVED
Go to solution
chindi
Respected Contributor

Can we install tomcat on separate Filesystem ( not on /opt )

Hi ,

 

We would like to install Tomcat on another filesystem say on /tomcat .

It actually gets installed by default in /opt.

My aplication guy saying he will deploy his war files in webapps folder which is in /opt.

I want to give him another filesystem from SAN to avoid /opt filling up .

Its HPUX 11.31 .

3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: Can we install tomcat on separate Filesystem ( not on /opt )

>I want to give him another filesystem from SAN to avoid /opt filling up .

 

You can create symlinks to point elsewhere.

I forget if you can do that before swinstall.

chindi
Respected Contributor

Re: Can we install tomcat on separate Filesystem ( not on /opt )

Hi Dennis,

 

So you are saying for below directory i just need to create symlink ;

 

drwxr-xr-x   7 www        other         8192 Mar 13  2014 webapps

 

pwd

/opt/hpws22/tomcat

 

ln -s /tomcat webapps

 

Right ??

Dennis Handly
Acclaimed Contributor
Solution

Re: Can we install tomcat on separate Filesystem (not on /opt)

>So you are saying for below directory I just need to create symlink

 

Yes, if you want /opt/hpws22/tomcat/webapps/ to point to /tomcat/.

 

But you may want to be one deeper so that it points to /tomcat/webapps/, so at least the same name for that directory.