Difference between revisions of "Web Admin"
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
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. | 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:Admin]] | + | [[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.