A Blog about technology, linux, peer2peer, cool new downloads and software development.

Monday, March 17, 2008

Building NAS with ubuntu / xubuntu and any old box

Download xubuntu alternate

Boot and choose to install command line system


installation :

sudo su -

apt-get install ssh

apt-get install samba

apt-get install smbfs

apt-get install ntfs-3g


vim /etc/samba/smb.conf

Change the follwing :

workgroup = MSHOME   # change to actual workgroup

security = user   # uncomment

guest account = [user]   # change to actual login user

invalid users = root   # uncomment

browseable = yes   # uncomment

writable = yes   # uncomment

[mnt]   # add to bottom
comment = mounts
writable = yes
locking = no
path = /mnt
public = yes    

smbpasswd -a [user]

/etc/init.d/samba restart

No comments: