Thetic/neounixweb: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
neounixweb เป็นระบบ container incus ที่เป็นที่อยู่อาศัยของเว็ปวิกิของสารพัดนิกซ์ | <s>neounixweb เป็นระบบ container incus ที่เป็นที่อยู่อาศัยของเว็ปวิกิของสารพัดนิกซ์</s> | ||
neounixweb เป็นระบบ container incus ที่เป็นที่อยู่อาศัยของครอบครัววิกิ dailitation.xyz ชื่อ container เป็นงี้เพราะว่าเมื่อก่อนเป็น container สำหรับวิกิของสารพัดนิกซ์ | |||
== วิกิสากลภิวัตน์ == | == วิกิสากลภิวัตน์ == | ||
| Line 27: | Line 29: | ||
# Run maintenance script at the root MediaWiki directory <code>php maintenance/run.php update</code> | # Run maintenance script at the root MediaWiki directory <code>php maintenance/run.php update</code> | ||
# Check to sees if there's anything wrong | # Check to sees if there's anything wrong | ||
== Wiki farmily == | |||
This container housed wiki software at <code>/var/webapps/family/w/</code> this includes every single wikis hosted. It's configured per [[Mw:Manual:Wiki family|Manual:Wiki family]], with a separate LocalSettings.php files for each wikis. | |||
== To-be wiki-farm upgrade process == | |||
As this is wiki family, upgrading process is easy and less cumbersome than doing an upgrade on many wiki installations. | |||
To upgrade MediaWiki, | |||
# Wait until at least midnight where everyone is asleep (We do not have a proper testing database and sandboxed system. If you want there to be one, do donate the necessary hardware for this.) | |||
# Set [[Mediawikiwiki:Manual:$wgReadOnly|$wgReadOnly]] (locking the database). | |||
# Download the latest LTS version of MediaWiki | |||
# Copy all of the files into the root MediaWiki directory | |||
# Delete all of the extensions that were not included | |||
# Install the corresponding extensions that were listed in Wiki farmily | |||
# Unset [[Mediawikiwiki:Manual:$wgReadOnly|$wgReadOnly]] | |||
# Run maintenance script at the root MediaWiki directory for each wiki <code>php maintenance/run.php update --wiki <whateverthewikiservicenamemaybe></code> | |||
# Check if everything is ran correctly. | |||
[[Category:System with Keycloak integration]] | [[Category:System with Keycloak integration]] | ||
Revision as of 01:53, 6 May 2026
neounixweb เป็นระบบ container incus ที่เป็นที่อยู่อาศัยของเว็ปวิกิของสารพัดนิกซ์
neounixweb เป็นระบบ container incus ที่เป็นที่อยู่อาศัยของครอบครัววิกิ dailitation.xyz ชื่อ container เป็นงี้เพราะว่าเมื่อก่อนเป็น container สำหรับวิกิของสารพัดนิกซ์
วิกิสากลภิวัตน์
วิกิตอนนี้อาศัยอยู่ที่ directory /var/webapps/internationalisation/w/ เป็นพื้นที่มาตรฐานของ webapps ใน dailitation.xyz project
ปัจจุบันเชื่อมต่อกับ Keycloak อยู่ ในฐานะ client internationalisation
ส่วนขยายที่ไม่ได้แถมให้ใน MediaWiki
เพื่อการอัปเกรดเซิร์ฟเวอร์ที่ถูกต้อง กรุณาอัปเกรดส่วนขยายพวกนี้ด้วย
- CodeMirror
- MediaWiki_Language_Extension_Bundle
- ซึ่ง bundle นี้มีส่วนขยายดังนี้
- Babel
- CLDR
- Translate
- UniversalLanguageSelector
- ซึ่ง bundle นี้มีส่วนขยายดังนี้
- CommonsMetadata
How to upgrade MediaWiki
- Set $wgReadOnly (locking the database).
- Download and extract the latest release of MediaWiki
- Copy all of the files into the root MediaWiki directory
- Delete all of the extensions that were not included
- Install the corresponding extensions that were listed here
- Unset $wgReadOnly
- Run maintenance script at the root MediaWiki directory
php maintenance/run.php update - Check to sees if there's anything wrong
Wiki farmily
This container housed wiki software at /var/webapps/family/w/ this includes every single wikis hosted. It's configured per Manual:Wiki family, with a separate LocalSettings.php files for each wikis.
To-be wiki-farm upgrade process
As this is wiki family, upgrading process is easy and less cumbersome than doing an upgrade on many wiki installations.
To upgrade MediaWiki,
- Wait until at least midnight where everyone is asleep (We do not have a proper testing database and sandboxed system. If you want there to be one, do donate the necessary hardware for this.)
- Set $wgReadOnly (locking the database).
- Download the latest LTS version of MediaWiki
- Copy all of the files into the root MediaWiki directory
- Delete all of the extensions that were not included
- Install the corresponding extensions that were listed in Wiki farmily
- Unset $wgReadOnly
- Run maintenance script at the root MediaWiki directory for each wiki
php maintenance/run.php update --wiki <whateverthewikiservicenamemaybe> - Check if everything is ran correctly.