티스토리 뷰
https://yeni-days.tistory.com/2
https://velog.io/@ogu1208/Ubuntu-Ubuntu-20.04-APM-%EC%86%8C%EC%8A%A4-%EC%84%A4%EC%B9%98-1.Apache
필수 패키지 설치
# apt-get install make
# apt-get install build-essential
# apt-get install gcc
# apt-get install --reinstall make
# apt-get install libexpat1-dev
# apt-get install g++
# apt-get install net-tools
# apt-get install curl
소스 다운
/usr/local# mkdir apache
1) apr-1.7.0
/usr/local# wget http://mirror.navercorp.com/apache//apr/apr-1.7.0.tar.gz
2) apr-util-1.6.1
/usr/local# wget http://mirror.navercorp.com/apache//apr/apr-util-1.6.1.tar.gz
3) pcre-8.43
/usr/local# wget https://sourceforge.net/projects/pcre/files/pcre/8.45/pcre-8.45.tar.gz/
4) apache-2.4.51
/usr/local# wget https://dlcdn.apache.org/httpd/httpd-2.4.54.tar.gz
apr 설치
/usr/local# cd apr-1.7.0
/usr/local/apr-1.7.0# ./configure --prefix=/usr/local/apr
여기서 오류가 난다면
# cp -arp libtool libtoolT 다운로드를 해준다.
/usr/local/apr-1.7.0# make
/usr/local/apr-1.7.0# make install
apr-util 설치
/usr/local# cd apr-util-1.6.1
/usr/local/apr-util-1.6.1# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
/usr/local/apr-util-1.6.1# make
/usr/local/apr-util-1.6.1# make install
pcre 설치
/usr/local# cd pcre-8.45
/usr/local/pcre-8.43# ./configure --prefix=/usr/local/pcre
/usr/local/pcre-8.43# make
/usr/local/pcre-8.43# make install
Apache 설치
sudo ./configure --prefix=/usr/local/apache2.4 --enable-module=so --enable-rewrite --enable-so --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-pcre=/usr/local/pcre --enable-mods-shared=all
를 했더니..
에러....
찾아보니 pcre 경로를 직접 설정해주면 된다고 함.
./configure --prefix=/usr/local/apache2.4 --enable-module=so --enable-rewrite --enable-so --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-pcre=/usr/local/pcre/bin/pcre-config --enable-mods-shared=all
이렇게 바꾸면 됨.
sudo make
sudo make install
==========================설치 끝========================
==========================실행===========================
/usr/local/apache2.4/bin/httpd -k start
웹에 localhost 입력
'서버(Server)' 카테고리의 다른 글
인터네트워킹 정리 (0) | 2022.09.07 |
---|---|
TCP/IP 정리 (0) | 2022.09.07 |
프로토콜이란? (0) | 2022.08.31 |
우분투 20.04 APM 소스 설치 - 2. MySQL (0) | 2022.07.31 |
우분투 20.04 LTS APM 설치 3. PHP (0) | 2022.07.29 |
- Total
- Today
- Yesterday
- GPU
- 계산
- java
- DeepLearning
- 설치
- 도커
- 이미지
- 입력
- GIT
- boosting
- DT
- 딥러닝
- 깃
- Tree
- Flask
- 초보자
- 오류
- CNN
- torch
- 파이썬
- 자바
- docker
- gbm
- 삭제
- 입출력
- GNN
- github
- python
- 뜯어보기
- 정리
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |