Installing Wordpress on CentOS 7 Minimal
-
Perhaps this is offtopic, but what is the swappiness setting you are supposed to use? Would that be applicable to this article, or is that a more "general CentOS setup" setting?
-
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
Perhaps this is offtopic, but what is the swappiness setting you are supposed to use? Would that be applicable to this article, or is that a more "general CentOS setup" setting?
Neither. It is not related to WordPress, web hosting or to CentOS directly. It's a memory setting that would be dependent on many factors, like the IOPS you have, the storage and memory that you have, how you want your disk used, how the disks are shared with other systems, how much disk capacity you have spare and so forth.
-
@scottalanmiller said in Installing Wordpress on CentOS 7 Minimal:
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
Perhaps this is offtopic, but what is the swappiness setting you are supposed to use? Would that be applicable to this article, or is that a more "general CentOS setup" setting?
Neither. It is not related to WordPress, web hosting or to CentOS directly. It's a memory setting that would be dependent on many factors, like the IOPS you have, the storage and memory that you have, how you want your disk used, how the disks are shared with other systems, how much disk capacity you have spare and so forth.
Isn't it one of the settings you normally always enable?
Or am I thinking about something else?
-
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
@scottalanmiller said in Installing Wordpress on CentOS 7 Minimal:
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
Perhaps this is offtopic, but what is the swappiness setting you are supposed to use? Would that be applicable to this article, or is that a more "general CentOS setup" setting?
Neither. It is not related to WordPress, web hosting or to CentOS directly. It's a memory setting that would be dependent on many factors, like the IOPS you have, the storage and memory that you have, how you want your disk used, how the disks are shared with other systems, how much disk capacity you have spare and so forth.
Isn't it one of the settings you normally always enable?
Or am I thinking about something else?
generally he says he always sets it to 30 or something like that in other threads.
-
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
@scottalanmiller said in Installing Wordpress on CentOS 7 Minimal:
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
Perhaps this is offtopic, but what is the swappiness setting you are supposed to use? Would that be applicable to this article, or is that a more "general CentOS setup" setting?
Neither. It is not related to WordPress, web hosting or to CentOS directly. It's a memory setting that would be dependent on many factors, like the IOPS you have, the storage and memory that you have, how you want your disk used, how the disks are shared with other systems, how much disk capacity you have spare and so forth.
Isn't it one of the settings you normally always enable?
Or am I thinking about something else?
It's not enabling or disabling, it's setting it. The OS default is 60. Many cloud providers change this in their own defaults because it impacts other customers. On my cloud instances, I normally set to 10.
-
If this was a physical box or a one to one VM install (only VM on a host) then a swappiness of 60 is a good starting point.
-
@scottalanmiller said
It's not enabling or disabling, it's setting it. The OS default is 60. Many cloud providers change this in their own defaults because it impacts other customers. On my cloud instances, I normally set to 10.
I install Centos 7 Minimal on a Vultr VM, and the default was 30.
-
Going back through this today.
What did we ever decide on PHP 5.X versus 7.X
Since WordPress seems to be recommending the move to 7.X, is it reasonable and desired to install that instead? Even if it is not in the official repositories? (I am, just asking for future reference for others.)
-
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
Going back through this today.
What did we ever decide on PHP 5.X versus 7.X
Since WordPress seems to be recommending the move to 7.X, is it reasonable and desired to install that instead? Even if it is not in the official repositories? (I am, just asking for future reference for others.)
I would install this on Fedora today. If you want to be on CentOS 7, then install the Remi repo and enable the PHP 7.1 repo.
-
@JaredBusch said in Installing Wordpress on CentOS 7 Minimal:
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
Going back through this today.
What did we ever decide on PHP 5.X versus 7.X
Since WordPress seems to be recommending the move to 7.X, is it reasonable and desired to install that instead? Even if it is not in the official repositories? (I am, just asking for future reference for others.)
I would install this on Fedora today. If you want to be on CentOS 7, then install the Remi repo and enable the PHP 7.1 repo.
That's two votes for Fedora,then. I know @scottalanmiller is also a fan.
-
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
@JaredBusch said in Installing Wordpress on CentOS 7 Minimal:
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
Going back through this today.
What did we ever decide on PHP 5.X versus 7.X
Since WordPress seems to be recommending the move to 7.X, is it reasonable and desired to install that instead? Even if it is not in the official repositories? (I am, just asking for future reference for others.)
I would install this on Fedora today. If you want to be on CentOS 7, then install the Remi repo and enable the PHP 7.1 repo.
That's two votes for Fedora,then. I know @scottalanmiller is also a fan.
My install guide is written for Fedora
-
@scottalanmiller said in Installing Wordpress on CentOS 7 Minimal:
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
@JaredBusch said in Installing Wordpress on CentOS 7 Minimal:
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
Going back through this today.
What did we ever decide on PHP 5.X versus 7.X
Since WordPress seems to be recommending the move to 7.X, is it reasonable and desired to install that instead? Even if it is not in the official repositories? (I am, just asking for future reference for others.)
I would install this on Fedora today. If you want to be on CentOS 7, then install the Remi repo and enable the PHP 7.1 repo.
That's two votes for Fedora,then. I know @scottalanmiller is also a fan.
My install guide is written for Fedora
Is that here on ML?
-
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
@scottalanmiller said in Installing Wordpress on CentOS 7 Minimal:
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
@JaredBusch said in Installing Wordpress on CentOS 7 Minimal:
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
Going back through this today.
What did we ever decide on PHP 5.X versus 7.X
Since WordPress seems to be recommending the move to 7.X, is it reasonable and desired to install that instead? Even if it is not in the official repositories? (I am, just asking for future reference for others.)
I would install this on Fedora today. If you want to be on CentOS 7, then install the Remi repo and enable the PHP 7.1 repo.
That's two votes for Fedora,then. I know @scottalanmiller is also a fan.
My install guide is written for Fedora
Is that here on ML?
Yes. I think it is in two parts. One for the stack then another for WP. Since one is standard without the other.
-
Just use this guide but install Fedora instead of CentOS. You will get PHP 7
-
I've actually been playing around with @scottalanmiller's Salt writeups to do this.
But there is still a bunch to do from this guide as well.
-
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
@JaredBusch said in Installing Wordpress on CentOS 7 Minimal:
@BRRABill said in Installing Wordpress on CentOS 7 Minimal:
Going back through this today.
What did we ever decide on PHP 5.X versus 7.X
Since WordPress seems to be recommending the move to 7.X, is it reasonable and desired to install that instead? Even if it is not in the official repositories? (I am, just asking for future reference for others.)
I would install this on Fedora today. If you want to be on CentOS 7, then install the Remi repo and enable the PHP 7.1 repo.
That's two votes for Fedora,then. I know @scottalanmiller is also a fan.
I'm all about Fedora as well... even Fedora Desktop for personal use, moreso than Korora.
So make that 3 votes.
-
@Tim_G I'm not running fedora instead of korora as welll
-
@brianlittlejohn said in Installing Wordpress on CentOS 7 Minimal:
@Tim_G I'm not running fedora instead of korora as welll
No, he IS running Fedora instead of Korora.
-
@scottalanmiller lol... m a little drunk...I'm running fedora as well
-
@brianlittlejohn said in Installing Wordpress on CentOS 7 Minimal:
@scottalanmiller lol... m a little drunk...I'm running fedora as well
As long as it is only a little. Don't want anyone to have to carry you home.