Notice
Recent Posts
Recent Comments
«   2024/04   »
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
Tags
more
Archives
Today
Total
관리 메뉴

김쨈창고

맥 세팅 본문

DEV

맥 세팅

류쨩 2016. 6. 2. 17:22

아파치 세팅

http://onlyu.blog.me/220197514222

sudo nano /etc/apache2/httpd.conf

<Directory "/Users/username/Sites/">

AllowOverride All
Options Indexes MultiViews FollowSymLinks
Require all granted
</Directory>

주석처리되어있는 php모듈을 살려준다.

LoadModule php5_module libexec/apache2/libphp5.so

서버 리스타트
sudo apachectl restart


 

html 파일에서 php 문법 적용되도록하려면...

mod_cgi

mod_expires

mod_include 살려주고...

<Directory />
    AllowOverride All
    Options Indexes MultiViews FollowSymLinks Includes
    Require all granted
    AddHandler application/x-httpd-php .php .html .htm
    AddType application/x-httpd-php .php .html .htm
</Directory>

 

mysql 설치

http://blog.iolate.kr/194

요세미티면 10.8 버전 dmg 파일로 설치

1. mysql 접속

mysql -u root -p
Enter password:


xe 설치

아파치 서버 설정을 바꾸지않으면 internal server error 뜸
mod_rewrite module이 활성화되지 않아서 발생하는 문제

http://martian36.tistory.com/756

주석처리되어있는 아래 모듈을 활성화시켜줘야한다.

LoadModute rewritemoaute modules/modrewrite.so

숨김파일 표시

defaults write com.apple.finder AppleShowAllFiles -bool YES

host 세팅

http://macnews.tistory.com/2039


시동음 끄기

sudo nvram SystemAudioVolume=%80


메신저 와이파이로

sudo route -n add 10.118.150.145 10.67.72.1 (wifi 라우터)


단축키

한자 옵션+리턴

특수문자 : 컨트롤+커맨드+스페이스


'DEV' 카테고리의 다른 글

Sublime Text에서 Markdown 파일 편집하기  (0) 2016.07.14
Comments