본문 바로가기

webserver

Tomcat JSP 서버 - RPM 설치 Tomcat에 대한 참고사항항 : http://tomcat.apache.org/ ------------------------------------------------------------------- Tomcat JSP서버 설치 1-1. 기본 설정 [root@localhost ~]# vi /etc/httpd/conf/httpd.conf 126 # Listen: Allows you to bind Apache to specific IP addresses and/or 127 # ports, in addition to the default. See also the 128 # directive. 129 # 130 # Change this to Listen on specific IP addresses as sho.. 더보기
제로보드 설치 제로보드 설치 - 제로보드는 자신의 계정에 직접 설치하여 사용하는 게시판으로 PHP와 MySQL을 이용하는 게시판이다. 먼저 제로보드의 홈페이지(http://www.zeroboard.com/)에 접속하여 제로보드를 다운로드 한다. 여기서는 제로보드 4 (파일명 : zb4pl8.tgz)를 다운로드 하여 설치한다. (기회가 되면 최신버전도 다운로드하여 설치해보도록 하겠습니다. ^^;;) ------------------------------------------------------------------- 1-1. 제로보드 4 설치 [root@localhost Desktop]# tar -xvfz zb4pl8.tgz - 제로보드 4 (zb4pl8.tgz) 를 다운 받아 압축을 해제한다. (tgz = tar.g.. 더보기
Apache WebServer - Exercise 1 다음과 같이 웹서버를 구축하시오. Domain IP Documentroot spring.server3.co.kr 10.10.33.3 /spring summer.server3.co.kr 192.168.33.3 /summer fall.server3.co.kr 10.10.33.3 /fall winter.server3.co.kr 10.10.33.3:8080 /winter ----------------------------------------------------------------------------------------------------- 1. httpd.conf 파일 설정 [root@localhost~]# vi /etc/httpd/conf/httpd.conf 126 # Listen: Allows y.. 더보기
Apache WebServer - Virtual Host - Port-based Virtual Host 참고사항 : http://bban2.tistory.com/134 ------------------------------------------------------------------------------------------- Virtual Host - Port-based Virtual Host 1-1. Port-based Virtual Host 설정 [root@localhost ~]# vi /etc/httpd/conf/httpd.conf 126 # Listen: Allows you to bind Apache to specific IP addresses and/or 127 # ports, in addition to the default. See also the 128 # dire.. 더보기
Apache WebServer - Virtual Host - Mixed Name & IP-based Virtual Host 참고사항 : http://bban2.tistory.com/134 ------------------------------------------------------------------------------------------- Virtual Host - Mixed Name & IP-based Virtual Host 1-1. Mixed Named & IP-based Virtual Host 설정 [root@localhost ~]# vi /etc/httpd/conf/httpd.conf 990 NameVirtualHost 192.168.0.7:80 1012 1013 ServerAdmin root@bban2.co.kr 1014 DocumentRoot /var/www/html 1015 Se.. 더보기
Apache WebServer - Virtual Host - IP-based Virtual Host 참고사항 : http://bban2.tistory.com/134 ----------------------------------------------------------------------------------------------------- Virtual Host - IP-based 1-1. Ethernet 카드에 IP 추가로 설정 [root@localhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0B:6A:DC:60:7B inet addr:192.168.0.7 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::20b:6aff:fedc:607b/64 Scope:Link UP B.. 더보기
Apache WebServer - httpd.conf - Section 3: Virtual Hosts Apache HTTP Server Version 2.2에 대한 자세한 정보 : http://httpd.apache.org/docs/2.2/ Virtual Hosts에 대한 자세한 정보 : http://httpd.apache.org/docs/2.2/vhosts/ ----------------------------------------------------------------------------------------------------- Section 3 : 가상 호스트 설정 여러분의 시스템에서 여러개의 도메인이나 호스트네임을 설정하여 관리하고자 한다면 부분을 설정해 줘야 한다. 가상호스트에 대한 정보는 http://httpd.apache.org/docs/2.2/vhosts/ 를 참조해 보면 좀더 자세.. 더보기
Apache Webserver - httpd.conf - Section 2: 'Main' server configuration Apache HTTP Server Version 2.2에 대한 자세한 정보 : http://httpd.apache.org/docs/2.2/ ----------------------------------------------------------------------------------------------------- Section 2 : 'Main' server configuration Section 2에서는 아피치의 주 서버가 사용할 값들을 설정한다. 에 정의된 가상호스트들에서 지정하지 않는 것은 여기서 지정된 값이 기본값으로 적용된다. 또한 여기서 지정하는 값을 각 내에도 지정할 수 있으며 이경우엔 각내에서 지정한 값이 우선적용된다.  ---------------------------------.. 더보기
Apache WebServer - httpd.conf - Section 1: Global Environment Apache HTTP Server Version 2.2에 대한 자세한 정보 : http://httpd.apache.org/docs/2.2/ ----------------------------------------------------------------------------------------------------- httpd.conf 파일은 크게 세부분으로 나누어져 있다. Section 1: Global Environment - 아파치 전체적인 영향이 미치는 설정 Section 2: 'Main' server configuration - 주 서버에 대한 설정 Section 3: Virtual Hosts - 가상 호스트에 대한 설정 자, 그럼 이제부터 이 아파치웹서버의 모든 환경을 설정하는 아파치 환경.. 더보기
Apache WebServer - Virtual Host - Name-based Virtual Host 참고사항 : http://bban2.tistory.com/134 ----------------------------------------------------------------------------------------------------- Virtual Host - 가상 호스트를 지정한다. IP를 입력한다. ServerAdmin webmaster@dummy-host.example.com - 관리자의 메일주소를 입력한다. DocumentRoot /www/docs/dummy-host.example.com - 웹문서 지정 디렉토리 ServerName dummy-host.example.com - 호스트 네임 지정 ErrorLog logs/dummy-host.example.com-e.. 더보기