Hi all,
I have to install a postgres database on a redhat based system (Scientific Linux 5.3). The thing is, I can't have root privileges because this computer is used for important tasks. I was told it's possible to install a rpm without root access.
First I tried (I knew this would fail):
rpm -i postgres*.rpm
>> This gave me an error: Could not get transaction lock...etc
Then I found out you can change the root directory:
rpm -i postgres*.rpm --root /home/user
>> This gave me a lot of failed dependencies, e.g.: /sbin/ldconfig is needed by postgres....But ldconfig is of course present on my system
So for some reason, the system uses an dbpath other than /var/lib/rpm?
I also tried:
rpm --initdb /home/user
rpm -i postgres*.rpm --dbpath /home/user/var/lib/rpm
rpm -i postgres*.rpm --dbpath /var/lib/rpm
None of these worked and actually I'm not quite familiar with rpm, and initdb, dbpath parameter, so sorry if this sounds noobish.
Greetz Daan