Editing MediaWiki/Installation
From Bibliotheca Anonoma
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 9: | Line 9: | ||
While a home server could work for personal use, consider using a hosted instance like the DigitalOcean or Amazon AWS, which provides greater reliability and explicitly allows website hosting, whereas home connections may have restrictions on such activity. | While a home server could work for personal use, consider using a hosted instance like the DigitalOcean or Amazon AWS, which provides greater reliability and explicitly allows website hosting, whereas home connections may have restrictions on such activity. | ||
* Base – The basic configuration for an optimized MediaWiki instance. | |||
** Web Server: [[Nginx/MediaWiki]] – Nginx is used in place of Apache for its greater effectiveness with static content and SSL support. | |||
The basic configuration for an optimized MediaWiki instance. | ** PHP Engine: [[HHVM]] – HHVM was created by Facebook as a Just-in-Time compiling virtual machine that provides higher performance for PHP programs like MediaWiki. | ||
** SQL Database: [[MariaDB]]/[[PostgreSQL]] – Either of these SQL databases will work, but MariaDB is used most often by the Wikimedia Foundation and has best compatibility with extensions. | |||
* Web Server: [[Nginx/MediaWiki]] – Nginx is used in place of Apache for its greater effectiveness with static content and SSL support. | ** Wiki Software: [[MediaWiki/Extraction]] – MediaWiki is used as the wiki software. It is set up after the web server, PHP engine, and SQL Database. | ||
* PHP Engine: [[ | ** Cache: [[Memcached]] – Caches significantly lighten the load on the SQL database, and memcached is particularly easy to set up. | ||
* | * Optional – Additional configurations that can be added once the wiki increases in usage. You can look up how to set these up online. | ||
* SQL Database: [[ | ** Job Queue: [[Redis]] – The Job Queue can also be cached to reduce database load. | ||
* Wiki Software: [[MediaWiki/ | ** Dynamic Caching Server: [[Varnish]] – Wikimedia servers utilize this caching front server to significantly reduce the regeneration that dynamic pages need. | ||
* Cache: [[ | ** Content Delivery Network: [[Cloudflare]] – Reduce the threat of DDoS attacks with a load balancing Content Delivery Network. | ||
Additional configurations that can be added once the wiki increases in usage. You can look up how to set these up online. | |||
* Job Queue: [[ | |||
* Dynamic Caching Server: [[ | |||
* Content Delivery Network: [[ | |||
== Links == | == Links == | ||
Line 41: | Line 33: | ||
https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_or_Ubuntu | https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_or_Ubuntu | ||