Added installation guides for redhat linux distributions, includes OTP build guide for fedora. #122

Merged
floatingghost merged 2 commits from fristi/akkoma:develop into develop 2022-07-28 10:19:32 +00:00
Showing only changes of commit 07837f4ecc - Show all commits

View file

@ -147,8 +147,7 @@ If that doesnt work, make sure, that nginx is not already running. If it stil
* Copy the example nginx configuration and activate it: * Copy the example nginx configuration and activate it:
```shell ```shell
sudo cp /opt/akkoma/installation/nginx/akkoma.nginx /etc/nginx/sites-available/akkoma.nginx sudo cp /opt/akkoma/installation/nginx/akkoma.nginx /etc/nginx/conf.d/akkoma.conf
sudo ln -s /etc/nginx/sites-available/akkoma.nginx /etc/nginx/sites-enabled/akkoma.nginx
``` ```
Review

AFAIK Fedora and RHEL (+ derivatives) don't have a sites-available directory in /etc/nginx, instead using a conf.d directory (and I think all files have to end in .conf)

AFAIK Fedora and RHEL (+ derivatives) don't have a `sites-available` directory in `/etc/nginx`, instead using a `conf.d` directory (and I think all files have to end in `.conf`)
Review

Thanks for noticing, I'll update it tonight when I'm back from work. This should already be correct in the OTP build guide, the from-source guide is actually like 90% a copy-paste of the debian guide and I probably skipped over this little bit.

Thanks for noticing, I'll update it tonight when I'm back from work. This should already be correct in the OTP build guide, the from-source guide is actually like 90% a copy-paste of the debian guide and I probably skipped over this little bit.
Review

nvm I saw I could just edit it right away in gitea, I fixed the line to match how it is in the redhat otp guide.

nvm I saw I could just edit it right away in gitea, I fixed the line to match how it is in the redhat otp guide.
* Before starting nginx edit the configuration and change it to your needs (e.g. change servername, change cert paths) * Before starting nginx edit the configuration and change it to your needs (e.g. change servername, change cert paths)