Grappling with Ubuntu Server 7.10 – Part 3 of 3
November 2, 2007
Even though I installed Ubuntu as a SAMBA server I still, inexplicably, needed to install SAMBA:
sudo apt-get install samba smbfs
Edit the smb.conf by typing:
sudo nano /etc/samba/smb.conf
Once in the editor you can navigate down by using CTRL-V. First thing that needs to be done is to change the workgroup to match the one you use on your LAN. Scroll down and modify the ‘workgroup’ entry:
workgroup = MSHOME
Next I changed the ’security’ settings to make it more simple.
security = share
Finally you got to configure your shares so everyone can see them. At the bottom of the smb.conf file I added:
[public]
comment = Server Share
path = /home/public
guest ok = yes
read only = no
writable = yes
create mask = 0777
directory mask = 0777
browseable = yes
CTRL-X to exit (but don’t forget to hit ‘y’ to save your changes). Next you got to restart SAMBA:
sudo /etc/init.d/samba restart
And that’s pretty much it. Browse to your server (via IP) and test everything is ok. Do a few test copies and deletes and away you go. Pretty easy.
This whole setup could be done (from a blank HDD) I would estimate within about 30 minutes. As it stands working all this out took me the best part of 3 days, on and off. I am really beginning to like Linux.