From a8118b98b44e2ff345f279f84bd5233748129574 Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Wed, 21 Sep 2016 13:53:15 +0300 Subject: [PATCH] Further refine the tarball instructions --- .../Install-MariaDB-MaxScale-Using-a-Tarball.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/Getting-Started/Install-MariaDB-MaxScale-Using-a-Tarball.md b/Documentation/Getting-Started/Install-MariaDB-MaxScale-Using-a-Tarball.md index 25ec59a86..041f3f5b0 100644 --- a/Documentation/Getting-Started/Install-MariaDB-MaxScale-Using-a-Tarball.md +++ b/Documentation/Getting-Started/Install-MariaDB-MaxScale-Using-a-Tarball.md @@ -18,7 +18,7 @@ The required steps are as follows: $ cd maxscale $ sudo chown -R maxscale var -Creating the symbolic link is necessary, since MariaDB MaxScale has been built with with the assumption that its base-directory, that is, the directory under which all its sub-directories are found, is `/usr/local/maxscale`. +Creating the symbolic link is necessary, since MariaDB MaxScale has been built with with the assumption that the plugin directory is `/usr/local/maxscale/lib/maxscale`. The symbolic link also makes it easy to switch between different versions of MariaDB MaxScale that have been installed side by side in `/usr/local`; just make the symbolic link point to another installation. @@ -46,6 +46,12 @@ The `-d` flag causes maxscale _not_ to turn itself into a daemon, which is advis If you want to place the configuration file somewhere else but in `/etc` you can invoke MariaDB MaxScale with the `--config` flag, for instance, `--config=/usr/local/maxscale/etc/maxscale.cnf`. +Note also that if you want to keep _everything_ under `/usr/local/maxscale` you can invoke MariaDB MaxScale using the flag `--basedir`. + + $ sudo bin/maxscale --user=maxscale --basedir=/usr/local/maxscale -d + +That will cause MariaDB MaxScale to look for its configuration file in `/usr/local/maxscale/etc` and to store all runtime files under `/usr/local/maxscale/var`. + ## Installing in any Directory Enter a directory where you have the right to create a subdirectory. Then do as follows.