20th Anniversary
  회원가입   회원찾기
  ID PW
 
  공통
  Solaris x86
  Solaris
  이전 나만의 팁
 

   제 목 : Solaris 8에서 Apache2.0.59+PHP5.1.6+Mysql4/.1+Zend 설치
   작성자 : 정성수 날짜 : 2006-09-23
   분류 : Solaris 조회수 : 7650

참 힘든과정이네요....Linux 자료는 엄청많은데...
1. Binary(pkgadd) 설치 대상 파일
-rw-r--r-- 1 web other 65319936 2006년 3월 11일 gcc-2.95.3-sol8-sparc-local
-rw-r--r-- 1 web other 1637376 9월 1일 17:59 giflib-4.1.0-sol8-sparc-local
-rw-r--r-- 1 web other 1406464 9월 1일 17:59 gd-2.0.33-sol8-sparc-local
-rw-r--r-- 1 web other 6599680 9월 1일 17:59 freetype-2.1.9-sol8-sparc-local
-rw-r--r-- 1 web other 2482176 9월 1일 17:59 curl-7.15.4-sol8-sparc-local
-rw-r--r-- 1 web other 1490432 9월 1일 17:59 libpng-1.2.12-sol8-sparc-local
-rw-r--r-- 1 web other 2348032 9월 1일 17:59 libiconv-1.9.2-sol8-sparc-local
-rw-r--r-- 1 web other 7549952 9월 1일 17:59 t1lib-5.1.0-sol8-sparc-local
-rw-r--r-- 1 web other 3363328 9월 1일 17:59 proftpd-1.2.10rc1-sol8-sparc-local
-rw-r--r-- 1 web other 4399104 9월 1일 17:59 tiff-3.7.4-sol8-sparc-local
-rw-r--r-- 1 web other 1288704 9월 12일 11:31 bzip2-1.0.2-sol8-sparc-local
-rw-r--r-- 1 web other 88840192 9월 14일 11:51 gcc-3.4.6-sol8-sparc-local
-rw-r--r-- 1 web other 30914560 9월 14일 11:56 libgcc-3.3-sol8-sparc-local
-rw-r--r-- 1 web other 15518208 9월 14일 12:54 libxml2-2.6.16-sol8-sparc-local
-rw-r--r-- 1 web other 2462208 9월 14일 13:17 libgcrypt-1.2.2-sol8-sparc-local
-rw-r--r-- 1 web other 10412032 9월 14일 13:18 openssl-0.9.7g-sol8-sparc-local
-rw-r--r-- 1 web other 10714112 9월 14일 13:30 openssl-0.9.6i-sol8-sparc-local
-rw-r--r-- 1 web other 11904000 9월 14일 13:42 openssl-0.9.8c-sol8-sparc-local
-rw-r--r-- 1 web other 2096128 9월 14일 15:36 qdbm-1.8.0-sol8-sparc-local
-rw-r--r-- 1 web other 1269248 9월 14일 15:56 gdbm-1.8.3-sol8-sparc-local
-rw-r--r-- 1 web other 858112 9월 14일 16:09 jpeg-6b-sol8-sparc-local
-rw-r--r-- 1 root other 90112 9월 22일 04:28 autossh-1.4a-sol8-sparc-local
-rw-r--r-- 1 root other 781312 9월 23일 01:24 libintl-3.4.0-sol8-sparc-local
-rw-r--r-- 1 root other 4716544 9월 23일 01:34 autoconf-2.59-sol8-sparc-local
-rw-r--r-- 1 root other 1024512 9월 23일 01:34 m4-1.4.2-sol8-sparc-local

2. 소스 설치 파일
drwxr-xr-x 4 root root 512 2006년 1월 8일 ZendOptimizer-2.6.2-sunos5.8-sparc
-rw-r--r-- 1 root other 13352960 9월 22일 06:12 ZendOptimizer-2.6.2-sunos5.8-sparc.tar
drwxrwxrwx 10 root root 1024 9월 23일 01:56 bison-2.0
-rw-r--r-- 1 root other 6123520 9월 23일 01:44 bison-2.0.tar
drwxr-xr-x 3 31508 staff 1536 9월 23일 02:11 flex-2.5.4
-rw-r--r-- 1 root other 1392640 9월 23일 02:08 flex-2.5.4a.tar
drwxr-xr-x 12 500 500 1024 9월 23일 00:21 httpd-2.0.59
-rw-r--r-- 1 web other 28303360 2006년 3월 10일 httpd-2.0.59.tar
-rw-r--r-- 1 root other 86036480 9월 21일 05:08 mysql-4.1.13.tar
drwxr-xr-x 18 1002 1002 2560 9월 23일 10:17 php-5.1.6
-rw-r--r-- 1 web other 45844480 2006년 3월 10일 php-5.1.6.tar
drwxr-xr-x 11 501 80 1536 9월 23일 00:55 zlib-1.2.3
-rw-r--r-- 1 root other 2109440 9월 23일 00:53 zlib-1.2.3.tar


3. MYSQL 설치준비
./configure --prefix=/usr/local/sql --with-charset=euckr --localstatedir=/usr/local/mysql/data

make

make install



/usr/local/sql/bin/mysql_install_db


