Changes

Jump to navigation Jump to search
422 bytes added ,  17:19, 10 February 2016
Line 556: Line 556:     
=Ubuntu 14.04 LTS: File Sharing With Samba=
 
=Ubuntu 14.04 LTS: File Sharing With Samba=
<li>This tutorial will show you how to install and configure Samba, a free software that allows you to share files, printers and other common resources across a network, in Ubuntu 14.04 Trusty Tahr.
  −
<li>Install Samba and the graphical configuration tool:
  −
<li>Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, paste the command below and hit run:<br>
     −
'''sudo apt-get install samba samba-common system-config-samba python-glade2 gksu'''
+
=='''''In server computer :-'''''==
<li>Open samba tool(Applications=>System tools=>Administration :<br>
     −
[[File:start samba.png|400px]]
+
'''''1. Installing samba(GUI) in server :-'''''<br>
<li>When the tool opens, go to Preferences -> Server Settings.
+
Open terminal (Ctrl+Alt+T) and copy paste below command <br>
<li>Under Basic tab:
+
'''''sudo apt-get install samba samba-common system-config-samba python-glade2 gksu''''' <br>
<li>Workgroup. Same to your Windows Workgroup name (case-sensitive). In Windows 7, right-click Computer icon and go to Properties, there you’ll see Windows Workgroup name.
  −
<li>Description.This is the name of your computer as seen by Windows Users.
  −
<li>As it is not advisable to allow ‘Guests’ there should be no reason to change the ‘security’ settings tab unless you wish to do so.<br>
     −
[[File:Samba-server-settings.png|400px]]
+
'''''2. Create folder in server :-'''''<br>
<li>Finally click the OK button to save it.
+
- Create the folder you will be placing your shared files in<br>
 +
- Right-click it, select ''local network sharing''<br>
 +
- Tick ''share this folder''<br>
 +
- Suggest you make the ''share name'' the same as the folder name<br>
 +
- Tick ''allow others to create...'' if you want clients to be able to put files onto the server<br>
 +
- Tick ''guest access'' to create an insecure server that doesn't need a password (not recommended)<br>
 +
- ''create share''<br>
 +
- Again right click on folder >> properties >> click on permission tab :- then change the group permission to your preference (create and delete file or only access files)<br>
   −
<li>restart Samba service and done!<br>
+
'''''3. Open samba configuration tool:-'''<br>
 +
''Application>> system tools >> administration >> samba''<br>
   −
'''sudo restart smbd && sudo restart nmbd'''  
+
4. '''''Configuring samba and sharing folder'''''<br>
<li>To share a folder, click the green + (plus) button in Samba Server Configuration tool and you can then easily set the directory, name, read/write permissions and access users.
     −
<li> If you want to access shared folder from other ubuntu 14.04 computer, Please follow below :
+
Click on <u>'''+'''</u> mark and browse your sharing folder location and goto next access tab<br>
<li> goto Places=> COnnect to Server. <br>
     −
[[File:connect to server.png|400px]]
+
[[File:Samba sharing folder 1.png | 300px]]
<LI>type your samba configured computer adress Ex:'''smb://192.168.1.44''' click '''OK'''<br/>
      +
Select "'''Allow access to everyone" '''click okay. <br>
 +
Now you your shared folder is shared in the network(LAN).<br>
 +
You have to find out the server system IP address (by click on network icon and connection information example: 192.168.1.150).<br>
 +
 +
<u>'''Accessing shared folder in Client machines -In Ubuntu'''</u>
 +
 +
'''Step 1: Connect to the remote computer'''
 +
 +
go to places >> connect to server
 +
 +
[[File:Samba sharing folder 2.png | 300px]]
 +
 +
 +
in server address type the IP of the server computer (eg: 192.168.1.150) as shown in above and click connect.
 +
 +
Now you can able to see your shared folder.
 +
 +
<u>'''Accessing shared folder in Client machines -In Windows'''</u>
 +
 +
In a windows machine go to start –>Run and type :
 +
 +
IP adress of your ubuntu server computer (ex:192.168.1.150 or hostname)
 +
 +
[[Image :Samba sharing folder 3.png | 300px]]
 +
 +
And is done.
 
[[#top|Back to top]]
 
[[#top|Back to top]]
      
=How to make a pen drive bootable=
 
=How to make a pen drive bootable=

Navigation menu