yum install zlib* libjpeg* libpng* libxml* krb5* openldap* flex
openssl 소스설치
cd /usr/local/src
wget ftp://ftp.sir.co.kr/pub/etc/openssl-0.9.8a.tar.gz
tar xfz openssl-0.9.8a.tar.gz
cd openssl-0.9.8a
./config;make;make install
curl 소스설치
cd /usr/local/src
wget ftp://ftp.sir.co.kr/pub/etc/curl-7.15.1.tar.bz2
tar xfj curl-7.15.1.tar.bz2
cd curl-7.15.1
./configure;make;make install
iconv 소스설치
cd /usr/local/src
wget ftp://ftp.sir.co.kr/pub/etc/libiconv-1.9.2.tar.gz
tar xfz libiconv-1.9.2.tar.gz
cd libiconv-1.9.2
./configure --prefix=/usr/local
make; make install
mysql 4.1.x 소스설치
rpm -qa | grep mysql
rpm -e mysql-devel mysql --nodeps
rpm -e mysql-server --nodeps
wget ftp://ftp.sir.co.kr/pub/mysql/mysql-4.1.20.tar.gz
./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-mysql-user=mysql --with-charset=euckr
make; make install
/usr/local/mysql/bin/mysql_install_db
echo "/usr/local/mysql/lib/mysql" >> /etc/ld.so.conf
ldconfig
cp /usr/local/mysql/share/mysql/my-medium.cnf /etc/my.cnf
groupadd mysql
useradd -M -c Mysql_server -d /usr/local/mysql -g mysql -s /bin/nologin mysql
chown root.mysql -R /usr/local/mysql
chown mysql.mysql -R /usr/local/mysql/data
# 이전버전과 호환되게 하시려면
echo "/usr/local/mysql/bin/mysqld_safe --old-passwords &" >> /etc/rc.local
# 일반적으로 사용하시려면
echo "/usr/local/mysql/bin/mysqld_safe &" >> /etc/rc.local
Apache 소스설치
cd /usr/local/src
wget ftp://ftp.sir.co.kr/pub/apache/apache_1.3.26.tar.gz
tar xvfz apache_1.3.26.tar.gz
cd apache_1.3.26
./configure --prefix=/usr/local/apache --enable-module=so
make ; make install
echo "/usr/local/apache/lib" >> /etc/ld.so.conf
echo "/usr/local/apache/modules" >> /etc/ld.so.conf
ldconfig
echo "/usr/local/apache/bin/apachectl start" >> /etc/rc.local
PHP 소스설치
cd /usr/local/src
wget ftp://ftp.sir.co.kr/pub/php/php-4.4.4.tar.gz
tar xvfz php-4.4.4.tar.gz
cd php-4.4.4
./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --with-mysql=/usr/local/mysql --with-zlib-dir=/usr/local --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-gif-dir=/usr/local --with-tiff-dir=/usr/local --with-gd --with-openssl --with-gettext --with-kerberos --with-swf-dir=/usr/local/swf --with-mod_charset --with-language=korean --with-charset=euc_kr --with-regex=php --with-dbm --with-gdbm --with-curl --with-ldap --with-xml --with-ttf --enable-module=so --enable-gd-native-ttf --enable-ftp --enable-sockets --disable-debug --enable-sysvsem --enable-sysvshm --enable-shmop --enable-track-vars --enable-freetype-4bit-antialias-hack --enable-calendar --enable-sigchild --enable-magic-quotes --enable-trans-sid --enable-inline-optimization --enable-bcmath --enable-exif --with-iconv
make; make install
cp php.ini-dist /usr/local/lib/php/php.ini
### /usr/local/apache/conf/httpd.conf 에 아래와 같이 추가 및 수정
vi /usr/local/apache/conf/httpd.conf
수정
DirectoryIndex index.html index.htm index.php
추가
AddType application/x-httpd-php .php .php3 .phtml .html .htm .inc
Addtype application/x-httpd-php-source .phps
# Dynamic Share Object (DSO) Support
LoadModule php4_module modules/libphp4.so # 이미 추가되어 있는 경우도 있음
echo "/usr/local/apache/bin/apachectl start" >> /etc/rc.local
댓글 3개
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8130 | 9년 전 | 527 | ||
| 8129 |
|
9년 전 | 657 | |
| 8128 | 9년 전 | 522 | ||
| 8127 |
|
9년 전 | 580 | |
| 8126 | 9년 전 | 511 | ||
| 8125 | 9년 전 | 774 | ||
| 8124 |
|
9년 전 | 529 | |
| 8123 | 9년 전 | 512 | ||
| 8122 | 9년 전 | 440 | ||
| 8121 | 9년 전 | 550 | ||
| 8120 | 9년 전 | 473 | ||
| 8119 | 9년 전 | 556 | ||
| 8118 |
|
9년 전 | 639 | |
| 8117 |
|
9년 전 | 410 | |
| 8116 |
PASKRAN
|
9년 전 | 472 | |
| 8115 | 9년 전 | 461 | ||
| 8114 |
kiplayer
|
9년 전 | 601 | |
| 8113 | 9년 전 | 455 | ||
| 8112 |
|
9년 전 | 563 | |
| 8111 | 9년 전 | 412 | ||
| 8110 | 9년 전 | 448 | ||
| 8109 | 9년 전 | 381 | ||
| 8108 |
|
9년 전 | 550 | |
| 8107 |
|
9년 전 | 444 | |
| 8106 |
|
9년 전 | 445 | |
| 8105 | 9년 전 | 479 | ||
| 8104 |
|
9년 전 | 443 | |
| 8103 |
|
9년 전 | 440 | |
| 8102 |
|
9년 전 | 410 | |
| 8101 |
snshero
|
9년 전 | 797 | |
| 8100 | 9년 전 | 848 | ||
| 8099 | 9년 전 | 819 | ||
| 8098 | 9년 전 | 718 | ||
| 8097 | 9년 전 | 524 | ||
| 8096 | 9년 전 | 722 | ||
| 8095 | 9년 전 | 854 | ||
| 8094 | 9년 전 | 524 | ||
| 8093 | 9년 전 | 810 | ||
| 8092 | 9년 전 | 763 | ||
| 8091 | 9년 전 | 1149 | ||
| 8090 | 9년 전 | 776 | ||
| 8089 | 9년 전 | 982 | ||
| 8088 | 9년 전 | 655 | ||
| 8087 | 9년 전 | 776 | ||
| 8086 | 9년 전 | 528 | ||
| 8085 | 9년 전 | 495 | ||
| 8084 | 9년 전 | 615 | ||
| 8083 | 9년 전 | 583 | ||
| 8082 | 9년 전 | 767 | ||
| 8081 | 9년 전 | 475 | ||
| 8080 | 9년 전 | 576 | ||
| 8079 | 9년 전 | 535 | ||
| 8078 | 9년 전 | 456 | ||
| 8077 | 9년 전 | 542 | ||
| 8076 | 9년 전 | 416 | ||
| 8075 | 9년 전 | 450 | ||
| 8074 | 9년 전 | 408 | ||
| 8073 | 9년 전 | 464 | ||
| 8072 | 9년 전 | 459 | ||
| 8071 |
o1o111
|
9년 전 | 905 | |
| 8070 | 9년 전 | 413 | ||
| 8069 | 9년 전 | 347 | ||
| 8068 | 9년 전 | 601 | ||
| 8067 | 9년 전 | 400 | ||
| 8066 | 9년 전 | 432 | ||
| 8065 | 9년 전 | 392 | ||
| 8064 | 9년 전 | 376 | ||
| 8063 | 9년 전 | 347 | ||
| 8062 | 9년 전 | 314 | ||
| 8061 | 9년 전 | 358 | ||
| 8060 | 9년 전 | 399 | ||
| 8059 | 9년 전 | 336 | ||
| 8058 | 9년 전 | 261 | ||
| 8057 | 9년 전 | 394 | ||
| 8056 | 9년 전 | 315 | ||
| 8055 | 9년 전 | 362 | ||
| 8054 | 9년 전 | 372 | ||
| 8053 | 9년 전 | 419 | ||
| 8052 | 9년 전 | 297 | ||
| 8051 | 9년 전 | 341 | ||
| 8050 | 9년 전 | 398 | ||
| 8049 | 9년 전 | 333 | ||
| 8048 | 9년 전 | 442 | ||
| 8047 | 9년 전 | 374 | ||
| 8046 | 9년 전 | 319 | ||
| 8045 | 9년 전 | 270 | ||
| 8044 | 9년 전 | 352 | ||
| 8043 | 9년 전 | 302 | ||
| 8042 | 9년 전 | 301 | ||
| 8041 | 9년 전 | 362 | ||
| 8040 | 9년 전 | 286 | ||
| 8039 | 9년 전 | 325 | ||
| 8038 | 9년 전 | 275 | ||
| 8037 | 9년 전 | 414 | ||
| 8036 | 9년 전 | 497 | ||
| 8035 | 9년 전 | 442 | ||
| 8034 | 9년 전 | 398 | ||
| 8033 | 9년 전 | 358 | ||
| 8032 | 9년 전 | 455 | ||
| 8031 | 9년 전 | 360 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기