본문 바로가기

아파치

아파치 가상호스트 설정하기 이 설명은 윈도우에서 APM_SETUP을 바탕으로 작성한 것이다. 두 파일을 건드려야 한다. 하나는 기본 설정 파일, 하나는 가상 호스트 설정 파일. 가상 호스트 설명을 보면 종종 어떤 파일을 건드려야 하는지 안 나와 있는데, 그게 문제인 듯하다. 다음 두 파일을 건드려야 한다. 메모장에서 열면 된다. txt파일이니까.{아파치 루트}/conf/httpd.conf 와 {아파치 루트}/conf/extra/httpd-vhosts.conf 다. (위에서 {아파치 루트}는 아파치가 설치돼 있는 폴더를 의미한다.) * httpd.conf에서 설정해야 하는 것. 1. Listen이라고 써 있는 부분을 찾는다. 이 부분은 포트를 설정하는 부분이다. 포트가 뭔지까지 설명하지는 않겠다. 아파치가 사용하는 기본 포트는 80.. 더보기
Could not reliably determine the server's fully qualified domain name (우분투에서 apache설치중 오류) This is just a friendly warning and not really a problem (as in that something does not work). If you insert aServerName localhost in either httpd.conf or apache2.conf in /etc/apache2 and restart apache the notice will disappear. If you have a name inside /etc/hostname you can also use that name instead of localhost. And it uses 127.0.1.1 if it is inside your /etc/hosts:127.0.0.1 localhost 127.0.. 더보기
리눅스 apm 설치 리눅스 apm 설치 *설치1) apache2 설치$ sudo apt-get install apache22) mysql 설치$ sudo apt-get install libapache2-mod-auth-mysql$ sudo apt-get install mysql-server mysql-client3) php 설치$ sudo apt-get install php5-common php5 libapache2-mod-php5$ sudo apt-get install php5-mysql4) apache 재시작$ sudo /etc/init.d/apache2 restart * 구동확인$ sudo netstat -tap | grep mysql * Apache 설정 파일 위치/etc/apache2/apache2.conf * A.. 더보기