Difference between revisions of "Web Admin"

From Remeis-Wiki
Jump to navigation Jump to search
(Created page with "== How to install wordpress == Sometimes it is necessary to install a wordpress instance (for example in a VBOX for testing) and set it as a clone of the current remeis home...")
 
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
 
After this is done, fire up the web server and see if things are working!
 
After this is done, fire up the web server and see if things are working!
  
[[Category:Admin]]
+
== New instance of mediawiki & update ==
 +
 
 +
Updating mediawiki is fairly simple (if it is not more than 2 LTS releases away). In principle: dump db, copy data files (this is mainly images/) and check extension updates. Then copy LocalSettings.php and try the update script. The settings for the image folder need to be writable by www-data and the setgid bit should be set. After that, everything should work.
 +
 
 +
[[Category:Web Admin]]

Latest revision as of 12:54, 9 August 2024

How to install wordpress

Sometimes it is necessary to install a wordpress instance (for example in a VBOX for testing) and set it as a clone of the current remeis home page. Notes on how this is done are collected here

  • Install apache2, mysql-server, php, and php-curl php-gd php-mbstring php-xml php-xmlrpc php-soap php-intl php-zip
  • Create database on new location (if necessary), dump old database, replace all old addresses with new! Otherwise multisite will not find the correct tables. mysqldump comes in handy.
  • Copy website over (that is, everything in wordpress_multisite
  • change config to access new database
  • Important: enable rewrite module 'a2enmod rewrite' otherwise links will not work.

After this is done, fire up the web server and see if things are working!

New instance of mediawiki & update

Updating mediawiki is fairly simple (if it is not more than 2 LTS releases away). In principle: dump db, copy data files (this is mainly images/) and check extension updates. Then copy LocalSettings.php and try the update script. The settings for the image folder need to be writable by www-data and the setgid bit should be set. After that, everything should work.