We’re rewarding the question askers & reputations are being recalculated! Read more.
100

Is this considered bad? I thought one of the advantages of using /usr/local/ for your installs was that you don't need sudo. But clearly we do. Homebrew, by default, sets itself up for single-user access to /usr/local. So you need to open up the permissions on the directory tree for it to be administered by more than one person. People don't need to run ...


22

9 To Mac states this clearly: To download OS X Server, developers should access the iOS or Mac developer portal to retrieve an App Store redemption code. If you have iOS development program go to: https://developer.apple.com/osx/download/ Scroll down Click Get download code Redeem the code Download your free version of OS X Server 3.0.3 This text is ...


16

Turning on Server Performance Mode essentially increases some kernel/net parameters related to the max number of possible/allowed processes and connections and modifies some memory/timer settings: ... kern.maxvnodes: 66560 > 300000 kern.maxproc: 1064 > 5000 ... kern.maxfilesperproc: 10240 > 150000 kern.maxprocperuid: 709 > 3750 kern.ipc....


13

The caching server will print to log when a client requests an update. This log is located at: /Library/Server/Caching/Logs/Debug.log The following is the anatomy of a request which was served by the caching server's cache: Client requests update package Got request for host = http://swcdn.apple.com/{{REQUEST}} Find cached package in server data ...


12

Apple KB article HT3930 explains how to configure SSL for servermgrd, the Server Admin web interface. It applies to Mac OS X Server 10.6 so until Apple updates this article part of the steps are confusing / obsolete. Luckily, on Mountain Lion Server (10.8) servermgrd's certificate is stored in the same location as on Mac OS X Server Snow Leopard: in the ...


10

There are 87 valid users. 83 from OS X 10.10.1 (Build 14B25) and 4 from Server 4.0.3 (Build 14S350). You can see them from terminal with the command: dscl . -list /Users The list is as follows: _amavisd _appleevents _appowner _appserver _ard _assetcache _astris _atsserver _avbdeviced _calendar _ces _clamav _coreaudiod _coremediaiod _cvmsroot _cvs _cyrus ...


10

OS X Yosemite doesn’t have support for natd binary or ipfw anymore. Instead pfctl is used. I assume the following IP-adresses/netmasks: Router: 192.168.0.1/24 Mac mini gateway: en0: 192.168.0.2/24 gateway 192.168.0.1 en1: 192.168.1.2/24 Internal network: 192.168.1.0/24 First you have to enable forwarding on your Mac computer with following commands: sudo ...


9

"Invalid or missing service identifier" seems to mean that your plist file has not got or has misspelled a section like <key>Label</key> <string>com.foo.bar</string> Note "Label" must start with upper case L.


9

What was required was the following line in /etc/exports: /path/to/shared/dir -mapall=<uid of local user on host machine with correct perms> -network 192.168.56.0 -mask 255.255.255.0 exports(5) is the FreeBSD version, obviously. Once I did some googling for the solution with respect to "FreeBSD" instead of "Mac", the necessary information presented ...


8

There's two parts to your question, one part is easy to answer: yes, you can get a remote, graphical session on your server without the server having to have a keyboard or mouse attached to it. This part of your question troubles me: before buying the software What software are you buying? Everything you need to remotely control your Lion server is ...


8

This may affect OS X El-Capitan or later installations running Server.app with active file sharing. sdmd is a service which produces indices and previews for iOS devices. In the process it parses everything in the share, which, depending on how large that shared folder is and where it's located, can take quite some time and resources. I've seen this causing ...


8

Server Performance Mode (a.k.a. perfmode or serverperfmode) changes a number of kernel parameters, reserving a lot more memory for the kernel in order to provide a lot higher limits and thus enable a lot more processes to run, files to be open, and network connections to be handled, among other things. All of the parameters scale with the amount of memory ...


7

You can enable homebrew permissions for more than one user via the admin group, or via any other user group. Here is a slightly expanded recipe to configure this: The group needs to administer the local homebrew install directory. So assign /usr/local to admin group (or your preferred group) and enable group write permissions: chgrp -R admin /usr/local ...


6

You can daisy chain up to 6 Thunderbolt devices from a single port, so you can connect the display via an adapter to that without any problems.


6

The profiles appear to be stored in /private/var/db/ConfigurationProfiles/Store/ConfigProfiles.binary I'd not recommend tampering with it, though. To see what profiles are installed, and then remove one, assuming you can sudo to the user, you could try: root$ sudo -u chymb profiles -L chymb[1] attribute: profileIdentifier: com.stackexchange.apple.test ...


6

