리자

CentOS 5.4 에서 APM 설치

· 15년 전 · 2908

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,139
15년 전 조회 1,285
15년 전 조회 1,342
15년 전 조회 887
15년 전 조회 998
15년 전 조회 960
15년 전 조회 924
15년 전 조회 875
15년 전 조회 939
15년 전 조회 1,079
15년 전 조회 1,102
15년 전 조회 2,620
15년 전 조회 948
15년 전 조회 1,601
15년 전 조회 1,468
15년 전 조회 1,592
15년 전 조회 1,300
15년 전 조회 1,786
15년 전 조회 605
15년 전 조회 1,096
15년 전 조회 1,061
15년 전 조회 2,855
15년 전 조회 3,171
15년 전 조회 1,846
15년 전 조회 1,351
15년 전 조회 1,971
15년 전 조회 1,474
15년 전 조회 1,077
15년 전 조회 3,773
15년 전 조회 1,415
15년 전 조회 1,511
15년 전 조회 2,742
15년 전 조회 1,438
15년 전 조회 4,162
15년 전 조회 2,376
15년 전 조회 3,155
15년 전 조회 1,771
15년 전 조회 2,000
15년 전 조회 1,301
15년 전 조회 4,379
15년 전 조회 3,957
15년 전 조회 3,781
15년 전 조회 5,197
15년 전 조회 3,419
15년 전 조회 1,797
15년 전 조회 1,760
15년 전 조회 1,901
15년 전 조회 1,598
15년 전 조회 3,998
15년 전 조회 2,909
15년 전 조회 2,091
15년 전 조회 1,670
15년 전 조회 1,905
15년 전 조회 2,386
15년 전 조회 1,468
15년 전 조회 2,405
15년 전 조회 1,737
15년 전 조회 1,839
15년 전 조회 1,492
15년 전 조회 2,176
15년 전 조회 1,507
15년 전 조회 1,925
16년 전 조회 2,114
16년 전 조회 1,187
16년 전 조회 1,254
16년 전 조회 1,900
16년 전 조회 5,339
16년 전 조회 1,637
16년 전 조회 2,151
16년 전 조회 2,350
16년 전 조회 1,504
16년 전 조회 1,310
16년 전 조회 2,224
16년 전 조회 4,936
16년 전 조회 2,214
16년 전 조회 2,868
16년 전 조회 1,753
16년 전 조회 3,603
16년 전 조회 4,444
16년 전 조회 3,105
16년 전 조회 2,353
16년 전 조회 2,435
16년 전 조회 2,684
16년 전 조회 2,173
16년 전 조회 5,514
16년 전 조회 3,369
16년 전 조회 1,361
16년 전 조회 1,703
16년 전 조회 5,077
16년 전 조회 2,310
16년 전 조회 3,414
16년 전 조회 2,650
16년 전 조회 1,567
16년 전 조회 5,360
16년 전 조회 2,478
16년 전 조회 5,967
16년 전 조회 1,945
16년 전 조회 4,019
16년 전 조회 3,035
16년 전 조회 2,221
🐛 버그신고