레드헷 리눅스 APM 5 완벽설치 방법

2006. 9. 13. 13:07

레드헷9

http://ftp.superuser.co.kr/ apm파일 다운받기

http://blog.naver.com/joo21c/120025660218   [설치/설정] APM + lib 설치... CentOS + Mysql5 + Apache2 + Php5 등등
http://blog.naver.com/humanang/130007574488  apache 라이브러리 설치하기
http://blog.naver.com/potato312/130004239503 php관련 라이브러리

http://jaist.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.12.tar.gz
http://www.zlib.net/zlib-1.2.3.tar.gz
http://download.savannah.gnu.org/releases/freetype/freetype-2.2.1.tar.gz
http://www.ijg.org/files/jpegsrc.v6b.tar.gz
http://www.boutell.com/gd/http/gd-2.0.33.tar.gz
ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.24.tar.gz
http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.9.2.tar.gz
ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.7.3.tar.gz
http://www.zlib.net/zlib-1.2.3.tar.gz

http://ftp.superuser.co.kr/pub/mysql/mysql-5.0.22.tar.gz
./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --disable-shared --enable-assembler --with-thread-safe-client --with-mysqld-user="mysql" --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --with-readline --without-debug --without-docs --without-bench --with-charset=euckr
http://ftp.superuser.co.kr/pub/apache/httpd-2.2.2.tar.gz
./configure --prefix=/usr/local/apache2 --enable-modules=so --enable-so --enable-rewrite
http://ftp.superuser.co.kr/pub/php/php-5.1.4.tar.gz
./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --enable-sysvshm=yes --enable-sysvsem=yes --enable-debug=no --enable-track-vars=yes --enable-url-fopen-wrapper=yes --with-ttf --with-png-dir=/usr --with-zlib-dir --with-jpeg-dir=/usr --with-gdbm=/usr --enable-ftp --with-tiff-dir=/usr --enable-memory-limit --enable-mbstring --with-expat-dir=/usr --enable-sockets --enable-wddx --with-freetype-dir=/usr --enable-bcmath --enable-mbstr-enc-trans --enable-mbregex --enable-exif --with-gd --enable-gd-native-ttf --enable-gd-imgstrttf --enable-calendar --with-openssl=/usr --with-iconv=/usr/local --with-xml --with-xmlrpc
SSL 오류시 참조 : http://www.netreg.org/archive/0739.html, http://blog.naver.com/beitself/60005021527


./bin/safe_mysqld --user=mysql & mysql실행
ps -ef | grep mysql 로 실행중인 mysql이 보이면 정상 작동.
-
/usr/local/mysql/bin/mysqladmin -uroot password "xxxxx" xxx는 Mysql서버 관리자의 암호입니다.
/usr/local/mysql/bin/mysql -p mysql
-
- 에러 발생시 대처요령.
- Starting mysql daemon with databases from /usr/local/mysql/data 이렇게 하면 시작되엇다가 mysql이 죽어버리는데
- 이를 해결하기 위해 사용자와 그룹을 등록해야함.
groupadd mysql
useradd -g mysql mysql(여기서 처음 mysql은 사용자 이며 두번째 mysql은 그룹입니다.)
- 디렉토리 퍼미션(권한)을 수정해야함.
chown -R root /usr/local/mysql
chown -R mysql /usr/local/mysql/data
chgrp -R mysql /usr/local/mysql
chown -R root /usr/local/mysql/bin
-

--------------------------------------------------------------------------------------
mysql 설정
시작 :
/usr/local/mysql/로 이동
/usr/local/mysql/bin/mysqld_safe &    &을 추가하여 백그라운드 실행한다. (이유는? 모름)

중지:
/usr/local/mysql/bin/mysqladmin -u root -p shutdown

재시작:

mysqladmin -u root -p reload
데몬확인은
ps -ef |grep mysql
netstat -ap | grep mysql

/usr/local/mysql/bin/safe_mysqld --user=root &
chown -R root /usr/local/mysql

chown -R mysql /usr/local/mysql/data

chgrp -R mysql /usr/local/mysql

bin폴더에서는 실행되지 않는다. 반드시 실행은 다른 폴더에서하자.
/usr/local/mysql/bin/mysql -uroot -p
--------------------------------------------------------------------------------------

관련 자료

http://blog.naver.com/rayofuth/23584357    리눅스 메일서버 설정
http://blog.naver.com/nosochol/150004385381  register_global을 off 일경우(post,get)기타...txt
http://blog.naver.com/nosochol/150004385394  PHP.INI 설정에 따른 변수 이름 바꾸기
http://blog.naver.com/nosochol/150004385418  POST , GET 으로 변수 전달 안될때
http://blog.naver.com/nosochol/150004385795  register_globals = on /off 차이점
http://blog.naver.com/photofocus/120024038295 register_globals 변경하기
http://blog.naver.com/herobnb/100025886462  리눅스 메일서버 만들기(sendmail)
http://webzero.co.kr/bbs/zboard.php?id=zero_linux&page=7&sn1=&divpage=1&sn=off&ss=on&sc=on&select_arrange=headnum&desc=asc&no=95 yum

http://blog.naver.com/entrv/100020629548 APM utf8' 모든셋팅법.

'테크노트 > Linux, Unix' 카테고리의 다른 글

Beryl 설치하기  (0) 2007.03.23
베릴 설치후 테두리가 보이지 않을때  (0) 2007.03.22
우분투 기본 세팅  (0) 2007.03.22
리눅스 단축키  (0) 2007.03.22
Thread & Mutex  (0) 2006.09.11

밥짓는아이 테크노트/Linux, Unix