Quote:
Originally Posted by unSpawn
Why would you want to do that? Why go against package management and the FSSTND, LFS and other such standards? If you want everything in one place you could install using "--relocate". 'man rpm' for more.
|
Why? Because I don't wish to change the existing apache config files for all my sites. I have a directory set up like
Code:
/opt/apache/server
/opt/apache/server/bin/httpd
/opt/apache/server/modules
/opt/sites/site1/bin/apachectl
/opt/sites/site1/conf/httpd.conf
So ideally I would like to install the httpd rpm into /opt/apache/server
I tried --relocate as a test but got the following error:
Code:
rpm --force --install --relocate /usr=/home/ed/httpd httpd-2.2.17-1.fc14.i686.rpm
path /usr in package httpd-2.2.17-1.fc14.i686 is not relocateable
Can you see what I'm doing wrong?
Thanks.