1. sts 설치: Mac os STS 3.9.4 Based on Eclipse 4.7.3a
2. Apache Tomcat 설치
$ cd Desktop/tomcat
$ cd apache-tomcat-8.0.51
$ cd apache-tomcat-8.0.51
$ cd bin/
$ ls -al *.sh
-rw-r--r-- 1 hyesuelee staff 23321 Apr 10 00:23 catalina.sh
-rw-r--r-- 1 hyesuelee staff 1922 Apr 10 00:23 configtest.sh
-rw-r--r-- 1 hyesuelee staff 8509 Apr 10 00:23 daemon.sh
-rw-r--r-- 1 hyesuelee staff 1965 Apr 10 00:23 digest.sh
-rw-r--r-- 1 hyesuelee staff 3680 Apr 10 00:23 setclasspath.sh
-rw-r--r-- 1 hyesuelee staff 1902 Apr 10 00:23 shutdown.sh
-rw-r--r-- 1 hyesuelee staff 1904 Apr 10 00:23 startup.sh
-rw-r--r-- 1 hyesuelee staff 5495 Apr 10 00:23 tool-wrapper.sh
-rw-r--r-- 1 hyesuelee staff 1908 Apr 10 00:23 version.sh
$ chmod +x *.sh
$ ls -al *.sh
-rwxr-xr-x 1 hyesuelee staff 23321 Apr 10 00:23 catalina.sh
-rwxr-xr-x 1 hyesuelee staff 1922 Apr 10 00:23 configtest.sh
-rwxr-xr-x 1 hyesuelee staff 8509 Apr 10 00:23 daemon.sh
-rwxr-xr-x 1 hyesuelee staff 1965 Apr 10 00:23 digest.sh
-rwxr-xr-x 1 hyesuelee staff 3680 Apr 10 00:23 setclasspath.sh
-rwxr-xr-x 1 hyesuelee staff 1902 Apr 10 00:23 shutdown.sh
-rwxr-xr-x 1 hyesuelee staff 1904 Apr 10 00:23 startup.sh
-rwxr-xr-x 1 hyesuelee staff 5495 Apr 10 00:23 tool-wrapper.sh
-rwxr-xr-x 1 hyesuelee staff 1908 Apr 10 00:23 version.sh
$ ./startup.sh 또는 ./catalina.sh start 톰캣 시작
$ ./shutdown.sh 또는 ./catalina.sh shutdown 종료
http://localhost:8080/ 접속후 톰캣 페이지 뜨면 성공!
'Back-end > JAVA,Spring' 카테고리의 다른 글
객체지향 Object-oriented / 힙스택/ 메서드 (0) | 2018.06.02 |
---|---|
[JAVA] 다이아몬드 별찍기. 소스코드 (0) | 2018.05.18 |
[JAVA] 변수란? Variable (0) | 2018.05.16 |
[JAVA]Spring framework 스프링 프레임워크란 ? (0) | 2018.04.30 |
자바란? JAVA programming language (0) | 2018.04.25 |