Install NextCloud 11 on Fedora 25 with SaltStack
-
I added the php-ldap package to the main directions.
-
Can someone break this down in plain English for those of us that aren't that smart?
-
@FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
Can someone break this down in plain English for those of us that aren't that smart?
Which part?
-
@scottalanmiller said in Install NextCloud 11 on Fedora 25 with SaltStack:
@FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
Can someone break this down in plain English for those of us that aren't that smart?
Which part?
After the o/s is installed, how do get here? "To use nextcloud.sls you will need to copy all three files to your /srv/salt/ directory as it will pull the two configuration files from there to put them on the server.
/srv/salt/nextcloud.sls"
-
@FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
@scottalanmiller said in Install NextCloud 11 on Fedora 25 with SaltStack:
@FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
Can someone break this down in plain English for those of us that aren't that smart?
Which part?
After the o/s is installed, how do get here? "To use nextcloud.sls you will need to copy all three files to your /srv/salt/ directory as it will pull the two configuration files from there to put them on the server.
/srv/salt/nextcloud.sls"
This is a SaltStack state file (hence "with SaltStack" in the title.) So you would need to install SaltStack to do this. If you use the SaltStack tag here on the community, there are guides to installing a Salt Master and a Salt Minion (the minion is the server on which you would install NextCloud, for example.) I'm turning out guides regularly which basically completely manage your servers, so this can be worthwhile as building servers becomes pretty much zero work this way.
-
The Master/Minion part is simple, that I figured out.
Getting to the NextCloud install is where I got lost.
-
@FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
The Master/Minion part is simple, that I figured out.
Getting to the NextCloud install is where I got lost.
You put the NextCloud state file onto your Salt master and state.apply it to the minion in question. The minion will build itself automatically.
-
So for example here, there are three files to save. Just save them to the locations specified for each file (literally just copy and paste them.) This is on the master, you never log into the minion.
Then from the master (and assuming your minion's name is minion1) you would run a command like this...
salt 'minion1' state.apply nextcloud
And wait as the magic happens and your blank minion turns into a fully working NextCloud 11 instance.
-
In /srv/salt/ I need to create nextcloud.sls, ssl.conf & redis.conf
Copy & paste the contents
state.apply = magic? -
@FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
In /srv/salt/ I need to create nextcloud.sls, ssl.conf & redis.conf
Copy & paste the contents
state.apply = magic?Yes, create those files and yes, salt is magic.
-
@scottalanmiller said in Install NextCloud 11 on Fedora 25 with SaltStack:
@FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
In /srv/salt/ I need to create nextcloud.sls, ssl.conf & redis.conf
Copy & paste the contents
state.apply = magic?Yes, create those files and yes, salt is magic.
That's so easy even a caveman :clown: like me could do it.
I was over-thinking & kept "googling" for a NextCloud.sls download -
@FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
@scottalanmiller said in Install NextCloud 11 on Fedora 25 with SaltStack:
@FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
In /srv/salt/ I need to create nextcloud.sls, ssl.conf & redis.conf
Copy & paste the contents
state.apply = magic?Yes, create those files and yes, salt is magic.
That's so easy even a caveman :clown: like me could do it.
I was over-thinking & kept "googling" for a NextCloud.sls downloadMy plan is to eventually polish these further and move them to GitHub and let people pull my whole library and just choose what they want that way. For now, some copy and pastes.
Because Salt defines the state of the system, sharing configurations becomes really easy.
-
@scottalanmiller said in Install NextCloud 11 on Fedora 25 with SaltStack:
@FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
@scottalanmiller said in Install NextCloud 11 on Fedora 25 with SaltStack:
@FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
In /srv/salt/ I need to create nextcloud.sls, ssl.conf & redis.conf
Copy & paste the contents
state.apply = magic?Yes, create those files and yes, salt is magic.
That's so easy even a caveman :clown: like me could do it.
I was over-thinking & kept "googling" for a NextCloud.sls downloadMy plan is to eventually polish these further and move them to GitHub and let people pull my whole library and just choose what they want that way. For now, some copy and pastes.
Because Salt defines the state of the system, sharing configurations becomes really easy.
It's your NextCloud 11 file that got me started on my own, lol.
-
If you are installing multiple 3rd party apps like NextCloud, ownCloud (i know, bad example) etc...
Do you continue to use the same master? (I know you would have multiple minions)
-
@FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
If you are installing multiple 3rd party apps like NextCloud, ownCloud (i know, bad example) etc...
Do you continue to use the same master? (I know you would have multiple minions)
Yes, a single master can handle tens of thousands of servers.
-
@scottalanmiller said in Install NextCloud 11 on Fedora 25 with SaltStack:
Yes, a single master can handle tens of thousands of servers.
Does one need to worry about increasing the resources of this "master" vm - more RAM, more disk space etc
What kind of resources are you starting with - RAM, vCPU, disk etc?
-
@FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
@scottalanmiller said in Install NextCloud 11 on Fedora 25 with SaltStack:
Yes, a single master can handle tens of thousands of servers.
Does one need to worry about increasing the resources of this "master" vm - more RAM, more disk space etc
What kind of resources are you starting with - RAM, vCPU, disk etc?
Eventually, but Masters use almost no resources. 512MB and one vCPU is really enough for all you will ever need to handle.
-
@FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:
@scottalanmiller said in Install NextCloud 11 on Fedora 25 with SaltStack:
Yes, a single master can handle tens of thousands of servers.
Does one need to worry about increasing the resources of this "master" vm - more RAM, more disk space etc
What kind of resources are you starting with - RAM, vCPU, disk etc?
Very light system. You won't need much. And since it is only configuration even if it slows down, you won't care.
-
Any good reasons to not accept the default values?
-
Depends, what are you building? For a NextCloud instance, 25GB is not much storage.