Skip to content

Instantly share code, notes, and snippets.

View touzoku's full-sized avatar
🗼

Marat Vyshegorodtsev touzoku

🗼
View GitHub Profile
commands:
00_download_jdk7:
command: wget --no-cookies --no-check-certificate --header "Cookie:gpw_e24=xxx;oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.rpm" -O /etc/tomcat7/jdk7-oracle.rpm
test: test ! -f /etc/tomcat7/oracle-jdk7-installed.txt
01_install_oracle_jdk7:
command: yum -y install jdk7-oracle.rpm
cwd: /etc/tomcat7
test: test ! -f /etc/tomcat7/oracle-jdk7-installed.txt && md5sum -c - <<<"b516630a940d83b066cf1e6479ec59fe jdk7-oracle.rpm"