<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://serverrental.store/index.php?action=history&amp;feed=atom&amp;title=Network_File_System</id>
	<title>Network File System - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://serverrental.store/index.php?action=history&amp;feed=atom&amp;title=Network_File_System"/>
	<link rel="alternate" type="text/html" href="https://serverrental.store/index.php?title=Network_File_System&amp;action=history"/>
	<updated>2026-04-15T13:04:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://serverrental.store/index.php?title=Network_File_System&amp;diff=1973&amp;oldid=prev</id>
		<title>Admin: Automated server configuration article</title>
		<link rel="alternate" type="text/html" href="https://serverrental.store/index.php?title=Network_File_System&amp;diff=1973&amp;oldid=prev"/>
		<updated>2025-04-15T17:17:27Z</updated>

		<summary type="html">&lt;p&gt;Automated server configuration article&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;# Network File System (NFS) – A Server Configuration Guide&lt;br /&gt;
&lt;br /&gt;
This article details the configuration of a Network File System (NFS) for your MediaWiki environment. NFS allows you to share directories and files between servers over a network, which is particularly useful for centralizing storage of uploaded files, backups, and other data used by your wiki installation. This guide assumes a basic understanding of Linux server administration.&lt;br /&gt;
&lt;br /&gt;
== What is NFS? ==&lt;br /&gt;
&lt;br /&gt;
Network File System (NFS) is a distributed file system protocol allowing a user on a client computer to access files over a network as if they were on a local disk.  This is achieved by allowing a server to share directories (exports) with clients. NFS is commonly used in Unix-like systems, including Linux, and is a valuable tool for managing data across multiple servers.  It’s often preferred over alternatives like Samba (SMB/CIFS) in homogenous Unix environments due to its simplicity and performance.  For more information about file systems, see [[File System Basics]].&lt;br /&gt;
&lt;br /&gt;
== Benefits of Using NFS with MediaWiki ==&lt;br /&gt;
&lt;br /&gt;
*   '''Centralized Storage:''' Consolidate all uploaded files and backups onto a dedicated NFS server, simplifying management and backups. This is preferable to having files scattered across multiple wiki servers. See [[Backups]] for more information.&lt;br /&gt;
*   '''Scalability:''' Easily expand storage capacity by adding more disk space to the NFS server without modifying the MediaWiki servers directly.&lt;br /&gt;
*   '''Simplified Management:'''  Manage permissions and access control centrally on the NFS server.&lt;br /&gt;
*   '''Improved Performance:''' In some cases, NFS can provide better performance than local storage, especially with fast network connections.  However, proper tuning (discussed later) is crucial.  Check [[Performance Tuning]] for general wiki performance guidance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== NFS Server Configuration ==&lt;br /&gt;
&lt;br /&gt;
This section outlines the steps required to configure the NFS server.  We will use a Debian/Ubuntu-based system for this example, but the general principles apply to other distributions.&lt;br /&gt;
&lt;br /&gt;
=== 1. Install NFS Server ===&lt;br /&gt;
&lt;br /&gt;
First, install the necessary NFS server packages:&lt;br /&gt;
&lt;br /&gt;
```bash&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install nfs-kernel-server&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
=== 2. Create Shared Directory ===&lt;br /&gt;
&lt;br /&gt;
Create the directory you want to share.  For example, to share a directory called `/nfs/mediawiki_files`:&lt;br /&gt;
&lt;br /&gt;
```bash&lt;br /&gt;
sudo mkdir -p /nfs/mediawiki_files&lt;br /&gt;
sudo chown www-data:www-data /nfs/mediawiki_files  #Important: Set ownership to the web server user&lt;br /&gt;
sudo chmod 775 /nfs/mediawiki_files #Allow read/write/execute for owner and group, read/execute for others&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
=== 3. Configure `/etc/exports` ===&lt;br /&gt;
&lt;br /&gt;
Edit the `/etc/exports` file to define which directories are shared and with what permissions.  Add a line similar to the following:&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
/nfs/mediawiki_files   &amp;lt;client_IP_address&amp;gt;(rw,sync,no_subtree_check,no_root_squash)&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
*   `&amp;lt;client_IP_address&amp;gt;`:  Replace this with the IP address of your MediaWiki server. You can also use a subnet (e.g., `192.168.1.0/24`) to allow access from multiple servers.&lt;br /&gt;
*   `rw`:  Allows read and write access.&lt;br /&gt;
*   `sync`:  Forces NFS to write changes to disk before replying to the client.  This provides better data integrity, but can slightly reduce performance.&lt;br /&gt;
*   `no_subtree_check`: Disables subtree checking, which can improve performance in some cases.&lt;br /&gt;
*   `no_root_squash`: Allows the root user on the client to have root privileges on the shared directory.  **Use with caution!**  Consider `root_squash` for increased security.  See [[Security Considerations]].&lt;br /&gt;
&lt;br /&gt;
After editing `/etc/exports`, export the shares:&lt;br /&gt;
&lt;br /&gt;
```bash&lt;br /&gt;
sudo exportfs -a&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
=== 4. Restart NFS Server ===&lt;br /&gt;
&lt;br /&gt;
Restart the NFS server to apply the changes:&lt;br /&gt;
&lt;br /&gt;
```bash&lt;br /&gt;
sudo systemctl restart nfs-kernel-server&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
== NFS Client Configuration ==&lt;br /&gt;
&lt;br /&gt;
This section details how to configure the MediaWiki server as an NFS client.&lt;br /&gt;
&lt;br /&gt;
=== 1. Install NFS Client ===&lt;br /&gt;
&lt;br /&gt;
Install the NFS client packages:&lt;br /&gt;
&lt;br /&gt;
```bash&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install nfs-common&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
=== 2. Create Mount Point ===&lt;br /&gt;
&lt;br /&gt;
Create a directory on the MediaWiki server where the NFS share will be mounted.  For example:&lt;br /&gt;
&lt;br /&gt;
```bash&lt;br /&gt;
sudo mkdir /var/www/mediawiki/images_nfs&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
=== 3. Mount the NFS Share ===&lt;br /&gt;
&lt;br /&gt;
Mount the NFS share using the `mount` command:&lt;br /&gt;
&lt;br /&gt;
```bash&lt;br /&gt;
sudo mount &amp;lt;NFS_server_IP&amp;gt;:/nfs/mediawiki_files /var/www/mediawiki/images_nfs&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
Replace `&amp;lt;NFS_server_IP&amp;gt;` with the IP address of your NFS server.&lt;br /&gt;
&lt;br /&gt;
=== 4. Configure Auto-Mount (fstab) ===&lt;br /&gt;
&lt;br /&gt;
To automatically mount the NFS share on boot, add an entry to `/etc/fstab`:&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
&amp;lt;NFS_server_IP&amp;gt;:/nfs/mediawiki_files  /var/www/mediawiki/images_nfs  nfs  defaults,auto  0  0&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
After editing `/etc/fstab`, you can mount all entries with:&lt;br /&gt;
&lt;br /&gt;
```bash&lt;br /&gt;
sudo mount -a&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
== Technical Specifications ==&lt;br /&gt;
&lt;br /&gt;
The following tables summarize key technical details for both the NFS server and client configurations.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! NFS Server Specifications&lt;br /&gt;
! Value&lt;br /&gt;
|-&lt;br /&gt;
| Operating System&lt;br /&gt;
| Debian 11 (Bullseye)&lt;br /&gt;
|-&lt;br /&gt;
| NFS Server Package&lt;br /&gt;
| nfs-kernel-server v4.1.6&lt;br /&gt;
|-&lt;br /&gt;
| Kernel Version&lt;br /&gt;
| 5.10.0-18-amd64&lt;br /&gt;
|-&lt;br /&gt;
| Network Interface&lt;br /&gt;
| eth0 (192.168.1.100)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! NFS Client Specifications&lt;br /&gt;
! Value&lt;br /&gt;
|-&lt;br /&gt;
| Operating System&lt;br /&gt;
| Ubuntu 20.04 (Focal Fossa)&lt;br /&gt;
|-&lt;br /&gt;
| NFS Client Package&lt;br /&gt;
| nfs-common v1.3.4&lt;br /&gt;
|-&lt;br /&gt;
| Kernel Version&lt;br /&gt;
| 5.4.0-122-generic&lt;br /&gt;
|-&lt;br /&gt;
| Network Interface&lt;br /&gt;
| eth0 (192.168.1.101)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! `/etc/exports` Options&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| rw&lt;br /&gt;
| Read-write access&lt;br /&gt;
|-&lt;br /&gt;
| sync&lt;br /&gt;
| Synchronous writes&lt;br /&gt;
|-&lt;br /&gt;
| no_subtree_check&lt;br /&gt;
| Disables subtree checking&lt;br /&gt;
|-&lt;br /&gt;
| no_root_squash&lt;br /&gt;
| Allows root access from client&lt;br /&gt;
|-&lt;br /&gt;
| root_squash&lt;br /&gt;
| Maps root to nobody user (more secure)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== MediaWiki Configuration ==&lt;br /&gt;
&lt;br /&gt;
After mounting the NFS share, you need to configure MediaWiki to use it.  Edit your `LocalSettings.php` file and update the `$wgUploadDirectory` variable to point to the mount point:&lt;br /&gt;
&lt;br /&gt;
```php&lt;br /&gt;
$wgUploadDirectory = &amp;quot;/var/www/mediawiki/images_nfs&amp;quot;;&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
Remember to clear the MediaWiki cache after making this change. See [[Cache Management]].&lt;br /&gt;
&lt;br /&gt;
== Security Considerations ==&lt;br /&gt;
&lt;br /&gt;
*   **Firewall:** Configure your firewall to allow NFS traffic (ports 111, 2049, and potentially others depending on your configuration) between the server and client.  See [[Firewall Configuration]].&lt;br /&gt;
*   **`root_squash` vs. `no_root_squash`:** Carefully consider the implications of using `no_root_squash`.  It's generally recommended to use `root_squash` for increased security, especially in production environments.&lt;br /&gt;
*   **Authentication:** NFS relies on UID/GID mapping for authentication.  Ensure that user and group IDs are consistent between the server and client.&lt;br /&gt;
*   **Network Security:**  Ensure your network is secure to prevent unauthorized access to the NFS share. Consider using a VPN if accessing the share over an untrusted network.  See [[Network Security]].&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
*   **Mount Errors:** Check the system logs on both the server and client for error messages. Use the `showmount -e &amp;lt;NFS_server_IP&amp;gt;` command on the client to verify that the share is being exported correctly.&lt;br /&gt;
*   **Permission Issues:**  Ensure that the web server user on the MediaWiki server has appropriate permissions to read and write to the mounted directory.&lt;br /&gt;
*   **Performance Problems:**  Monitor network traffic and disk I/O on both the server and client to identify bottlenecks. Consider tuning the NFS options (e.g., using `async` instead of `sync` if data integrity is not a critical concern).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Main Page]]&lt;br /&gt;
[[Configuration]]&lt;br /&gt;
[[Security]]&lt;br /&gt;
[[Performance Tuning]]&lt;br /&gt;
[[Backups]]&lt;br /&gt;
[[File System Basics]]&lt;br /&gt;
[[Cache Management]]&lt;br /&gt;
[[Firewall Configuration]]&lt;br /&gt;
[[Network Security]]&lt;br /&gt;
[[LocalSettings.php]]&lt;br /&gt;
[[Troubleshooting]]&lt;br /&gt;
[[Server Administration]]&lt;br /&gt;
[[User Management]]&lt;br /&gt;
[[Database Configuration]]&lt;br /&gt;
[[Web Server Configuration]]&lt;br /&gt;
[[System Logs]]&lt;br /&gt;
[[Linux Basics]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Server Hardware]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Intel-Based Server Configurations ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Configuration&lt;br /&gt;
! Specifications&lt;br /&gt;
! Benchmark&lt;br /&gt;
|-&lt;br /&gt;
| [[Core i7-6700K/7700 Server]]&lt;br /&gt;
| 64 GB DDR4, NVMe SSD 2 x 512 GB&lt;br /&gt;
| CPU Benchmark: 8046&lt;br /&gt;
|-&lt;br /&gt;
| [[Core i7-8700 Server]]&lt;br /&gt;
| 64 GB DDR4, NVMe SSD 2x1 TB&lt;br /&gt;
| CPU Benchmark: 13124&lt;br /&gt;
|-&lt;br /&gt;
| [[Core i9-9900K Server]]&lt;br /&gt;
| 128 GB DDR4, NVMe SSD 2 x 1 TB&lt;br /&gt;
| CPU Benchmark: 49969&lt;br /&gt;
|-&lt;br /&gt;
| [[Core i9-13900 Server (64GB)]]&lt;br /&gt;
| 64 GB RAM, 2x2 TB NVMe SSD&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [[Core i9-13900 Server (128GB)]]&lt;br /&gt;
| 128 GB RAM, 2x2 TB NVMe SSD&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [[Core i5-13500 Server (64GB)]]&lt;br /&gt;
| 64 GB RAM, 2x500 GB NVMe SSD&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [[Core i5-13500 Server (128GB)]]&lt;br /&gt;
| 128 GB RAM, 2x500 GB NVMe SSD&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [[Core i5-13500 Workstation]]&lt;br /&gt;
| 64 GB DDR5 RAM, 2 NVMe SSD, NVIDIA RTX 4000&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== AMD-Based Server Configurations ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Configuration&lt;br /&gt;
! Specifications&lt;br /&gt;
! Benchmark&lt;br /&gt;
|-&lt;br /&gt;
| [[Ryzen 5 3600 Server]]&lt;br /&gt;
| 64 GB RAM, 2x480 GB NVMe&lt;br /&gt;
| CPU Benchmark: 17849&lt;br /&gt;
|-&lt;br /&gt;
| [[Ryzen 7 7700 Server]]&lt;br /&gt;
| 64 GB DDR5 RAM, 2x1 TB NVMe&lt;br /&gt;
| CPU Benchmark: 35224&lt;br /&gt;
|-&lt;br /&gt;
| [[Ryzen 9 5950X Server]]&lt;br /&gt;
| 128 GB RAM, 2x4 TB NVMe&lt;br /&gt;
| CPU Benchmark: 46045&lt;br /&gt;
|-&lt;br /&gt;
| [[Ryzen 9 7950X Server]]&lt;br /&gt;
| 128 GB DDR5 ECC, 2x2 TB NVMe&lt;br /&gt;
| CPU Benchmark: 63561&lt;br /&gt;
|-&lt;br /&gt;
| [[EPYC 7502P Server (128GB/1TB)]]&lt;br /&gt;
| 128 GB RAM, 1 TB NVMe&lt;br /&gt;
| CPU Benchmark: 48021&lt;br /&gt;
|-&lt;br /&gt;
| [[EPYC 7502P Server (128GB/2TB)]]&lt;br /&gt;
| 128 GB RAM, 2 TB NVMe&lt;br /&gt;
| CPU Benchmark: 48021&lt;br /&gt;
|-&lt;br /&gt;
| [[EPYC 7502P Server (128GB/4TB)]]&lt;br /&gt;
| 128 GB RAM, 2x2 TB NVMe&lt;br /&gt;
| CPU Benchmark: 48021&lt;br /&gt;
|-&lt;br /&gt;
| [[EPYC 7502P Server (256GB/1TB)]]&lt;br /&gt;
| 256 GB RAM, 1 TB NVMe&lt;br /&gt;
| CPU Benchmark: 48021&lt;br /&gt;
|-&lt;br /&gt;
| [[EPYC 7502P Server (256GB/4TB)]]&lt;br /&gt;
| 256 GB RAM, 2x2 TB NVMe&lt;br /&gt;
| CPU Benchmark: 48021&lt;br /&gt;
|-&lt;br /&gt;
| [[EPYC 9454P Server]]&lt;br /&gt;
| 256 GB RAM, 2x2 TB NVMe&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Order Your Dedicated Server ==&lt;br /&gt;
[https://powervps.net/?from=32 Configure and order] your ideal server configuration&lt;br /&gt;
&lt;br /&gt;
=== Need Assistance? ===&lt;br /&gt;
* Telegram: [https://t.me/powervps @powervps Servers at a discounted price]&lt;br /&gt;
&lt;br /&gt;
⚠️ *Note: All benchmark scores are approximate and may vary based on configuration. Server availability subject to stock.* ⚠️&lt;br /&gt;
&lt;br /&gt;
{{Exchange Box}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>