From ba2cafc65ec6120481b41bb62dae68c8c7edee91 Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Tue, 20 Sep 2016 16:13:34 +0300 Subject: [PATCH] Update tarball instructions --- .../Install-MariaDB-MaxScale-Using-a-Tarball.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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 6dd5cd3c8..ac2682979 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,9 @@ The required steps are as follows: $ cd maxscale $ chown -R maxscale var -Creating the symbolic link is necessary, since MariaDB MaxScale has been built with with the assumption that its base-directory is `/usr/local/maxscale`. It 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. +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`. + +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. The following step is to create the MariaDB MaxScale configuration file `/etc/maxscale.cnf`. The file `etc/maxscale.cnf.template` can be used as a base. Please refer to [Configuration Guide](Configuration-Guide.md) for details. @@ -41,16 +43,12 @@ The next step is to create the MaxScale configuration file `maxscale-x.y.z/etc/m When the configuration file has been created, MariaDB MaxScale can be started. $ cd maxscale-x.y.z - $ LD_LIBRARY_PATH=lib/maxscale bin/maxscale -d --basedir=. + $ bin/maxscale -d --basedir=. -With the flag `--basedir`, MariaDB MaxScale is told where the `bin`, `etc`, `lib` -and `var` directories are found. Unless it is specified, MariaDB MaxScale assumes -the directories are found in `/usr/local/maxscale` and the configuration -file in `/etc`. +With the flag `--basedir`, MariaDB MaxScale is told where the `bin`, `etc`, `lib` and `var` directories are found. Unless it is specified, MariaDB MaxScale assumes the directories are found in `/usr/local/maxscale` and the configuration file in `/etc`. -It is also possible to specify the directories and the location of the -configuration file individually. Invoke MaxScale like +It is also possible to specify the directories and the location of the configuration file individually. Invoke MaxScale like - $ LD_LIBRARY_PATH=lib/maxscale bin/maxscale --help + $ bin/maxscale --help to find out the appropriate flags.