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/06 11:46]
Stephane de Labrusse [php7.2]
wordpress [2020/04/01 13:28] (current)
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 113: Line 148:
 # vim  /​etc/​backup-data.d/​wordpress.include # vim  /​etc/​backup-data.d/​wordpress.include
 /​usr/​share/​wordpress/​wp-content /​usr/​share/​wordpress/​wp-content
-</​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 nethserver-wordpress-AutoUpdater --enablerepo=stephdl 
 </​file>​ </​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>​ 
 ====Bugs==== ====Bugs====