Skip to content

CHICPRO

  • Life Log
  • Cycling Log
  • Photo Log
    • Portrait
    • Landscape
    • Flower
    • Etc
  • Coding Log
  • Information

NGINX 1.4.2 + MySQL 5.6.13 + PHP 5.5.3 설치

2013-09-01 by 편리

주말에 항상 하게되는.. 안하려고 하다가도 나도 모르게 하고 있는 그 시간.. 삽질의 시간.. 이번 주도 어김없다. 어제 문득 MySQL 5.6을 설치해보면 어떨까 하는 생각이 들어서 밤에 시작했다가 일단 마무리 하고 오늘 다시 일어나서 MariaDB와 몇번 번갈아가며 설치를 하다가 결국 MySQL 5.6을 서버에 설치하고 말았다. 왜 이런 삽질을 매주 하고 있는 것인지 모르겠다.

1. NGINX 1.4.2 설치


# wget http://nginx.org/download/nginx-1.4.2.tar.gz
# tar xvfz nginx-1.4.2.tar.gz
# cd nginx-1.4.2
# ./configure --prefix=/usr/local/nginx \
--user=daemon --group=daemon \
--with-http_ssl_module --with-http_gzip_static_module \
--without-mail_pop3_module --without-mail_imap_module \
--without-mail_smtp_module
# make
# make install

2. MySQL 5.5.13 설치


# wget ftp://ftp.sayclub.co.kr/mysql/Downloads/MySQL-5.6/mysql-5.6.13.tar.gz
# tar xvfz mysql-5.6.13.tar.gz
# cd mysql-5.6.13
# cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \
-DMYSQL_UNIX_ADDR=/tmp/mysql.sock \
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8_general_ci \
-DWITH_EXTRA_CHARSETS=all \
-DMYSQL_DATADIR=/usr/local/mysql/data \
-DENABLED_LOCAL_INFILE=1 \
-DWITH_MYISAM_STORAGE_ENGINE=1 \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_ARCHIVE_STORAGE_ENGINE=1 \
-DWITH_BLACKHOLE_STORAGE_ENGINE=1 \
-DWITH_MEMORY_STORAGE_ENGINE=1 \
-DWITH_READLINE=1 \
-DENABLED_LOCAL_INFILE=1 \
-DMYSQL_TCP_PORT=3306 \
-DSYSCONFDIR=/etc \
-DENABLE_DOWNLOADS=1
# make
# make install

3. PHP 5.5.3 설치


# wget http://kr1.php.net/distributions/php-5.5.3.tar.gz
# tar zvfz php-5.5.3.tar.gz
# cd php-5.5.3
# ./configure --prefix=/usr/local/php \
--with-config-file-path=/usr/local/php/etc \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-gd --with-curl \
--with-jpeg-dir=/usr \
--with-freetype-dir=/usr \
--with-png-dir=/usr \
--with-xpm-dir=/usr \
--with-zlib \
--with-zlib-dir=/usr \
--with-gdbm \
--with-gettext \
--with-iconv \
--with-openssl \
--enable-gd-native-ttf \
--enable-exif \
--enable-sockets \
--enable-soap \
--enable-mbstring=all \
--enable-bcmath \
--with-libxml-dir=/usr/lib \
--enable-ftp \
--with-mcrypt \
--enable-opcache \
--enable-fpm \
--enable-zip
# make
# make install

NGINX + MySQL + PHP 설치 옵션을 정리했다. 설치 후 NGINX와 PHP-FPM 설정은 이전 글 https://chicpro.dev/10078 를 참고하면 된다.

Post navigation

Previous Post:

Intel® Solid-State Drive Toolbox

Next Post:

phpMyAdmin 메인의 경고 메세지 보이지 않기

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • php 배열 연산에서 + 와 array_merge 의 차이
  • pcntl_fork 를 이용한 다중 프로세스 실행
  • 아이폰 단축어를 이용하여 주중 공휴일엔 알람 울리지 않게 하기
  • 구글 캘린더 전체일정 재동기화
  • OpenLiteSpeed 웹서버에 HTTP 인증 적용
  • OpenLiteSpeed 웹어드민 도메인 연결
  • WireGuard를 이용한 VPN 환경 구축
  • Ubuntu 22.04 서버에 OpenLiteSpeed 웹서버 세팅
  • 맥 vim 세팅
  • 우분투 시스템 터미널쉘 zsh 로 변경

Recent Comments

  • 편리 on 업무관리용 그누보드 게시판 스킨
  • 임종섭 on 업무관리용 그누보드 게시판 스킨
  • 캐논 5D 펌웨어 | Dslr 펌웨어 업그레이드 방법 82 개의 베스트 답변 on 캐논 EOS 30D 펌웨어 Ver 1.0.6 , EOS 5D 펌웨어 Ver 1.1.1
  • Top 5 캐논 5D 펌웨어 Top 89 Best Answers on 캐논 EOS 30D 펌웨어 Ver 1.0.6 , EOS 5D 펌웨어 Ver 1.1.1
  • 편리 on 워드프레스 애니메이션 gif 파일을 mp4로 변환하여 출력하기
  • 임팀장 on 워드프레스 애니메이션 gif 파일을 mp4로 변환하여 출력하기
  • 편리 on Notepad++ NppFTP 플러그인 수동 설치
  • paul-j on Notepad++ NppFTP 플러그인 수동 설치
  • YS on Windows 10 iCloud 사진 저장 폴더 변경
  • 편리 on Docker를 이용한 Centos7 + httpd + php 5.4 개발환경 구축

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2025 CHICPRO | Built using WordPress and SuperbThemes