Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wordpress [2019/03/04 05:33]
HF Donate block now a template
wordpress [2019/10/06 11:57] (current)
Stephane de Labrusse [wordpress-AutoUpdater]
Line 8: Line 8:
 Nethserver-wordpress is a Nethserver-module integration-rpm to install specific Nethserver settings and **[[https://​wordpress.org|Wordpress]]** from the epel repository (enabled by default). Nethserver-wordpress is a Nethserver-module integration-rpm to install specific Nethserver settings and **[[https://​wordpress.org|Wordpress]]** from the epel repository (enabled by default).
  
 +====wordpress-AutoUpdater====
  
 +<WRAP center round important 60%>
 +Beta, please test and provide feedbacks
 +</​WRAP>​
 +
 +
 +Since NethServer comes with default upstream php5.4 it might be needed (for example for several plugins) to have a version with php7.2 available. Instead of the default install, alternatively you can install a custom package that ships rh-php7.2 with wordpress for NethServer.
 +
 +First you need to install the **[[stephdl_repository|stephdl]]** repository, see [[:​stephdl_repository|this]] page how to enable the repository.
 +
 +then you can install the nethserver-wordpress module by entering the following on the console:
 +<​file>​
 +yum install nethserver-wordpress-AutoUpdater --enablerepo=stephdl
 +</​file>​
 +
 +It intends to propose a full compatible replacement of the epel version of wordpress, by installing the php software collection rh-php72 (nethserver-wordpress and wordpress are obsoleted and removed, but the data/mysql DB are not removed)
 +Once installed you can follow the updates by  the internal wordpress updater.
 +
 +The only difference is the name of the event, when you want to modify a setting by the esmith command line, you have at the end to call : 
 +<​file>​
 +signal-event nethserver-wordpress-AutoUpdater
 +</​file>​
 ==== Installation ==== ==== Installation ====
 +
 +<WRAP center round tip 60%>
 +The wordpress epel version is blocked to the wordpress-5.1 due to the php limitation of NS7 (php54), if you care to get the last version of wordpress, you have to install nethserver-wordpress-AutoUpdater
 +</​WRAP>​
 +
  
 First you need to install the **[[stephdl_repository|stephdl]]** repository, see [[:​stephdl_repository|this]] page how to enable the repository. First you need to install the **[[stephdl_repository|stephdl]]** repository, see [[:​stephdl_repository|this]] page how to enable the repository.
Line 38: Line 65:
      ​UploadMaxSize=8M      ​UploadMaxSize=8M
      ​WebFilesMod=enabled ​   #used to allow upgrade files&​folder with the backend (enabled/​disabled)      ​WebFilesMod=enabled ​   #used to allow upgrade files&​folder with the backend (enabled/​disabled)
 +     ​Debug=disabled ​  # used to debug wordpress (disabled/​enabled)
      ​access=public ​         #You can restrict to your local network or be opened to all (public/​private) ​      ​access=public ​         #You can restrict to your local network or be opened to all (public/​private) ​
      ​status=enabled ​        #you can disabled completely worpdress (enabled/​disabled)      ​status=enabled ​        #you can disabled completely worpdress (enabled/​disabled)
Line 113: Line 141:
 /​usr/​share/​wordpress/​wp-content /​usr/​share/​wordpress/​wp-content
 </​file>​ </​file>​
 +
 ====Bugs==== ====Bugs====