1.gcc컴파일러 설치

https://github.com/kennethreitz/osx-gcc-installer/

자신의 맥버젼에 맞는 버젼을 설치한다.



이제 맥용 패키지 메니져 homebrew을 설치하도록 하자 이미 설치되어있으시면 패스~

2.homebrew 설치

http://brew.sh/

~shell에서 실행

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"


3.nginx 설치

brew install nginx

The default port has been set to 8080 so that nginx can run without sudo.

If you want to host pages on your local machine to the wider network you

can change the port to 80 in: /usr/local/etc/nginx/nginx.conf

You will then need to run nginx as root: `sudo nginx`.


To have launchd start nginx at login:

    ln -sfv /usr/local/opt/nginx/*.plist ~/Library/LaunchAgents

Then to load nginx now:

    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist

==> Summary

'프로그래밍' 카테고리의 다른 글

특수기호 명칭과 다른 표현법  (0) 2013.08.09
Posted by hepaistos

달력

 « |  » 2025.7
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함