SO its time to configure the OS once its installed and updated, im using ubunutu for this server
first go to system, admin, and click on shared folders, and install the packages it wants, you normally click ok
then open up the shared folders application, click on the wired (or whatever way you are conencting to the network) and click properties, from there, name and comment the folder in the correct field, then uncheck the read only tab, and then click ok
we now want5 to assign a static IP, so go into system, admin, and then network
from there you want to click on your connection, properties, and then change it to stsic ip, and add the correct ip address, im using 192.168.1.11 for my servers, and all other computers get from 192.168.1.101 to 192.168.1.109 before going any higher
this step is not required, but it helps alot IMO
go to system, preferences, and then remote desktop, and change the options to the same as the screenshot below
to connect via windows xp.vista, download the following program http://www.tightvnc.com/ and follow the steps on it,
next comes the hard part, open up the terminal by going to applications, accessories, and then click terminal
in the terminal, type each of the follwoing lines, and click enter after each line
sudo mkdir /home/public
sudo chmod 777 /home/public/
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gksudo gedit /etc/samba/smb.conf
then find this line
; security = user
change it to this
security = share <- notice there is no semicolon, the colon should be removed
now go to the end of the docuemnt, and change everything below [public] so it looks like this
[public]
comment = Public Folder
path = /home/public
guest ok = yes
read only = no
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
then save and close the document
go back into terminal, and type
sudo testparm
sudo /etc/init.d/samba restart
and there you go, the file server is ready for action
i have yet to figure out how to disable the username and password on startup, i will update below once i learn how
but for now, thats pretty much how to build a very cheap server for the home, ive spent around £40 on this, so its very good IMO
Monday, 22 October 2007
Subscribe to:
Post Comments (Atom)
1 comment:
Good post.
Post a Comment