MediaWiki Help

From Server rental store
Jump to navigation Jump to search
  1. MediaWiki Help: Server Configuration for Newcomers

Welcome to the MediaWiki server configuration guide! This article is designed to help newcomers understand the basic technical aspects of the server powering our wiki. We'll cover hardware, software, and essential configuration points. Understanding these elements is crucial for troubleshooting and contributing to the long-term health of the site.

Understanding the Server Environment

Our MediaWiki instance runs on a dedicated server environment. This means the server’s resources are primarily allocated to running the wiki software and its associated services. This configuration ensures optimal performance and stability. It is important to note that direct access to the server is restricted to authorized personnel for security reasons. If you encounter issues, please report them through the Special:Contact page.

Hardware Specifications

The server hardware is the foundation of our wiki's performance. Here's a breakdown of the key components:

Component Specification
CPU Intel Xeon E5-2680 v4 (2.4 GHz, 14 cores)
RAM 64 GB DDR4 ECC Registered
Storage 2 x 1TB SSD (RAID 1) for OS and MediaWiki files
Network 1 Gbps Dedicated Connection
Power Supply Redundant 750W Power Supplies

The use of SSDs in a RAID 1 configuration is particularly important. RAID 1 provides data redundancy; if one drive fails, the other contains a complete copy of the data, preventing data loss. Regular Special:Log/Database monitoring helps ensure data integrity.

Software Stack

The MediaWiki software runs on a specific software stack. Understanding these components is vital for diagnosing and resolving issues.

Software Version
Operating System Ubuntu Server 22.04 LTS
Web Server Apache 2.4
Database Server MariaDB 10.6
PHP 8.1
PHP Extensions intl, mbstring, json, curl, gd, zip, xml, pdo_mysql

We utilize a LAMP (Linux, Apache, MariaDB, PHP) stack. The PHP extensions listed are critical for MediaWiki's functionality. Incorrectly configured or missing extensions can lead to errors. Refer to Manual:Configuration settings for detailed PHP configuration instructions. The version of PHP is regularly updated to maintain security and compatibility.

Key Configuration Points

Several key configuration points are essential for maintaining a stable and performant wiki.

  • `LocalSettings.php`: This is the main configuration file for MediaWiki. It contains database connection details, site name, URL, and various other settings. Do *not* modify this file unless you are an authorized administrator. See Manual:Configuration settings for details.
  • `Apache Virtual Host`: The Apache web server is configured with a virtual host for our wiki. This allows the server to host multiple websites. The configuration includes settings for document root, access control, and security.
  • `MariaDB Configuration`: The MariaDB database server is tuned for optimal MediaWiki performance. Key settings include buffer pool size, query cache size, and connection limits. See Manual:Database for more information.
  • `PHP Configuration (php.ini)`: The PHP configuration file (`php.ini`) is adjusted to meet MediaWiki's requirements. Important settings include memory limit, upload size limit, and error reporting level. Consult Manual:PHP for guidance.
  • `Cron Jobs`: We use cron jobs to automate routine tasks, such as database maintenance, job queue processing, and log rotation. Details on cron job configuration can be found at Manual:Jobs.

Caching Mechanisms

To improve performance, we employ several caching mechanisms:

Caching Layer Description
Page Cache Caches rendered HTML pages to reduce database load.
Database Query Cache Caches frequently executed database queries.
Object Cache (Memcached) Caches frequently accessed data objects, such as user preferences and article content.

The object cache, powered by Memcached, significantly reduces database load and improves response times. The effectiveness of the object cache is monitored regularly using Special:Statistics. Proper cache configuration is vital for a responsive wiki experience.

Security Considerations

Security is a top priority. We implement several measures to protect the wiki from unauthorized access and malicious attacks:

  • Regular Security Updates: The operating system, web server, database server, and PHP are regularly updated with the latest security patches.
  • Firewall Configuration: A firewall is configured to restrict access to the server to authorized ports and IP addresses.
  • SSL/TLS Encryption: All traffic to and from the wiki is encrypted using SSL/TLS.
  • Input Validation: All user input is validated to prevent cross-site scripting (XSS) and SQL injection attacks.
  • Regular Backups: Full backups of the wiki's files and database are performed regularly. See Manual:Backups for details.

Reporting Issues

If you encounter any technical issues with the wiki, please report them through the Special:Contact page. Please provide as much detail as possible, including the URL of the page where the issue occurred, your browser and operating system, and any error messages you receive. The Special:Errors page also provides valuable debugging information for administrators.



Manual:Configuration settings Manual:Database Manual:PHP Manual:Jobs Manual:Backups Special:Contact Special:Statistics Special:Log/Database Special:Errors Help:Contents Help:FAQ Manual:Upgrading Manual:Installing Manual:Administrators Help:Editing Help:Pages Help:Linking


Intel-Based Server Configurations

Configuration Specifications Benchmark
Core i7-6700K/7700 Server 64 GB DDR4, NVMe SSD 2 x 512 GB CPU Benchmark: 8046
Core i7-8700 Server 64 GB DDR4, NVMe SSD 2x1 TB CPU Benchmark: 13124
Core i9-9900K Server 128 GB DDR4, NVMe SSD 2 x 1 TB CPU Benchmark: 49969
Core i9-13900 Server (64GB) 64 GB RAM, 2x2 TB NVMe SSD
Core i9-13900 Server (128GB) 128 GB RAM, 2x2 TB NVMe SSD
Core i5-13500 Server (64GB) 64 GB RAM, 2x500 GB NVMe SSD
Core i5-13500 Server (128GB) 128 GB RAM, 2x500 GB NVMe SSD
Core i5-13500 Workstation 64 GB DDR5 RAM, 2 NVMe SSD, NVIDIA RTX 4000

AMD-Based Server Configurations

Configuration Specifications Benchmark
Ryzen 5 3600 Server 64 GB RAM, 2x480 GB NVMe CPU Benchmark: 17849
Ryzen 7 7700 Server 64 GB DDR5 RAM, 2x1 TB NVMe CPU Benchmark: 35224
Ryzen 9 5950X Server 128 GB RAM, 2x4 TB NVMe CPU Benchmark: 46045
Ryzen 9 7950X Server 128 GB DDR5 ECC, 2x2 TB NVMe CPU Benchmark: 63561
EPYC 7502P Server (128GB/1TB) 128 GB RAM, 1 TB NVMe CPU Benchmark: 48021
EPYC 7502P Server (128GB/2TB) 128 GB RAM, 2 TB NVMe CPU Benchmark: 48021
EPYC 7502P Server (128GB/4TB) 128 GB RAM, 2x2 TB NVMe CPU Benchmark: 48021
EPYC 7502P Server (256GB/1TB) 256 GB RAM, 1 TB NVMe CPU Benchmark: 48021
EPYC 7502P Server (256GB/4TB) 256 GB RAM, 2x2 TB NVMe CPU Benchmark: 48021
EPYC 9454P Server 256 GB RAM, 2x2 TB NVMe

Order Your Dedicated Server

Configure and order your ideal server configuration

Need Assistance?

⚠️ *Note: All benchmark scores are approximate and may vary based on configuration. Server availability subject to stock.* ⚠️