Skip to content

Instantly share code, notes, and snippets.

@stromvirvel
Created January 22, 2020 16:24
Show Gist options
  • Save stromvirvel/623a8055b62b08eb180268a49e3a494e to your computer and use it in GitHub Desktop.
Save stromvirvel/623a8055b62b08eb180268a49e3a494e to your computer and use it in GitHub Desktop.
install-sample-app.sh
#!/bin/bash
yum install tomcat -y
curl https://tomcat.apache.org/tomcat-7.0-doc/appdev/sample/sample.war -o /usr/share/tomcat/webapps/sample.war
systemctl enable tomcat && sudo systemctl start tomcat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment