리자

CentOS 5.4 에서 APM 설치

· 15년 전 · 2904

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,136
15년 전 조회 1,281
15년 전 조회 1,340
15년 전 조회 884
15년 전 조회 994
15년 전 조회 958
15년 전 조회 923
15년 전 조회 870
15년 전 조회 935
15년 전 조회 1,074
15년 전 조회 1,099
15년 전 조회 2,613
15년 전 조회 941
15년 전 조회 1,596
15년 전 조회 1,463
15년 전 조회 1,588
15년 전 조회 1,295
15년 전 조회 1,783
15년 전 조회 601
15년 전 조회 1,089
15년 전 조회 1,059
15년 전 조회 2,850
15년 전 조회 3,168
15년 전 조회 1,837
15년 전 조회 1,348
15년 전 조회 1,967
15년 전 조회 1,471
15년 전 조회 1,075
15년 전 조회 3,770
15년 전 조회 1,411
15년 전 조회 1,508
15년 전 조회 2,739
15년 전 조회 1,432
15년 전 조회 4,159
15년 전 조회 2,372
15년 전 조회 3,148
15년 전 조회 1,768
15년 전 조회 1,997
15년 전 조회 1,297
15년 전 조회 4,373
15년 전 조회 3,954
15년 전 조회 3,776
15년 전 조회 5,192
15년 전 조회 3,416
15년 전 조회 1,794
15년 전 조회 1,753
15년 전 조회 1,900
15년 전 조회 1,592
15년 전 조회 3,992
15년 전 조회 2,905
15년 전 조회 2,087
15년 전 조회 1,666
15년 전 조회 1,902
15년 전 조회 2,383
15년 전 조회 1,466
15년 전 조회 2,399
15년 전 조회 1,734
15년 전 조회 1,833
15년 전 조회 1,488
15년 전 조회 2,175
15년 전 조회 1,503
15년 전 조회 1,922
16년 전 조회 2,112
16년 전 조회 1,185
16년 전 조회 1,249
16년 전 조회 1,897
16년 전 조회 5,336
16년 전 조회 1,635
16년 전 조회 2,145
16년 전 조회 2,346
16년 전 조회 1,496
16년 전 조회 1,307
16년 전 조회 2,219
16년 전 조회 4,934
16년 전 조회 2,210
16년 전 조회 2,866
16년 전 조회 1,747
16년 전 조회 3,598
16년 전 조회 4,437
16년 전 조회 3,104
16년 전 조회 2,350
16년 전 조회 2,431
16년 전 조회 2,682
16년 전 조회 2,169
16년 전 조회 5,509
16년 전 조회 3,365
16년 전 조회 1,357
16년 전 조회 1,698
16년 전 조회 5,073
16년 전 조회 2,304
16년 전 조회 3,411
16년 전 조회 2,646
16년 전 조회 1,561
16년 전 조회 5,356
16년 전 조회 2,474
16년 전 조회 5,965
16년 전 조회 1,942
16년 전 조회 4,016
16년 전 조회 3,033
16년 전 조회 2,215
🐛 버그신고