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 04:50]
HF test
wordpress [2020/04/01 13:28]
Stephane de Labrusse [wordpress-AutoUpdater]
Line 1: Line 1:
-<wrap box bgred notice 275px right centeralign>​  +{{page>​stephdl_donate}}
-\\ +
-Is this Nethserver module helpful to you?\\ +
-Please consider donating to the author\\ +
-[[https://​mirror.de-labrusse.fr|{{:​button-paypal-donate.png?​100}}]] +
-\\ +
-**Thank you kindly!** +
-\\ \\ +
-</​wrap>​+
  
 ====Wordpress ==== ====Wordpress ====
-<wrap hi>​Available NS6 and NS7</​wrap>​+<wrap hi>​Available ​for NS6 and NS7</​wrap>​
 ====Maintainer==== ====Maintainer====
 Stephane de Labrusse at [[stephdl@de-labrusse.fr]] ​ Stephane de Labrusse at [[stephdl@de-labrusse.fr]] ​
  
-Nethserver-wordpress is a rpm integration to install wordpress from epel+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 ====
  
-First you need to install my repository[[:​stephdl_repository|see how to do it]]+<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 wordpressyou have to install nethserver-wordpress-AutoUpdater 
 +</​WRAP>​
  
-then you can install my module 
-  yum install nethserver-wordpress --enablerepo=stephdl 
  
-Each time you want to reconfigure ​the contrib ​you can do+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: 
 +  yum install nethserver-wordpress --enablerepo=stephdl
  
 +Each time you you change the db settings you have to update the module by entering:
   signal-event nethserver-wordpress-update   signal-event nethserver-wordpress-update
  
Line 47: Line 73:
      ​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 122: Line 149:
 /​usr/​share/​wordpress/​wp-content /​usr/​share/​wordpress/​wp-content
 </​file>​ </​file>​
 +
 ====Bugs==== ====Bugs====