How do I install Postgresql 9.0 silently on a Linux box?
Posted on 2010-11-24
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?