{"id":9113,"date":"2024-08-10T10:36:47","date_gmt":"2024-08-10T10:36:47","guid":{"rendered":"https:\/\/www.webhi.com\/how-to\/?p=9113"},"modified":"2024-08-10T10:36:49","modified_gmt":"2024-08-10T10:36:49","slug":"install-nfs-on-linux-ubuntu-debian","status":"publish","type":"post","link":"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/","title":{"rendered":"How to setup NFS (Network File System) on Ubuntu"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/08\/nfs_install_ubuntu_en.jpg\" alt=\"Setting Up NFS on Ubuntu 18.04 20.04 22.04\" class=\"wp-image-9122\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/08\/nfs_install_ubuntu_en.jpg 1200w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/08\/nfs_install_ubuntu_en-300x169.jpg 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/08\/nfs_install_ubuntu_en-1024x576.jpg 1024w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/08\/nfs_install_ubuntu_en-768x432.jpg 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/08\/nfs_install_ubuntu_en-150x84.jpg 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"introduction\"><strong>Introduction<\/strong><\/h2>\n\n\n\n<p>Setting up <strong>NFS<\/strong> (Network File System) on Ubuntu allows you to share files and directories between multiple systems over a network seamlessly. This guide provides detailed instructions to help you configure NFS on Ubuntu, enhancing your file-sharing capabilities and improving network efficiency.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"setting-up-nfs-on-ubuntu\"><strong>Setting Up NFS on Ubuntu<\/strong><\/h3>\n\n\n\n<p>Setting up NFS (Network File System) on Ubuntu can significantly enhance your network&#8217;s ability to share files efficiently. In this section, we will explore the steps involved in configuring NFS on your Ubuntu system, ensuring a smooth and successful setup.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"understanding-nfs\"><strong>Understanding NFS<\/strong><\/h3>\n\n\n\n<p>Network File System (NFS) is a protocol that allows a user on a client computer to access files over a network as if they were on the user&#8217;s local storage. NFS enables the sharing of directories and files with others over a network. By using NFS, users and programs can access files on remote systems as easily as if they were on their local hard drive.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"benefits-of-using-nfs\"><strong>Benefits of Using NFS<\/strong><\/h3>\n\n\n\n<p>NFS offers several benefits, making it a preferred choice for network file sharing:<\/p>\n\n\n\n<ul>\n<li><strong>Centralized Management<\/strong>: Centralized data management allows for easier backups and data integrity.<\/li>\n\n\n\n<li><strong>Network Transparency<\/strong>: Users can access remote files with ease, as if they were local.<\/li>\n\n\n\n<li><strong>Security<\/strong>: NFS supports several security mechanisms to protect data during transmission.<\/li>\n\n\n\n<li><strong>Performance<\/strong>: Optimized for performance, NFS supports large data transfers efficiently.<\/li>\n<\/ul>\n\n\n\n<p><strong>Prerequisites<\/strong><\/p>\n\n\n\n<p>Before we begin the setup, ensure you have the following:<\/p>\n\n\n\n<ul>\n<li>Two Ubuntu systems (one will act as the server and the other as the client).<\/li>\n\n\n\n<li>Root or sudo access on both systems.<\/li>\n\n\n\n<li>Basic understanding of command-line operations.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installing-nfs-server\"><strong>Installing NFS Server<\/strong><\/h2>\n\n\n\n<p>To set up NFS, you need to install the NFS server package on the system that will act as the server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-1-update-your-system\"><strong>Step 1: Update Your System<\/strong><\/h2>\n\n\n\n<p>First, update your package list to ensure you have the latest software.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo apt update<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-2-install-nfs-kernel-server\"><strong>Step 2: Install NFS Kernel Server<\/strong><\/h2>\n\n\n\n<p>Next, install the NFS kernel server package.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo apt install nfs-kernel-server<\/code><\/pre>\n\n\n\n<p><strong>Configuring NFS Server<\/strong><\/p>\n\n\n\n<p>After installing the NFS server, the next step is to configure it to share directories.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-3-create-a-directory-to-share\"><strong>Step 3: Create a Directory to Share<\/strong><\/h2>\n\n\n\n<p>Create a directory that you want to share with the client systems.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo mkdir -p \/mnt\/nfs_share<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-4-assign-permissions\"><strong>Step 4: Assign Permissions<\/strong><\/h2>\n\n\n\n<p>Set the appropriate permissions for the directory. This example grants read\/write access to all users.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo chown nobody:nogroup \/mnt\/nfs_share\n$ sudo chmod 777 \/mnt\/nfs_share<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-5-configure-exports-file\"><strong>Step 5: Configure Exports File<\/strong><\/h2>\n\n\n\n<p>Edit the&nbsp;<code>\/etc\/exports<\/code>&nbsp;file to define the directories to be shared and the clients allowed to access them.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo nano \/etc\/exports<\/code><\/pre>\n\n\n\n<p>Add the following line to share the directory with a specific client (replace&nbsp;<code>client_ip<\/code>&nbsp;with the actual IP address of the client):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">\/mnt\/nfs_share client_ip(rw,sync,no_subtree_check)<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-6-export-the-shared-directory\"><strong>Step 6: Export the Shared Directory<\/strong><\/h2>\n\n\n\n<p>Export the shared directory using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo exportfs -a<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-7-start-and-enable-nfs-server\"><strong>Step 7: Start and Enable NFS Server<\/strong><\/h2>\n\n\n\n<p>Start and enable the NFS server to ensure it runs at boot.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo systemctl start nfs-kernel-server\n$ sudo systemctl enable nfs-kernel-server<\/code><\/pre>\n\n\n\n<p><strong>Setting Up NFS Client<\/strong><\/p>\n\n\n\n<p>Now that the server is configured, let&#8217;s set up the client system to access the shared directory.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-8-install-nfs-common\"><strong>Step 8: Install NFS Common<\/strong><\/h2>\n\n\n\n<p>Install the NFS common package on the client system.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo apt install nfs-common<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-9-create-a-mount-point\"><strong>Step 9: Create a Mount Point<\/strong><\/h2>\n\n\n\n<p>Create a directory where you will mount the NFS shared directory.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo mkdir -p \/mnt\/nfs_clientshare<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-10-mount-the-nfs-share\"><strong>Step 10: Mount the NFS Share<\/strong><\/h2>\n\n\n\n<p>Mount the NFS share from the server. Replace&nbsp;<code>server_ip<\/code>&nbsp;with the actual IP address of the server.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo mount server_ip:\/mnt\/nfs_share \/mnt\/nfs_clientshare<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-11-verify-the-mount\"><strong>Step 11: Verify the Mount<\/strong><\/h2>\n\n\n\n<p>Verify that the NFS share is mounted successfully.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ df -h<\/code><\/pre>\n\n\n\n<p>You should see the NFS share listed in the output.<\/p>\n\n\n\n<p><strong>Persisting the Mount<\/strong><\/p>\n\n\n\n<p>To ensure that the NFS share mounts automatically at boot, edit the&nbsp;<code>\/etc\/fstab<\/code>&nbsp;file on the client system.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo nano \/etc\/fstab<\/code><\/pre>\n\n\n\n<p>Add the following line to the file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">server_ip:\/mnt\/nfs_share \/mnt\/nfs_clientshare nfs defaults 0 0<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"security-considerations\"><strong>Security Considerations<\/strong><\/h2>\n\n\n\n<p>Securing NFS shares is crucial to prevent unauthorized access. Here are some security measures you can implement:<\/p>\n\n\n\n<p><strong>Using Firewalls<\/strong><\/p>\n\n\n\n<p>Configure firewalls to allow NFS traffic only from trusted IP addresses.<\/p>\n\n\n\n<p><strong>Using NFSv4<\/strong><\/p>\n\n\n\n<p>NFSv4 includes several security enhancements over previous versions. Consider using NFSv4 for better security.<\/p>\n\n\n\n<p><strong>Restricting Client Access<\/strong><\/p>\n\n\n\n<p>Restrict client access to specific IP addresses or subnets in the&nbsp;<code>\/etc\/exports<\/code>&nbsp;file.<\/p>\n\n\n\n<p><strong>Using Kerberos Authentication<\/strong><\/p>\n\n\n\n<p>Implement Kerberos authentication to enhance security further. This adds an additional layer of authentication to your NFS setup.<\/p>\n\n\n\n<p><strong>Troubleshooting Common Issues<\/strong><\/p>\n\n\n\n<p>While setting up NFS, you might encounter some common issues. Here are a few troubleshooting tips:<\/p>\n\n\n\n<p><strong>Checking Service Status<\/strong><\/p>\n\n\n\n<p>Ensure that the NFS server service is running.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo systemctl status nfs-kernel-server<\/code><\/pre>\n\n\n\n<p><strong>Checking Firewall Settings<\/strong><\/p>\n\n\n\n<p>Verify that the firewall allows NFS traffic.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo ufw status<\/code><\/pre>\n\n\n\n<p><strong>Verifying Mounts<\/strong><\/p>\n\n\n\n<p>Check if the NFS share is mounted correctly on the client.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ mount | grep nfs<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>Setting up NFS on Ubuntu is a straightforward process that involves installing the necessary packages, configuring the server and client, and securing your setup. By following the steps outlined in this guide, you can efficiently share files across your network, enhancing your data management and accessibility.<\/p>\n\n\n\n<p><strong>FAQs<\/strong><\/p>\n\n\n\n<p><strong>What is NFS used for?<\/strong><\/p>\n\n\n\n<p>NFS is used for sharing files and directories over a network, allowing users to access remote data as if it were on their local system.<\/p>\n\n\n\n<p><strong>How do I install NFS on Ubuntu?<\/strong><\/p>\n\n\n\n<p>Install NFS on Ubuntu by running&nbsp;<code>sudo apt install nfs-kernel-server<\/code>&nbsp;on the server and&nbsp;<code>sudo apt install nfs-common<\/code>&nbsp;on the client.<\/p>\n\n\n\n<p><strong>How do I secure my NFS setup?<\/strong><\/p>\n\n\n\n<p>Secure your NFS setup by using firewalls, restricting client access, using NFSv4, and implementing Kerberos authentication.<\/p>\n\n\n\n<p><strong>What are the benefits of using NFS?<\/strong><\/p>\n\n\n\n<p>NFS offers centralized data management, network transparency, security, and optimized performance for large data transfers.<\/p>\n\n\n\n<p><strong>How do I mount an NFS share?<\/strong><\/p>\n\n\n\n<p>Mount an NFS share by running&nbsp;<code>sudo mount server_ip:\/path\/to\/share \/mount\/point<\/code>&nbsp;on the client system.<\/p>\n\n\n\n<p><strong>What should I do if my NFS share is not mounting?<\/strong><\/p>\n\n\n\n<p>If your NFS share is not mounting, check the service status, firewall settings, and verify that the share is correctly defined in the&nbsp;<code>\/etc\/exports<\/code>&nbsp;file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Setting up NFS (Network File System) on Ubuntu allows you to share files and directories between multiple systems over a network seamlessly. This guide provides detailed instructions to help you configure NFS on Ubuntu, enhancing your file-sharing capabilities and improving network efficiency. Setting Up NFS on Ubuntu Setting up NFS (Network File System) on ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[69,3],"tags":[],"yoast_head":"\n<title>How to setup NFS (Network File System) on Ubuntu - WebHi Tutorials &amp; Documentations<\/title>\n<meta name=\"description\" content=\"Learn how to set up NFS (Network File System) on Ubuntu with this comprehensive guide. Follow these steps for a seamless setup.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to setup NFS (Network File System) on Ubuntu - WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"og:description\" content=\"Learn how to set up NFS (Network File System) on Ubuntu with this comprehensive guide. Follow these steps for a seamless setup.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhi.technology\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-10T10:36:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-10T10:36:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/08\/nfs_install_ubuntu_en.jpg\" \/>\n<meta name=\"author\" content=\"webhi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:site\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webhi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/\"},\"author\":{\"name\":\"webhi\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\"},\"headline\":\"How to setup NFS (Network File System) on Ubuntu\",\"datePublished\":\"2024-08-10T10:36:47+00:00\",\"dateModified\":\"2024-08-10T10:36:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/\"},\"wordCount\":917,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"articleSection\":[\"Linux system administration\",\"Security\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/\",\"name\":\"How to setup NFS (Network File System) on Ubuntu - WebHi Tutorials &amp; Documentations\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\"},\"datePublished\":\"2024-08-10T10:36:47+00:00\",\"dateModified\":\"2024-08-10T10:36:49+00:00\",\"description\":\"Learn how to set up NFS (Network File System) on Ubuntu with this comprehensive guide. Follow these steps for a seamless setup.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webhi.com\/how-to\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to setup NFS (Network File System) on Ubuntu\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"name\":\"WebHi Tutorials &amp; Documentations\",\"description\":\"System administration and knowledge base\",\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\",\"name\":\"WebHi Technology\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"width\":288,\"height\":95,\"caption\":\"WebHi Technology\"},\"image\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webhi.technology\",\"https:\/\/twitter.com\/WebHiTechnology\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\",\"name\":\"webhi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1786053701\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1786053701\",\"caption\":\"webhi\"},\"sameAs\":[\"https:\/\/www.webhi.com\/how-to\"],\"url\":\"https:\/\/www.webhi.com\/how-to\/author\/webhi\/\"}]}<\/script>\n","yoast_head_json":{"title":"How to setup NFS (Network File System) on Ubuntu - WebHi Tutorials &amp; Documentations","description":"Learn how to set up NFS (Network File System) on Ubuntu with this comprehensive guide. Follow these steps for a seamless setup.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/","og_locale":"en_US","og_type":"article","og_title":"How to setup NFS (Network File System) on Ubuntu - WebHi Tutorials &amp; Documentations","og_description":"Learn how to set up NFS (Network File System) on Ubuntu with this comprehensive guide. Follow these steps for a seamless setup.","og_url":"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/","og_site_name":"WebHi Tutorials &amp; Documentations","article_publisher":"https:\/\/www.facebook.com\/webhi.technology","article_published_time":"2024-08-10T10:36:47+00:00","article_modified_time":"2024-08-10T10:36:49+00:00","og_image":[{"url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/08\/nfs_install_ubuntu_en.jpg"}],"author":"webhi","twitter_card":"summary_large_image","twitter_creator":"@WebHiTechnology","twitter_site":"@WebHiTechnology","twitter_misc":{"Written by":"webhi","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/#article","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/"},"author":{"name":"webhi","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54"},"headline":"How to setup NFS (Network File System) on Ubuntu","datePublished":"2024-08-10T10:36:47+00:00","dateModified":"2024-08-10T10:36:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/"},"wordCount":917,"commentCount":0,"publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"articleSection":["Linux system administration","Security"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/","url":"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/","name":"How to setup NFS (Network File System) on Ubuntu - WebHi Tutorials &amp; Documentations","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/#website"},"datePublished":"2024-08-10T10:36:47+00:00","dateModified":"2024-08-10T10:36:49+00:00","description":"Learn how to set up NFS (Network File System) on Ubuntu with this comprehensive guide. Follow these steps for a seamless setup.","breadcrumb":{"@id":"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhi.com\/how-to\/install-nfs-on-linux-ubuntu-debian\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhi.com\/how-to\/"},{"@type":"ListItem","position":2,"name":"How to setup NFS (Network File System) on Ubuntu"}]},{"@type":"WebSite","@id":"https:\/\/www.webhi.com\/how-to\/#website","url":"https:\/\/www.webhi.com\/how-to\/","name":"WebHi Tutorials &amp; Documentations","description":"System administration and knowledge base","publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhi.com\/how-to\/#organization","name":"WebHi Technology","url":"https:\/\/www.webhi.com\/how-to\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","contentUrl":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","width":288,"height":95,"caption":"WebHi Technology"},"image":{"@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhi.technology","https:\/\/twitter.com\/WebHiTechnology"]},{"@type":"Person","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54","name":"webhi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/","url":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1786053701","contentUrl":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1786053701","caption":"webhi"},"sameAs":["https:\/\/www.webhi.com\/how-to"],"url":"https:\/\/www.webhi.com\/how-to\/author\/webhi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/9113"}],"collection":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/comments?post=9113"}],"version-history":[{"count":5,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/9113\/revisions"}],"predecessor-version":[{"id":9132,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/9113\/revisions\/9132"}],"wp:attachment":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/media?parent=9113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/categories?post=9113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/tags?post=9113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}