Install yum-cron: sudo yum -y install yum-cron Open /etc/yum/yum-cron.conf in your favorite editor and make sure each of the following values are set to ‘yes’. update_messages = yes download_updates = yes apply_updates = yes Other optional settings in yum-cron.conf # Change from ‘default’ to ‘security’ # if you only want security fixes. update_cmd = security… Continue reading Automatically update CentOS 7 with yum-cron
Category: CentOS
File ownership considerations with Nginx and php-fpm
I recently switched my CentOS 7 web server over to Nginx and php-fpm. From my experience with Apache I assumed that PHP scripts would be executed by the same user the web server is running as — ‘nginx’ in this case. But this could no longer be taken for granted since php-fpm is a separate… Continue reading File ownership considerations with Nginx and php-fpm