Accessing Debian Server Storage from Multiple Windows 11 Machines
In this article, we will discuss how to access storage on a Debian server from multiple Windows 11 machines. This can be useful for sharing files, running applications, or hosting media servers such as Jellyfin.
Prerequisites
- A Debian server with storage to be shared
- Multiple Windows 11 machines
- Samba software installed on the Debian server
Installing Samba on Debian Server
Samba is a software suite that enables interoperability between Linux and Windows systems. It provides file and print services to SMB/CIFS clients.
To install Samba on a Debian server, open a terminal and enter the following command:
sudo apt-get update && sudo apt-get install samba
Configuring Samba on Debian Server
After installing Samba, you need to configure it to share the desired storage. This can be done by editing the Samba configuration file.
Open the Samba configuration file in a text editor with root privileges:
sudo nano /etc/samba/smb.conf
Add the following lines to the end of the file to create a new share:
[ShareName]
path = /path/to/shared/directory
writeable = yes
create mask = 0777
directory mask = 0777
public = yes
browseable = yes
Replace "ShareName" with the desired name for the share, and "/path/to/shared/directory" with the actual path to the shared directory on the Debian server.
Save and close the file, then restart the Samba service:
sudo systemctl restart smbd
Accessing Debian Server Storage from Windows 11
To access the shared storage from a Windows 11 machine, open File Explorer and enter the following path in the address bar:
\\\\
Replace "
You will be prompted to enter a username and password. Use a valid username and password on the Debian server to gain access to the shared storage.
- Samba is a software suite that enables interoperability between Linux and Windows systems.
- To share storage on a Debian server with Windows 11 machines, install Samba and configure it to share the desired directory.
- Access the shared storage from Windows 11 by entering the server's IP address and share name in File Explorer.