Install Git on macOS Big Sur and earlier with Homebrew or Packaged File
You can install Git on macOS Big Sur, Catalina, Mojave, Sierra, or an older Mac OSX version by a couple of options, one is to use Homebrew to install Git by installing Homebrew first and then issuing: brew install git You can also download install a easy to install package file getting the latest git…
Read MoreRemotely connect to Amazon S3 Bucket from the macOS command line
Connecting your macOS to AmazonS3 storage buckets. This process requires a couple of Unix tools installed, s3cmd and gpg (optional), s3cmd is the command line tool used to connect to Amazon S3 and gpg is an optional secure tool allowing data transfer to be encrypted over HTTPS between you and Amazon. This guide uses Homebrew…
Read MoreSet 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 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