System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the default temporary folder ( /temp ) to another folder in HP-UX ?

 
SOLVED
Go to solution
HendraGo
Occasional Visitor

How to change the default temporary folder ( /temp ) to another folder in HP-UX ?

How to change the default temporary folder (which is currently pointing to the /temp partition) to another folder like /temp2 ?

 

Currently I want to install something on that server. The installer is trying to extract the source installer to the default temporary folder but failed to do so since the /temp partition is too small.

 

Since this is a production server, I do not want to resize the /temp partition because I don't want to restart the server. So... is there any way to change the default temporary folder into another folder without restarting the server?

 

Need help, please. Thank you.

2 REPLIES
Patrick Wallek
Honored Contributor
Solution

Re: How to change the default temporary folder ( /temp ) to another folder in HP-UX ?

Try setting the TMPDIR environment variable before you start the installation.

 

export TMPDIR=/temp2

 

 

HendraGo
Occasional Visitor

Re: How to change the default temporary folder ( /temp ) to another folder in HP-UX ?

It works!! Thank you very much for your quick respond & big help, sir. I really appreciate it :)