728x90
반응형
[apache2 설치 (ubuntu)]
1. apt-get 업데이트
>sudo apt-get update
2. apache2 설치
>sudo apt-get install apache2
3. apache2 상태확인
>systemctl status apache2
4. browser 접속
http://<ip>
- 폴더구조
/etc/apache2/
|-- apache2.conf
| `-- ports.conf
|-- mods-enabled
| |-- *.load
| `-- *.conf
|-- conf-enabled
| `-- *.conf
|-- sites-enabled
| `-- *.conf
- 로그 위치
/var/log/apache2
- 시작
>sudo service apache2 start
- 중지
>sudo service apache2 stop
728x90
반응형
'IT 정보 > IT 기술' 카테고리의 다른 글
빅데이터 구현 기술 #1 (0) | 2021.02.09 |
---|---|
ubuntu jdk 설치 (0) | 2018.07.05 |
java - String, StringBuffer, StringBuilder (0) | 2018.07.04 |
Python pip proxy 설정 (0) | 2018.06.29 |
CUDA 란 (0) | 2018.06.26 |