Apache 3

Linux 설치, mysql, apache 설정

linux 설치 기본 순서~ 블로그를 뒤지면 전부 해결이 가능하다! 1. Linux 설치 / 10G swap 2G /apm 5G /home 8G /data 5G 2. 설치 후 확인 작업 시간 설정을 확인하고 잘못 되었으면 변경한다. run-level 을 3으로 변경 SHELL Prompt 설정 : /usr/local/share 형식으로 모든 경로가 표시 되도록 일반 사용자 권한 회수 : /sbin/poweroff, shutdown, halt, reboot, init vi default 설정 : se nu, se ai, se cindent 되도록 설정한다. alias 설정 : vi='vim', h='history', c='clear', nre='service network restart', ping='pi..

Linux 2010.01.18

Apache 설정 (2.2.0 version)

httpd.conf 에는 기본적인 내용만 들어 있고, conf/extra 디렉토리에 추가적인 내용들이 분류별로 나와 있다. -rw-r--r-- 1 root root 2845 Dec 21 19:31 httpd-autoindex.conf -rw-r--r-- 1 root root 1673 Dec 21 19:31 httpd-dav.conf -rw-r--r-- 1 root root 2344 Dec 21 19:31 httpd-default.conf -rw-r--r-- 1 root root 1103 Dec 21 19:31 httpd-info.conf -rw-r--r-- 1 root root 5040 Dec 21 19:31 httpd-languages.conf -rw-r--r-- 1 root root 810 Dec 2..

Linux 2010.01.11

apache-2.2.0 에서 사용자별 public_html 인식되도록~

# vi /apm/apache/conf/httpd.conf 을 열어서 아래 줄을 찾는다. # User home directories #include conf/extra/httpd-userdir.conf 의 밑에 줄에 아래를 추가한다. UserDir public_html public_html 디렉터리의 퍼미션을 711 로 설정한다. # /apm/apache/bin/httpd -t Syntax OK -> 로 문법 검사를 실행하고 # /apm/apache/bin/apachectl restart 이렇게 서비스 재시작하면 바로 적용된다!고 하였지만 권한 문제로 페이지가 열리지 않는 문제가 발생하였다 ㅠㅠ # vi /apm/apache/conf/httpd.conf 를 열어서 Options FollowSymLinks..

Linux 2010.01.11