리자

CentOS 5.4 에서 APM 설치

· 15년 전 · 2892

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,125
15년 전 조회 1,269
15년 전 조회 1,323
15년 전 조회 869
15년 전 조회 983
15년 전 조회 945
15년 전 조회 912
15년 전 조회 860
15년 전 조회 921
15년 전 조회 1,066
15년 전 조회 1,085
15년 전 조회 2,603
15년 전 조회 932
15년 전 조회 1,584
15년 전 조회 1,453
15년 전 조회 1,573
15년 전 조회 1,282
15년 전 조회 1,769
15년 전 조회 591
15년 전 조회 1,079
15년 전 조회 1,048
15년 전 조회 2,839
15년 전 조회 3,152
15년 전 조회 1,830
15년 전 조회 1,336
15년 전 조회 1,953
15년 전 조회 1,459
15년 전 조회 1,062
15년 전 조회 3,757
15년 전 조회 1,399
15년 전 조회 1,496
15년 전 조회 2,724
15년 전 조회 1,424
15년 전 조회 4,149
15년 전 조회 2,361
15년 전 조회 3,141
15년 전 조회 1,758
15년 전 조회 1,986
15년 전 조회 1,286
15년 전 조회 4,364
15년 전 조회 3,937
15년 전 조회 3,766
15년 전 조회 5,181
15년 전 조회 3,401
15년 전 조회 1,782
15년 전 조회 1,743
15년 전 조회 1,887
15년 전 조회 1,581
15년 전 조회 3,979
15년 전 조회 2,893
15년 전 조회 2,078
15년 전 조회 1,655
15년 전 조회 1,891
15년 전 조회 2,371
15년 전 조회 1,456
15년 전 조회 2,390
15년 전 조회 1,724
15년 전 조회 1,820
15년 전 조회 1,474
15년 전 조회 2,164
15년 전 조회 1,493
15년 전 조회 1,908
15년 전 조회 2,101
15년 전 조회 1,178
15년 전 조회 1,236
15년 전 조회 1,880
15년 전 조회 5,325
16년 전 조회 1,627
16년 전 조회 2,135
16년 전 조회 2,336
16년 전 조회 1,484
16년 전 조회 1,293
16년 전 조회 2,207
16년 전 조회 4,922
16년 전 조회 2,199
16년 전 조회 2,856
16년 전 조회 1,736
16년 전 조회 3,588
16년 전 조회 4,426
16년 전 조회 3,095
16년 전 조회 2,340
16년 전 조회 2,420
16년 전 조회 2,671
16년 전 조회 2,158
16년 전 조회 5,500
16년 전 조회 3,351
16년 전 조회 1,344
16년 전 조회 1,689
16년 전 조회 5,060
16년 전 조회 2,297
16년 전 조회 3,400
16년 전 조회 2,634
16년 전 조회 1,553
16년 전 조회 5,345
16년 전 조회 2,461
16년 전 조회 5,952
16년 전 조회 1,928
16년 전 조회 4,005
16년 전 조회 3,019
16년 전 조회 2,205
🐛 버그신고