1 개요[ | ]
- choco install tomcat
doscon
Copy
C:\WINDOWS\system32>choco list --localonly | findstr tomcat
doscon
Copy
C:\WINDOWS\system32>choco install tomcat
Chocolatey v0.10.8
Installing the following packages:
tomcat
By installing you accept licenses for the packages.
Progress: Downloading Tomcat 8.5.12... 100%
Tomcat v8.5.12 [Approved]
tomcat package files install completed. Performing other installation steps.
The package Tomcat wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[N]o/[P]rint): Y
doscon
Copy
Downloading tomcat 64 bit
from 'https://archive.apache.org/dist/tomcat/tomcat-8/v8.5.12/bin/apache-tomcat-8.5.12-windows-x64.zip'
Progress: 100% - Completed download of C:\Users\jmnote.LAPTOP-6KT4J9NE.000\AppData\Local\Temp\chocolatey\Tomcat\8.5.12\apache-tomcat-8.5.12-windows-x64.zip (10.47 MB).
Download of apache-tomcat-8.5.12-windows-x64.zip (10.47 MB) completed.
Hashes match.
Extracting C:\Users\jmnote.LAPTOP-6KT4J9NE.000\AppData\Local\Temp\chocolatey\Tomcat\8.5.12\apache-tomcat-8.5.12-windows-x64.zip to C:\Program Files\Apache Software Foundation\tomcat...
... (생략)
Only an exit code of non-zero will fail the package by default. Set
`--failonstderr` if you want error messages to also fail a script. See
`choco -h` for details.
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
The install of tomcat was successful.
Software installed to 'C:\Program Files\Apache Software Foundation\tomcat'
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
doscon
Copy
C:\WINDOWS\system32>choco list --localonly | findstr tomcat
tomcat 8.5.12
doscon
Copy
C:\WINDOWS\system32>net start | findstr -i tomcat
Apache Tomcat 8.5 Tomcat8
doscon
Copy
C:\WINDOWS\system32>sc query Tomcat8
SERVICE_NAME: Tomcat8
종류 : 10 WIN32_OWN_PROCESS
상태 : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
검사점 : 0x0
WAIT_HINT : 0x0
2 같이 보기[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.