Tuesday, July 25, 2006
What to do when /tmp space too small? Oracle - Linux
If you do not have enough space in the /tmp directory, you can temporarily create a tmp directory in another filesystem. Here is how you can do this:
# su - root
# mkdir //tmp
# chown root.root //tmp
# chmod 1777 //tmp
# export TEMP=/ # used by Oracle
# export TMPDIR=/ # used by Linux programs like the linker "ld"
When you are done with your Oracle installation, shutdown Oracle and remove the temporary directory:
# su - root
# rmdir //tmp
# unset TEMP
# unset TMPDIR
# su - root
# mkdir /
# chown root.root /
# chmod 1777 /
# export TEMP=/
# export TMPDIR=/
When you are done with your Oracle installation, shutdown Oracle and remove the temporary directory:
# su - root
# rmdir /
# unset TEMP
# unset TMPDIR
