리자

CentOS 5.4 에서 APM 설치

· 15년 전 · 2912

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,142
15년 전 조회 1,288
15년 전 조회 1,346
15년 전 조회 892
15년 전 조회 1,001
15년 전 조회 966
15년 전 조회 930
15년 전 조회 880
15년 전 조회 943
15년 전 조회 1,083
15년 전 조회 1,102
15년 전 조회 2,623
15년 전 조회 948
15년 전 조회 1,602
15년 전 조회 1,469
15년 전 조회 1,599
15년 전 조회 1,301
15년 전 조회 1,790
15년 전 조회 609
15년 전 조회 1,096
15년 전 조회 1,067
15년 전 조회 2,859
15년 전 조회 3,175
15년 전 조회 1,850
15년 전 조회 1,356
15년 전 조회 1,974
15년 전 조회 1,478
15년 전 조회 1,082
15년 전 조회 3,777
15년 전 조회 1,421
15년 전 조회 1,517
15년 전 조회 2,744
15년 전 조회 1,444
15년 전 조회 4,169
15년 전 조회 2,381
15년 전 조회 3,159
15년 전 조회 1,775
15년 전 조회 2,004
15년 전 조회 1,305
15년 전 조회 4,382
15년 전 조회 3,959
15년 전 조회 3,784
15년 전 조회 5,200
15년 전 조회 3,421
15년 전 조회 1,802
15년 전 조회 1,761
15년 전 조회 1,906
15년 전 조회 1,598
15년 전 조회 3,998
15년 전 조회 2,913
15년 전 조회 2,094
15년 전 조회 1,673
15년 전 조회 1,909
15년 전 조회 2,391
15년 전 조회 1,473
15년 전 조회 2,407
15년 전 조회 1,741
15년 전 조회 1,839
15년 전 조회 1,493
15년 전 조회 2,179
15년 전 조회 1,512
15년 전 조회 1,926
16년 전 조회 2,117
16년 전 조회 1,189
16년 전 조회 1,256
16년 전 조회 1,903
16년 전 조회 5,344
16년 전 조회 1,644
16년 전 조회 2,154
16년 전 조회 2,352
16년 전 조회 1,506
16년 전 조회 1,310
16년 전 조회 2,229
16년 전 조회 4,941
16년 전 조회 2,216
16년 전 조회 2,872
16년 전 조회 1,754
16년 전 조회 3,607
16년 전 조회 4,445
16년 전 조회 3,110
16년 전 조회 2,357
16년 전 조회 2,443
16년 전 조회 2,688
16년 전 조회 2,174
16년 전 조회 5,516
16년 전 조회 3,372
16년 전 조회 1,364
16년 전 조회 1,707
16년 전 조회 5,079
16년 전 조회 2,315
16년 전 조회 3,417
16년 전 조회 2,654
16년 전 조회 1,572
16년 전 조회 5,365
16년 전 조회 2,480
16년 전 조회 5,971
16년 전 조회 1,950
16년 전 조회 4,021
16년 전 조회 3,040
16년 전 조회 2,224
🐛 버그신고