'MAC'에 해당되는 글 6건

  1. 2020.08.27 [Docker] 맥북에 우분투 올리기
  2. 2016.11.23 [Nginx] osx 에 nginx 설치 하기 - brew install
  3. 2016.02.01 [개발환경] .bash_profile 기본 설정
  4. 2015.07.27 [MacPorts] Mac Ports 재설치.
  5. 2013.04.05 맥북 키보드 remapping.
  6. 2013.04.05 맥 + virtualbox + window7 설치.

[Docker] 맥북에 우분투 올리기

Cloud&Container/IaC 2020. 8. 27. 18:32

가끔 필요 할 때가 있습니다.



version: '3.7'
    image: ubuntu:18.04
    container_name: ubuntu-mac
    stdin_open: true
    tty: true
    command: [/bin/bash]


tags : compose, docker, MAC, OSX, ubuntu
Trackbacks 0 : Comments 0

Write a comment

[Nginx] osx 에 nginx 설치 하기 - brew install

ITWeb/개발일반 2016. 11. 23. 10:02

mac osx 에 설치 할 일이 있어서 작성해 봅니다.

$ sudo chown -R '사용자계정' /usr/local/lib/pkgconfig

$ brew install pcre

$ brew link --overwrite pcre

$ brew update

$ sudo chown -R '사용자계정' /usr/local

$ brew install nginx

$ sudo chown root:wheel /usr/local

'사용자계정' 에는 user account 넣어 주시면 됩니다.

예를 들어 henry 라는 계정을 사용하시면)

$ sudo chown -R henry /usr/local/lib/pkgconfig

저는 설치 하다 몇 가지 에러가 발생을 해서 위 순서대로 구성을 하였습니다.

아래는 발생한 에러 입니다.

Error case 1)

Error: The `brew link` step did not complete successfully

The formula built, but is not symlinked into /usr/local

Could not symlink lib/pkgconfig/libpcre.pc

/usr/local/lib/pkgconfig is not writable.

Error case 2)

mkdir: /usr/local/var/run: Permission denied

make[1]: *** [install] Error 1

make: *** [install] Error 2

READ THIS: https://git.io/brew-troubleshooting

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:353:in `open_http': 422 Unprocessable Entity (GitHub::Error)

Validation Failed

Error case 3)

Error: The /usr/local directory is not writable.

Even if this directory was writable when you installed Homebrew, other

software may change permissions on this directory. For example, upgrading

to OS X El Capitan has been known to do this. Some versions of the

"InstantOn" component of Airfoil or running Cocktail cleanup/optimizations

are known to do this as well.

You should probably change the ownership and permissions of /usr/local

back to your user account.

  sudo chown -R $(whoami):admin /usr/local

tags : BREW, install, MAC, nginx, OSX
Trackbacks 0 : Comments 0

Write a comment

[개발환경] .bash_profile 기본 설정

ITWeb/개발일반 2016. 2. 1. 21:34

intellij 나 eclipse 등을 사용하기 전에 일단 ide에서 사용할 기본적인 jdk 나 maven 을 설치 후 계정에 환경 변수 설정 하는 작업입니다.

이런것도 맨날 기억을 못해서 기록해 봅니다.


# .bash_profile

if [ -f ~/.bashrc ]; then

  source ~/.bashrc





export PATH


export JAVA_HOME

tags : bash_profile, MAC
Trackbacks 0 : Comments 0

Write a comment

[MacPorts] Mac Ports 재설치.

ITWeb/개발일반 2015. 7. 27. 11:53



맥북에서 mac port 문제가 있어서 위 문서 보고 재 설치 했습니다.

제 맥북은 MacPorts 2.3.3. 이였습니다.

The OS X package installer automatically installs MacPorts, sets the shell environment, and runs a selfupdate operation to update the ports tree and MacPorts base with the latest release.

  1. Download the latest MacPorts-2.3.3-....pkg installer from the MacPorts download directory. Here are direct links for the latest versions of OS X:

  2. Double-click the downloaded package installer to perform the default easy install.

  3. After this step you are done already, MacPorts is now installed and your shell environment was set up automatically by the installer. To confirm the installation is working as expected, now try using port in a new terminal window.

    $ port version
    Version: 2.3.3

    In case of problems such as command not found, make sure that you opened a new terminal window or consult Section 2.5, “MacPorts and the Shell”. Otherwise, please skip the remainder of this chapter and continue with Chapter 3, Using MacPorts in this guide.

재 설치 하고 나니 잘 됩니다.

tags : MAC, port
Trackbacks 0 : Comments 0

Write a comment

맥북 키보드 remapping.

ITWeb/서버관리 2013. 4. 5. 17:21


Trackbacks 0 : Comments 0

Write a comment

맥 + virtualbox + window7 설치.

ITWeb/서버관리 2013. 4. 5. 15:30


내겐 윈도7이 없다..ㅡ.ㅡ;;

VM까지만 설치 하고 다음을 기약하며...

tags : MAC, VM, windows7
Trackbacks 0 : Comments 0

Write a comment