It took me a while and finally found a working, but a bit ugly, solution. Not to bore you with the details, here are the step by step instruction on how to get HTTPS working on your development web server. Please note, this is not a good setup for live web servers, you will have to take security into account if you use this on a publicly available web server. Continue reading “SSL (HTTPS) on your Development WebServer”
With an OpenVPN server available or created on your own Mac it’s time to setup your OpenVPN client. Sure you can do this with command lines but for a user, which a client usually is for, you should use a nice GUI. Continue reading “Set-up an OpenVPN Client on your Mac”
[22/05/2015: The content of this post is very very very out of date.]
An OpenVPN Client is easy, just download Tunnelblick. But to connect to your own Mac or maybe a server you own or are the maintainer for at work, you will need an OpenVPN Server set-up. This is how you do it. Continue reading “Set-up an OpenVPN Server on your Mac”
A few command lines for managing the Virtual Memory on your Mac.
Please note; if you have a regular amount of memory, like 4 GB or 8 in recent models, you might want to consider NOT turning off Virtual Memory. But if you have ample RAM, give it a try, you will notice a big speed improvement. Why? Thats because Virtual Memory is ALWAYS used, even if you don’t really need it.
So you want to install OSX Lion on an older (or maybe not even that old) Mac. I’d say, if your Mac is supported, just buy Lion (it’s only € 23,99). If you’re Mac isn’t supported, you can do this;
The second script I’d like to share is one to list or delete items from the OSX Lion launchpad. It’s a very basic script with semi-cryptic output, but it’s useable for the two or three times you’ll ever use it.
Have you looked at your launchpad? It probably has twenty or more items you would like removed, but, …., OSX doesn’t allow you to remove items. Luckily it’s just an SQLITE database and with a few carefully built SQL queries, we can cleanup duplicates and unwanted items.
So, you’re running a development server on your OSX machine, ey?
No, how do you easily update your Wordpress setup? Or install Wordpress Plugins? You need FTP connectivity…
First you would check the ‘Sharing’ section in ‘System Preferences’ only to find FTP is not there. So you might think, OSX does not have an FTP server?
[UPDATE]: Updated for OSX 10.10 Yosemite [/UPDATE]
In my attempts to run phpMyAdmin on my development Mac I found this tutorial but, alas, it didn’t work. It resulted in numerous errors (like this one: lipo: can’t figure out the architecture type of: /var/folders/v6/nrfc_5hn12g91vzw8vff44m00000gn/T//cchRI7wl.out) and, as you guessed, the mcrypt extension did not work.
So you found yourself in need of a development server (or maybe a regular production server) on your Mac… Well, good for you, because your mac can do it all. I found myself in need of it as well and wanted a stable Apache2/PHP5/MySQL installation with the PHP SVN PECL module installed. (because I want to fool around with our SVN server :) )
I can tell you 4 ways of getting a real, life ‘n kickin’, web server on OSX. Continue reading “Development WebServer on OSX Lion”
I found myself in a situation where I wanted to upgrade my Macbook Pro to OSX 10.7 Lion, but unable to do so due to a malfunctioning Firewire controller. This defect prevents the installer to boot and therefore, an upgrade was not possible. This also meant I couldn’t have the Recovery HD and the features it enables (like performing maintenance tasks without booting the complete OS). It also prevented me from using Find My Mac. Continue reading “How to activate Find-My-Mac – the hard way…”