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
start_loc=$(pwd) | |
echo "Copy OSK zip file to /tmp" | |
cp OSK*.zip /tmp/ | |
cd /tmp && unzip -o OSK*.zip > /dev/null 2>&1 | |
echo "Extract JDK and OS archives to encrypt password" | |
cd archives | |
if [[ -f jdk/README.* ]]; 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
# Configure current user for rootless containers | |
echo "${USER}:231072:65536" | sudo tee -a "/etc/subuid" | |
echo "${USER}:231072:65536" | sudo tee -a "/etc/subgid" | |
/bin/systemctl --user daemon-reload | |
podman system migrate | |
# Configure container.conf | |
sudo cp "/usr/share/containers/containers.conf" "/etc/containers" | |
sudo sed -i 's/network_backend = "cni"/network_backend = "netavark"/g' "/etc/containers/containers.conf" | |
sudo sed -i 's/#stop_timeout = 10/stop_timeout = 90/g' "/etc/containers/containers.conf" |
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
#$env:PS_HOME='c:\PT8.61.02_Client_ORA' | |
$env:PS_HOME='c:\PT8.61.03_Client_ORA' | |
$env:PT_REL='8' | |
$env:PT_VER='61' | |
$env:ORACLE_HOME='C:\psft\pt\oracle-client\19.3.0.0' | |
$env:DB="FSCMCON" | |
# $env:PSCADBG="true" | |
$env:PATH="${env:PS_HOME}\bin\client\winx86;${env:PATH}" |
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
<html> | |
<style> | |
@import url('https://fonts.googleapis.com/css?family=Inconsolata|Lato|Roboto'); | |
@font-face { | |
font-family: 'Interstate'; | |
src: url('_images/interstate-black.ttf') format('truetype'); | |
font-weight: normal; | |
font-style: normal; | |
} |
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 | |
function echoinfo() { | |
local GC="\033[1;32m" | |
local EC="\033[0m" | |
printf "${GC} ☆ INFO${EC}: %s${GC}\n${EC}" "$@"; | |
} | |
function echoerror() { | |
local RC="\033[1;31m" |
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
-- ----------- | |
-- System Name | |
-- ----------- | |
-- Persist the GUID across refreshes - used by the EMF Hub | |
UPDATE sysadm.psoptions | |
SET | |
guid = '<static guid>', | |
shortname = '<DBNAME>', | |
longname = '<Application> <Environment>', | |
systemtype = '<XLAT Types>', |
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
-- ------------------------- | |
-- Rename Default Local Node | |
-- ------------------------- | |
-- Rename IB Nodes | |
UPDATE sysadm.psmsgnodedefn | |
SET | |
msgnodename = 'HNONPROD', | |
authoptn = 'P', |
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
-- System Base Tables | |
ps.psdbowner | |
sysadm.psstatus | |
sysadm.psstatus | |
sysadm.psoprdefn | |
sysadm.psaccessprfl | |
sysadm.psaccessprofile | |
sysadm.psoptions | |
-- Branding |
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
function run_loadcache(){ | |
if [[ ${RESET} == 'true' ]]; then | |
echoinfo "Removing previous cache" | |
rm -rf ${PS_SERVDIR}/CACHE/1/*.DAT | |
rm -rf ${PS_SERVDIR}/CACHE/1/*.KEY | |
rm -rf ${PS_SERVDIR}/CACHE/STAGE/stage/*.DAT | |
rm -rf ${PS_SERVDIR}/CACHE/STAGE/stage/*.KEY | |
fi | |
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
#-----------------------------------------------------------[Parameters]---------------------------------------------------------- | |
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory=$true)][String]$DATABASE, | |
[Parameter(Mandatory=$true)][String]$PT_VERSION, | |
[Parameter()][String]$CA_PATH = "C:\Program Files\PeopleSoft\Change Assistant" | |
) | |
#------------------------------------------------------------[Variables]---------------------------------------------------------- |
NewerOlder