apache httpd.conf 설정apache httpd.conf 설정

Posted at 2009. 11. 6. 19:32 | Posted in 컴퓨터관련/리눅스
글자크게글자작게원래사이즈로
NameVirtualHost *:80
ServerName *:80

KeepAlive On
KeepAliveTimeout 2
(2초간 접속을 끊지 않고 기다린다..)

Timeout 30
(dos 공격 방지)

ServerLimit 20 --> 서버 갯수를 설정
StartServers 20 --> 아파치를 처음 시작할때 생성하는 서버 갯수
MaxClients 500 --> ThreadsPerChild * StartServers 값
ThreadsPerChild 25 --> 서버 하나가 만들어 낼수 있는 쓰레드 갯수입니다. 최대 64개
MinSpareThreads 25 --> 서버 하나가 만들어 낼수 있는 쓰레드의 최소 갯수입니다. 보통은 ThreadsPerChild 와 맞추어 줌
MaxSpareThreads 500 --> 시스템 전체에서 만들어 낼수 있는 쓰레드 갯수의 최대치


'컴퓨터관련 > 리눅스' 카테고리의 다른 글

vi 명령어 사용방법  (0) 2009.11.06
스타크래프트 베틀넷 서버 설치 동영상 주소  (0) 2009.11.06
apache 설치  (0) 2009.11.06
mysql 설치  (0) 2009.11.06
php 설치시 오류와 해결방법 모음  (0) 2009.11.06
//

apache 설치apache 설치

Posted at 2009. 11. 6. 19:31 | Posted in 컴퓨터관련/리눅스
글자크게글자작게원래사이즈로
접속자 수 최대로 올리기
# vi server/mpm/prefork/prefork.c
[EDITOR]#define DEFAULT_SERVER_LIMIT 256 을
[EDITOR]#define DEFAULT_SERVER_LIMIT 1280 으로 수정
저장하고 아웃
# vi server/mpm/worker/worker.c
[EDITOR]#define DEFAULT_SERVER_LIMIT 16 을
[EDITOR]#define DEFAULT_SERVER_LIMIT 20 으로 수정
저장하고 아웃
./configure --prefix=/usr/local/apache2 --enable-so --enable-modules=so --with-mpm=worker --enable-rewrite
make && make install

//

mysql 설치mysql 설치

Posted at 2009. 11. 6. 19:30 | Posted in 컴퓨터관련/리눅스
글자크게글자작게원래사이즈로
configure 시 오류 메세지
오류 메세지 : checking for termcap functions library... configure: error: No curses/termcap library found
해결 방법 : yum -y install ncurses-devel

./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-charset=euckr --enable-thread-safe-client
make && make install

# cd /usr/local/mysql/bin
# ./mysql_install_db
# useradd -M mysql
# chown -R mysql:mysql /usr/local/mysql/data
# /usr/local/mysql/bin/mysqld_safe &
# cd /usr/local/mysql/bin
# ./mysqladmin -u root password 암호
# ./mysql -u root -p mysql

apache 설치
httpd-2.0.63
접속자 수 최대로 올리기
# vi server/mpm/prefork/prefork.c
[EDITOR]#define DEFAULT_SERVER_LIMIT 256 을
[EDITOR]#define DEFAULT_SERVER_LIMIT 1280 으로 수정
저장하고 아웃
# vi server/mpm/worker/worker.c
[EDITOR]#define DEFAULT_SERVER_LIMIT 16 을
[EDITOR]#define DEFAULT_SERVER_LIMIT 20 으로 수정
저장하고 아웃
./configure --prefix=/usr/local/apache2 --enable-so --enable-modules=so --with-mpm=worker --enable-rewrite
make && make install

'컴퓨터관련 > 리눅스' 카테고리의 다른 글

apache httpd.conf 설정  (0) 2009.11.06
apache 설치  (0) 2009.11.06
php 설치시 오류와 해결방법 모음  (0) 2009.11.06
Vmware Tools 설치 중 /usr/src/linux/include 문제 해결  (0) 2009.11.06
파일질라 ftp  (0) 2009.11.05
//

php 설치시 오류와 해결방법 모음php 설치시 오류와 해결방법 모음

Posted at 2009. 11. 6. 19:29 | Posted in 컴퓨터관련/리눅스
글자크게글자작게원래사이즈로
오류 메세지 : configure: error: xml2-config not found. Please check your libxml2 installation
해결 방법 : yum install libxml2 libxml2-devel -y

오류 메세지 : configure: error: Please reinstall the BZip2 distribution
해결 방법 : yum -y install bzip2-devel

오류 메세지 : configure: error: libjpeg.(a|so) not found.
해결 방법 : yum -y install libjpeg-devel

오류 메세지 : configure: error: libpng.(a|so) not found.
해결 방법 : yum -y install libpng-devel

오류 메세지 : configure: error: freetype.h not found.
해결 방법 : yum -y install freetype-devel

오류 메세지 : configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
해결 방법 : yum -y install libc-client-devel

오류 메세지 : configure: error: Kerberos libraries not found.
해결 방법 : yum -y install krb5-devel


오류 메세지 : configure: error:Cannot find OpenSSL's <evp.h>
해결 방법 : yum -y install openssl-devel

[출처] Centos5.2 + Mysql5.0.24 + apache2.0.63 + php5.2.6 설치|작성자 하마

'컴퓨터관련 > 리눅스' 카테고리의 다른 글

apache 설치  (0) 2009.11.06
mysql 설치  (0) 2009.11.06
Vmware Tools 설치 중 /usr/src/linux/include 문제 해결  (0) 2009.11.06
파일질라 ftp  (0) 2009.11.05
vi에디터 사용법 (명령어와 커서이동방법)  (0) 2009.11.05
//

Vmware Tools 설치 중 /usr/src/linux/include 문제 해결Vmware Tools 설치 중 /usr/src/linux/include 문제 해결

Posted at 2009. 11. 6. 17:53 | Posted in 컴퓨터관련/리눅스
글자크게글자작게원래사이즈로
처음엔 이게 한동안 떠서 골치 아팠었는데...
의외로 해결방법은 간단하였다.

What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]

이것이 떳을때 문제 해결 방법

yum install kernel-devel

깔아주기만 하면된다.....

./vmware-install.pl

해주면 문제 해결...

쉽다... ㄱ-;;;

'컴퓨터관련 > 리눅스' 카테고리의 다른 글

mysql 설치  (0) 2009.11.06
php 설치시 오류와 해결방법 모음  (0) 2009.11.06
파일질라 ftp  (0) 2009.11.05
vi에디터 사용법 (명령어와 커서이동방법)  (0) 2009.11.05
커널 컴파일하기  (0) 2009.11.05
//