MediaWIKI Upgrade: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
For the database, use the command line or phpMyAdmin. phpMyAdmin makes it really easy. Select the database, export, simple, Go, save it, done. | For the database, use the command line or phpMyAdmin. phpMyAdmin makes it really easy. Select the database, export, simple, Go, save it, done. | ||
== Common Mistakes to Watch Out For == | ==Common Mistakes to Watch Out For== | ||
When unpacking the TAR file, remember it is named: mediawiki-W.XY.Z (not plain mediawiki), for example mediawiki-1.34.1 | When unpacking the TAR file, remember it is named: mediawiki-W.XY.Z (not plain mediawiki), for example mediawiki-1.34.1 | ||
Line 34: | Line 34: | ||
find /var/www/html/WhatEverDirectory -type f -exec chmod 644 {} \; | find /var/www/html/WhatEverDirectory -type f -exec chmod 644 {} \; | ||
find /var/www/html/WhatEverDirectory/images -type d -exec chmod 755 {} \; | find /var/www/html/WhatEverDirectory/images -type d -exec chmod 755 {} \; | ||
find /var/www/html/WhatEverDirectory/images -type f -exec chmod 755 {} \; | |||
</syntaxhighlight>Copy previous version of MediaWiki website files into the new directory;<syntaxhighlight lang="text"> | </syntaxhighlight>Copy previous version of MediaWiki website files into the new directory;<syntaxhighlight lang="text"> | ||
cp -R -n -v -a -x /var/www/html/WorkingWebSite/* /var/www/html/WebSite (Notice the * (Asterisk) for the Source Files) | cp -R -n -v -a -x /var/www/html/WorkingWebSite/* /var/www/html/WebSite (Notice the * (Asterisk) for the Source Files) |