참고 : http://supaflow.tistory.com/120 좋은 내용 감사드립니다.

내용을 요약하면

아파치를 설치하는 방법은 다음과 같습니다

sudo apt-get install apache2

설치하고 나면 firefox에서 http://127.0.0.1누르면 It works!가 나옵니다. 이러면 아파치는 제대로 설치가 된 것이죠

그리고 인증은 위한 모듈

sudo apt-get install libapache2-mod-auth-mysql

sudo apt-get install mysql-server mysql-client

위 과정을 통해 mysql이 설치가 되었습니다.

다음은 php5 설치

sudo apt-get install php5-common php5 libapache2-mod-php5

sudo apt-get install php5-mysql

과정이 끝났습니다

웹서버 재 시작 : sudo /etc/init.d/apache2 restart

sudo /etc/init.d/mysql restart

휴 자세한 안내덕분에 쉽게 왔네요