Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 2.02 KB

README.md

File metadata and controls

60 lines (47 loc) · 2.02 KB

dotfiles

Fishedotfiles

Setup

cd ~
curl -Lo dotfiles.zip https://github.com/pavolzbell/dotfiles/archive/master.zip
unzip dotfiles.zip
cd dotfiles-master
./bootstrap
cd ..
rm -rf dotfiles-master dotfiles.zip
./.brew
echo -e "/usr/local/bin/fish" | sudo tee -a /etc/shells
chsh -s /usr/local/bin/fish
fish
set -U fish_user_paths /usr/local/opt/coreutils/libexec/gnubin $fish_user_paths
sudo ln -s /usr/local/bin/gsha256sum /usr/local/bin/sha256sum
brew pin fish readline
./.macos
syupdate
sudo reboot

macOS

set name "vulture"
sudo scutil --set ComputerName $name
sudo scutil --set HostName $name
sudo scutil --set LocalHostName $name
set domain "/Library/Preferences/SystemConfiguration/com.apple.smb.server"
sudo defaults write $domain NetBIOSName -string $name
  • Check system integrity protection csrutil status
  • Permit operations via csrutil disable in recovery system (hold ⌘ + R after restart) then reboot
  • Check that /private/var/vm/sleepimage is a zero-byte file which can not be rewritten
  • Check defaults read NSGlobalDomain AppleFontSmoothing should be 2
  • Check defaults read NSGlobalDomain KeyRepeat should be 2
  • Check defaults read NSGlobalDomain InitialKeyRepeat should be 14
  • Check defaults read com.apple.dock tilesize should be 34 or 48

Services

brew pin elasticsearch@2.4 postgresql@9.5
  • Configure Elasticsearch at usr/local/etc/elasticsearch/elasticsearch.yml
  • Configure PostgreSQL at /usr/local/var/postgres/postgresql.conf
  • Configure Redis at /usr/local/etc/redis.conf
  • Check running services brew services list
  • Open pgAdmin3 as current user then create a new role and reconnect via it, see ~/.pgpass

References

License

This software is released under the MIT License