Skip to content

Latest commit

 

History

History
313 lines (238 loc) · 9.73 KB

README_POST_INSTALL.md

File metadata and controls

313 lines (238 loc) · 9.73 KB

AnsiblOSX - Post installation instructions

This section describes the steps to be performed for transforming a newly installed system into a fully operational machine.

(0) Configure Git with SSH key

Generate and add an SSH key checkout / push changes from GitHub (https://help.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh) (https://help.github.com/articles/caching-your-github-password-in-git/)

git config --global credential.helper osxkeychain

Alternative: Copy the .ssh directory from another mac

(1) Reduce Spotlight indexing

  • Open system preferences -> Spotlight
    • Restrict search results to "Applications" and "System Preferences"
    • Untick "Help Apple Improve Search"
    • Under "Privacy" add all other local disks to prevent them to be indexed
    • system preferences -> Keyboard Shortcuts -> Keyboard Shortcuts -> Spotlight -> remove both shortcuts x Untick "Allow Spotlight Suggestions in Look up"

(2) Configure the application in the following order

2.0) (optional) Copy files from another Mac

  • Open system preferences -> Sharing
    • Allow "Remote Login" (access only for Administrators)
    • Open transmit and add the new installation
    • Copy Dropbox directory / .extra file

2.1) 1Password v7

  • Check that the right licensed version is in use (7)
  • Used 1password before, sync over icloud
  • Answer all questions
  • Search for "1password 7" and double-click on the license attachment to register
  • Install the browser extensions (Safari + Chrome)
    • Safari: open "Safari" -> "Safari Extensions"
    • Chrome: install the plugin / extension

2.2) Dropbox

  • Enable selective sync
  • Change dropbox location to "~/Sync" (will create a "Dropbox" directory)
  • Configure "Notifications"
  • optional To speed-up the first sync, quit the application after the first successful login and overwrite the created dir by a local copy of the DB folder

2.3) Alfred

2.4) Configure Karabiner-Elements

  • simple modification: assign from caps_lock to key "F16" on all keyboards and configure alfred to be launched by F16
  • make sure that the "German" (not "German - Standard" keyboard is in use)
  • optional for external mac keyboard switch assignments: pqrs-org/Karabiner-Elements#1426

2.5) Configure system clock

  • Open Dock & Menu Bar and set ...
    • Show date "NEVER"
    • Disable "Show the day of the week"
    • Set "Use a 24-hour clock"
    • Set "Display the time with seconds"
    • Disable other options

2.6) Bartender

  • Tick "Launch Bartender at login" box
  • Add license
  • Configure manually (from another mac) and shift icons

2.7) iStats

  • Add license
  • File -> Import settings from dropbox

2.8) Rectangle (replacing old Spectable)

  • Open and finish install
  • Change shortcut for fullscreen (alt+command+-)
  • Launch at login

2.9) Transmit

  • Enter license key
  • Activate Panic Sync to get the latest configuration

2.10) Itsycal

  • Launch at login
  • Configure apparence

2.11) Source tree

  • Login using the atlassian account & GitHub one

2.12) Things

  • Activate Things cloud
  • Right click: open at login
  • Preferences -> Quick Entry -> Disable quick entry

2.13) Telegram

  • Connect account
  • Configure apparence and notifications

2.14) Spotify

  • Login

2.15) CleanMyMac X

  • Register
  • Privacy -> disable all

2.16) Configure ZSH & My Zsh

Install Oh My Zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Install and configure Power10k according to https://github.com/romkatv/powerlevel10k#homebrew

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
echo 'source ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc

Install fonts

Download "Hack" and "" from here: https://www.nerdfonts.com/font-downloads

Then unzip and execute open *.ttf to install the font on MacOS.

Fix terminal in visual studio code

Follow these instructions: https://gist.github.com/480/3b41f449686a089f34edb45d00672f28

