문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판이전 판다음 판 | 이전 판 | ||
| mac:home [2023/11/30 14:36] – [macOS 초기설정] taekgu | mac:home [2025/04/15 10:05] (현재) – 바깥 편집 127.0.0.1 | ||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| + | ====== macOS관련 ====== | ||
| + | |||
| + | * [[windows: | ||
| + | ===== macOS 초기설정 ===== | ||
| + | - 도메인설정< | ||
| + | <-- 이 파일은 자동갱신 되는 파일임 | ||
| + | search garamx.com <-- 이것이 설정되어 있어야 함 | ||
| + | nameserver 168.126.63.1 | ||
| + | nameserver 168.126.63.2 | ||
| + | </ | ||
| + | 설정에서 네트워크 검색도메인을 설정해야함 | ||
| + | </ | ||
| + | - XCode를 설치한다.< | ||
| + | 1. developer.apple.com/ | ||
| + | </ | ||
| + | - locale 설정 <code bash .zprofile> | ||
| + | # remote ssh 접속시에 올바른 locale표시를 위해서 필요.2023.11.30check | ||
| + | export LC_ALL=ko_KR.UTF-8 | ||
| + | export LANG=ko_KR.UTF-8 | ||
| + | </ | ||
| + | - [[mac: | ||
| + | - jdk설치(openJDK8, | ||
| + | - GCloud 설치 - 굳이 설치 안 하여도 됨 | ||
| + | - brew 설치(Command Line Tools for Xcode) | ||
| + | - brew install node | ||
| + | - npm install -g npm | ||
| + | - [[mac: | ||
| + | - oracle SQLDeveloper 설치 | ||
| + | - postgreSQL설치< | ||
| + | postgres -D / | ||
| + | or | ||
| + | pg_ctl -D / | ||
| + | </ | ||
| + | - python설치 | ||
| + | - [[mac: | ||
| + | - [[mac: | ||
| + | - 모니터설치 27uk850 | ||
| + | - 설치실패 | ||
| + | ===== macOS 기타 ===== | ||
| + | * [[mac: | ||
| + | * [[mac: | ||
| + | * [[mac: | ||
| + | * [[Mac: | ||
| + | < | ||
| + | MacOS: | ||
| + | |||
| + | alias ll='ls -lG' | ||
| + | Linux: | ||
| + | |||
| + | alias ll='ls -l --color=auto' | ||
| + | Stick that in ~/.bashrc. | ||
| + | </ | ||
| + | |||
| + | * File Encoding변경 | ||
| + | <code bash> | ||
| + | iconv -f cp949 -t utf8 < foo.tex > bar.tex | ||
| + | </ | ||
| + | |||
| + | ===== iso로부터 USB Stick 만들기 ===== | ||
| + | <code bash> | ||
| + | 1. diskutil list | ||
| + | 2. diskutil unmountDisk /dev/disk4 | ||
| + | 3. sudo dd if=ubuntu.iso of=/ | ||
| + | 4. diskutil eject /dev/disk4 | ||
| + | </ | ||
| + | |||
| + | dd if=FILE of=FILE status=LEVEL | ||
| + | |||
| + | * ubuntu.iso 파일을 /dev/sda 장치로 보냄 | ||
| + | <code bash> | ||
| + | $ sudo dd if=ubuntu.iso of=/ | ||
| + | </ | ||
| + | |||
| + | * bs : input and output block size to n bytes | ||
| + | * if : read input from file instead of standard | ||
| + | * of : output to file instead of the standard output | ||
| + | * status : progress Print basic transfer statistics once per second | ||
| + | |||
| + | |||
| + | ===== Eclipse ===== | ||
| + | eclipse.ini에서 -Dorg.eclipse.swt.internal.carbon.smallFonts를 삭제하고 재시작 | ||
| + | |||
| + | ===== JDK설치 ===== | ||
| + | https:// | ||
| + | <code bash> | ||
| + | % brew tap AdoptOpenJDK/ | ||
| + | % brew search adoptopenjdk | ||
| + | ==> Casks | ||
| + | adoptopenjdk ✔ adoptopenjdk12-openj9-jre | ||
| + | adoptopenjdk-jre | ||
| + | adoptopenjdk12-openj9 | ||
| + | % brew install adoptopenjdk15 | ||
| + | ==> Downloading https:// | ||
| + | Already downloaded: / | ||
| + | ==> Installing Cask adoptopenjdk15 | ||
| + | ==> Running installer for adoptopenjdk15; | ||
| + | Package installers may write to any location; options such as `--appdir` are ignored. | ||
| + | Password: | ||
| + | installer: Package name is AdoptOpenJDK | ||
| + | installer: Installing at base path / | ||
| + | installer: The install was successful. | ||
| + | package-id: net.adoptopenjdk.15.jdk | ||
| + | version: 15.0.2+7 | ||
| + | volume: / | ||
| + | location: | ||
| + | install-time: | ||
| + | 🍺 adoptopenjdk15 was successfully installed! | ||
| + | % | ||
| + | </ | ||