centos7 apache2 2.4.38 버전 설치
페이지 정보
본문
yum install wget
sudo wget https://www.openssl.org/source/openssl-1.0.2r.tar.gz
https://sourceforge.net/projects/pcre/files/pcre/8.41/pcre-8.41.tar.bz2/download
sudo yum install bzip2
sudo tar xvf httpd-2.4.38.tar.bz2
sudo tar xvf apr-1.6.5.tar.bz2
sudo tar xvf apr-util-1.6.1.tar.bz2
sudo tar xvf pcre-8.41.tar.bz2
sudo tar xvf openssl-1.0.2r.tar.gz
sudo mv ./apr-1.6.5 ./httpd-2.4.38/srclib/apr
sudo mv ./apr-util-1.6.1 ./httpd-2.4.38/srclib/apr-util
cd pcre-8.41
sudo ./configure
su
make && make install
yum install perl
cd /usr/local/src/openssl-1.0.2r
./config --prefix=/usr/local --openssldir=/usr/local/openssl -fPIC
make && make install
cd /usr/local/src/httpd-2.4.3
./configure --prefix=/usr/local/apache2 --enable-so --enable-ssl --with-ssl=/usr/local/openssl --with-included-apr --with-included-apr-util
make && make install
DocumentRoot "/usr/local/apache2/htdocs"
sudo wget https://www.openssl.org/source/openssl-1.0.2r.tar.gz
https://sourceforge.net/projects/pcre/files/pcre/8.41/pcre-8.41.tar.bz2/download
sudo yum install bzip2
sudo tar xvf httpd-2.4.38.tar.bz2
sudo tar xvf apr-1.6.5.tar.bz2
sudo tar xvf apr-util-1.6.1.tar.bz2
sudo tar xvf pcre-8.41.tar.bz2
sudo tar xvf openssl-1.0.2r.tar.gz
sudo mv ./apr-1.6.5 ./httpd-2.4.38/srclib/apr
sudo mv ./apr-util-1.6.1 ./httpd-2.4.38/srclib/apr-util
cd pcre-8.41
sudo ./configure
su
make && make install
yum install perl
cd /usr/local/src/openssl-1.0.2r
./config --prefix=/usr/local --openssldir=/usr/local/openssl -fPIC
make && make install
cd /usr/local/src/httpd-2.4.3
./configure --prefix=/usr/local/apache2 --enable-so --enable-ssl --with-ssl=/usr/local/openssl --with-included-apr --with-included-apr-util
make && make install
DocumentRoot "/usr/local/apache2/htdocs"
관련링크
- 이전글apache 최신 버전(2.4.41) 설치 yum 이용 20.02.21
- 다음글github 사용법 20.02.21
댓글목록
등록된 댓글이 없습니다.