Windows Server

How to create and configure a Shared Folder on Windows Server

Slide1-4
Shared Folder

Having talked about how to configure NFS Server on Windows Server in my previous post, this post will focus on how to Create and Configure the Shared Folder on Windows Server. We’re going to create a folder(s) to store data created by multiple application instances in your organization and use NFS to share the folder between them. Create folders for both Manager and Sessions and complete the steps below for each applications storage folder. See other related guides on how to upgrade Windows 10 with an unsupported CPU and TPM 1.0 to Windows 11​, Azure virtual networks: how to prepare Azure and on-premises virtual networks using Azure CLI commands, and how to back up an Azure VM from the VM settings

Let’s get started by doing the following:

  1. Open Fire Explorer and create a folder in C:\ drive. Examples: “temp-storage” and “shared-storage”
  2. Right-click on the new folder and select Properties.
  3. On the ‘Properties’ window, select the ‘NFS Sharing‘ tab.
  4. Select the ‘Manage NFS Sharing…‘ button.
Temp-storage
Temp-Storage

5. In the NFS Advanced Sharing widget, check the ‘Share this folder‘ checkbox, then select Permissions.

NFS-Shared-Permission-Screen
Shared Permission Screen

6. From the NFS Share Permissions screen, do the following:

  • Select ‘Read-Write‘ option in the ‘Type of access:’ field
  • Select the checkbox ‘Allow root access.’
Shared-Permission-Screen
NFS Shared Permission Screen

7. Select OK, then Close, to complete sharing the newly created folder.

Configure Shared Server’s Firewall

Let’s assume we are running MySQL database application as our internal application. To configure the Firewall on the Shared Server to enable the MySQL database application nodes to access the components installed.

Open the ports of the following components:

  • MySQL is running on port 3306 while NFS is running on port  2049.

To do so, we will do the following:

  1. From the Control Panel, open Windows Defender Firewall.
  2. Select Advanced settings.
Windows-Defender-Firewall
Windows Defender Firewall

3. On the Windows Defender Firewall with Advanced Security window, select Inbound Rules from the left panel.
4. Select New Rule. In the Inbound Rules from the right panel.

New-Inbound-Rule
Inbound Rule

5. On the New Inbound Rule Wizard screen, select the option 'Port' and click Next.

Port-Number-Selection
Select Port

6. On the Protocol and Ports screen, do the following:

  • Select TCP option
  • Select Specific local ports option, and enter the port values of MySQL and NFS, separate each value by a comma. For example we have: 3306 , 2049.
  • Click Next when you are done.
Defining-Port-Numbers
Defining Port Numbers

7. On the Action screen, make sure the option Allow the connection is selected, then click Next.

Allow-Port-Number-Connection
Allow Connection

8. On the Profile screen, make sure all the options for Domain, Private and Public are checked, then click Next.

Checked-options
Check Domain, Private and Public Profile

9. On the Name screen, enter a name for your new rule, e.g. ‘Shared Ports for MySQL database application', then click Finish.

Specify-a-name
Enter a Name

Finally, you’re done setting up the Shared Server. Please note that you must restart the server for the changes and configurations to take effect!

I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Kindly subscribe to TechDirectArchive
This is default text for notification bar