#1122 closed defect (fixed)

change recommended installation directories

Reported by: pbaumann Owned by: dmisev
Priority: major Milestone:
Component: wiki Version: development
Keywords: Cc: dmisev, mdumitru
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 follow-up: Changed 18 months ago by dmisev

  • Cc mdumitru added
  • Owner set to dmisev
  • Status changed from new to accepted

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 follow-up: Changed 18 months ago by mdumitru

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 Changed 18 months ago by dmisev

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.

comment:4 in reply to: ↑ 1 Changed 18 months ago by pbaumann

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 which says: "/usr can be mounted read-only (if it is a separate filesystem)". Also note that /var/lib is not a good place.

Last edited 18 months ago by pbaumann (previous) (diff)

comment:5 in reply to: ↑ 2 Changed 18 months ago by pbaumann

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 Changed 18 months ago by pbaumann

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

comment:7 Changed 18 months ago by dmisev

  • Resolution set to fixed
  • Status changed from accepted to closed

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

comment:8 Changed 18 months ago by pbaumann

  • Resolution fixed deleted
  • Status changed from closed to reopened

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

comment:9 Changed 18 months ago by dmisev

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 18 months ago by dmisev (previous) (diff)

comment:10 Changed 18 months ago by dmisev

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

comment:11 Changed 18 months ago by dmisev

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.