Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| #!/bin/bash | |
| TOMCAT=apache-tomcat-7.0.23 | |
| TOMCAT_WEBAPPS=$TOMCAT/webapps | |
| TOMCAT_CONFIG=$TOMCAT/conf/server.xml | |
| TOMCAT_START=$TOMCAT/bin/startup.sh | |
| TOMCAT_ARCHIVE=$TOMCAT.tar.gz | |
| TOMCAT_URL=http://apache.mirrorcatalogs.com/tomcat/tomcat-7/v7.0.23/bin/$TOMCAT_ARCHIVE | |
| WAR_FILE=whatever.war |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
| --- | |
| - hosts: jenkins | |
| roles: | |
| - role: ansiblebit.oracle-java | |
| oracle_java_set_as_default: yes | |
| tasks: | |
| - name: Ensure Jenkins Repository is Installed | |
| yum_repository: | |
| name: jenkins | |
| state: present |
Most of programs will not accept an email using just @localhost as domain.
So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:
127.0.0.1 localhost.com
| http://d.stavrovski.net/blog/post/how-to-install-and-setup-oracle-java-jdk-in-centos-6 | |
| # rpm | |
| wget --no-cookies \ | |
| --no-check-certificate \ | |
| --header "Cookie: oraclelicense=accept-securebackup-cookie" \ | |
| "http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.rpm" \ | |
| -O jdk-7-linux-x64.rpm | |
| # ubuntu |