[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Custom mariadb installation



On 2021-02-26 at 13:44, Bill wrote:

> Hi guys,
> 
> So I'd like to install mariadb on Debian 10 with the 
> --basedir=/usr/local/mariadb and --datadir=/data/mariadb. I've tried
> to add these options to the "apt install mariadb-server" command line
> but I get error messages saying the options aren't recognized.
> 
> So what then is the correct way to install mariadb using unique, 
> non-standard root and data directories?

Download the source package, adjust the configuration options in the
debian/ directory (and give it a new package version which will never be
used by the official maintainers), and build the package(s) locally.

Or else download the source from upstream and configure/build it
yourself, then install from there, bypassing the Debian packages entirely.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: