This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delete queue > | |
delete topic > | |
create user bpmadm "bpm user" password=bpmadm | |
create queue AMX_SV.> | |
grant queue AMX_SV.> user=bpmadm create, delete, modify, send, receive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> | |
<properties> | |
<comment>---Universal Installer Silent Installation Properties---</comment> | |
<!--accept the license agreement--> | |
<entry key="acceptLicense">true</entry> | |
<!--the root installation directory--> | |
<!--if the product does not support multiple instances and TIBCO_HOME has already been set then--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# We only take '/' as path separator | |
# The following properties may be modified | |
tibco.home=/home/vagrant/tibco/amx-bpm | |
plugins.home=${tibco.home}/tct/components/shared/1.0.0/plugins | |
machine.model.location=/home/vagrant/tibco/amx-bpm/tools/machinemodel/shared/1.0.0/machine.xmi | |
# Shell Configuration Details | |
source.jar.folders=/vagrant/bpm_install | |
shell.name=com.tibco.tpcl.gen.oracle.jdbc | |
shell.version=11.1.0.112100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# We only take '/' as path separator | |
# The following properties may be modified | |
tibco.home=/home/vagrant/tibco/amx-bpm | |
tibco.config.mgmt.home=/home/vagrant/TIBCO_HOME/amx-bpm/tibco/data | |
amx.version=3.3 | |
# Administrator Server Configuration: Details | |
admin.enterprise.name=AMX-BPM | |
admin.instance.name=AMX-BPM-Server | |
admin.shared.folder=${tibco.config.mgmt.home}/admin/${admin.enterprise.name}/shared |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
echo create bpm.service | |
touch /etc/systemd/system/bpm.service | |
chmod 644 /etc/systemd/system/bpm.service | |
cat <<EOT >> /etc/systemd/system/bpm.service | |
[Unit] | |
Description=Tibco ActiveMatrix BPM 4.0 server | |
After=syslog.target network.target | |
[Service] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
if [ -e /.installed ]; then | |
echo 'Already installed.' | |
else | |
echo '' | |
echo 'INSTALLING' | |
echo '----------' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrantfile: | |
Vagrant.configure("2") do |config| | |
config.vm.box = "bento/ubuntu-16.04" | |
config.ssh.forward_agent = true | |
config.vm.network "forwarded_port", guest: 4444, host: 4444 | |
config.vm.provision 'setup', type: 'shell', path: 'headless_selenium_sever_setup.sh' | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
echo download scala | |
wget http://downloads.typesafe.com/scala/2.12.2/scala-2.12.2.tgz | |
tar xvf scala-2.12.2.tgz | |
mv scala-2.12.2 /usr/lib | |
ln -s /usr/lib/scala-2.12.2 /usr/lib/scala | |
export PATH=$PATH:/usr/lib/scala/bin | |
scala -version | |
echo download spark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from sets import Set | |
import shutil | |
import re | |
duplicates = [] | |
folder = '/vagrant/books/unorganized' | |
totalNumOfFiles = 0 | |
numOfDupFiles = 0 | |
numOfNonDupFiles = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
echo Download the Elastic PGP key | |
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch | |
elastic_repo=/etc/yum.repos.d/elastic_stack.repo | |
touch $elastic_repo | |
cat <<EOT > $elastic_repo | |
[elastic-5.x] | |
name=Elasticsearch repository for 5.x packages | |
baseurl=https://artifacts.elastic.co/packages/5.x/yum |