- @see https://developerjack.com/blog/2015/12/11/Installing-PHP7-with-homebrew/
- @see https://developerjack.com/blog/2016/08/26/Installing-PHP71-with-homebrew/
Make sure brew is up to date:
brew update
brew upgrade
#!/bin/bash | |
# Path to the SSH config file | |
config_file="$HOME/.ssh/config" | |
# Check if the SSH config file exists | |
if [[ ! -f "$config_file" ]]; then | |
echo "SSH config file not found at $config_file" | |
exit 1 | |
fi |
# Install Ubiquiti Unifi Controller on Ubuntu 20.04. | |
# As tested on a fresh install of ubuntu-20.04.1-live-server, August 22nd 2020. | |
# Thanks to https://gist.github.com/tmuncks for posting the updated install steps. | |
sudo apt update | |
sudo apt install --yes apt-transport-https | |
echo 'deb https://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list | |
sudo wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ui.com/unifi/unifi-repo.gpg |
Make sure brew is up to date:
brew update
brew upgrade