[nylug-talk] Is there a general best practice location to install mysql?
Kevin Mark
kevin.mark at verizon.net
Sun Oct 7 14:47:57 EDT 2007
On Sun, Oct 07, 2007 at 02:00:51PM -0400, Sunny Dubey wrote:
> On Thursday 04 October 2007 18:19:20 Brandorr wrote:
> > Do I install in / ? Or in /usr or in /usr/mysql5 or in /usr/mysql/5.0 ??
>
> When you install MySQL or any app outside or what "is expected", you end up
> having to specify all the new dirs here and there. IE: /usr/mysql/5.0/lib
> will need to be specified in /etc/ld.so.conf. You'd have to
> append /usr/mysql/5.0/{include} to the various ./configure and CCARGS/AUXLIBS
> arguments, etc. It gets messy pretty fast.
>
> The FHS (part of the LSB) can easily tell you where to put mysql or any app.
> But also keep in mind that whatever is on the / partition is kept minimal in
> order to keep a system simple when booting into single user mode only. (Some
> of this may not be part of the standard but is done by convention and
> ideology.)
This is seen in Debian (and others). /bin/ and /sbin/ are used for few
programs. The majority are in /usr/bin and /usr/sbin/. This is where
distrabution software goes. If you are installing other software like
your own hand rolled software it may be put in /opt.
-K
--
| .''`. == Debian GNU/Linux == | my web site: |
| : :' : The Universal |mysite.verizon.net/kevin.mark/|
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian! |
|_______ Unless I ask to be CCd, assume I am subscribed _______|
More information about the nylug-talk
mailing list