Install NextCloud 11 on Fedora 25 with SaltStack
-
@flaxking said in Install NextCloud 11 on Fedora 25 with SaltStack:
@scottalanmiller said in Install NextCloud 11 on Fedora 25 with SaltStack:
@flaxking said in Install NextCloud 11 on Fedora 25 with SaltStack:
@scottalanmiller said in Install NextCloud 11 on Fedora 25 with SaltStack:
@flaxking said in Install NextCloud 11 on Fedora 25 with SaltStack:
@scottalanmiller said in Install NextCloud 11 on Fedora 25 with SaltStack:
Why Fedora 25?
Fedora 25 gives us PHP 7.1 for the latest in features and performance with NextCloud 11. We also get the latest MariaDB and Redis platforms. This helps to speed the overall platform and makes for a snappy experience that gets maximum benefits from a singularly tested and integrated base. The only package that we download and add onto the tested Fedora system here is NextCloud itself. Everything else is fully integrated by the Fedora team.
And Salt 2017.7.2 breaks pkgrepo.managed which would make it harder to add repos with newer versions
Unfortunately I'm still doing everything on Ubuntu, which means I have to chase around trying to fulfill dependencies on newer versions that aren't in the default repos
Why stay on Ubuntu?
Because I'm addicted to LXD. While I've heard you can install it on other OSes, I'm pretty sure I would run into some hiccups with things like the Salt LXD formula. So there would be some extra work ahead of me. Alternatively, I could try straight-up LXC or Docker, but that creates some learning prerequisites. Not that I don't like learning, it's just I have other things on the top of my learning priority list.
That doesn't explain it, though. You just install Fedora in your container.
That's a good point, there's no reason why most of my containers couldn't be running Fedora. Mostly I was thinking about switching from Ubuntu to Fedora on my personal laptop first (since there's will be no reason for me to run Ubuntu Desktop without HUD), but it should be pretty simple to switch to fedora containers for my projects and production servers. Thanks for clearing my mind-block!
No problem. I do the same thing with Ubuntu as the container host, but we use Fedora for actual workloads.
-
How do we incorporate LE SSLs with this?
-
@fateknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
How do we incorporate LE SSLs with this?
They go on the Nginx proxy like normal. Nothing special to know here.
-
@scottalanmiller And for those without a proxy?
-
@fateknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
@scottalanmiller And for those without a proxy?
You can install nginx on the same server.
-
@fateknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
@scottalanmiller And for those without a proxy?
Why would that ever happen?
-
Instead of finding a complicated way around the proxy, just do it right instead.
-
@black3dynamite said in Install NextCloud 11 on Fedora 25 with SaltStack:
@fateknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
@scottalanmiller And for those without a proxy?
You can install nginx on the same server.
As the install instructions here do automatically.
-
@scottalanmiller why install a proxy when Apaches here and working what is the benefit to having a proxy on the same server. Let’s Encrypt perfectly with Apache
-
@jaredbusch said in Install NextCloud 11 on Fedora 25 with SaltStack:
@scottalanmiller why install a proxy when Apaches here and working what is the benefit to having a proxy on the same server. Let’s Encrypt perfectly with Apache
At least I'm not the only one asking.
-
@dashrender said in Install NextCloud 11 on Fedora 25 with SaltStack:
@jaredbusch said in Install NextCloud 11 on Fedora 25 with SaltStack:
@scottalanmiller why install a proxy when Apaches here and working what is the benefit to having a proxy on the same server. Let’s Encrypt perfectly with Apache
At least I'm not the only one asking.
There are things that it does better than Apache, but I just don’t see what parts of a Nextcloud instance would benefit greatly by it
-
@jaredbusch said in Install NextCloud 11 on Fedora 25 with SaltStack:
@scottalanmiller why install a proxy when Apaches here and working what is the benefit to having a proxy on the same server. Let’s Encrypt perfectly with Apache
Security and flexibility typically. Here is the admitted marketing material from Nginx on security: "Security and anonymity – By intercepting requests headed for your backend servers, a reverse proxy server protects their identities and acts as an additional defense against security attacks. It also ensures that multiple servers can be accessed from a single record locator or URL regardless of the structure of your local area network."