|
@@ -11,20 +11,17 @@ and will assumes that your server has:</summary></br>
|
|
|
* SSH acccess to the box.<br>
|
|
|
|
|
|
|
|
|
-######
|
|
|
-Install required packages:
|
|
|
+###### Install required packages:
|
|
|
```
|
|
|
dnf install wget nano tar unzip postgresql-server postgresql-contrib nginx
|
|
|
```
|
|
|
|
|
|
-######
|
|
|
-Prepare PostgreSQL server.
|
|
|
+###### Prepare PostgreSQL server.
|
|
|
```
|
|
|
/usr/bin/postgresql-setup --initdb
|
|
|
```
|
|
|
|
|
|
-######
|
|
|
-Edit PostgreSQL configfiles for security
|
|
|
+###### Edit PostgreSQL configfiles for security
|
|
|
```
|
|
|
vi /var/lib/pgsql/data/pg_hba.conf
|
|
|
|
|
@@ -52,8 +49,7 @@ password_encryption = scram-sha-256 # md5 or scram-sha-256
|
|
|
|
|
|
```
|
|
|
|
|
|
-######
|
|
|
-Create Database and user in PostgreSQL
|
|
|
+###### Create Database and user in PostgreSQL
|
|
|
```
|
|
|
systemctl enable postgresql --now
|
|
|
sudo -u postgres psql
|
|
@@ -64,8 +60,7 @@ postgres=# alter database fusionauth owner to fusionauth;
|
|
|
postgres=# \q
|
|
|
```
|
|
|
|
|
|
-######
|
|
|
-Download latest available version from FusionAuth website (at the time of writing this was 1.51.2)
|
|
|
+###### Download latest available version from FusionAuth website (at the time of writing this was 1.51.2)
|
|
|
```
|
|
|
VERSION=$(curl -fsSL https://license.fusionauth.io/api/latest-version)
|
|
|
curl -fsSL https://files.fusionauth.io/products/fusionauth/${VERSION}/fusionauth-app-${VERSION}-1.noarch.rpm > fusionauth-app-${VERSION}-1.noarch.rpm
|
|
@@ -76,8 +71,7 @@ curl -fsSL https://files.fusionauth.io/products/fusionauth/${VERSION}/fusionauth
|
|
|
dnf install fusionauth-search-1.51.2-1.noarch.rpm
|
|
|
```
|
|
|
|
|
|
-######
|
|
|
-Start the fusionauth server.
|
|
|
+###### Start the fusionauth server.
|
|
|
```
|
|
|
systemctl start fusionauth-app
|
|
|
|