리자

CentOS 5.4 에서 APM 설치

· 15년 전 · 2895

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,130
15년 전 조회 1,272
15년 전 조회 1,331
15년 전 조회 873
15년 전 조회 986
15년 전 조회 948
15년 전 조회 915
15년 전 조회 863
15년 전 조회 925
15년 전 조회 1,069
15년 전 조회 1,089
15년 전 조회 2,606
15년 전 조회 934
15년 전 조회 1,587
15년 전 조회 1,457
15년 전 조회 1,578
15년 전 조회 1,286
15년 전 조회 1,775
15년 전 조회 594
15년 전 조회 1,080
15년 전 조회 1,051
15년 전 조회 2,843
15년 전 조회 3,157
15년 전 조회 1,832
15년 전 조회 1,340
15년 전 조회 1,958
15년 전 조회 1,463
15년 전 조회 1,067
15년 전 조회 3,761
15년 전 조회 1,403
15년 전 조회 1,500
15년 전 조회 2,729
15년 전 조회 1,427
15년 전 조회 4,152
15년 전 조회 2,366
15년 전 조회 3,142
15년 전 조회 1,761
15년 전 조회 1,990
15년 전 조회 1,290
15년 전 조회 4,367
15년 전 조회 3,941
15년 전 조회 3,770
15년 전 조회 5,183
15년 전 조회 3,406
15년 전 조회 1,785
15년 전 조회 1,746
15년 전 조회 1,890
15년 전 조회 1,584
15년 전 조회 3,983
15년 전 조회 2,896
15년 전 조회 2,082
15년 전 조회 1,659
15년 전 조회 1,895
15년 전 조회 2,377
15년 전 조회 1,459
15년 전 조회 2,393
15년 전 조회 1,726
15년 전 조회 1,822
15년 전 조회 1,477
15년 전 조회 2,167
15년 전 조회 1,497
15년 전 조회 1,912
15년 전 조회 2,105
16년 전 조회 1,180
16년 전 조회 1,240
16년 전 조회 1,886
16년 전 조회 5,329
16년 전 조회 1,631
16년 전 조회 2,139
16년 전 조회 2,340
16년 전 조회 1,488
16년 전 조회 1,297
16년 전 조회 2,212
16년 전 조회 4,926
16년 전 조회 2,202
16년 전 조회 2,857
16년 전 조회 1,738
16년 전 조회 3,592
16년 전 조회 4,429
16년 전 조회 3,099
16년 전 조회 2,343
16년 전 조회 2,425
16년 전 조회 2,673
16년 전 조회 2,162
16년 전 조회 5,504
16년 전 조회 3,355
16년 전 조회 1,347
16년 전 조회 1,694
16년 전 조회 5,064
16년 전 조회 2,299
16년 전 조회 3,405
16년 전 조회 2,638
16년 전 조회 1,557
16년 전 조회 5,351
16년 전 조회 2,465
16년 전 조회 5,958
16년 전 조회 1,933
16년 전 조회 4,009
16년 전 조회 3,025
16년 전 조회 2,209
🐛 버그신고