I have a server running Linux Debian Server, headless.
With Samba file sharing between Linux and Windows.
Here are my notes on installing Samba.
Samba works good for me.
How to install Samba on Debian
====================================
**Install Samba so that files can be shared on a Linux - Windows network**
**Install:**
Do an update::
sudo apt-get update
Install Samba::
sudo apt-get install samba
Check if Samba is running::
systemctl status smbd
Open /etc/samba/smb.conf::
cd /etc/samba
ls -l
sudo pluma smb.conf
Define workgroup::
#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
Create a Samba Share (add to end of smb.conf)::
[Share]
path = /home/smbuser/Share
available = yes
browsable = yes
public = yes
writable = yes
force user = smbuser
[NC_Files]
path = /home/smbuser/linuxcnc/nc_files
available = yes
browsable = yes
public = yes
writable = yes
force user = smbuser
Check smb.conf syntax::
testparm
Restart smbd::
sudo systemctl restart smbd
sudo systemctl status smbd
Quit smbd (press q for quit)
Install Samba_Client and list shares::
sudo apt-get install smbclient
smbclient -L localhost
Connect to Samba from Linux::
sudo apt-get install cifs-utils
**Create Static IP**
Find IP::
hostname -I
'or'
ip -c addr show
setup network manager, manual