tomca install 처리 하는 내용이지만 별 내용이 없어서... pass
[root@localhost webapp]# yum list tomcat*
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirror.moack.net
* extras: centos.mirror.moack.net
* updates: centos.mirror.moack.net
Installed Packages
tomcat.noarch 7.0.76-9.el7_6 @updates
tomcat-admin-webapps.noarch 7.0.76-9.el7_6 @updates
tomcat-el-2.2-api.noarch 7.0.76-9.el7_6 @updates
tomcat-jsp-2.2-api.noarch 7.0.76-9.el7_6 @updates
tomcat-lib.noarch 7.0.76-9.el7_6 @updates
tomcat-servlet-3.0-api.noarch 7.0.76-9.el7_6 @updates
tomcat-webapps.noarch 7.0.76-9.el7_6 @updates
Available Packages
tomcat-docs-webapp.noarch 7.0.76-9.el7_6 updates
tomcat-javadoc.noarch 7.0.76-9.el7_6 updates
tomcat-jsvc.noarch 7.0.76-9.el7_6 updates
tomcatjss.noarch 7.2.1-8.el7_6 updates
[root@localhost webapp]#
yum install tomcat tomcat-webapp tomcat-admin-webapps
[root@localhost webapp]# systemctl enable tomcat
[root@localhost webapp]# systemctl stop tomcat
[root@localhost webapp]# systemctl start tomcat
[root@localhost webapp]# whereis tomcat
tomcat: /usr/sbin/tomcat /etc/tomcat /usr/libexec/tomcat /usr/share/tomcat
[root@localhost webapp]# cd /usr/share/tomcat/
[root@localhost tomcat]# ll
합계 0
drwxr-xr-x. 2 root root 76 6월 27 22:03 bin
lrwxrwxrwx. 1 root tomcat 11 6월 27 22:03 conf -> /etc/tomcat
lrwxrwxrwx. 1 root tomcat 22 6월 27 22:03 lib -> /usr/share/java/tomcat
lrwxrwxrwx. 1 root tomcat 15 6월 27 22:03 logs -> /var/log/tomcat
lrwxrwxrwx. 1 root tomcat 22 6월 27 22:03 temp -> /var/cache/tomcat/temp
lrwxrwxrwx. 1 root tomcat 23 6월 27 22:03 webapps -> /var/lib/tomcat/webapps
lrwxrwxrwx. 1 root tomcat 22 6월 27 22:03 work -> /var/cache/tomcat/work
[root@localhost tomcat]#
[root@localhost webapps]# ll
합계 5
drwxr-xr-x. 3 tomcat tomcat 4096 6월 27 22:54 ROOT
drwxr-xr-x. 8 tomcat tomcat 127 6월 27 22:54 examples
drwxr-xr-x. 5 root tomcat 87 6월 27 22:45 host-manager
drwxr-xr-x. 5 root tomcat 103 6월 27 22:45 manager
drwxr-xr-x. 5 tomcat tomcat 86 6월 27 22:54 sample
728x90
반응형
'Software활용' 카테고리의 다른 글
ssh key를 이용한 github 접근 (0) | 2021.03.01 |
---|---|
Git branch 분리하기 (0) | 2021.03.01 |
Redis Config Explain (0) | 2020.03.27 |
Postgresql 11 installation on Centos7 (0) | 2020.03.27 |
Pgmodeler install (0) | 2020.03.27 |