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/10/05 12:21]
rob bosch
wordpress [2020/04/01 13:28]
Stephane de Labrusse [wordpress-AutoUpdater]
Line 7: Line 7:
  
 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 install 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.
 +
 +first you must remove the older wordpress version if installed
 +
 +<​file>​
 +rpm -e --nodeps nethserver-wordpress wordpress
 +</​file>​
 +
 +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.
 +
 +When you want to modify a setting by the esmith command line, you have at the end to call : 
 +<​file>​
 +signal-event nethserver-wordpress-update
 +</​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 114: Line 149:
 /​usr/​share/​wordpress/​wp-content /​usr/​share/​wordpress/​wp-content
 </​file>​ </​file>​
-====php7.2==== +
-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. +
-To install this custom version use the following command: +
-<​file>​ +
-yum install http://​mirror.de-labrusse.fr/​NethDev/​nethserver-wordpress/​wordpress-AutoUpdater-5.2.3-1.ns7.sdl.noarch.rpm http://​mirror.de-labrusse.fr/​NethDev/​nethserver-wordpress/​nethserver-wordpress-1.1.8-1.ns7.sdl.noarch.rpm  +
-</​file>​ +
-For more info view the [[https://​community.nethserver.org/​t/​nethserver-wordpress-with-rh-php72/​13393|discussion in community forums]].+
 ====Bugs==== ====Bugs====