missymadi
asked on
How do I install Postgresql 9.0 silently on a Linux box?
Experts,
I want to install Postgresql 9.0 silently on my RHEL 5.5. I have the command (must be logged in as SU.
./postgresql-9.0.1-1-linux .bin --mode unattended --prefix /usr/local/PostgreSQL --datadir /opt/aai/CDSDB_ROOT/DATA
How do I create a file that changes the user to SU and runs the above command line options? I know how to do this in Windows(create .sql file then a bat to run it) but how do I do this in Linux?
Thanks, Missymadi
I want to install Postgresql 9.0 silently on my RHEL 5.5. I have the command (must be logged in as SU.
./postgresql-9.0.1-1-linux
How do I create a file that changes the user to SU and runs the above command line options? I know how to do this in Windows(create .sql file then a bat to run it) but how do I do this in Linux?
Thanks, Missymadi
What do you really want to do? The above doesn't really make sense. If it's really your box, just install it.
watch this video..
http://www.youtube.com/watch?v=GPKkzzI3-ZM
http://www.youtube.com/watch?v=GPKkzzI3-ZM
ASKER
How do either one of the responses address a SILENT installation of Postgresql?
I am looking for the equivelent to a Windows silent installation, for example, an .sql file that is initiated with a batch file.
I am looking for the equivelent to a Windows silent installation, for example, an .sql file that is initiated with a batch file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Here was the command line I used for the unattended installation of Postgresql 9.0
./postgresql-9.0.1-1-linux .bin --mode unattended --prefix /usr/local/PostgreSQL --datadir /opt/mycomp/CD_ROOT/DATA
./postgresql-9.0.1-1-linux