General
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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.