Opened 9 years ago

Closed 9 years ago

#1122 closed defect (fixed)

change recommended installation directories

Reported by: Peter Baumann Owned by: Dimitar Misev
Priority: major Milestone:
Component: wiki Version: development
Keywords: Cc: Dimitar Misev, Alex Dumitru
Complexity: Easy

Description

currently, the wiki installation pages recommend to install in /home/rasdaman, which is not the best possible way. Recommendation should be changed to, eg, /usr/local/rasdaman.

Change History (11)

comment:1 by Dimitar Misev, 9 years ago

Cc: Alex Dumitru added
Owner: set to Dimitar Misev
Status: newaccepted

Personally I prefer somewhere in /home/user, as permission issues are less likely. Perhaps /opt or /srv is a better choice than /usr/local/rasdaman?

comment:2 by Alex Dumitru, 9 years ago

In the installer, the default path will be /opt/rasdaman. It seems to fit well with both linux standards and our requirements of keeping everything in one place.
Personally I highly dislike the disorganized structure of keeping things all over the place in /

comment:3 by Dimitar Misev, 9 years ago

I think so too; if you look at /usr/local it has its own structure similar to /usr: bin etc games include lib ..
This doesn't work quite well with server software which consists of a lot of components.

in reply to:  1 comment:4 by Peter Baumann, 9 years ago

Replying to dmisev:

Personally I prefer somewhere in /home/user, as permission issues are less likely. Perhaps /opt or /srv is a better choice than /usr/local/rasdaman?

/home/ is not good, it is designed for individual user directories. We had /opt/ until someone came up with the gorgeous idea of distributing all over directories. /srv/ is not for software, but data.

See, eg, http://www.thegeekstuff.com/2010/09/linux-file-system-structure/ and http://www.pathname.com/fhs/pub/fhs-2.3.html. Also note that /var/lib is not a good place.

Version 1, edited 9 years ago by Peter Baumann (previous) (next) (diff)

in reply to:  2 comment:5 by Peter Baumann, 9 years ago

Replying to mdumitru:

In the installer, the default path will be /opt/rasdaman.

to be discussed (the installer as such cannot make such a heavy decision in isolation). That said, it was /opt/ before someone changed it.

It seems to fit well with both linux standards and our requirements of keeping everything in one place.
Personally I highly dislike the disorganized structure of keeping things all over the place in /

+1

comment:6 by Peter Baumann, 9 years ago

Whatever we change, we need to think carefully about migration paths.

comment:7 by Dimitar Misev, 9 years ago

Resolution: fixed
Status: acceptedclosed

Ok I changed the guidelines on wiki:InstallFromSource to /opt/rasdaman.

comment:8 by Peter Baumann, 9 years ago

Resolution: fixed
Status: closedreopened

it's not that simple, unfortunately - consequences have not been discussed fully, and migration paths do not exist.

comment:9 by Dimitar Misev, 9 years ago

What kind of migration paths? This is just a suggestion, it is not embedded into the configure script or elsewhere.

Here's what exactly has been changed: http://rasdaman.org/wiki/InstallFromSource?action=diff&version=19&old_version=17

Last edited 9 years ago by Dimitar Misev (previous) (diff)

comment:10 by Dimitar Misev, 9 years ago

I submitted a patch that changes the default install dir to /opt/rasdaman in configure, and also updates the install doc guide.

comment:11 by Dimitar Misev, 9 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.