This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computing:darwin [2018/05/19 17:12] – oemb1905 | computing:darwin [2020/02/12 01:02] (current) – oemb1905 | ||
|---|---|---|---|
| Line 64: | Line 64: | ||
| dd if=[Directory/ | dd if=[Directory/ | ||
| diskutil eject /dev/disk2 | diskutil eject /dev/disk2 | ||
| - | | ||
| - | Plug into the Intel Mac, hold option while booting, proceed w/ install | ||
| - | |||
| - | Dual Boot gnulinux with macOS | ||
| - | First, disable Gatekeeper because it is stupid | + | First, disable Gatekeeper because it is stupid |
| sudo spctl --master-disable | sudo spctl --master-disable | ||
| Line 84: | Line 80: | ||
| cd refind-bin-0.11.2 | cd refind-bin-0.11.2 | ||
| sudo ./ | sudo ./ | ||
| + | sudo reboot | ||
| | | ||
| - | If you are making an .iso of GNU/Linux boot ready for macOS, do the following | + | ------------------------------------------- |
| - | + | ||
| - | diskutil eraseDisk JHFS+ Temp disk# | + | |
| - | diskutil unmountDisk force disk# | + | |
| - | sudo dd if=/ | + | |
| | | ||
| PATH Location on macOS | PATH Location on macOS | ||
| Line 118: | Line 111: | ||
| sudo dscl . -create / | sudo dscl . -create / | ||
| sudo dscl . -delete "/ | sudo dscl . -delete "/ | ||
| - | + | | |
| - | Reboot the Mac | + | |
| - | + | ||
| - | ------------------------------------------- | + | |
| - | + | ||
| - | Homebrew Package Management | + | |
| - | + | ||
| - | ruby -e " | + | |
| - | brew update | + | |
| - | brew doctor | + | |
| - | brew cleanup | + | |
| - | brew upgrade | + | |
| - | brew cask install < | + | |
| - | brew install caskroom/ | + | |
| - | git -C " | + | |
| - | + | ||
| - | Uninstall Homebrew | + | |
| - | Download script from GitHub https:// | + | |
| - | + | ||
| - | Cask Location, followed by location of currently installed packages ... | + | |
| - | + | ||
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | + | ||
| - | Or, run this command to see all installed packages in a txt file in downloads. | + | |
| - | + | ||
| - | brew list > ~/ | + | |
| - | + | ||
| - | Braumeister has a search engine of Homebrew packages - [[http:// | + | |
| - | + | ||
| - | Common packages worth installing | + | |
| - | + | ||
| - | * tree | + | |
| - | * webkit2png | + | |
| - | * graphicsmagick | + | |
| - | * git | + | |
| - | * python | + | |
| - | * python3 | + | |
| - | * watch | + | |
| - | * wget | + | |
| - | * automake | + | |
| - | * autoconf | + | |
| - | * htop | + | |
| - | * jpegoptim | + | |
| - | * imagemagick | + | |
| - | * fish (fish shell) | + | |
| - | * xquartz | + | |
| - | * Homebrew cask | + | |
| - | * ack (like grep) | + | |
| - | * git | + | |
| - | * bash-completion | + | |
| - | * bash completion script | + | |
| - | * colordiff | + | |
| - | * ffmpeg | + | |
| - | * htop | + | |
| - | * imagemagick | + | |
| - | * gawk | + | |
| - | * gnu-sed | + | |
| - | * cowsay | + | |
| - | * lftp | + | |
| - | * wget | + | |
| - | * axel | + | |
| - | * tree | + | |
| - | * unrar | + | |
| - | * rlwrap | + | |
| - | * readline wrap | + | |
| - | * tig | + | |
| - | * git (command line interface) | + | |
| - | * youtube-dl | + | |
| - | * lynx (web browser) | + | |
| - | * memcached (for caching on web server) | + | |
| - | * Alpine (new version of Pine) | + | |
| - | * mutt | + | |
| - | * vi | + | |
| - | * emacs | + | |
| - | * nano | + | |
| - | * python (add 3 for v.3) | + | |
| - | * pip | + | |
| - | * virtualenv | + | |
| - | * ruby | + | |
| - | * ruby-build (test versions) | + | |
| - | * wget | + | |
| - | * nmap | + | |
| - | * vlc | + | |
| - | * gnuplot | + | |
| - | * tcpdump | + | |
| - | * gnutils | + | |
| - | * coreutils | + | |
| - | * rsync | + | |
| - | * rsnapshot | + | |
| - | * binutils | + | |
| - | * diffutils | + | |
| - | * findutils | + | |
| - | * wireless-tools | + | |
| - | * screen | + | |
| - | * gcc | + | |
| - | * openssh | + | |
| - | * ssh-copy-id | + | |
| - | + | ||
| - | #Path should look like | + | |
| - | + | ||
| - | / | + | |
| - | / | + | |
| - | /usr/bin | + | |
| - | /bin | + | |
| - | / | + | |
| - | /sbin | + | |
| - | + | ||
| - | + | ||
| - | If you use gnutils or coreutils a lot: | + | |
| - | + | ||
| - | PATH="/ | + | |
| - | MANPATH="/ | + | |
| - | + | ||
| - | GNU/Linux commands and how to make default | + | |
| - | + | ||
| - | brew tap homebrew/ | + | |
| - | brew install ed --default-names | + | |
| - | brew install findutils --with-default-names | + | |
| - | brew install gnu-indent --with-default-names | + | |
| - | brew install gnu-sed --with-default-names | + | |
| - | brew install gnu-tar --with-default-names | + | |
| - | brew install gnu-which --with-default-names | + | |
| - | brew install grep --with-default-names | + | |
| - | brew install wdiff --with-gettext | + | |
| - | + | ||
| - | + | ||
| - | Homebrew permissions - only if it gets hosed. | + | |
| - | + | ||
| - | | + | |
| - | sudo chown -R root:wheel / | + | |
| - | sudo chmod -R -N / | + | |
| - | + | ||
| - | To install alternative repositories for later installation, | + | |
| - | + | ||
| - | brew install homebrew/< | + | |
| - | brew tap Homebrew/< | + | |
| - | + | ||
| - | Homebrew/ | + | |
| - | Homebrew/ | + | |
| - | Homebrew/ | + | |
| - | Homebrew/ | + | |
| - | Homebrew/ | + | |
| - | Homebrew/ | + | |
| - | Homebrew/ | + | |
| - | Homebrew/ | + | |
| - | Homebrew/ | + | |
| - | Homebrew/ | + | |
| - | davidchall/ | + | |
| - | josegonzalez/ | + | |
| - | + | ||
| - | ------------------------------------------- | + | |
| Locate bitcoin wallet private key from Bitcoin-qt console: | Locate bitcoin wallet private key from Bitcoin-qt console: | ||
| Line 389: | Line 230: | ||
| git -C " | git -C " | ||
| - | | + | |
| - | Apache | + | Apache |
| - | + | ||
| sudo htpasswd -c .htpasswd username1 | sudo htpasswd -c .htpasswd username1 | ||
| - | sudo htpasswd .htpasswd username2 | + | sudo htpasswd .htpasswd username2 |
| - | + | ||
| + | syntax for BSD, macOS, and Red Hat: | ||
| AuthUserFile / | AuthUserFile / | ||
| AuthGroupFile /dev/null | AuthGroupFile /dev/null | ||
| AuthName " | AuthName " | ||
| AuthType Basic | AuthType Basic | ||
| - | + | ||
| - | | + | syntax for Debian: |
| - | | + | |
| - | | + | |
| + | AuthUserFile / | ||
| + | AuthName " | ||
| + | Require | ||
| + | | ||
| If you have an SMC based Mac, make sure to install macfanctl when installing GNU/Linux on the device: | If you have an SMC based Mac, make sure to install macfanctl when installing GNU/Linux on the device: | ||
| Line 412: | Line 259: | ||
| service macfanctld restart | service macfanctld restart | ||
| | | ||
| + | Chromium API - Q5 - add to ~/.profile | ||
| + | |||
| + | export GOOGLE_API_KEY=" | ||
| + | export GOOGLE_DEFAULT_CLIENT_ID=" | ||
| + | export GOOGLE_DEFAULT_CLIENT_SECRET=" | ||
| + | |||
| + | To run the program, you must make a shell script that does: | ||
| + | |||
| + | / | ||
| + | |||
| + | Remove the annoying Gatekeeper ban on open source apps like GIMP | ||
| + | xattr -d com.apple.quarantine / | ||
| - | --- //[[netcmnd@jonathanhaack.com|oemb1905]] 2017/05/15 04:26// | + | This tutorial is a designated " |
| + | --- // | ||