반응형

http://httpd.apache.org/

 

Welcome! - The Apache HTTP Server Project

The Number One HTTP Server On The Internet The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows. The goal of this project is to provide a secure, efficient an

httpd.apache.org

# cd /usr/local/src

 

# rpmbuild -ts apr-1.7.0.tar.bz2

# rpmbuild -tb apr-1.7.0.tar.bz2

# cd /root/rpmbuild/RPMS/x86_64/

# rpm -ivh apr-1.7.0-1.x86_64.rpm apr-debuginfo-1.7.0-1.x86_64.rpm apr-devel-1.7.0-1.x86_64.rpm

 

# rpmbuild -ts apr-util-1.6.1.tar.bz2

# rpmbuild -tb apr-util-1.6.1.tar.bz2

# cd /root/rpmbuild/RPMS/x86_64/

# rpm -ivh apr-util-1.6.1-1.x86_64.rpm apr-util-devel-1.6.1-1.x86_64.rpm

 

# rpmbuild -ts httpd-2.4.48.tar.bz2

Wrote: /root/rpmbuild/SRPMS/httpd-2.4.48-1.src.rpm

 

# rpmbuild -tb httpd-2.4.48.tar.bz2

 

# cd /root/rpmbuild/RPMS/x86_64/

 

# yum install mailcap

 

# rpm -ivh httpd-* mod_proxy_html-2.4.48-1.x86_64.rpm mod_ssl-2.4.48-1.x86_64.rpm

 

# systemctl enable httpd

# systemctl start http

 

Install Tomcat Connectors

https://tomcat.apache.org/download-connectors.cgi

 

Apache Tomcat® - Tomcat Connectors (mod_jk) Downloads

You must verify the integrity of the downloaded files. We provide OpenPGP signatures for every release file. This signature should be matched against the KEYS file which contains the OpenPGP keys of Tomcat's Release Managers. We also provide SHA512 checksu

tomcat.apache.org

# tar zxvfp tomcat-connectors-1.2.48-src.tar.gz
# cd tomcat-connectors-1.2.48-src/
# cd native
# ./configure --with-apxs=/bin/apxs
# make && make install
# apachectl –M
Loaded Modules:
~~
jk_module (shared)

# vi /etc/httpd/conf/httpd.conf
LoadModule jk_module lib64/httpd/modules/mod_jk.so
User ????
Group ????
ServerName ????
Include /etc/httpd/conf/extra/httpd-jk.conf
Include /etc/httpd/conf/extra/httpd-vhosts.conf

# vi /etc/httpd/conf/extra/httpd-jk.conf
<IfModule jk_module>
      JkWorkersFile /etc/httpd/conf.d/workers.properties
      JkLogFile /var/log/httpd/mod_jk.log
      JkLogLevel Info
      JkShmFile /var/run/mod_jk.shm
</IfModule>

# vi /etc/httpd/conf/extra/httpd-vhosts.conf
<VirtualHost *:80>
  ServerAdmin ????@kobic.kr
  ServerName ????
<VirtualHost>

# vi /etc/httpd/conf.d/workers.properties
worker.list=test
worker.test.port=8009
worker.test.host=xxx.xxx.xxx.xxx
worker.test.type=ajp13
worker.test.lbfactor=1

 

반응형

'Linux > Apache' 카테고리의 다른 글

Update Apache HTTP Server(2.4.48->2.4.52)  (0) 2021.12.23
CGI (Common Gateway Interface)  (0) 2012.09.24
  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기