This commit is contained in:
2021-12-12 21:37:51 +00:00
parent 683c2d12a3
commit 97b7ca8d7e
7 changed files with 138 additions and 51 deletions

View File

@@ -25,6 +25,23 @@ Install the **"ASP.NET CORE RUNTIME"** (NOT SDK VERSION) using this guide for yo
There are three different versions of .net core listed, be sure you select the "ASP.NET Core Runtime" version.
NOTE: In the example command lines in the linked pages above they are sometimes missing the `sudo` command, be sure to add it before commands listed there if non root user.
Confirm ASP.NET Core runtime is installed and available before proceeding to the next step:
```bash
dotnet --list-runtimes
```
The AspNetCore runtime should be displayed with version 6 or newer:
```
Microsoft.AspNetCore.App 6.0.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
```
If you do not see this go through the installation steps above again.
### PostgreSQL server
AyaNova requires access to a PostgreSQL database server version 12 or newer. If you do not have a PostgreSQL server already available then it must be installed to a location visible to the AyaNova server (same computer or a local computer on the same network).
@@ -35,9 +52,9 @@ To install PostgreSQL directly start here [https://www.postgresql.org/download/l
### Set the PostgreSQL password
If you are installing a local copy of PostgreSQL for the first time to use with AyaNova a password will need to be set for access. If you have an existing PostgreSQL server then you can skip this step but will need the Postgre server password in a later step.
If you are installing a local copy of PostgreSQL for the first time to use with AyaNova a password will need to be set for secure access. PostgreSQL on linux defaults to no password and must be secured. If you have an existing PostgreSQL server then you can skip this step but will need a PostgreSQL server password in a later step.
Open a PostgreSQL psql console:
Open a PostgreSQL psql console as the postgres user:
```bash
sudo -u postgres psql