4. APACHE Install

cd /web1/setup/src/httpd-2.0.59

./configure --prefix=/usr/local/apache --enable-so

make

make install



5. PHP Install

cd /web1/setup/src/php-5.1.6

./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local/sql --with-mysqli=/usr/local/sql/bin/mysql_config \
--with-config-file-path=/usr/local/lib \
--with-exec-dir=/usr/local/apache/bin \
--with-gd --with-jpeg-dir=/usr/local/jpeg --with-png --with-zlib \
--with-freetype-dir=/usr/local/include/freetype2 \
--with-tiff --with-language=korean --with-charset=euc_kr \
--with-xml --with-iconv --with-pdflib \
--with-kerberos --with-ttf-dir=/usr/local/include \
--with-yp --with-curl --with-gdbm \
--enable-gd-native-ttf --enable-gdbm \
--enable-freetype-4bit-antialias-hack --enable-trans-id \
--enable-ctype --enable-calendar --enable-bcmath --enable-inline-optimization \
--enable-url-includes --enable-ftp --enable-sockets \
--enable-sysvshm --enable-sysvsem \
--enable-track-vars --enable-wddx --enable-exif \
--enable-modules=so --enable-mbstring \
--enable-mbstr-enc-trans --enable-gettext --enable-xmlrpc --disable-debug

make


make install

php.ini를 복사한다.
cp php.ini-dist /usr/local/lib/php.ini

6. 아파치 설정 변경
vi /usr/local/apache/conf/httpd.conf
아래 내용 추가
AddType application/x-httpd-php .php .phtml .php3 .html .htm
AddType application/x-httpd-php-source .phps


ServerName drscada

#Group #-1 --> Group nogroup 으로 변경





7. Zend Optimizer 설치

cd /web1/setup/ZendOptimizer-2.6.2-sunos5.8-sparc
./install-tty

Zend는 아래 메시지와 일치해야 합니다.
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with Zend Extension Manager v1.0.9, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v2.6.2, Copyright (c) 1998-2006, by Zend Technologies


순서대로 하면 됩니다.

참고로
1. 모든 에러와 메시지는 google에서 참조했습니다.
2. 제 환경은 SunUltra 2 32Bit Solaris 8 KSH을 사용했습니다.
3. 각 화일은 sunfreeware.com, gnu.org, php.net, mysql.com, apache.org에서 down 받았습니다.


[목록보기]  [출력]  


[ 관련글 보기 ]
번호 제목 작성자 등록일 조회수
1    Warning: Use of undefined constant subject - assumed 'subject' (this will throw an Error in a future version of PHP) in /export/home/webroots/solarisschoolroot/www/tip/view.html on line 250 Warning: Use of undefined constant subject - assumed 'subject' (this will throw an Error in a future version of PHP) in /export/home/webroots/solarisschoolroot/www/tip/view.html on line 250 Warning: Use of undefined constant level - assumed 'level' (this will throw an Error in a future version of PHP) in /export/home/webroots/solarisschoolroot/www/tip/view.html on line 252 Solaris 8에서 Apache2.0.59+PHP5.1.6+Mysql4/.1+Zend 설치 Warning: Use of undefined constant writer - assumed 'writer' (this will throw an Error in a future version of PHP) in /export/home/webroots/solarisschoolroot/www/tip/view.html on line 268 정성수 Warning: Use of undefined constant regdate - assumed 'regdate' (this will throw an Error in a future version of PHP) in /export/home/webroots/solarisschoolroot/www/tip/view.html on line 270 2006-09-23 Warning: Use of undefined constant viewcnt - assumed 'viewcnt' (this will throw an Error in a future version of PHP) in /export/home/webroots/solarisschoolroot/www/tip/view.html on line 271 7650
2    Warning: Use of undefined constant subject - assumed 'subject' (this will throw an Error in a future version of PHP) in /export/home/webroots/solarisschoolroot/www/tip/view.html on line 250 Warning: Use of undefined constant subject - assumed 'subject' (this will throw an Error in a future version of PHP) in /export/home/webroots/solarisschoolroot/www/tip/view.html on line 250 Warning: Use of undefined constant level - assumed 'level' (this will throw an Error in a future version of PHP) in /export/home/webroots/solarisschoolroot/www/tip/view.html on line 252 Warning: Use of undefined constant level - assumed 'level' (this will throw an Error in a future version of PHP) in /export/home/webroots/solarisschoolroot/www/tip/view.html on line 253 좋은자료감사합니다. Warning: Use of undefined constant writer - assumed 'writer' (this will throw an Error in a future version of PHP) in /export/home/webroots/solarisschoolroot/www/tip/view.html on line 268 현민원 Warning: Use of undefined constant regdate - assumed 'regdate' (this will throw an Error in a future version of PHP) in /export/home/webroots/solarisschoolroot/www/tip/view.html on line 270 2007-08-22 Warning: Use of undefined constant viewcnt - assumed 'viewcnt' (this will throw an Error in a future version of PHP) in /export/home/webroots/solarisschoolroot/www/tip/view.html on line 271 6595
  사이트 소개  |  연락처  |  사이트 맵  |  이메일주소 무단 수집 거부 Copyright (c) 2021 Solaris School. All rights reserved.