본문 바로가기

컴퓨터 일반/리눅스

[리눅스] Apache설치 관련 자료

https://salix97.tistory.com/142?category=837576

 

Ubuntu 18.04 + Apache 2.4.41 + PHP 7.4.1 수동설치하기

Ubuntu 18.04 OS 위에 Apache 2.4.41 컴파일 설치를 완료했다. * 우분투에 아파치와 MySQL 을 설치하는 방법은 이전 글을 참고 이전 글 1 : 우분투에 아파치 수동설치 하기 이전 글 2 : 우분투 아파치 서버��

salix97.tistory.com

 

Apache설치관련 - 1. configure File

https://httpd.apache.org/docs/2.4/programs/configure.html#installationdirectories

 

configure - 소스 트리를 구성한다 - Apache HTTP Server Version 2.4

configure - 소스 트리를 구성한다 이 문서는 최신판 번역이 아닙니다. 최근에 변경된 내용은 영어 문서를 참고하세요. configure 스크립트는 특정 플래폼에서 아파치 웹서버를 컴파일하고 설치하기위해 소스 트리를 구성한다. 여러 옵션을 사용하여 원하는 요구조건에 맞게 서버를 컴파일할 수 있다. 소스 배포본의 최상위 디렉토리에 있는 이 스크립트는 유닉스와 유닉스류 시스템에서만 사용한다. 다른 플래폼을 사용한다면 플래폼 문서를 참고하라. config

httpd.apache.org

 

2. 아파치 다운로드 경로

https://httpd.apache.org/download.cgi

 

Download - The Apache HTTP Server Project

Downloading the Apache HTTP Server Use the links below to download the Apache HTTP Server from one of our mirrors. You must verify the integrity of the downloaded files using signatures downloaded from our main distribution directory. The signatures can be

httpd.apache.org

 

 

 

 

3. Apache설치

https://twibap.tistory.com/9

 

Ubuntu에 Apache 서버 컴파일하기

1. 설치 환경 준비하기 sudo apt install build-essential C, C++ 컴파일러 및 Make, 각종 라이브러리 등 개발에 필요한 도구들이 설치된다. 2. Apache 및 설치에 필요한 프로그램 다운로드 다운로드는 wget 을 이..

twibap.tistory.com

 

4. Apache설치

https://www.thegeekstuff.com/2008/07/install-apache-2-from-source-on-linux/

 

Install Apache 2 from Source on Linux

Install Apache 2 from Source on Linux by Ramesh Natarajan on July 23, 2008 All Linux distributions comes with Apache. However, it is recommended to download latest Apache source code, compile and install on Linux. This will make it easier to upgrade Apache

www.thegeekstuff.com

5. Apache 공식문서

http://httpd.apache.org/docs/2.4/install.html

 

컴파일과 설치 - Apache HTTP Server Version 2.4

컴파일과 설치 이 문서는 최신판 번역이 아닙니다. 최근에 변경된 내용은 영어 문서를 참고하세요. 이 문서는 유닉스와 유닉스류 시스템에서 아파치를 컴파일하고 설치하는 것만을 다룬다. 윈도우즈에서 컴파일하고 설치하는 방법은 마이크로소프트 윈도우즈에서 아파치 사용을 참고하라. 다른 플래폼에 대해서는 플래폼 문서를 참고하라. 아파치 2.0의 구성과 설치 환경은 1.3과 매우 다르다. 아파치 1.3은 쉬운 설치를 위해 자체 스크립트를 사용했다. 아파치 2.0은 이

httpd.apache.org

 

6. 추가 자료

https://webdir.tistory.com/196

 

[Ubuntu] 우분투 Apache(아파치) 이해

우분투는 일반적인 리눅스 배포판들과 다른 구조를 하고 있습니다. 데비안 계열의 특징인듯 싶습니다. 설정 디렉토리 구조 /etc/apache2 설정파일 루트위치로, 설정파일들이 이 디렉토리 밑에 위치하고 있다. /et..

webdir.tistory.com

 

 

Apache설치
1. 설치 환경 준비하기
sudo apt install build-essential
2.1 Apache
http://httpd.apache.org/download.cgi#apache24
2.2 APR, APR-util
https://apr.apache.org/download.cgi
2.3 pcre
wget https://ftp.pcre.org/pub/pcre/pcre-8.41.tar.gz
3. 컴파일 및 설치
설치 경로를 바꾸지 않고 기본 경로로 설치한다.
기본 설치 경로는 /usr/local 이다.

기본 설정파일로, 다른 배포판에서 httpd.conf를 기본 설정파일로 사용하고 있는데 우분투에서는 apache2.conf를 사용한다.

 

내가 Apache Compile때 준 옵션

 ./configure --enable-mods-shared=most --enable-mules=so --with-mpm=worker --enable-so --prefix=/home/www/apache2

 

 

아파치 컴파일 옵션 관련 자료

https://soul.tistory.com/19

'컴퓨터 일반 > 리눅스' 카테고리의 다른 글

vscode다루기  (0) 2020.04.21
[리눅스] PHP MYSQL연동시  (0) 2020.04.18
[MySQL] MYSQL설치관련  (0) 2020.04.18
[리눅스] php설치  (0) 2020.04.16
리눅스 정리  (0) 2020.04.15