Via this Apple kbase article: You can specify advanced configuration settings for the Caching service with the command line or by editing /Library/Server/Caching/Config/Config.plist. Interface | Listen on all interfaces | The BSD name of a network interface to be used by the Caching service. Setting values for a key To set a key with a ...


6

These instructions are largely the same as the ones in the official PDF-file that goes through the migration progress, but with the (hopefully) helpful addition that the the incorrect command is corrected and the other commands are copy:able as-is. Turn off the VPN service in the Server app. (If visible. For me it was not.) Make sure you are in the wheel ...


5

There is a way to do this, but it involves fiddling with DNS to make a 'transparent' software update server. When clients are on your network, their requests to "Apple's" SWU servers go to yours, without any modification of client settings, it truly is transparent. Check this article out. It's a little old, but this is the general idea that you want to be ...


5

According to the Apple Web site: Lion Server To administer Lion Server, use Server app and the Server Admin Tools 10.7 on OS X Lion. The Server Admin Tools 10.7 are are available from Apple Support Downloads. To administer Lion Server from a client with a different version of OS X, connect to the server using Screen Sharing or Apple Remote ...


5

First, make sure you are looking at the right apache config. Base OS X includes a config file, but the one used in Server is at /Library/Server/Web/Config/apache2/sites. The two lines that makes Xcode the default is in 0000_any_80_.conf: DocumentRoot "/Library/Server/Web/Data/Sites/Default" DirectoryIndex index.html index.php /xcode/ /wiki/ default.html ...


5

You can do this with the OS X Server app. Open Server.app. Go to the Websites service. Double-click your server website in the list. Click Edit… for Index Files. Delete /xcode/ from the list. Click OK on both boxes and wait for the service to update. Then Xcode will only be accessible from host.name.tld/xcode


5

Not directly before Sierra on macOS - I even haven't found a way to tell after the fact whether an update came from the cache or from Apple on the client side by looking at the logs instead of sniffing network connections and traffic. On Sierra and later, you can query Apple's update infrastructure and check if any local caching points for updates, app ...


5

Open a terminal and give AssetCacheLocatorUtil a try - I think it was just introduced in Sierra. NAME AssetCacheLocatorUtil -- Utility for reporting Caching Service information SYNOPSIS AssetCacheLocatorUtil DESCRIPTION AssetCacheLocatorUtil reports information related to OS X Server Caching Servers running on the ...


5

I successfully could upgrade server 3.2.2 (osx10.9.5) to macos server 5.2 (sierra) on my mac mini by following steps. Install Yosemite to your mac. Purchase Server 5.2 with your Apple ID. You can buy it on the mac 10.11.6 or later. Open App Store. Select Server 5.2 and Press INSTALL button. The operation leads to install Server 5.0.15 !!! Launching Server 5....


5

macOS Server is not required at all to share directories over NFS. The macOS client provides all necessary tools. Testing various exports with bogus paths, I'd assume your path simply doesn't exist. The most convenient GUI-tool for NFS is NFS Manager. You will be presented with a nag-screen launching it or changing configurations, but it works without ...


4

I was just going to comment on the accepted answer (but don't have the reputation for that yet.) As a user of Caskroom.io, I would also recommend adding: sudo chown -R admin /opt/homebrew-cask sudo chmod -R g+w /opt/homebrew-cask sudo chmod -R g+w /Library/Caches/Homebrew/ since cask, an extremely useful extension to homebrew, puts all its files in /opt/...


4

From a few minutes of searching, it looks like Ubuntu 11.04 would be a good fit and match most of your requests, and what you were looking to use as well. 64bit would be needed to reach more than 4GB of RAM. And there is a 64 bit version, although (to me) confusingly named AMD64. This would be the version you need. There are also Magic Trackpad drivers ...


4

Your best defence is always to turn off unnecessary services. If you're not using remote desktop: turn it off. If you're not using the HTTP or FTP servers: turn them off. Fewer services running, fewer points of entry for possibly intruders to exploit. Aside from locking it down, there are some free and open source products that are OS X friendly you can ...


4

You can harden ssh and install denyhosts, sshguard, and Snort, Barnyard, Base and Swatch. See these links for details: https://discussions.apple.com/thread/3565475 https://discussions.apple.com/thread/4473229?tstart=0 Turn off root and password logins: vi /etc/sshd_config PermitRootLogin no PasswordAuthentication no ChallengeResponseAuthenticatio no ...


4

The following links will be helpful in getting you started with OS X Lion Server. Without knowing exactly what your client setup is, I simply provided general information in regards to OS X Lion Server. Hopefully it is organized in a fashion that is beneficial to you. Standard Server documentation Lion Server Lion Server Support (Nearly everything needed ...


Only top voted, non community-wiki answers of a minimum length are eligible