Linux File Server. Which One Would You Pick?
-
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
CentOS. Because there is no compelling reason to look at anything else and by default I always start there - it's the best known, most stable, best supported. So unless you have a specific reason to look elsewhere, that's what you use IMHO.
So @scottalanmiller and I were discussing offline the new Liuns server I set up for hosting my own web server.
After this who thread, of course I went with CentOS. I mean, after the above quote, why would anyone choose anything different.
Of course, @scottalanmiller says he uses Fedora for web servers. It would be silly to use anything else.
I of course, say WTF, yell to no one in particular that this is why Linux is so frustrating and confusing, and refer back to this thread, and also the thread he mentions all the distributions, and doesn't even mention Fedora.
So, ML, discuss! Is Fedora the best choice for web servers? Is this thread (where it is said CentOS is the clear choice) misleading? (Feel free to fork this if necessary.)
I'm a CentOS junkie, and I admit that fact. See, I'm at step #1.
Fedora is where RedHat/CentOS think it will be headed. The major reason for using Fedora over CentOS for a web server right now is that CentOS has an old version of PHP in their repository (5.4), whereas Fedora has a newer version. I'm not sure what version they're up to tho, is it still the 5.x series or 7 now?
-
Either one will work. The benefit to Fedora in this instance is that you will have the most updated packages available to you. Where with CentOS7 you may not have that advantage.
You're probably good with either one. CentOS has a known release schedule and is, kind of, the LTS version of Fedora.
-
@travisdh1 said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
CentOS. Because there is no compelling reason to look at anything else and by default I always start there - it's the best known, most stable, best supported. So unless you have a specific reason to look elsewhere, that's what you use IMHO.
So @scottalanmiller and I were discussing offline the new Liuns server I set up for hosting my own web server.
After this who thread, of course I went with CentOS. I mean, after the above quote, why would anyone choose anything different.
Of course, @scottalanmiller says he uses Fedora for web servers. It would be silly to use anything else.
I of course, say WTF, yell to no one in particular that this is why Linux is so frustrating and confusing, and refer back to this thread, and also the thread he mentions all the distributions, and doesn't even mention Fedora.
So, ML, discuss! Is Fedora the best choice for web servers? Is this thread (where it is said CentOS is the clear choice) misleading? (Feel free to fork this if necessary.)
I'm a CentOS junkie, and I admit that fact. See, I'm at step #1.
Fedora is where RedHat/CentOS think it will be headed. The major reason for using Fedora over CentOS for a web server right now is that CentOS has an old version of PHP in their repository (5.4), whereas Fedora has a newer version. I'm not sure what version they're up to tho, is it still the 5.x series or 7 now?
I actually figured out how to update that yesterday. I should post that on the "WP on Centos" article @JaredBusch wrote.
I had a few small issues (with a ZIP program) that @scottalanmiller helped me figure out.
-
@BRRABill Thanks for sharing!
-
@BRRABill said in Linux File Server. Which One Would You Pick?:
@travisdh1 said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
CentOS. Because there is no compelling reason to look at anything else and by default I always start there - it's the best known, most stable, best supported. So unless you have a specific reason to look elsewhere, that's what you use IMHO.
So @scottalanmiller and I were discussing offline the new Liuns server I set up for hosting my own web server.
After this who thread, of course I went with CentOS. I mean, after the above quote, why would anyone choose anything different.
Of course, @scottalanmiller says he uses Fedora for web servers. It would be silly to use anything else.
I of course, say WTF, yell to no one in particular that this is why Linux is so frustrating and confusing, and refer back to this thread, and also the thread he mentions all the distributions, and doesn't even mention Fedora.
So, ML, discuss! Is Fedora the best choice for web servers? Is this thread (where it is said CentOS is the clear choice) misleading? (Feel free to fork this if necessary.)
I'm a CentOS junkie, and I admit that fact. See, I'm at step #1.
Fedora is where RedHat/CentOS think it will be headed. The major reason for using Fedora over CentOS for a web server right now is that CentOS has an old version of PHP in their repository (5.4), whereas Fedora has a newer version. I'm not sure what version they're up to tho, is it still the 5.x series or 7 now?
I actually figured out how to update that yesterday. I should post that on the "WP on Centos" article @JaredBusch wrote.
I had a few small issues (with a ZIP program) that @scottalanmiller helped me figure out.
There are three real ways to update PHP beyond 5.4 on CentOS 7
I personally prefer to use the Remi repository as that is specifically for PHP only and it replaces everything 'in place'. The other methods leave you with multiple version of PHP installed. and you install them specifically as
yum install php56
for example.For beginners with only a single app running on a VM, it is silly complication. I understand why it is done, but the people that just want to run a website (WordPress) or file share (NextCloud) do not care or need to care about all that IMO.
-
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
CentOS. Because there is no compelling reason to look at anything else and by default I always start there - it's the best known, most stable, best supported. So unless you have a specific reason to look elsewhere, that's what you use IMHO.
So @scottalanmiller and I were discussing offline the new Liuns server I set up for hosting my own web server.
After this who thread, of course I went with CentOS. I mean, after the above quote, why would anyone choose anything different.
Keep in mind the context of this thread was file serving.
-
Here is my original quote...
This is answering ONLY about file servers, as was asked. No reference to anything outside of that. File servers are specifically an area where stability trumps the latest features more than pretty much anywhere. New flashy features don't come up very often and when they do, you want them heavily tested. The latest technology does little to make things more than .05% faster. Protocols like NFS, SMB and iSCSI have been around for forever, you rarely need an update to deal with something new and hip.
Application serving, which is your new question, is often the opposite end of the spectrum. You need compatibility with third party apps, it's not a self contained OS thing, and performance differences between components can be enormous. For example, going from PHP 5.4 to 5.6 or to the 7 series can mean things like 50% leaps in performance and can mean the difference between being compatible with modern applications that you want to deploy or not even being an option.
Each component in your stack matters for performance. Newer memcached, PHP, Varnish, nginx, Apache, MariaDB and other pieces can be very significant.
So in my original statement, I addressed a very different question that this one, but still left the info open for understanding when to reconsider CentOS as your choice: specific reason
Our specific reasons here are:
- Significant performance differences
- End to end supported stacks (CentOS you need third party components for many apps, Fedora you only need the OS supported components)
- Compatibility
-
Right, but it seems the consensus is CentOS is fine for webs server use.
Are you saying people should only be using Fedora in the majority of the cases.
-
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@travisdh1 said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
CentOS. Because there is no compelling reason to look at anything else and by default I always start there - it's the best known, most stable, best supported. So unless you have a specific reason to look elsewhere, that's what you use IMHO.
So @scottalanmiller and I were discussing offline the new Liuns server I set up for hosting my own web server.
After this who thread, of course I went with CentOS. I mean, after the above quote, why would anyone choose anything different.
Of course, @scottalanmiller says he uses Fedora for web servers. It would be silly to use anything else.
I of course, say WTF, yell to no one in particular that this is why Linux is so frustrating and confusing, and refer back to this thread, and also the thread he mentions all the distributions, and doesn't even mention Fedora.
So, ML, discuss! Is Fedora the best choice for web servers? Is this thread (where it is said CentOS is the clear choice) misleading? (Feel free to fork this if necessary.)
I'm a CentOS junkie, and I admit that fact. See, I'm at step #1.
Fedora is where RedHat/CentOS think it will be headed. The major reason for using Fedora over CentOS for a web server right now is that CentOS has an old version of PHP in their repository (5.4), whereas Fedora has a newer version. I'm not sure what version they're up to tho, is it still the 5.x series or 7 now?
I actually figured out how to update that yesterday. I should post that on the "WP on Centos" article @JaredBusch wrote.
I had a few small issues (with a ZIP program) that @scottalanmiller helped me figure out.
There are three real ways to update PHP beyond 5.4 on CentOS 7
I personally prefer to use the Remi repository as that is specifically for PHP only and it replaces everything 'in place'. The other methods leave you with multiple version of PHP installed. and you install them specifically as
yum install php56
for example.For beginners with only a single app running on a VM, it is silly complication. I understand why it is done, but the people that just want to run a website (WordPress) or file share (NextCloud) do not care or need to care about all that IMO.
Yeah, I ran into that issue. I didn't use Remi, and it was causing my theme to have all sorts of issues. I gave up, and restored a snapshot I took riiiiiiiiiiight before I started messing with PHP. (Love VMs.)
I found this, was awesomely helpful.
-
@BRRABill said in Linux File Server. Which One Would You Pick?:
Right, but it seems the consensus is CentOS is fine for webs server use.
Of course it is fine, probably 90% of Linux web servers are on CentOS. If you want to use a panel like cPanel you are pretty much bound to CentOS. Most web users do not want to update their PHP either. So in the same breath, CentOS 6 and PHP 5.4 or even older are "fine", too.
But is "fine" what you were looking for?
-
@BRRABill said in Linux File Server. Which One Would You Pick?:
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@travisdh1 said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
CentOS. Because there is no compelling reason to look at anything else and by default I always start there - it's the best known, most stable, best supported. So unless you have a specific reason to look elsewhere, that's what you use IMHO.
So @scottalanmiller and I were discussing offline the new Liuns server I set up for hosting my own web server.
After this who thread, of course I went with CentOS. I mean, after the above quote, why would anyone choose anything different.
Of course, @scottalanmiller says he uses Fedora for web servers. It would be silly to use anything else.
I of course, say WTF, yell to no one in particular that this is why Linux is so frustrating and confusing, and refer back to this thread, and also the thread he mentions all the distributions, and doesn't even mention Fedora.
So, ML, discuss! Is Fedora the best choice for web servers? Is this thread (where it is said CentOS is the clear choice) misleading? (Feel free to fork this if necessary.)
I'm a CentOS junkie, and I admit that fact. See, I'm at step #1.
Fedora is where RedHat/CentOS think it will be headed. The major reason for using Fedora over CentOS for a web server right now is that CentOS has an old version of PHP in their repository (5.4), whereas Fedora has a newer version. I'm not sure what version they're up to tho, is it still the 5.x series or 7 now?
I actually figured out how to update that yesterday. I should post that on the "WP on Centos" article @JaredBusch wrote.
I had a few small issues (with a ZIP program) that @scottalanmiller helped me figure out.
There are three real ways to update PHP beyond 5.4 on CentOS 7
I personally prefer to use the Remi repository as that is specifically for PHP only and it replaces everything 'in place'. The other methods leave you with multiple version of PHP installed. and you install them specifically as
yum install php56
for example.For beginners with only a single app running on a VM, it is silly complication. I understand why it is done, but the people that just want to run a website (WordPress) or file share (NextCloud) do not care or need to care about all that IMO.
Yeah, I ran into that issue. I didn't use Remi, and it was causing my theme to have all sorts of issues. I gave up, and restored a snapshot I took riiiiiiiiiiight before I started messing with PHP. (Love VMs.)
I found this, was awesomely helpful.
If WordPress is your goal, do you have a need for PHP 5.6?
-
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@travisdh1 said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
CentOS. Because there is no compelling reason to look at anything else and by default I always start there - it's the best known, most stable, best supported. So unless you have a specific reason to look elsewhere, that's what you use IMHO.
So @scottalanmiller and I were discussing offline the new Liuns server I set up for hosting my own web server.
After this who thread, of course I went with CentOS. I mean, after the above quote, why would anyone choose anything different.
Of course, @scottalanmiller says he uses Fedora for web servers. It would be silly to use anything else.
I of course, say WTF, yell to no one in particular that this is why Linux is so frustrating and confusing, and refer back to this thread, and also the thread he mentions all the distributions, and doesn't even mention Fedora.
So, ML, discuss! Is Fedora the best choice for web servers? Is this thread (where it is said CentOS is the clear choice) misleading? (Feel free to fork this if necessary.)
I'm a CentOS junkie, and I admit that fact. See, I'm at step #1.
Fedora is where RedHat/CentOS think it will be headed. The major reason for using Fedora over CentOS for a web server right now is that CentOS has an old version of PHP in their repository (5.4), whereas Fedora has a newer version. I'm not sure what version they're up to tho, is it still the 5.x series or 7 now?
I actually figured out how to update that yesterday. I should post that on the "WP on Centos" article @JaredBusch wrote.
I had a few small issues (with a ZIP program) that @scottalanmiller helped me figure out.
There are three real ways to update PHP beyond 5.4 on CentOS 7
I personally prefer to use the Remi repository as that is specifically for PHP only and it replaces everything 'in place'. The other methods leave you with multiple version of PHP installed. and you install them specifically as
yum install php56
for example.For beginners with only a single app running on a VM, it is silly complication. I understand why it is done, but the people that just want to run a website (WordPress) or file share (NextCloud) do not care or need to care about all that IMO.
Yeah, I ran into that issue. I didn't use Remi, and it was causing my theme to have all sorts of issues. I gave up, and restored a snapshot I took riiiiiiiiiiight before I started messing with PHP. (Love VMs.)
I found this, was awesomely helpful.
If WordPress is your goal, do you have a need for PHP 5.6?
What do you mean?
Wordpress recommends at least 7 now, so I would think everyone on CentOS running WP would want to upgrade.
-
@BRRABill said in Linux File Server. Which One Would You Pick?:
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@travisdh1 said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
CentOS. Because there is no compelling reason to look at anything else and by default I always start there - it's the best known, most stable, best supported. So unless you have a specific reason to look elsewhere, that's what you use IMHO.
So @scottalanmiller and I were discussing offline the new Liuns server I set up for hosting my own web server.
After this who thread, of course I went with CentOS. I mean, after the above quote, why would anyone choose anything different.
Of course, @scottalanmiller says he uses Fedora for web servers. It would be silly to use anything else.
I of course, say WTF, yell to no one in particular that this is why Linux is so frustrating and confusing, and refer back to this thread, and also the thread he mentions all the distributions, and doesn't even mention Fedora.
So, ML, discuss! Is Fedora the best choice for web servers? Is this thread (where it is said CentOS is the clear choice) misleading? (Feel free to fork this if necessary.)
I'm a CentOS junkie, and I admit that fact. See, I'm at step #1.
Fedora is where RedHat/CentOS think it will be headed. The major reason for using Fedora over CentOS for a web server right now is that CentOS has an old version of PHP in their repository (5.4), whereas Fedora has a newer version. I'm not sure what version they're up to tho, is it still the 5.x series or 7 now?
I actually figured out how to update that yesterday. I should post that on the "WP on Centos" article @JaredBusch wrote.
I had a few small issues (with a ZIP program) that @scottalanmiller helped me figure out.
There are three real ways to update PHP beyond 5.4 on CentOS 7
I personally prefer to use the Remi repository as that is specifically for PHP only and it replaces everything 'in place'. The other methods leave you with multiple version of PHP installed. and you install them specifically as
yum install php56
for example.For beginners with only a single app running on a VM, it is silly complication. I understand why it is done, but the people that just want to run a website (WordPress) or file share (NextCloud) do not care or need to care about all that IMO.
Yeah, I ran into that issue. I didn't use Remi, and it was causing my theme to have all sorts of issues. I gave up, and restored a snapshot I took riiiiiiiiiiight before I started messing with PHP. (Love VMs.)
I found this, was awesomely helpful.
or you could have looked here first..
https://mangolassi.it/tags/remiright at the top of the NextCloud post....
#install Remi yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm #enable PHP 7.1 by editing the repo file and changing enabled=0 to 1 yum-config-manager --enable remi-php71
-
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@travisdh1 said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
CentOS. Because there is no compelling reason to look at anything else and by default I always start there - it's the best known, most stable, best supported. So unless you have a specific reason to look elsewhere, that's what you use IMHO.
So @scottalanmiller and I were discussing offline the new Liuns server I set up for hosting my own web server.
After this who thread, of course I went with CentOS. I mean, after the above quote, why would anyone choose anything different.
Of course, @scottalanmiller says he uses Fedora for web servers. It would be silly to use anything else.
I of course, say WTF, yell to no one in particular that this is why Linux is so frustrating and confusing, and refer back to this thread, and also the thread he mentions all the distributions, and doesn't even mention Fedora.
So, ML, discuss! Is Fedora the best choice for web servers? Is this thread (where it is said CentOS is the clear choice) misleading? (Feel free to fork this if necessary.)
I'm a CentOS junkie, and I admit that fact. See, I'm at step #1.
Fedora is where RedHat/CentOS think it will be headed. The major reason for using Fedora over CentOS for a web server right now is that CentOS has an old version of PHP in their repository (5.4), whereas Fedora has a newer version. I'm not sure what version they're up to tho, is it still the 5.x series or 7 now?
I actually figured out how to update that yesterday. I should post that on the "WP on Centos" article @JaredBusch wrote.
I had a few small issues (with a ZIP program) that @scottalanmiller helped me figure out.
There are three real ways to update PHP beyond 5.4 on CentOS 7
I personally prefer to use the Remi repository as that is specifically for PHP only and it replaces everything 'in place'. The other methods leave you with multiple version of PHP installed. and you install them specifically as
yum install php56
for example.For beginners with only a single app running on a VM, it is silly complication. I understand why it is done, but the people that just want to run a website (WordPress) or file share (NextCloud) do not care or need to care about all that IMO.
Yeah, I ran into that issue. I didn't use Remi, and it was causing my theme to have all sorts of issues. I gave up, and restored a snapshot I took riiiiiiiiiiight before I started messing with PHP. (Love VMs.)
I found this, was awesomely helpful.
or you could have looked here first..
https://mangolassi.it/tags/remiright at the top of the NextCloud post....
#install Remi yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm #enable PHP 7.1 by editing the repo file and changing enabled=0 to 1 yum-config-manager --enable remi-php71
I would have had to know what to look for first!
Think it makes sense to add that somewhere in you WP writeup, as well?
-
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@travisdh1 said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
CentOS. Because there is no compelling reason to look at anything else and by default I always start there - it's the best known, most stable, best supported. So unless you have a specific reason to look elsewhere, that's what you use IMHO.
So @scottalanmiller and I were discussing offline the new Liuns server I set up for hosting my own web server.
After this who thread, of course I went with CentOS. I mean, after the above quote, why would anyone choose anything different.
Of course, @scottalanmiller says he uses Fedora for web servers. It would be silly to use anything else.
I of course, say WTF, yell to no one in particular that this is why Linux is so frustrating and confusing, and refer back to this thread, and also the thread he mentions all the distributions, and doesn't even mention Fedora.
So, ML, discuss! Is Fedora the best choice for web servers? Is this thread (where it is said CentOS is the clear choice) misleading? (Feel free to fork this if necessary.)
I'm a CentOS junkie, and I admit that fact. See, I'm at step #1.
Fedora is where RedHat/CentOS think it will be headed. The major reason for using Fedora over CentOS for a web server right now is that CentOS has an old version of PHP in their repository (5.4), whereas Fedora has a newer version. I'm not sure what version they're up to tho, is it still the 5.x series or 7 now?
I actually figured out how to update that yesterday. I should post that on the "WP on Centos" article @JaredBusch wrote.
I had a few small issues (with a ZIP program) that @scottalanmiller helped me figure out.
There are three real ways to update PHP beyond 5.4 on CentOS 7
I personally prefer to use the Remi repository as that is specifically for PHP only and it replaces everything 'in place'. The other methods leave you with multiple version of PHP installed. and you install them specifically as
yum install php56
for example.For beginners with only a single app running on a VM, it is silly complication. I understand why it is done, but the people that just want to run a website (WordPress) or file share (NextCloud) do not care or need to care about all that IMO.
Yeah, I ran into that issue. I didn't use Remi, and it was causing my theme to have all sorts of issues. I gave up, and restored a snapshot I took riiiiiiiiiiight before I started messing with PHP. (Love VMs.)
I found this, was awesomely helpful.
If WordPress is your goal, do you have a need for PHP 5.6?
What do you mean?
Wordpress recommends at least 7 now, so I would think everyone on CentOS running WP would want to upgrade.
Recommends is not the same as requires. And your logic is why I chose not to use CentOS for web hosting, not why I decided to use it. I'm not in any way saying that CentOS is bad, or that the choice to use it and get PHP separately is bad - only that the logic around choosing CentOS in the first place breaks in this scenario so I find it an odd choice.
-
@BRRABill said in Linux File Server. Which One Would You Pick?:
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@travisdh1 said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
CentOS. Because there is no compelling reason to look at anything else and by default I always start there - it's the best known, most stable, best supported. So unless you have a specific reason to look elsewhere, that's what you use IMHO.
So @scottalanmiller and I were discussing offline the new Liuns server I set up for hosting my own web server.
After this who thread, of course I went with CentOS. I mean, after the above quote, why would anyone choose anything different.
Of course, @scottalanmiller says he uses Fedora for web servers. It would be silly to use anything else.
I of course, say WTF, yell to no one in particular that this is why Linux is so frustrating and confusing, and refer back to this thread, and also the thread he mentions all the distributions, and doesn't even mention Fedora.
So, ML, discuss! Is Fedora the best choice for web servers? Is this thread (where it is said CentOS is the clear choice) misleading? (Feel free to fork this if necessary.)
I'm a CentOS junkie, and I admit that fact. See, I'm at step #1.
Fedora is where RedHat/CentOS think it will be headed. The major reason for using Fedora over CentOS for a web server right now is that CentOS has an old version of PHP in their repository (5.4), whereas Fedora has a newer version. I'm not sure what version they're up to tho, is it still the 5.x series or 7 now?
I actually figured out how to update that yesterday. I should post that on the "WP on Centos" article @JaredBusch wrote.
I had a few small issues (with a ZIP program) that @scottalanmiller helped me figure out.
There are three real ways to update PHP beyond 5.4 on CentOS 7
I personally prefer to use the Remi repository as that is specifically for PHP only and it replaces everything 'in place'. The other methods leave you with multiple version of PHP installed. and you install them specifically as
yum install php56
for example.For beginners with only a single app running on a VM, it is silly complication. I understand why it is done, but the people that just want to run a website (WordPress) or file share (NextCloud) do not care or need to care about all that IMO.
Yeah, I ran into that issue. I didn't use Remi, and it was causing my theme to have all sorts of issues. I gave up, and restored a snapshot I took riiiiiiiiiiight before I started messing with PHP. (Love VMs.)
I found this, was awesomely helpful.
or you could have looked here first..
https://mangolassi.it/tags/remiright at the top of the NextCloud post....
#install Remi yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm #enable PHP 7.1 by editing the repo file and changing enabled=0 to 1 yum-config-manager --enable remi-php71
I would have had to know what to look for first!
Think it makes sense to add that somewhere in you WP writeup, as well?
WordPress may recommend PHP7 but unless it is required, my guide stands as is. What happened that caused you to want PHP > 5.4
-
@scottalanmiller said
Recommends is not the same as requires. And your logic is why I chose not to use CentOS for web hosting, not why I decided to use it. I'm not in any way saying that CentOS is bad, or that the choice to use it and get PHP separately is bad - only that the logic around choosing CentOS in the first place breaks in this scenario so I find it an odd choice.
And what is that logic?
-
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@travisdh1 said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
CentOS. Because there is no compelling reason to look at anything else and by default I always start there - it's the best known, most stable, best supported. So unless you have a specific reason to look elsewhere, that's what you use IMHO.
So @scottalanmiller and I were discussing offline the new Liuns server I set up for hosting my own web server.
After this who thread, of course I went with CentOS. I mean, after the above quote, why would anyone choose anything different.
Of course, @scottalanmiller says he uses Fedora for web servers. It would be silly to use anything else.
I of course, say WTF, yell to no one in particular that this is why Linux is so frustrating and confusing, and refer back to this thread, and also the thread he mentions all the distributions, and doesn't even mention Fedora.
So, ML, discuss! Is Fedora the best choice for web servers? Is this thread (where it is said CentOS is the clear choice) misleading? (Feel free to fork this if necessary.)
I'm a CentOS junkie, and I admit that fact. See, I'm at step #1.
Fedora is where RedHat/CentOS think it will be headed. The major reason for using Fedora over CentOS for a web server right now is that CentOS has an old version of PHP in their repository (5.4), whereas Fedora has a newer version. I'm not sure what version they're up to tho, is it still the 5.x series or 7 now?
I actually figured out how to update that yesterday. I should post that on the "WP on Centos" article @JaredBusch wrote.
I had a few small issues (with a ZIP program) that @scottalanmiller helped me figure out.
There are three real ways to update PHP beyond 5.4 on CentOS 7
I personally prefer to use the Remi repository as that is specifically for PHP only and it replaces everything 'in place'. The other methods leave you with multiple version of PHP installed. and you install them specifically as
yum install php56
for example.For beginners with only a single app running on a VM, it is silly complication. I understand why it is done, but the people that just want to run a website (WordPress) or file share (NextCloud) do not care or need to care about all that IMO.
Yeah, I ran into that issue. I didn't use Remi, and it was causing my theme to have all sorts of issues. I gave up, and restored a snapshot I took riiiiiiiiiiight before I started messing with PHP. (Love VMs.)
I found this, was awesomely helpful.
or you could have looked here first..
https://mangolassi.it/tags/remiright at the top of the NextCloud post....
#install Remi yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm #enable PHP 7.1 by editing the repo file and changing enabled=0 to 1 yum-config-manager --enable remi-php71
I would have had to know what to look for first!
Think it makes sense to add that somewhere in you WP writeup, as well?
WordPress may recommend PHP7 but unless it is required, my guide stands as is. What happened that caused you to want PHP > 5.4
That's my feeling on it. If you want CentOS for web hosting, PHP 5.4 works great except for very specific needs. If you want all of your packages up to date with the latest stuff, CentOS probably isn't the right choice. Wanting to update only PHP when it isn't a requirement (like Nextcloud) doesn't seem to make sense, it's just one package.
-
PHP 7 is a vast improvement in speeds and such according to everything I have read. but for most people's stuff there is not going to be a visible difference anyway.
-
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said
Recommends is not the same as requires. And your logic is why I chose not to use CentOS for web hosting, not why I decided to use it. I'm not in any way saying that CentOS is bad, or that the choice to use it and get PHP separately is bad - only that the logic around choosing CentOS in the first place breaks in this scenario so I find it an odd choice.
And what is that logic?
The reason that CentOS is chosen normally is the incredibly level of testing and long term support. No distro has the level of integrated testing and great patching and security mindedness and detailed compatibility testing as CentOS. It's value comes from using the OS as it is, because it is supported and tested as a unit. To get this incredible stability you must give up having the latest features.
Once you start not using CentOS in those ways but start pulling out the tested, integrated components and putting in different ones from different sources you are giving up everything that was mentioned. Everything. Once you are breaking your "uniformity" the value of having chosen CentOS drops to essentially zero compared to other things. It's still a good distro, but you aren't using it in a way that reflects its value proposition.
Your resulting CentOS is now a unique snowflake against which essentially no one, and especially not Red Hat, is testing for stability and compatibility. You are no longer getting the "all the work is done for you" benefits. You are now on your own.
Going, for example, to Fedora gets you back to that fully integrated and tested world (but without the long term aspect) but with ALL packages being updated, not just one, and with all the work done for you. So the logic that makes CentOS make sense is removed and the logic of updating PHP is taken even farther. Instead of extra work to get CentOS to PHP 7, you get zero effort to get Fedora to 7.1. Instead of only PHP being updated, the entire system is updated. Instead of being partially tested and partially not, it is all tested.
With what you are doing, Fedora represents, IMHO, closer to the answer that the logic that originally suggested CentOS was caused by. Using the same decision making, but with your desire to have the latest packages, should bring you to something other than CentOS.