This file contains hidden or 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 | |
| if [[ -z $1 ]]; then | |
| echo "Missing operator for script" | |
| exit 1 | |
| fi | |
| if [[ ! -z $2 ]]; then | |
| ENV_DIR=$2 | |
| else |
This file contains hidden or 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
| SET SQLCMDDIR= | |
| SET SAGEDBBACKUPDIR= | |
| SET CMDLOCATION= | |
| SET BACKUPTARGET= | |
| SET BACKUPDRIVE= | |
| SET LOGLOCATION= | |
| ::Remove remote copy of Exchange Database | |
| DEL /Q /S %BACKUPDRIVE%\ExchangeDatabase.edb > %LOGLOCATION%\ExchangeBackup.log | |
| ::Create VSS copy of D drive to copy running exchange |
This file contains hidden or 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
| #!/usr/bin/env python | |
| import time | |
| import argparse | |
| from b2.account_info import SqliteAccountInfo | |
| from b2.api import B2Api | |
| from b2.cache import AuthInfoCache | |
| NUM_DAYS = 2 | |
| def get_opts(): |
This file contains hidden or 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
| [General] | |
| host= | |
| port=2014 | |
| pod=PR | |
| batch=15 | |
| pollinterval=60 | |
| [SystemCounters] | |
| prefix=Infrastructure.servers.<POD> | |
| hostname=1 |
This file contains hidden or 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 | |
| if [ "$EUID" -ne 0 ]; then | |
| echo "Please run as root" | |
| exit 1 | |
| fi | |
| echo "Checking system dependencies..." | |
| for dep in make openssl kernel-devel mokutil keyutils; do | |
| dnf list installed $dep > /dev/null 2>&1 |
This file contains hidden or 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 json | |
| import argparse | |
| import gzip | |
| import socket | |
| import uuid | |
| import scandir | |
| import os | |
| import yaml | |
| from multiprocessing import Pool, cpu_count | |
| try: |
This file contains hidden or 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
| [root@ops-freeipa-devops-1 ec2-user]# ipa-server-install --mkhomedir -NU --ca-cert-file=/mnt/certs/rootCA.pem --dirsrv-cert-file=/mnt/certs/ops-freeipa-devops-1.dm.lan.pem --http-cert-file=/mnt/certs/ops-freeipa-devops-1.dm.lan.pem --no-pkinit --dirsrv-pin='' --http-pin='' -p <DS password> -a <admin password> -n DM.LAN -r DM.LAN | |
| The log file for this installation can be found in /var/log/ipaserver-install.log | |
| ============================================================================== | |
| This program will set up the IPA Server. | |
| This includes: | |
| * Create and configure an instance of Directory Server | |
| * Create and configure a Kerberos Key Distribution Center (KDC) |
This file contains hidden or 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 | |
| if [[ -z "${1}" ]]; then | |
| THROTTLE=100000 | |
| else | |
| THROTTLE="${1}" | |
| fi | |
| set -eou pipefail | |
| KAFKABIN=${KAFKABIN:-/opt/kafka/bin} |
This file contains hidden or 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
| [root@ops-freeipa-devops-1 jseekins]# certutil -L -d /etc/httpd/alias/ | |
| Certificate Nickname Trust Attributes | |
| SSL,S/MIME,JAR/XPI | |
| CN=Master,L=Bozeman,ST=Montana,C=US C,, | |
| CN=ops-freeipa-devops-1.dm.lan,L=Bozeman,ST=Montana,C=US Cu,u,u | |
| DM.LAN CT,C,C | |
| [root@ops-freeipa-devops-1 jseekins]# ipa-certupdate |
This file contains hidden or 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
| INFO requests: [uri:/user/error, duration:67, remoteUser:null, remoteHost:172.19.250.77, userAgent:Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0, authToken:form, method:GET, secure:https, contentType:null, project:?] | |
| INFO requests: [uri:/user/error, duration:67, remoteUser:null, remoteHost:172.19.250.77, userAgent:Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0, authToken:form, method:GET, secure:https, contentType:null, project:?] | |
| DEBUG MemoryPageFragmentCachingFilter: No cacheable annotation found for GET:/grails/user/login.dispatch [controller=user, action=login] | |
| INFO requests: [uri:/user/login, duration:2, remoteUser:null, remoteHost:172.19.250.77, userAgent:Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0, authToken:form, method:GET, secure:https, contentType:null, project:?] | |
| INFO requests: [uri:/user/login, duration:2, remoteUser:null, remoteHost:172.19.250.77, userAgent:Mozilla/5.0 (X11; Fedora; Linux x86_64; rv |
OlderNewer