리자

CentOS 5.4 에서 APM 설치

· 15년 전 · 2907

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,137
15년 전 조회 1,282
15년 전 조회 1,342
15년 전 조회 886
15년 전 조회 997
15년 전 조회 960
15년 전 조회 924
15년 전 조회 871
15년 전 조회 935
15년 전 조회 1,075
15년 전 조회 1,100
15년 전 조회 2,617
15년 전 조회 946
15년 전 조회 1,599
15년 전 조회 1,465
15년 전 조회 1,591
15년 전 조회 1,298
15년 전 조회 1,786
15년 전 조회 605
15년 전 조회 1,090
15년 전 조회 1,060
15년 전 조회 2,852
15년 전 조회 3,171
15년 전 조회 1,843
15년 전 조회 1,350
15년 전 조회 1,968
15년 전 조회 1,473
15년 전 조회 1,076
15년 전 조회 3,772
15년 전 조회 1,413
15년 전 조회 1,510
15년 전 조회 2,741
15년 전 조회 1,435
15년 전 조회 4,161
15년 전 조회 2,375
15년 전 조회 3,151
15년 전 조회 1,769
15년 전 조회 1,999
15년 전 조회 1,300
15년 전 조회 4,374
15년 전 조회 3,956
15년 전 조회 3,779
15년 전 조회 5,193
15년 전 조회 3,416
15년 전 조회 1,795
15년 전 조회 1,754
15년 전 조회 1,901
15년 전 조회 1,596
15년 전 조회 3,994
15년 전 조회 2,908
15년 전 조회 2,089
15년 전 조회 1,669
15년 전 조회 1,904
15년 전 조회 2,383
15년 전 조회 1,467
15년 전 조회 2,399
15년 전 조회 1,735
15년 전 조회 1,836
15년 전 조회 1,490
15년 전 조회 2,176
15년 전 조회 1,505
15년 전 조회 1,923
16년 전 조회 2,112
16년 전 조회 1,186
16년 전 조회 1,251
16년 전 조회 1,898
16년 전 조회 5,338
16년 전 조회 1,636
16년 전 조회 2,148
16년 전 조회 2,348
16년 전 조회 1,498
16년 전 조회 1,307
16년 전 조회 2,221
16년 전 조회 4,935
16년 전 조회 2,211
16년 전 조회 2,867
16년 전 조회 1,748
16년 전 조회 3,599
16년 전 조회 4,440
16년 전 조회 3,105
16년 전 조회 2,351
16년 전 조회 2,434
16년 전 조회 2,682
16년 전 조회 2,170
16년 전 조회 5,510
16년 전 조회 3,365
16년 전 조회 1,360
16년 전 조회 1,701
16년 전 조회 5,076
16년 전 조회 2,309
16년 전 조회 3,412
16년 전 조회 2,646
16년 전 조회 1,565
16년 전 조회 5,359
16년 전 조회 2,476
16년 전 조회 5,967
16년 전 조회 1,943
16년 전 조회 4,016
16년 전 조회 3,034
16년 전 조회 2,217
🐛 버그신고