0% found this document useful (0 votes)
35 views

Install Samba Server

The document provides instructions for installing and configuring Samba server on an Ubuntu system to share files. It includes steps to install Samba, edit the smb.conf configuration file to set up file sharing, create shared directories and users, and restart the Samba service. It also describes how to connect to the Samba shares from Ubuntu and Windows XP machines.

Uploaded by

L Eduardo Cano
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

Install Samba Server

The document provides instructions for installing and configuring Samba server on an Ubuntu system to share files. It includes steps to install Samba, edit the smb.conf configuration file to set up file sharing, create shared directories and users, and restart the Samba service. It also describes how to connect to the Samba shares from Ubuntu and Windows XP machines.

Uploaded by

L Eduardo Cano
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

clients

Install Samba Server


Log in or ubuntu server, thenn Install the samba package in ubuntu server with following commads:
sudo apt-get instal samba smbfs

Now, samba server ready to configure as file server

Configure Samba Server as File Server


To make samba as file server, edit and configure Samba configuration file, it place on directory /etc/samba/smb.conf. Before editing samba configuration, Make a backup of your /etc/samba/smb.conf.
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.original

Replace/Edit options /etc/samba/smb.conf with following configuration below


[global] workgroup = Ubuntu Precise security = user [homes] comment = Home Directories browseable = yes writable = yes [share] comment = Precise File Server path = /srv/samba/share browsable = yes guest ok = no read only = no create mask = 0755

Create directory for file sharing


sudo mkdir -p /srv/samba/share/ sudo chown nobody.nogroup /srv/samba/share/

create a samba user with following command


sudo adduser precise

Create a samba password for user: precise


sudo smbpasswd -a precise

Tips: if you want convert ubuntu user as samba user, just type the command : sudo smbpasswd a <Ubuntu User> Now, restart samba server with following command
sudo /etc/init.d/smbd restart

How to Connect Samba Server on Ubuntu and Windows XP


To Connect samba server on ubuntu : Open nautilus Menu File Connect to Server

Access [share] directory

Connect to [Homes] Directory To Connect samba server on Windows XP: Start Run or press Windows Button + R . see screen shoot below

Reference:

Samba File Server Samba Server How To

You might also like