Following the footsteps of this TechOrganic blog article but not wanting to require all the authentication factors, just the TOTP in addition to Password authentication, and also running into macOS’ System Integrity Protection, I found a way to get OTP working on OSX 10.6 through 10.11 without destroying automated access with Private+Public KeyPair. Continue reading “SSH + TOTP – Two factor Authentication on SSH with OATH Time-based One-Time Passwords”
Hey Siri, what do I need to do to get my development environment working again after upgrading to macOS Sierra?
Hello, macOS Sierra!
macOS… that name… so… long… ago…
It has been, what?, 11 years? 12? … System 9, that was the last OS to be called macOS. The name change does not change anything regarding the update cycle, although on one of my macs, the upgrade went horrifically bad! I ended up rebooting in Recovery mode and installing macOS from there.
For getting the development enviroment back up, not much to be done!
Apache could not find the default server certificates in
sudo nano /etc/apache2/extra/httpd-ssl.conf
sudo apachectl restart
As always; feel free to comment or ask questions :)
Bye Bye Yosemite – Hello El Capitan! — another post-upgrade fixing session
In the series “How to fix your development environment after an upgrade” ( referring to this and this post ) I present you;
“Fix your development environment after upgrade to El Capitan”
Continue reading “Bye Bye Yosemite – Hello El Capitan! — another post-upgrade fixing session”
Duplicate Network Name, IP-Address already in use, slow DNS resolution, erratic Bonjour discovery, Dead-slow Safari 8, one simple solution
Update: as announced and expected, Apple has replaced DiscoveryD with mDNSResponder in 10.10.4. For those of you running 10.0.4, this article no longer applies. In case you’re stuck on 10.10.0, .1, .2 or .3, read on :)
A long long title, but accurately descriptive :P Poor English? Perhaps, but it does say what is to be said;
If you have experienced one of the following issues, then you should read on;
- Your computer’s name is already in use, your computer has been renamed to iMac (2)
- Your IP address is already in use (even when you’re the only one at home)
- Opening a website in Safari takes “forever”
- You cannot find your (other) computer on the network (even though you’re sure it’s turned on)
Continue reading “Duplicate Network Name, IP-Address already in use, slow DNS resolution, erratic Bonjour discovery, Dead-slow Safari 8, one simple solution”
USB 3.0 on Macbook Pro 2011
Lucky enough to have a Macbook Pro 17″ with an ExpressCard/34 slot? Then you’re not lucky enough to have built-in USB 3.0. We can fix that! You need to spend about 10 to 15 USD. Interested? Read on! It took me months just to find this post which gave me a 10 minute solution.
Bluetooth 4.0LE Upgrade for MacbookPro 17″ – Enable handoff, continuity and instant hotspot
Yosemite introduces a lot of great features. I personally love Handoff where you can start a document or e-mail on one device and seamlessly continue it on a different one. I already had it working between my iPhone 5s and iPad Air but soon found that my Macbook Pro did not comply to the technical requirements.
I got it working now! If you want to know how; then read on!
[update oct 2nd, 2015]
With 10.11 El Capitan I followed the instructions to re-enable Continuity and found that my WiFi stopped working (‘No WiFi Hardware Found’). Turns out, all I needed to do was to disable kext-signing check with
sudo nvram boot-args=kext-dev-mode=1
Continue reading “Bluetooth 4.0LE Upgrade for MacbookPro 17″ – Enable handoff, continuity and instant hotspot”
Another Upgrade, Another Fixing session – Upgrade Development Environment – Yosemite edition
While Redmond is starting their photocopiers (the age old story of how Microsoft keeps copying instead of innovating), we Mac users start our updates. OSX 10.10 Yosemite brings Apache 2.4 and PHP 5.5 to our playground, but not everyone is happy with that. Also, not all software survives the upgrade. Here is what I had to do to fix my development environment.
Continue reading “Another Upgrade, Another Fixing session – Upgrade Development Environment – Yosemite edition”
Downgrade (or upgrade) PHP on OSX
OSX Yosemite comes with PHP 5.5. OSX Mountain Lion comes with PHP 5.3. What if you wanted to run PHP 5.4 on both? Well, you can, with a dead simple installation;
curl -s http://php-osx.liip.ch/install.sh | bash -s 5.4
Thanks to The coolest guide on the planet.
[EDIT: nov 6 2017: fixed dead link, added troubleshooting steps below]
Still not seeing the new version?
- The command above should install the old PHP 5 in /usr/local/php5 (which should be user-writable) and also write a new config file in /etc/apache2/other/+php-osx.conf, so please check and see if both exist.
If you installed PHP 7.x, the folder is /usr/local/php7, of course.
apachectl -t -D DUMP_INCLUDESand check if the new config file is loaded (should be /etc/apache2/other/+php-osx.conf)
apachectl configtestand see if any errors occurred
If you can’t get it to work, try alternate methods, like using the even older series of posts on How to set-up and maintain a development environment on osx, OR (even better!) use Local by Flywheel.
Restore Apache2 service after removal of Server.app
After experimenting with Apples Server.App and removing it (for not really needing it) the built-in Apache was no longer functioning and all I could get out of it was; “Websites are turned off. An administrator can turn them on using the Server application.”
The fix is simple, but finding where to fix, …
Continue reading “Restore Apache2 service after removal of Server.app”
OSX 10.10 Yosemite and iOS 8 announced
Last monday – everybody who cares knows – Apple announced the latest OS versions of OSX and iOS.
For a 10 minute breakdown, visit The Verge.
You can expect updates on all posts of the series ‘The Ultimate Development Webserver’ and ‘Handy Scripts’ where needed in the next few months (time permitting and if the beta will run stable enough inside VMWare Fusion)