11
Start Screen Sharing from Terminal in Snow Leopard
Comments off · Posted by Geoffrey in General IT
To Enable
$ sudo sh -c "/bin/echo -n enabled > /etc/ScreenSharing.launchd"
To Disable
$ sudo rm -rf /etc/ScreenSharing.launchd
No tags
If you have issues occasionally connecting with Mac OS X Mail to a Courier-IMAP server, particularly over SSL, edit /etc/courier-imap/imapd-ssl and /etc/courier-imap/imapd, find the MAXPERIP setting and try increasing it to:
MAXPERIP=10
Once saved, you’ll need to restart the Courier-IMAP server.
Note: the MAXPERIP setting is not even in the imapd-ssl file so I just added it to the end.
No tags
When migrating nameservers to new hosting, don’t forget to update the nameserver ips at your domain registrar.
No tags
Print nvram settings
# nvram -p
Set boot-args to use 64 bit kernel
# nvram boot-args="arch=x86_64"
Don’t forget to add in your existing boot-args to the command above. Using nvram means you don’t need to have to remember to hold down 6 or 4 during booting each time. To go back to the 32 bit kernel, just set the boot-args using nvram without the arch=x86_64 option.
Check if running 64 bit kernel
To check if you’re using the 64 bit kernel, you can run uname -v and check if there is mention of x86_64 in the returned string.
No tags
After lots of searching round I finally worked out where the hell I was going wrong. Just remount /var/tmp with exec temporarily.
$ sudo mount -o remount,exec /var/tmp
$ sudo pecl install <pecl_extension>
$ sudo mount -o remount,noexec /var/tmp
No tags