Hot answers tagged serveradmin
Terminal uses Bash by default and /bin/sh is also Bash, so source should work in most places. source is not defined by POSIX, but it is allowed by Bash in POSIX mode or when it's invoked as /bin/sh. The help messages for source and . are identical: $ help source . source: source filename [arguments] Read and execute commands from FILENAME and return. ...
1) Yes, it's included in Lion's client factory default from my 2011 macbook air. I found it accidentally, psql -v will gives you postgresql's latest version, which is version 9 at the moment, entering which psql will give you it's path which resides in /usr/bin/psql. I found postgresql's default user which is _postgres, simply change the password to your ...
You can restore the web server to factory settings. Turn off the Web Server service Open Terminal and run sudo serveradmin command web:command=restoreFactorySettings Enter your administrator password Restart Web Server service.
On OS X Lion "client", here's what you can find: martin$ find /usr/ -name postgre* /usr//include/postgres_ext.h /usr//include/postgresql /usr//include/postgresql/internal/postgres_fe.h /usr//include/postgresql/server/postgres.h /usr//include/postgresql/server/postgres_ext.h /usr//include/postgresql/server/postgres_fe.h /usr//lib/postgresql ...
Assuming you want the domains to be synonymous (e.g. firstname.lastname@example.org and email@example.com both correspond to the same mailbox), it's pretty easy. The trick is that the relevant configuration option is available in Server Admin.app but not Server.app. To get Server Admin, install the server admin tools (v10.7.4 is here, be sure to get the version ...
They seem to have renamed the server to postgres_real on my non-server version of Lion. $ /usr/bin/postgres_real --version postgres (PostgreSQL) 9.0.5 $ /usr/bin/psql --version psql (PostgreSQL) 9.0.5 contains support for command-line editing $ I haven't found initdb or pg_ctl yet so far it seems using it in practice still requires a separate ...
Your list of active services mirrors mine on a server with only DNS running per the server app: enabledServices = ( "com.apple.apspd", "com.apple.collabd", "com.apple.DeviceManagement.devicemgrd", "com.apple.DeviceManagement.postgres", "com.apple.DeviceManagement.SCEPHelper", "com.apple.opendirectorybackup", ...
OS X Server update 3.0.1 seems to have cleared this up for me. Mac App Store
I had the same issue. As suggested here, I tracked the problem down to a bad NS record (typo) for the reverse zone. changeip -checkhostname reported no issues manually checking the forward/reverse all looked good. But when I specifically checked the NS record for the reverse zone, noticed the typo.
You do use %20 if you need the space between two words. I had had made a mistake in the spelling which caused me to think it didn't work. Also, in case anyone needs it in the future, if you access the CUPS webinterface and select Manage Printers it will give you the correct lpd address syntax.
The default input source is set in ~/Library/Preferences/ByHost/com.apple.HIToolbox.*.plist (where * is system_profiler | grep 'Hardware UUID'). You could either copy the file to other acccounts: sudo cp ~/Library/Preferences/ByHost/com.apple.HIToolbox.*.plist ~/Users/username/Library/Preferences/ByHost/. Or add it to the User Template directory so that it ...
Yes, a clean install of Lion 10.7.2 includes Postgres. I mean client/desktop edition (I've not used the Server edition). The included documentation suggests Apple bundled version 9.0.4 of Postgres: file:///Library/WebServer/Documents/postgresql/html/index.html FYI, current versions of Postgres today are 9.0.6 and 9.1.2. Besides the list of /usr/ items ...
If that didn't do the trick, turn off everything which uses Apache (Wiki, iCal-Server ...) run the following command sudo /System/Library/PrivateFrameworks/ServerFoundation.framework/Resources/xswebconfig restorefactorysettings The answer using serveradmin to reset factory defaults calls the xswebconfig and sometimes you need to force the lower level ...
http://opensource.apple.com/source/PostgreSQL/PostgreSQL-23/ It's used as the datastore for the stuff serveradmin(8) works on, Server.App and Server Essentials. But oh yes, you have it on the client, Server.App activates the stuff, does not install it.
I'm using bash as my shell on my Mac and I can use "source". For example source .bash_profile
Only top voted, non community-wiki answers of a minimum length are eligible