MacOS Setup


  1. Install
    1. Hackintosh
      • git: open terminal and type git. then install will be asked.
      • python3: download from python3 site. for ProperTree black screen.
      • ProperTree: $ git clone https://github.com/corpnewt/ProperTree
      • mountEFI: $ git clone https://github.com/corpnewt/mountEFI
      • GenSMBIOS: $ git clone https://github.com/corpnewt/GenSMBIOS (python script)
      • wget
    2. Brew
      • brew (homebrew): a shell command is defined in their webpage.
      • emacs: $ brew install emacs
      • Note: it takes a long time due to many "makes"
        This is a command line or (non-GUI) terminal emacs.
      • emacs: $ brew install svn
    3. Localsend
    4. Developper's
      • Xcode.
    5. Jailbreak
      • checkra1n
      • palera1n
    6. (GUI) Emacs
    7. This is super convinient: Download this .emacs for swapping Command with Ctrl in emacs.
      Copy .emacs. # switch command to Ctrl.
    8. Karabiner-Elements:
      • Finder: Enter to Open
      • Finder: Del to move a file to trash. (etc)
  2. MacOS Settings
    1. Keyboard Type: for JP-106 Keyboard (JIS)
    2. trackpad "tap to click".
    3. enable ssh: finder/application/setup/share/enable remote login
    4. Finder->preferences
      • General: show my pc
      • show all file extensions.
    5. Open a terminal from a terminal: $ open -a Terminal .
    6. It opens a terminal with the current directory.
  3. Enable built-in apache2
    1. $ sudo apachectl start
    2. $ sudo emacs /etc/apache2/httpd.conf
    3. uncomment these two elements below.
      1. LoadModule userdir_module libexec/apache2/mod_userdir.so
      2. Include /private/etc/apache2/extra/httpd-userdir.conf
    4. $ sudo emacs /etc/apache2/extra/httpd-userdir.conf
    5. uncomment these two elements below.
      1. Include /private/etc/apache2/users/*.conf
    6. $ sudo emacs /etc/apache2/users/doctor.conf
    7.       
          AllowOverride All
          Options Indexes MultiViews FollowSymLinks
          Require all granted
            
            
    8. $ chmod 755 ~doctor/
    9. $ sudo apachectrl restart
  4. Shortcut shortcuts by apple.com
    1. show dot files: Command+Shift+.
    2. $ defaults write com.apple.finder AppleShowAllFiles YES
    3. Jump to menubar: Ctrl+F2.
    4. task: CTRL+ALT+DEL = Command+Option(ALT)+ESC
    5. screenshot: Command+Shift+3 / Command + Shift + 4
    6. Change Keyboard: Ctrl + Space
    7. Run Terminal: Command + Space --> Terminal.
    8. Workspace
      • Show workspace: 3 finger tap and move upward
      • Switch workspace: Ctrl + left or right.
  5. Go to Home on Finder: Command+Shift+H.
  6. Rename select icon and then Enter. (F2 in Windows)

Go back to Computer

20181124