Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi
-
Alright that's straightforward enough. I was able to mount the block storage and create the symlinks. Ran into a few issues, but no biggie. Now I'd like to scrap what I did and go through it again, except this time make the block storage the default location for the data.
Looking at the guide again, I can see where you create the data directory initially in
/var/www/html/nextcloud/data
. I'm assuming we'll skip that step since our data will be in mounted volume/blockstorage
.Throughout the rest of the guide, am I essentially changing all the references to
/var/www/html/nextcloud/data
to/blockstorage
?What other steps should I be aware of?
-
@zachary715 said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
Alright that's straightforward enough. I was able to mount the block storage and create the symlinks. Ran into a few issues, but no biggie. Now I'd like to scrap what I did and go through it again, except this time make the block storage the default location for the data.
Looking at the guide again, I can see where you create the data directory initially in
/var/www/html/nextcloud/data
. I'm assuming we'll skip that step since our data will be in mounted volume/blockstorage
.Throughout the rest of the guide, am I essentially changing all the references to
/var/www/html/nextcloud/data
to/blockstorage
?What other steps should I be aware of?
If you are doing fresh, I'd be doing it on Fedora 27 as well.
-
@scottalanmiller said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
@zachary715 said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
Alright that's straightforward enough. I was able to mount the block storage and create the symlinks. Ran into a few issues, but no biggie. Now I'd like to scrap what I did and go through it again, except this time make the block storage the default location for the data.
Looking at the guide again, I can see where you create the data directory initially in
/var/www/html/nextcloud/data
. I'm assuming we'll skip that step since our data will be in mounted volume/blockstorage
.Throughout the rest of the guide, am I essentially changing all the references to
/var/www/html/nextcloud/data
to/blockstorage
?What other steps should I be aware of?
If you are doing fresh, I'd be doing it on Fedora 27 as well.
Correct. I believe there was a Fedora 25 or 26 guide made for this, but I think a couple things need updated now that they handle all the updates correctly.
-
@scottalanmiller said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
If you are doing fresh, I'd be doing it on Fedora 27 as well.
So the lifecycle of Fedora versions are around a year correct? On a server like this, can I assume the constant updating of the underlying OS won't negatively impact the NextCloud installation? (I'm coming from Windows world where this is always a consideration). Or are you guys constantly spinning up new VMs and migrating data that frequently?
Either way, I'll give it a shot so that it forces me to do it a little differently.
-
@zachary715 said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
@scottalanmiller said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
If you are doing fresh, I'd be doing it on Fedora 27 as well.
So the lifecycle of Fedora versions are around a year correct? On a server like this, can I assume the constant updating of the underlying OS won't negatively impact the NextCloud installation? (I'm coming from Windows world where this is always a consideration). Or are you guys constantly spinning up new VMs and migrating data that frequently?
Either way, I'll give it a shot so that it forces me to do it a little differently.
New versions come on a 6 month cycle. But I have never had something like this break things.
I am sure back when they first switched to systemd it would be an issue.
-
@jaredbusch said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
@zachary715 said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
@scottalanmiller said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
If you are doing fresh, I'd be doing it on Fedora 27 as well.
So the lifecycle of Fedora versions are around a year correct? On a server like this, can I assume the constant updating of the underlying OS won't negatively impact the NextCloud installation? (I'm coming from Windows world where this is always a consideration). Or are you guys constantly spinning up new VMs and migrating data that frequently?
Either way, I'll give it a shot so that it forces me to do it a little differently.
New versions come on a 6 month cycle. But I have never had something like this break things.
I am sure back when they first switched to systemd it would be an issue.
Yeah I just meant each version would get support for one year-ish. But ok I'll give that a shot then if I can find that guide.
-
@zachary715 said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
@scottalanmiller said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
If you are doing fresh, I'd be doing it on Fedora 27 as well.
So the lifecycle of Fedora versions are around a year correct? On a server like this, can I assume the constant updating of the underlying OS won't negatively impact the NextCloud installation? (I'm coming from Windows world where this is always a consideration). Or are you guys constantly spinning up new VMs and migrating data that frequently?
Either way, I'll give it a shot so that it forces me to do it a little differently.
That's a positive for a server. You don't want long support - that just means planning for bad things from the beginning.
http://www.smbitjournal.com/2017/04/rethinking-long-term-support-releases/
-
@zachary715 said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
@jaredbusch said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
@zachary715 said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
@scottalanmiller said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
If you are doing fresh, I'd be doing it on Fedora 27 as well.
So the lifecycle of Fedora versions are around a year correct? On a server like this, can I assume the constant updating of the underlying OS won't negatively impact the NextCloud installation? (I'm coming from Windows world where this is always a consideration). Or are you guys constantly spinning up new VMs and migrating data that frequently?
Either way, I'll give it a shot so that it forces me to do it a little differently.
New versions come on a 6 month cycle. But I have never had something like this break things.
I am sure back when they first switched to systemd it would be an issue.
Yeah I just meant each version would get support for one year-ish. But ok I'll give that a shot then if I can find that guide.
Which is longer than you should be considering keeping old versions around. So the short span of support isn't really a factor at all.
-
This post is deleted! -
This post is deleted! -
Hi, I installed the OPcache ext. but I'm still getting OPcache alert on the Nextcloud admin page. I have added the OPcache values to the PHP.ini file.
What could be the reason?
-
@Emsanator said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
Hi, I installed the OPcache ext. but I'm still getting OPcache alert on the Nextcloud admin page. I have added the OPcache values to the PHP.ini file.
What could be the reason?
Restart the services. Or reboot the server.
-
@JaredBusch hi,
I'm definitely resetting the Http server after every processing, I even started it again. I didn't succeed
I checked opcache with a small Php script. Opcache works successfully But Nextcloud does not see it.