Topic: Mac OS X Server

The new items published under this topic are as follows.
See all


Protecting Server Installations from Unexpected Changes

Filed under: Tips and Tricks — dean at 10:19 PM on Nov 10, 2006
One of problems with being a professional Macintosh consultant revolves around the fact that many of our customers have "semi-techs" whose reponsibility it is to do some basic server administration. Often these semi-techs are power users or graphic designers, or even admin staff such as office managers. The list of responsibilities for semi-techs can be boiled down to a handful of common tasks:

1) Adding, removing, and modifying user accounts
2) Swapping backup media and running backup scripts
3) "Lightweight" troubleshooting, which, unfortunately often revolves around rebooting the server at the slightest hint of a problem. This is a bad habit left over from the days of Mac OS 9 troublehshooting. Such habits are sometimes hard to break.

While semi-tech are indeed our friends (so long as they know their limits of expertise, and when to call their consultant), sometimes in the name of troubleshooting or with all of the best intentions, they take actions with unforseen or unexpected consequences that can cripple an entire business.

One of the worst of these is a pretty simple faux paux: shutting down an essential service such as AFP, DNS, or DHCP. Sometimes this occurs because someone is trying to stop and restart a service, and sometimes simply because the wrong service is selected the disclosure triangle underneath the server in the serverlist on the left of the Server Admin window.



One simple solution I've found is to simple remove the Start / Stop Service button from the toolbar at the top of the Server Admin application. This can prevent the casually curious semi-tech from accidentally stopping a critical service that affects everyone.



All you need to do is simply drag the "Stop Service" icon off the toolbar while holding down the command key, and "poof", it'll be gone. Of course, on your own admin machine, you can have the icon for your use, or use the serveradmin command line tool instead.





Create an FTP Drop Box for Uploads

Filed under: Tips and Tricks — dean at 05:37 PM on Apr 08, 2006
If you examine the contents of the following configuration file:

/Library/FTPServer/Configuration/ftpaccess

you'll notice the line:

Upload /Library/FTPServer/FTPRoot /uploads yes ftp daemon 0666 nodirs

Create a directory in the FTPRoot called "uploads" and change the permissons to "write only" for everyone and you're all set.

Another Method to Increase Samba Speed

Filed under: Tips and Tricks — dean at 01:56 PM on Feb 08, 2006
Modify smb.conf as follows -

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16384 SO_RCVBUF=65536

The TCP_NODELAY, etc does some of what the Broadband optimizer patch
does. The second two increase the send and receive buffers for smb
from the default value of 8172. Since they are per process values
I'd increase them incrementally until you see acceptable performance
and then stop.

Set MySQL Root Password after Install

Filed under: Articles — dean at 11:29 PM on Sep 21, 2005

The initial root passsword for the MySQL database server is blank. To secure your install of MySQL, it's very important to set a secure password for the all-powerful MySQL root user. So, after starting up the service, issue the following commands:

shell> mysqladmin -u root password "newpwd"
shell> mysqladmin -u root -h host_name password "newpwd

And your're done!

Speed up Windows File Sharing

Filed under: Articles — dean at 01:21 PM on Apr 26, 2005

If your Windows clients complain that file sharing seems too slow when they're connected to the Xserve over the Windows file sharing service (Samba), you can have them map a drive rather than connect to the folder directly. This can help performance, especially from within applications that expect a network resource to be attached to a drive letter.

Get Access to Volumes as Admin in OS X Server

Filed under: Articles — dean at 02:02 PM on Apr 16, 2005

Before OS X Server 10.3, administrators connecting to the server saw the entire volumes, on the server, not the share points. To enable administrators to see the volumes,, issue the following command in the terminal:

sudo serveradmin settings afp:admin31GetsSp = no

Or, if you want to see the shares instead of the volumes ffrom an OS 9 workshtation, do:

sudo serveradmin settings afp:adminGetsSp = yes

Check the Command-Line Documentation for more Apple FileSharing Options