This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user