"terminal.integrated.fontFamily": "Hack Nerd Font",
"terminal.integrated.shell.osx": "/bin/zsh"

(Optional) Add cf completion following instructions here:

https://github.com/norman-abramovitz/cf-zsh-autocomplete-plugin

2.17) Configure Google Chrome

  • Sync plugins and bookmarks with sync mechanism
  • Import "Awesome" shortcuts for the home page

2.18) Configure Visual Studio Code

2.19) iTerm2 & Terminal

  • iTerm2 -> Make default terminal

  • iTerm2 -> Install shell integration (curl -L https://iterm2.com/misc/install_shell_integration.sh | bash)

  • iTerm2 -> Preferences -> General -> Load preferences from a custom folder or URL (select DropBox folder)

  • Terminal -> Shell -> Open (from Dropbox folder)

  • Terminal -> Shell -> Use Settings as Default

$ sudo bash -c 'echo /usr/local/Cellar/bash/5.1.8/bin/bash >> /etc/shells'

Keep zsh as default for iterm

chsh -s /bin/zsh
# This would change the default shell
## chsh -s /usr/local/Cellar/bash/5.1.8/bin/bash

2.20) MoneyMoney

Configure the software by importing the database. https://www.heise.de/ratgeber/Tipp-MoneyMoney-Datenbank-auf-neuen-Mac-uebertragen-6054587.html

2.21) (optional) Install synergy 1 Pro

  • Downalod, configure & register from the web page

2.22) (optional) Toggl

  • Login
  • Preferences -> General -> untick "Show dock icon"

2.23) (optional) Install Kindle Upload

Install send to kindle: https://www.amazon.com/gp/sendtokindle/mac

2.24) (optional) Steam

  • Login

2.25) (optional) Install Paragon NTFS

  • run the installer manually in "/usr/local/Caskroom/parafon-ntfs/15/Install/..‚"
  • login & restart

2.26) (optional) Install music software

2.27) (optional) Install photo software

2.28) Install software for scanner

2.29) Install Pictogram App

https://pictogramapp.com/

2.30) Bear

Start and launch Synchronization

(3) Further configuration

3.1) iCloud & storage

Turn off the Optimize Storage option. Apple menu > System Preferences > Apple ID > Optimize Mac Storage.

3.2) System preferences

  • General -> Use dark menu bar and Dockbash
  • Date & Time -> "Clock" -> don't show the day of the week, show the seconds, 24-hour clock
  • Keyboard -> Key repeat: fastest & Delay until repeat: shortest
  • Trackpad -> Look up & data detectors -> Off (disables dictionnary - see https://macpaw.com/how-to/turn-off-dictionary-mac)

3.3) Dock configuration

Group apps by creating folders and app symlinks, for example: ln -s ../../Paintbrush.app Paintbrush.app

Add icons to the folders https://support.apple.com/en-gb/guide/mac-help/mchlp2313/mac

Import / export dock icons - add separators

defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="small-spacer-tile";}'
killall Dock

(4) Install additional software (currently missing)

(99) Archive - Not used anymore

Applescript to add a date shortcut: https://discussions.apple.com/thread/8651300#:~:text=It%20just%20works.,for%20the%20first%20time%20only.

on run {input, parameters}
	set thedate to (do shell script "date \"+%Y.%m.%d\"") as string
	tell application "System Events"
		keystroke thedate
	end tell
end run

AWS CLI

brew install awscli

Azure CLI

brew install azure-cli

GCP CLI

brew cask install google-cloud-sdk

CloudFoundry CLI

brew tap cloudfoundry/tap
brew install bosh-cli
brew install cf-cli
brew install credhub-cli
brew install bbl
brew install bbr

Pivotal CLI

brew tap nevenc/tap
brew install pivnet-cli
brew install om-cli
brew install pace-cli

mysql

brew install mysql

mongodb

brew install mongodb

elasticsearch

brew install elasticsearch