I hereby claim:
- I am bpelaia on github.
- I am bpelaia (https://keybase.io/bpelaia) on keybase.
- I have a public key ASBGqjOPdzXmkjbGIlV8P11WXmtl3KrrUx82vL0MYZxAVAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
$ sudo mkdir /etc/ansible | |
$ sudo chown root:adm /etc/ansible | |
$ sudo chmod 770 /etc/ansible | |
$ cat > /etc/ansible/hosts <<EOF | |
all: | |
children: | |
localCentosVm: | |
hosts: | |
192.168.56.111: | |
192.168.56.112: |
# deploy under "path" context path | |
curl --upload-file appplication-0.1-1.war "http://tomcat:tomcat@localhost:8080/manager/deploy?path=/application-0.1-1 | |
# undeploy | |
curl "http://tomcat:tomcat@localhost:8080/manager/undeploy?path=/application-0.1-1" | |
# ! tomcat7 uses /manager/text/undeploy and /manager/text/deploy paths | |
# tomcat6-admin (debian) or tomcat6-admin-webapps (rhel) has to be installed | |
# tomcat-users.xml has to be setup with user that has admin, manager and manager-script roles |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader | |
== Shell |