Jump to content

Thetic/neounixweb: Difference between revisions

From Internal Dandelion and stuff Wiki
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

เพื่อการอัปเกรดเซิร์ฟเวอร์ที่ถูกต้อง กรุณาอัปเกรดส่วนขยายพวกนี้ด้วย

How to upgrade MediaWiki

  1. Set $wgReadOnly (locking the database).
  2. Download and extract the latest release of MediaWiki
  3. Copy all of the files into the root MediaWiki directory
  4. Delete all of the extensions that were not included
  5. Install the corresponding extensions that were listed here
  6. Unset $wgReadOnly
  7. Run maintenance script at the root MediaWiki directory php maintenance/run.php update
  8. 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,

  1. 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.)
  2. Set $wgReadOnly (locking the database).
  3. Download the latest LTS version of MediaWiki
  4. Copy all of the files into the root MediaWiki directory
  5. Delete all of the extensions that were not included
  6. Install the corresponding extensions that were listed in Wiki farmily
  7. Unset $wgReadOnly
  8. Run maintenance script at the root MediaWiki directory for each wiki php maintenance/run.php update --wiki <whateverthewikiservicenamemaybe>
  9. Check if everything is ran correctly.