HELLOCBT

Menu

리눅스 APM설치 Aphache

컴코리아 2020.07.09 17:18 조회 수 : 75

cd /usr/local/src/

 

wget http://archive.apache.org/dist/httpd/httpd-2.2.22.tar.gz

 

tar -xvf httpd-2.2.22.tar.gz

 

cd httpd-2.2.22

 

yum install make gcc* g++ gcc-c++ autoconf automake libtool pkgconfig findutils oepnssl openssl-devel openldap-devel pcre-devel libxml2-devel lua-devel curl curl-devel libcurl-devel flex

 

./configure --enable-module=so --enable-mods-shared=most --enable-maintainer-mode --enable-deflate --enable-headers --enable-rewrite --enable-ssl --enable-proxy --enable-proxy-http --enable-proxy-ajp --enable-proxy-balance --prefix=/usr/local/apache --enable-mpms-shared=all

 

make

 

make install

 

cp /usr/local/apache/bin/apachectl /etc/init.d/httpd

 

 

vi /etc/init.d/httpd 접속후 아무대나 아래 5줄추가

 

 

# chkconfig: 2345 90 90

# description: init file for Apache server daemon

# processname: /usr/local/apache/bin/apachectl

# config: /usr/local/apache/conf/httpd.conf

# pidfile: /usr/local/apache/logs/httpd.pid

 

chkconfig --add httpd

chkconfig httpd on

 

httpd.conf 접속후 servername을 자기 IP로 변경

 

 

 

 

댓글 0

사진 및 파일 첨부

파일 용량 제한 : 0MB (허용 확장자 : *.*)

0개 첨부 됨 ( / )
 
번호 제목 글쓴이 날짜 조회 수
18 ip 접근회수 ㅇㅇ 2020.11.16 63
17 아파치 2.4 컴코리아 2020.08.14 85
16 centos에 Ioncube 설치하기 컴코리아 2020.08.06 84
15 PHP5 버젼 컴코리아 2020.08.05 304
14 APM 버전 확인 컴코리아 2020.07.17 81
13 APM설치 mysql [1] 컴코리아 2020.07.09 60
» APM설치 Aphache 컴코리아 2020.07.09 75
11 윈도우(Window) 윈도우 바로가기 ncpa.cpl 명령어 컴코리아 2020.04.17 198
10 윈도우(Window) R1Soft Backup Agent file 컴코리아 2020.04.17 78
9 리눅스(linux) vi 에디터 사용방법 (vim 단축키 정리) 컴코리아 2020.04.13 51
8 리눅스(linux) 디스크 용량 명령어 df,du file 컴코리아 2020.04.13 56
7 리눅스(linux) Screen 명령어 file 컴코리아 2020.04.12 63
6 리눅스(linux) iptables 특정 아이피만 특정포트 접속 file 컴코리아 2020.04.11 79
5 리눅스(linux) iptables 명령어 file 컴코리아 2020.04.11 80
4 리눅스(linux) CPU 및 RAM 사양 확인 file 컴코리아 2020.04.11 98
3 리눅스(linux) SSH 설정 포트변경 - /etc/ssh/sshd_config [CentOS] 컴코리아 2020.04.11 136
2 리눅스(linux) shutdown 그리고 init 명령어 컴코리아 2020.04.11 100
1 리눅스(linux) PS 명령어 file 컴코리아 2020.04.11 95

HELLOCBT