Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In our company we would like to install Ubuntu server for file sharing, is it possible to use Ubuntu as file server for windows based client Operating systems.

what is the procedure to make Ubuntu file server, and i have installed Ubuntu 12.4 server.

share|improve this question
up vote 5 down vote accepted

File Servers

If you have more than one computer on a single network. At some point you will probably need to share files between them. In this section we cover installing and configuring FTP, NFS, and CUPS.

FTP Server

Network File System (NFS)

iSCSI Initiator

CUPS - Print Server

SOURCE -> File Servers

Windows Networking

Computer networks are often comprised of diverse systems, and while operating a network made up entirely of Ubuntu desktop and server computers would certainly be fun, some network environments must consist of both Ubuntu and Microsoft® Windows® systems working together in harmony. This section of the Ubuntu Server Guide introduces principles and tools used in configuring your Ubuntu Server for sharing network resources with Windows computers.


Samba File Server

Samba Print Server

Securing a Samba File and Print Server

Samba as a Domain Controller

Samba Active Directory Integration

SOURCE -> Windows Networking

share|improve this answer

The important thing to remember is that Desktop and Server are the same underlying OS, with different packages & configuration In Windows that isn't true (tx to @jay-bazuzi)

This is a step-to-step answer.

Install samba

sudo apt-get  install  samba samba-common

Install some dependencies for Configuration tools

sudo apt-get install python-glade2

Installa samba configuration tool

sudo apt-get install system-config-samba

Make a new user Jones

adduser   Jones

Make a Linux password for user jones

passwd pirat9

Open samba configuration tool.

samba configuration tool

Add the folder you want to share and setup the permissions

enter image description here enter image description here

Create a samba user

sudo smbpasswd -a  jones
New SMB password
retype New SMB Password

You can chose any directory you want to share by right click on the folder directory and open the share options

enter image description here

Now at this point if your ubuntu server has ip: you can access to your folder with a Linux Machine typing on Nautilus address bar:


or on a windows machine with:


Thanks Linuxman for screen and refs:

share|improve this answer
What is that desktop widget showing the system stats? Looks damn cool. – Farid Nouri Neshat Mar 12 '12 at 2:43
It is a Conky script. – Uri Herrera Mar 12 '12 at 3:57
You're sharing pirat9's home folder, and then creating a user "Jones." This makes no sense. You should be creating user "pirat9," and creating an SMB password for him/her. Just look at the link you referenced, which shows your errors - Luckily I figured it out, but other noobs might not. – user262989 Mar 28 '14 at 15:31

The short answer is yes, you can set up file sharing with Samba. See

There's also a beginner-friendly tutorial here If you search for Samba in the Ubuntu Software Center, you'll find a nice little GUI for this.

share|improve this answer
First link is now 404. – Martlark Mar 4 '15 at 0:32
@Martlark Thanks. Fixed. – bsamek Mar 4 '15 at 14:13

From my point of view, you have taken the first step towards a good and stable file server :) I have also managed a Windows server 2003 in the past at the company I was working. In the end we migrated towards SuSE Enterprise. I would always recommend a Linux server for every job that includes the word server in it.

So now, because you are new Ubuntu, I am wondering if you are new to Linux environments? Also, you haven't mentioned what your file server is suppose to do. If you only want to manage home files (movies, music, etc...) between internal desktops/laptops, then I would reckon a regular Ubuntu installation would be enough.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.