ansible-playbook ssh-provision.yml -i hosts -e "target=testing" --limit "testing" --user=$USER --ask-pass -vv
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 | |
# Prompt for version if not provided as the first parameter | |
if [ -z "$1" ]; then | |
read -p "Enter the Drupal version you would like to install (e.g., 8, 9, 10, 11): " version | |
else | |
version=$1 | |
fi | |
# Prompt for installation directory if not provided as the second parameter |
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
# inspiration from here as I was looking for an alternative to balenaEtcher, Rufus and Unetbooting | |
# | |
# https://forums.balena.io/t/missing-partition-table-issue/175129/10 | |
# | |
# there is a single file sources/install.wim that is larger than 4GB | |
# and the FAT32 file system has an issue with that, so we will use this | |
# to split it into chunks that are less than 4 GB each | |
brew install wimlib | |
# check the file name of the ISO downloaded from microsoft.com |
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/groovy | |
package com.company.devops; | |
def withDockerNetwork(Closure inner) { | |
try { | |
networkId = UUID.randomUUID().toString() | |
sh "docker network create ${networkId}" | |
inner.call(networkId) | |
} finally { | |
sh "docker network rm ${networkId}" |
- You are using MacOS 10 or above
- Have Homebrew installed
- You need a dev-only setup
brew cask install minishift
brew cask install virtualbox
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
#create a response file cas_response.properties | |
vi cas_response.properties | |
INSTALLDIR=/home/<user>/endeca/CAS | |
CASPORT=8500 | |
CASSHUTDOWNPORT=8506 | |
ENDECA_TOOLS_ROOT=/home/<user>/endeca/ToolsAndFrameworks/11.2.0 | |
ENDECA_TOOLS_CONF=/home/<user>/endeca/ToolsAndFrameworks/11.2.0/server/workspace | |
#Then run the silent install as follows: |
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
#Edit the exisitng silent_response.rsp that exist already where the installer lives | |
vi /cd/Disk1/install/silent_response.rsp which is at just change the | |
#Change the UNIX_GROUP_NAME to match with the user that is doing the installation | |
UNIX_GROUP_NAME="<user>" | |
#Run the silent installer, this will be ask for the response file we just editted, the name of the Folder that will be installed, along with the path to install. | |
#We will use the standar and recomendation which is ToolsAndFrameworks | |
./silent_install.sh /media/sf_shared/EndecaInstallers/3ToolsAndFrameworks/cd/Disk1/install/silent_response.rsp ToolsAndFrameworks /home/<user>/endeca/ToolsAndFrameworks |
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
#Create the sile response file | |
vi ps_response.properties | |
INSTALLDIR=/home/<user>/endeca/PlatformServices | |
ETOOLS_HTTP_PORT=8888 | |
ETOOLS_SERVER_PORT=8090 | |
EAC_MDEX_ROOT=/home/<user>/endeca/MDEX/6.5.2 | |
#run the installer | |
./OCplatformservices11.2.0-Linux64.bin -i silent -f ps_response.properties |
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
#Create the sile response file | |
vi ps_response.properties | |
INSTALLDIR=/home/<user>/endeca/PlatformServices | |
ETOOLS_HTTP_PORT=8888 | |
ETOOLS_SERVER_PORT=8090 | |
EAC_MDEX_ROOT=/home/<user>/endeca/MDEX/6.5.2 | |
#run the installer | |
./OCplatformservices11.2.0-Linux64.bin -i silent -f ps_response.properties |
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
#Create mdex_response.properties for silent instalation | |
vi mdex_response.properties | |
USER_INSTALL_DIR=/home/<user> | |
./OCmdex6.5.2-Linux64_962107.bin -i silent -f mdex_response.properties | |
#This will install Mdex at This will install everything at /home/<user>/endeca/MDEX | |
#After silent install is done, source mdex_setup_sh.ini, to set up Endeca env Variables. | |
cd /home/<user>/endeca/MDEX/6.5.2 | |
source mdex_setup_sh.ini |
NewerOlder