Difference between revisions of "Word Press"

From Michael's Information Zone
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
==Server==
 
==Server==
 
===SELinux===
 
===SELinux===
*When working with an Amazon Linux installation, and manually installing SELinux, these are steps I had to take.
+
*When working with an Amazon Linux installation, and manually installing SELinux, these are steps I had to take.<ref>https://francispereira.com/deploying-wordpress-with-selinux-enabled.html</ref>
 
sudo semanage  fcontext -f ""  -a -t  httpd_sys_rw_content_t '/var/www/html/wp-content/uploads(/.*)?'
 
sudo semanage  fcontext -f ""  -a -t  httpd_sys_rw_content_t '/var/www/html/wp-content/uploads(/.*)?'
 +
*The following allowed me to update directly from the web UI.
 +
sudo chcon -R -t httpd_sys_rw_content_t /var/www/html/wp-content/uploads/*
  
 
==Plugins==
 
==Plugins==
 
*[[Next Active Directory Integration]]
 
*[[Next Active Directory Integration]]

Latest revision as of 12:25, 18 December 2017

Server

SELinux

  • When working with an Amazon Linux installation, and manually installing SELinux, these are steps I had to take.[1]

sudo semanage fcontext -f "" -a -t httpd_sys_rw_content_t '/var/www/html/wp-content/uploads(/.*)?'

  • The following allowed me to update directly from the web UI.

sudo chcon -R -t httpd_sys_rw_content_t /var/www/html/wp-content/uploads/*

Plugins

  • https://francispereira.com/deploying-wordpress-with-selinux-enabled.html