# SHASUM 설치
sudo yum install perl-Digest-SHA -y

# SHASUM 버전 확인 
$ shasum -v 

# tomcat 다운로드
$ sudo wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.59/bin/apache-tomcat-9.0.59.tar.gz

# tomcat hash 다운로드
$ sudo wget https://downloads.apache.org/tomcat/tomcat-9/v9.0.59/bin/apache-tomcat-9.0.59.tar.gz.sha512


# sha512 hash 값 확인
$ shasum -a 512 apache-tomcat-9.0.59.tar.gz
74902b522abda04afb2be24d7410d4d93966d20fd07dde8f03bb281cdc714866f648babe1ff1ae85d663774779235f1cb9d701d5ce8884052f1f5efca7b62c68  apache-tomcat-9.0.59.tar.gz

# hash값 체크
$ shasum -a 512 -c apache-tomcat-9.0.59.tar.gz.sha512
apache-tomcat-9.0.59.tar.gz: OK

 

+ Recent posts