아파치 웹서버 설치하기 1. 패키지 목록 업데이트 $ sudo apt-get update 2. 아파치 설치 $ sudo apt-get install apache2 3. 설치 진행 화면에서 "y" 입력 후 진행 3. 설치 완료 후 확인 $ sudo service apache2 status * 처음 설치가 완료되면 active 상태로 된다. 4. 아파치 서비스 실행 및 중지하기 $ sudo service apache2 start $ sudo service apache2 stop 아파치 서버의 기본 디렉토리 /var/www/html/index.html 서버의 공인(public) ip 로 접속시 default 페이지(index.html)가 나온다면 정상적으로 서비스가 되고 있는상태이다. * 아파치 웹서버 동작을..