with the command ' # sudo /etc/init.d/networking restart '. 02 Installing Samba Distributions such as Ubuntu have made the installation of just about anything so simple and straightforward with smart package management that you can have pretty much any software installed with a one-line command. To install Samba on your Ubuntu computer, execute the following: Here we are requesting Ubuntu to install three packages. The first one is to share your printer, the other two are Samba and its support packages. 03 Configuration file The configuration files of Samba are stored in the ' /etc/samba/ ' directory. The first thing you should do before we dive into the configuration of Samba is to make a backup of the main configuration file. # cp /etc/samba/smb.conf /etc/samba/smb.conf.bak Now open the file with your favourite text editor and let's make some configuration changes: