Set up Virtual Hosts on macOS Big Sur 11 in Apache
Setting up Virtual Hosts in Apache on on macOS Big Sur is straight forward after you have your local Web Development environment up and running – get your web development up and running first including Apache, PHP and MySQL on macOS following this macOS Big Sur Apache/PHP/MySQL guide here if required. This guide will also…
Read MoreInstalling & Configuring Apache on macOS using Homebrew and use Sites folder
Eventhough Apache ships with macOS, a better maintained version would be coming from Homebrew, also Apple is making noises about not supporting legacy software like PHP so in the future this may be more of a compulsory option. macOS use to ship with both MySQL & PHP, but now since macOS Monterey, PHP has also…
Read MoreInstalling MariaDB Database Server on macOS
MariaDB is an alternative to MySQL database which is more performant with a full open license, you can install it easily on macOS via Homebrew. The first step is to install Homebrew on your computer and possibly to remove any older MySQL database server versions. Once Homebrew is installed, on the command line: brew install…
Read MoreRemove MySQL database server from macOS or OSX via the command line
To remove an instance of MySQL Database Server from your macOS or OSX installation you need to delete a number of files via the command line, but first ensure that you have database dumps of your databases and that then the database server is not running. Back Up any needed MySQL databases Launch the command…
Read MoreInstall Apache, MySQL, PHP on macOS 11 Big Sur and earlier macOS
Get your Local Web Development Environment Up & Running on macOS Big Sur 11 and Catalina 10.15 With Apples’ new macOS Big Sur 11 available for download, here is how to get the AMP stack up and running on the new macOS. This tutorial will go through the process of getting Apache, MySQL, PHP (or…
Read MoreInstalling Gulp on macOS BIg Sur – Intro guide to Gulp
Installing Gulp on macOS Big Sur, macOS Sierra and earlier OS versions requires Nodejs and npm (Node Package Manager), so get that installed first following the linked guide. Gulp is an easier and slightly more modern javascript task runner than its sibling Grunt, which helps you automate numerous tasks in your workflow. You need to…
Read MoreInstalling node.js on macOS Big Sur and earlier macOS versions
node.js allows you to run javascript in the Terminal as appose to a regular browser which makes for a modern workflow in web development, with both node.js installed and a package manager called npm (Node Package Manager) also installed, which can manage other packages that work with node.js, one of the main ones being gulp.js…
Read MoreQuery dns/domains in macos using dig and nslookup via the command line
In macos you can query a domain via the command line via default nameservers with a couple of DNS querying tools, notably nslookup and dig, how that works is on the command line: dig domain.com or nslookup domain.com The results are returned to you on the command line. Query from a different nameserver To query…
Read MoreIn macOS, show the difference of 2 folders / files in the Command Line
In macOS, you can compare and show the differences of files in two folders in the Command Line by using the diff command. With folders you use rq as an argument and pass in the 2 folder names on the command line like so… diff -rq folder_1 folder_2 You will get notifications on what same…
Read MoreWhere are the Safari Web Developer Tools and how to show and dock them in a browser window
The Safari Developer Tools for the macOS browser can be enabled and displayed in Safari > Preferences > Advanced > “Show Develop menu in menu bar” for Safari version 14 and earlier. Then from the Safari “Develop” menu select “Show Web Inspector” or use the keyboard shortcut Option+Command+i When opened the Safari developer tools…
Read More