(주)누리웨어

화상연동/Web,APP 구축및서비스/LMS/평생교육/학점은행/기업교육/연수관리/설문구축/

Centos7 apache install (수동설치)

root권한으로 실행합니다.

1.필수 라이브러리 설치

 

3.apr, apr-util, pcre,httpd 다운로드 및 컴파일

작동확인

[root@hae bin]# cd /app/web/apache2/bin
[root@hae bin]# ./apachectl start
[root@hae bin]# netstat -tulpn | grep LISTEN
tcp 0 0 0.0.0.0:7990 0.0.0.0:* LISTEN 9188/ssh
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1001/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1595/master
tcp 0 0 0.0.0.0:3389 0.0.0.0:* LISTEN 9198/ssh
tcp 0 0 0.0.0.0:9090 0.0.0.0:* LISTEN 9192/ssh
tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 9196/ssh
tcp 0 0 0.0.0.0:21521 0.0.0.0:* LISTEN 9186/ssh
tcp6 0 0 :::22 :::* LISTEN 1001/sshd
tcp6 0 0 ::1:25 :::* LISTEN 1595/master
tcp6 0 0 :::33060 :::* LISTEN 9869/mysqld
tcp6 0 0 :::3306 :::* LISTEN 9869/mysqld
tcp6 0 0 :::80 :::* LISTEN 31334/httpd

별첨
tomcat was 사용자계정생성 및 그룹생성
그룹
[root@hae webapps]# groupadd wasmanager
[root@hae webapps]# useradd -g wasmanager -m -s /bin/bash tomcatadmin

mod_jk 연동
# wget http://apache.mirror.cdnetworks.com/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.48-src.tar.gz
# tar -zxvf tomcat-connectors-1.2.48-src.tar.gz
[root@hae install]# mv tomcat-connectors-1.2.48-src /usr/local/src
[root@hae bin]# cd /usr/local/src/tomcat-connectors-1.2.48-src/
[root@hae tomcat-connectors-1.2.48-src]# cd native/
[root@hae native]# ./configure –with-apxs=/app/web/apache2/bin/apxs
[root@hae native]# make && make install

Comments are currently closed.