본문 바로가기

Linux/NetAdmin10

[CentOS5.11] 아파치 웹서버 CGI 설정. CGI(Common Gateway Interface)? > 웹 서버(정보 제공)와 클라이언트(정보 이용) 간에 필요한 정보 교환을 가능하게 해주는 일종의 웹 인터페이스 > 동적 페이지 서비스를 제공하려고 만들어짐 > CGI 제작도구 = PHP, PERL, PYTHON, etc ☆ 참고 사이트 ( CGI 란? ) http://snuet.com/CML/C05/C05_02.html http://sfeg.tistory.com/196 http://www.linux213.example.com --------------------------> /www1/index.html >코드를 요청. http://www.linux213.example.com/cgi-bin/test.cgi -----------> /www1/cgi-.. 2017. 9. 16.
[CentOS5.11] 아파치(Apache) 웹 서버. ★ 아파치 웹 서버에 관련된 파일/디렉토리. /etc/httpd/conf/httpd.conf 아파치 웹서버 주 설정 파일 /etc/httpd/conf.d/*.conf 아파치 웹서버 주 설정 파일에 포함된 하위 설정 파일 /etc/httpd/logs /var/log/httpd/ , 아파치 웹 서버 로그 디렉토리 /etc/httpd/modules /usr/lib/httpd/modules , 아파치 웹 서버 로그 모듈 디렉토리 /etc/httpd/run/httpd.pid /var/run/ , 실행 중인 아파치 데몬의 PID 번호를 저장하는 파일 /etc/mime.types CUPS를 위한 MIME 타입 설명 파일 /etc/rc.d/init.d/httpd 아파치 데몬을 제어할 수 있는 스크립트 /usr/sbin.. 2017. 9. 16.
[CentOS5.11] 간단한 웹 서버 구성 실습. (정리) Apache WEB Server 프로그램 httpd-2.2.3-31 httpd-manual system-config-httpd 데몬 & 포트 & 프로토콜 /usr/sbin/httpd, 80, TCP 주 설정 파일 /etc/httpd/conf/httpd.conf 하위 설정 파일 /etc/httpd/conf.d/*.conf 스크립트 /etc/init.d/httpd ▶ 간단한 웹서버 구성 실습 - 관리자 페이지 구성 - 사용자 페이지 구성 http://www.linux213.example.com/~user01/ http://www.linux213.example.com/user01/ ▶ CGI 설정(shell, perl, php) http://www.linux213.example.com/cgi-bin/.. 2017. 9. 16.
[CentOS5.11] DNS Master, Slave 구축 실습. 1. 선수작업 Master DNS : 192.168.35.243 Slave DNS : 192.168.35.143 Slave DSN : Master DNS를 링크로 클론 만들었다. /etc/resolv.conf 파일 점검. -> Master, Slave 둘다. Slave는 Master를 바라보아야한다. ⓐ zone파일 설정 변경. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 # zone 파일 $TTL 4 @ IN SOA ns1.linux213.example.com. root.linux213.example.com. ( 42 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D .. 2017. 9. 15.