Fedora 12 Setup and Configuration of Samba File Server
Install Samba
- Open the “Terminal Windows” : Applications -> System Tools -> Terminal
- Login as root:
supress “Enter” and input the password.
- Type in
#yum install sambato install Samba.
Configuration of Samba
- Click System -> Administration -> Samba to open the “Samba Server Configuration”:
- Click Preferences -> Server Setting to open the “Server Settings”.
- In “Basic” tag of the ”Server Settings”, input the details of the “Workgroup” and “Description”.
- Click on the “Security” tag of the “Server Settings”, Choose:
- User for “Authentication Mode”
- Yes for “Encrypt Passwords”
- No guest account for “Guest Account”
- Now we have to add user to do so, open the “Terminal Windows” : Applications -> System Tools -> Terminal, login as root and run the command below:
# smbpasswd -a usernamereplace username to whatever you like. Press “Enter” and it will ask you to input a password for the user.
- Now to add share folder(s), open the “Samba Server Configuration”, and click on the button with the “Plus” sign:
- Input the share folder location for “Directory”.
- Input a name for the “Share name”.
- Tick “Writable” and “Visible”.
- Open the Firewall Configuration: Setting -> Administration -> Firewall and open up the ports for Samba:
- To make sure Samba is running, open the “Terminal Windows” : Applications -> System Tools -> Terminal, login as root and run the command below:
# service smb start



For the “Access” tag, choose “Only allow access to specific user” and tick the specific user(s).



Test it with another Windows computer in the same network and WorkGroup
Go to my computer -> My Network Places, if everything goes right, the share folder of the Fedora 12 should appears there.






