Control Web Panel
WebPanel => Information => Topic started by: itmonitor on April 13, 2019, 09:24:23 AM
-
Hi, please how to enable packages autoupdate for CWP Panel?
-
Hi,
Hi, please how to enable packages autoupdate for CWP Panel?
what exactly packages would you like auto-updating?
-
The packages listed at CWP>yum manager>List of Available Packages for Update.
Is there a way to set them to update automatically once they are available or alternatively, once per day at a certain hour?
-
Hi, nope. I do not think so.
But you can add some cronjob (under root user) like the below one:
* * */1 * * yum -y -q update 2>/dev/null
-
But why would you want to enable the automated (and uncontrolled) update of packages? This goes against any good practice in Change Management, whose purpose is to safeguard the well-running state of a Production system. Any change brought into the Production system should have been thoroughly tested in a Quality Assurance or Test environment, which replicates the Production system, but whose failure would not be an issue. Only after you confirmed that an update will not interfere in any way with the OS and the applications running on it, only then should that update be applied in Prod. Otherwise you assume all risks for an update to crash your site or even the server completely. And to apply those automatically, so you don't even see which packages will be installed? I see that you like to live dangerously.
-
Hi Igor, thank you! :-)
Hi, nope. I do not think so.
But you can add some cronjob (under root user) like the below one:
* * */1 * * yum -y -q update 2>/dev/null
-
Please, what is the code I should add in the crontab to make the server reboot after it had done all the updates?
Hi, nope. I do not think so.
But you can add some cronjob (under root user) like the below one:
* * */1 * * yum -y -q update 2>/dev/null
-
Please, what is the code I should add in the crontab to make the server reboot after it had done all the updates?
Hi, nope. I do not think so.
But you can add some cronjob (under root user) like the below one:
* * */1 * * yum -y -q update 2>/dev/null
I do not think a reboot required. I would not reboot the server with no emergency reason.
-
Please, what is the code I should add in the crontab to make the server reboot after it had done all the updates?
Hi, nope. I do not think so.
But you can add some cronjob (under root user) like the below one:
* * */1 * * yum -y -q update 2>/dev/null
I do not think a reboot required. I would not reboot the server with no emergency reason.
This goes against any good practice in Change Management, whose purpose is to safeguard the well-running state of a Production system. Any change brought into the Production system should have been thoroughly tested in a Quality Assurance or Test environment, which replicates the Production system, but whose failure would not be an issue. Only after you confirmed that an update will not interfere in any way with the OS and the applications running on it, only then should that update be applied in Prod.