How to install Samba server on Ubuntu 12.04

Cara Install Dan Configurasi Samba Server di ubuntu 12.04

Lazy Geek -:)

Part 1: Configuring anonymous share with samba server

To install the samba package,enter the following command:

sudo apt-get install samba samba-common

Check the version of installed samba software by using this command:

smbd --version

Also install these suggested packages for samba:

sudo apt-get install python-glade2 system-config-samba

Go to your Windows machine and use this command in order to check the WORKGROUP name:

net config workstation

It will show the output, something like this:

Backup the smb.conf file, then delete it and create the new one:

sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak sudo rm /etc/samba/smb.conf sudo touch /etc/samba/smb.conf sudo nano /etc/samba/smb.conf

Add this, in your smb.conf file (or change it according to your requirement):

#======================= Global Settings ===================================== [global]workgroup = WORKGROUPserver string = Samba Server %vnetbios name = ubuntusecurity = usermap to guest = bad userdns proxy = no#============================ Share Definitions ============================== [MyShare]path = /samba/share browsable =yeswritable = yesguest ok…

View original post 260 more words


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s