리자

CentOS 5.4 에서 APM 설치

· 15년 전 · 2899

yum install -y libtermcap-devel

wget ftp://ftp.sir.co.kr/pub/mysql/mysql-4.1.20.tar.gz
tar xfz mysql-4.1.20.tar.gz
cd mysql-4.1.20
./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --enable-thread-safe-client --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-huge.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 &" >> /etc/rc.local

 

 

cd
wget ftp://ftp.sir.co.kr/pub/apache/httpd-2.2.14.tar.gz
tar xfz httpd-2.2.14.tar.gz
cd httpd-2.2.14
./configure --prefix=/usr/local/apache2 --enable-module=so --with-mpm=worker
make
make install

 

yum install libxml2-devel

cd
wget ftp://ftp.sir.co.kr/pub/php/php-5.3.1.tar.gz
tar xfz php-5.3.1.tar.gz
cd php-5.3.1
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql
make
make install
cp php.ini-production /usr/local/lib/php.ini

<?php 대신 <? 를 사용하려면
/usr/local/lib/php.ini 에서 short_open_tag 를 On 으로 변경할것

# selinux 는 disabled 시킬것

# apachectl 에러가 발생하는 경우
chcon -t textrel_shlib_t '/usr/local/apache2/modules/libphp5.so'

[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

프로그램

+
제목 글쓴이 날짜 조회
15년 전 조회 2,134
15년 전 조회 1,278
15년 전 조회 1,334
15년 전 조회 881
15년 전 조회 991
15년 전 조회 952
15년 전 조회 919
15년 전 조회 869
15년 전 조회 929
15년 전 조회 1,072
15년 전 조회 1,094
15년 전 조회 2,612
15년 전 조회 938
15년 전 조회 1,590
15년 전 조회 1,461
15년 전 조회 1,581
15년 전 조회 1,291
15년 전 조회 1,779
15년 전 조회 595
15년 전 조회 1,082
15년 전 조회 1,055
15년 전 조회 2,849
15년 전 조회 3,160
15년 전 조회 1,836
15년 전 조회 1,343
15년 전 조회 1,960
15년 전 조회 1,466
15년 전 조회 1,072
15년 전 조회 3,766
15년 전 조회 1,407
15년 전 조회 1,506
15년 전 조회 2,733
15년 전 조회 1,430
15년 전 조회 4,156
15년 전 조회 2,370
15년 전 조회 3,145
15년 전 조회 1,764
15년 전 조회 1,994
15년 전 조회 1,293
15년 전 조회 4,370
15년 전 조회 3,950
15년 전 조회 3,772
15년 전 조회 5,186
15년 전 조회 3,408
15년 전 조회 1,789
15년 전 조회 1,748
15년 전 조회 1,896
15년 전 조회 1,589
15년 전 조회 3,987
15년 전 조회 2,900
15년 전 조회 2,084
15년 전 조회 1,660
15년 전 조회 1,898
15년 전 조회 2,380
15년 전 조회 1,462
15년 전 조회 2,395
15년 전 조회 1,731
15년 전 조회 1,829
15년 전 조회 1,480
15년 전 조회 2,172
15년 전 조회 1,499
15년 전 조회 1,919
16년 전 조회 2,109
16년 전 조회 1,183
16년 전 조회 1,245
16년 전 조회 1,890
16년 전 조회 5,334
16년 전 조회 1,634
16년 전 조회 2,142
16년 전 조회 2,343
16년 전 조회 1,492
16년 전 조회 1,301
16년 전 조회 2,214
16년 전 조회 4,930
16년 전 조회 2,205
16년 전 조회 2,861
16년 전 조회 1,743
16년 전 조회 3,594
16년 전 조회 4,433
16년 전 조회 3,101
16년 전 조회 2,347
16년 전 조회 2,429
16년 전 조회 2,678
16년 전 조회 2,164
16년 전 조회 5,505
16년 전 조회 3,359
16년 전 조회 1,350
16년 전 조회 1,696
16년 전 조회 5,068
16년 전 조회 2,303
16년 전 조회 3,408
16년 전 조회 2,642
16년 전 조회 1,558
16년 전 조회 5,354
16년 전 조회 2,469
16년 전 조회 5,960
16년 전 조회 1,937
16년 전 조회 4,011
16년 전 조회 3,029
16년 전 조회 2,213
🐛 버그신고