본문 바로가기

tomcat3

[Nginx + Tomcat] 무중단 배포 구현하기 2 How to doEdit1. nginx 설치https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-centos-7sudo yum install epel-release -y sudo yum install nginx -y sudo systemctl start nginx nginx.conf 설정#서브도메인에 prod를 포함하고, 로컬 머신으로 부터 요청이 올경우 중단이 되지 않는 인스턴스로 응답 server { listen 80; server_name ~^prod+.*$ localhost; include /etc/nginx/conf.d/*.inc; # for switch configuration location / { proxy_pas.. 2018. 4. 19.
[Nginx + Tomcat] 무중단 배포 구현하기 개요기존의 1 machine = 1 WAS Instance 구조로소스 패치시 해당 머신을 서비스에 사용하지 못하던 부분을 해소하고자동 배포를 구현하기 위해 고안된 구조입니다. In the before as 1 machine = 1 WAS Instance structure,When patching a source, it is possible to solve a situation where the machine can not be used for a service,It is for structure designed to implement automatic deployment. 그림에서 보이는 바와 같이, 기존의 하나의 머신은 하나의 Nginx와 두개의 Tomcat Instance를 가집니다.Nginx의 Re.. 2018. 3. 20.
우분투에 톰켓깔고 80번 포트변경 sudo apt-get update sudo apt-get install tomcat7First, set AUTHBIND=yes in /etc/default/tomcat7 filesudo touch /etc/authbind/byport/80 sudo chmod 500 /etc/authbind/byport/80 sudo chown tomcat7 /etc/authbind/byport/80톰켓 기본 설치 위치 cd /var/lib/tomcat7/ 2015. 3. 20.