Tuesday, January 10, 2006

Setting up servers (for newbies) in OS X

A couple of days ago I talked about setting up the G3 as a server. Well I found out how to get some basic services running.

First make sure your LAN is running properly. Make sure your Mac is running properly. Make sure your "Local" machine is working properly. The Local machine is the machine with the client software.

Most of what needs to be accessed can be found in the "System Preferences" program in the Dock. You also need to be in an "administrator" account. Select "Network" from within "System Preferences". Change the method of assigning the I.P. address of the computer to "Manual". Pick an I.P. somewhere in your subnet in an area which isn't used by any other computer on the LAN and out of the range of addresses assigned by DHCP. Check your router for this information. If the information up to this point is confusing then it would be a good idea to read up on how networks function first.

Within "System Preferences", select the "Sharing" icon. From there look at the central portion of the window. One of the three tabs presents you with a series of check boxes. The straight forward ones are ftp (for transferring files), ssh (for remote control through a text screen), and web sharing (which is the Apache web server). Windows sharing is probably Samba. I haven't had an opportunity to try it out yet.

The first three servers work pretty much as expected. There are a couple of catches. The first is passwords are case sensitive and can not be very long without causing problems on the Mac. The rule of thumb is stick to around eight letters and numbers. The second thing relates to Apache. Files are stored in the users "Public" directory. They can be viewed in any web browser with "http://I.P. Address of the Mac/~User I.D./Web page Filename". Substitute the coloured text with appropriate values.

There is supposed to be a way to remotely shut down the Mac. I haven't been able to do it yet. Then again I didn't set up my test account with administrator priviliges.

0 Comments:

Post a Comment

<< Home