From ced660e78507cd5eeb9eab7bcaaf5484795e90fb Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 9 Dec 2021 23:52:01 +0000 Subject: [PATCH] --- .../8.0/ayanova/docs/ops-install-linux-lan.md | 56 ++++++++++++------- 1 file changed, 35 insertions(+), 21 deletions(-) diff --git a/docs/8.0/ayanova/docs/ops-install-linux-lan.md b/docs/8.0/ayanova/docs/ops-install-linux-lan.md index 4282ef2e..6dc354c0 100644 --- a/docs/8.0/ayanova/docs/ops-install-linux-lan.md +++ b/docs/8.0/ayanova/docs/ops-install-linux-lan.md @@ -86,20 +86,10 @@ Create the data folder, for server linux we recommend and AyaNova defaults to '/ sudo mkdir /var/ayanova/data ``` -### Set data folder group ownership and permissions - -AyaNova will be assumed for these instructions to run under the `www-data` user which needs permission to write to the data folder and (in a later step) execute permission on the AyaNova executable binary. - -Give www-data ownership of the data folder +Create the .local-chromium folder, this is where AyaNova will download Chromium to use for report rendering ```bash -sudo chown -vR :www-data /var/ayanova/data -``` - -Set permissions to read / write for the AyaNova data folder: - -```bash -sudo chmod -R g+rw /var/ayanova/data +sudo mkdir /var/ayanova/.local-chromium ``` ### Download the AyaNova binaries archive @@ -128,14 +118,6 @@ Unzip the archive into the AyaNova server binary files folder created in the pre sudo unzip ayanova-linux-x64-server.zip ``` -### Set execute permission - -In the AyaNova binary files folder: - -```bash -sudo chmod g+rwx ./AyaNova -``` - ### Server configuration The server **must** be configured before it will be able to start properly and find the database server. @@ -168,7 +150,39 @@ Make changes and save with `ctr-x` and type `y` to answer "Save modified buffer? -//############## XXXXX Maybe do NOT do this step as it will mess things up, start as a service instead? +### Set ownership and permissions + +AyaNova will be assumed for these instructions to run under the `www-data` user which needs permission to write to the data folder and (in a later step) execute permission on the AyaNova executable binary. + +Give www-data ownership of the ayanova folder + +```bash +sudo chown -vR :www-data /var/ayanova +``` + +Set permissions to read / write for the AyaNova data folder: + +```bash +sudo chmod -R g+rw /var/ayanova/data +``` + +Set permissions to read / write / execute for the .local-chromium folder: + +```bash +sudo chmod -R g+rwx /var/ayanova/.local-chromium +``` + + + + +### + + + + + + + ### Boot and test AyaNova server Start the server from the AyaNova bin folder