Project

General

Profile

Support #936

Updated by Daniel Curtis almost 6 years ago

This is a guide for setting up a simple samba share on Arch linux. 

 *WARNING*: This guide does not cover authentication or security configuration. Do not use in a production environment! 

 h2. Prepare the Environment 

 * Make sure the system is up to date: 
 <pre> 
 pacman -Syu 
 </pre> 

 * Install samba: 
 <pre> 
 pacman -S samba 
 </pre> 

 * Create a directory to share: 
 <pre> 
 mkdir -p /opt/samba/tmpshare 
 </pre> 

 * Create a basic smb.conf: 
 <pre> 
 nano /etc/samba/smb.conf 
 </pre> 
 #* And add the following: 
 <pre> 
 [global] 
    workgroup = MYGROUP 
    server string = Samba Server 
    server role = standalone server 
    log file = /usr/local/samba/var/log.%m 
    max log size = 50 
    dns proxy = no  

 [tmpshare] 
    comment = Temporary file space 
    path = /opt/samba/tmpshare 
    read only = no 
    public = yes 
 </pre> 

 * Start and enable samba at boot: 
 <pre> 
 systemctl start smb 
 systemctl enable smb 
 </pre> 

 h2. Resources 

 * https://wiki.archlinux.org/index.php/samba

Back