Linux File Server. Which One Would You Pick?
-
@dafyre 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?:
@travisdh1 said i
Well sure. It is popular. Is it the most stable platform? No, it was never meant to be.
What defines stability in this case?
Knowing security updates won't break config files for one.
I have not had any issues with this on Linux in a long time.
I get it often on Ubuntu. Never elsewhere.
-
@Dashrender said in Linux File Server. Which One Would You Pick?:
@dafyre 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?:
@travisdh1 said in Linux File Server. Which One Would You Pick?:
@dafyre 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?:
@travisdh1 said i
Well sure. It is popular. Is it the most stable platform? No, it was never meant to be.
What defines stability in this case?
Knowing security updates won't break config files for one.
I have not had any issues with this on Linux in a long time.
Debian/Ubuntu/Mint (all the same base) are the only major system that feels the need to replace config files on you. If you're doing updates via 'apt-get update && apt-get upgrade -y', it actually stops to ask you about replacing config files. Something that just doesn't happen on RedHat/CentOS.
Yeah ... should I replace it with mine, the distributor's copy, or 4 other options, right?
LOL.
Yep, exactly.
Let's see... I see you have AD setup, 187 file shares, three different web servers. Would you like me to {self moderdated} up your configuration files, or should I be smart and not touch them?
Does Ubuntu suffer this?
Yes. It's the biggest offender.
-
@BRRABill said in Linux File Server. Which One Would You Pick?:
Why are so many things (such as the ML XO instructions) on Ubuntu?
Because of the application vendors choosing Ubuntu as their supported platform. No one chooses it because they like it. Not here, anyway.
-
@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.)
-
@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