Thursday, January 01, 2015

Installing Samba on Ubuntu

First I have to remove the previous installation that was not working..

sudo apt-get autoremove samba samba-common
sudo apt-get autoremove system-config-samba
 
after that tried to install using..
 
sudo apt-get install samba samba-common
sudo apt-get install system-config-samba cifs-utils
 
but when i ran the first command it gives errors saying some dependencies are not met..
 
tried "aptdcon --fix-install  " to fix if something is damaged..
 
 
Installed Samba successfully and Plex Media Server..
this way we can access content via network shared drives across all the other network connected devices
and with PLEX Media server the content is available for DLNA enabled TV.
 
My smb.conf file..
 
 #============= Global Settings =================
 
[global]

   workgroup = VIJJUSIDHU1
   server string = sridhar-laptop (Samba, Ubuntu)
   security = share 
   wins support = yes
   usershare allow guests = Yes
[Movies]

   path=/home/sridhar/Videos
   public = yes
   writable = yes
   read only = No

[Pictures]

 path=/home/sridhar/Pictures
        public = yes
        writable = yes
 read only = no

[Music]
 path=/home/sridhar/Music
 public = yes
        writable = yes
 read only = no

[Musicwd]
 path=/media/SRIDHAR/MEDIA/Songs
 public = yes
        writable = yes
 read only = no
in the last section you can observe that the path is  a Portable Harddrive..

For authorizing a Portable HDD to be accessed over network you need to add the device to the 
FSTAB.. usually this is located in the /etc/fstab (note that this is the file itself not a Directory) 

you will need the UUID of the HDD which you can access from gparted (another application)

Thanks,
Sridhar Gajjala

No comments:

Powered By Blogger

About Me

hyderabad, A.P, India
I am sridhar(sidhu) from India. Interested in sharing my views and myself with friends and well wishers.