Video – Download, install and setup SAMBA on CentOS 6 on UNRAID

After nearly 2 months without a video (sorry), I’ve today uploaded my CentOS on unRAID video, you watch it here:

In the video I quickly show how to:

  • Download the CentOS 6 ISO from a mirror
    • Also how to download it direct to unRAID via SSH
  • Create a simple unRAID Linux VM
  • Install CentOS 6 basic server
  • Some quick OS tweaks post-install
    • Disable quiet boot
    • Disable console screensaver
    • Disable power management
    • Set a static IP
    • Disable SELinux
    • Disable iptables (firewall)*

* I’m using this on my home network, and I disable the firewall so I can quickly show the SAMBA file server without going into firewall rules.  If you run a server anywhere other than your home LAN, keep the firewall running!

Once done I show you how to quickly install SAMBA (yum install samba), and get going with a most basic config, sharing out just one directory (in my case /home/backup/).

My basic SAMBA config is here (goes in /etc/samba/smb.conf)

[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
[backup]
comment = Backup directory
path = /home/backup
public = yes
writable = yes

Once done, add the root use to SAMBA’s database (smbpaswd -a root), make SAMBA start automatically with the boot (chkconfig smb on), and restart SAMBA (service smb restart), and you’re good to go!

From a Windows machine, browse to \\<your ip address> and you should see the share called “backup”.  You’ll probably want to call the share something else  😉

 

Be the first to comment

Leave a Reply