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
| # https://docs.vmware.com/en/VMware-Horizon-Client-for-Windows/4.6/com.vmware.horizon.windows-client-46-install/GUID-AFB637E0-9395-4A71-8103-7D6DF0103295.html | |
| # INSTALLDIR | |
| # The path and folder in which Horizon Client is installed. For example: | |
| # INSTALLDIR=""D:\abc\my folder"" | |
| # default is %ProgramFiles%VMware\VMware Horizon View Client | |
| # The sets of double quotes that enclose the path enable the installer to interpret the space as a valid part of the path. | |
| # RUN ON CMD.exe with Admin | |
| choco install vmware-horizon-client -ia "INSTALLDIR=""D:\installs\VMWare""" | |
| choco install git.install -ia "/DIR="D:\installs\Git"" | |
| choco install virtualbox -ia "INSTALLDIR=""D:\installs\VirtualBox""" |
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
| # Some useful commands for reference |
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
| https://docs.microsoft.com/en-us/windows/wsl/install-manual | |
| https://github.com/FRC2539/pybot/wiki/Windows-WSL-Install | |
| https://github.com/FRC2539/pybot/wiki/WSL-Offline-Install | |
| https://stackoverflow.com/questions/52512026/is-it-possible-install-ubuntu-in-windows-10-wsl-without-microsoft-store | |
| https://docs.microsoft.com/en-us/windows/wsl/install-on-server | |
| # Stuck with 14.04 as Windows 10 is old and useless |
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
| # an opinionated Tools VM set up based on using an OpsMan VM from pivnet | |
| # Intended to be used with BUCC, specifically https://github.com/matthewcosgrove/lab-ops | |
| # Intructions for pivnet | |
| # set env var | |
| export PIVNET_TOKEN="grab a token from the GUI" # Deprecated approach but works for now | |
| # Install | |
| wget https://github.com/pivotal-cf/pivnet-cli/releases/download/v1.0.4/pivnet-linux-amd64-1.0.4 | |
| sudo chmod +x pivnet-linux-amd64-1.0.4 |
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
| k3os: | |
| password: rancher | |
| boot_cmd: | |
| - sed -i -r 's/^(\s*PasswordAuthentication\s*)no(\s*)$/\1yes\2/i' /etc/ssh/sshd_config | |
| ssh_authorized_keys: | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCo6Z1dGE1cNKcsG2f8nqLWehWDBu2zo/3RBRKeMU60uJ1E4CokzKk5uH15Zjbsj/d97WlP0YQ20nFiWPhvDYK7gydAWQl/HuA+k3bG2+/YCnmx8IRuNrDAX3PR4iYyCo30BVjn4qHadO2JMQDSp7UeYs5JziOpQKqxTxuQAubbrMwnm7j+ckhIDSc0c9faKvhUiuyZny4gWtCTP/R3Z6k/1qW4MH2QE0oeVFQ2CUpkn/5ffyVDKo9S2rFamv5hwuktM5jVHW1L+mbB0kFOF1X5Iwq+KOihRcBNhNFubPXzhq/BEshBnDRqqMtjKFp0fcnEXlu8XAr7LTm8eKdU0P1L ubuntu@mgmt-tools |
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
| Covers both tools |
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
| Selection of bash snippets |
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 | |
| # login with an account in wheel group and clone this gist to run | |
| # Tested on | |
| # $[cosgrom@vps ~]$ cat /etc/redhat-release | |
| # CentOS Linux release 7.6.1810 (Core) | |
| # $ cat /etc/os-release | |
| # NAME="CentOS Linux" | |
| # VERSION="7 (Core)" |
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
| # 'EOF' vs EOF with escaping --> https://stackoverflow.com/a/25903579/752167 and https://unix.stackexchange.com/a/405254/308152 | |
| cat <<EOF >/etc/nginx/conf.d/subsonic-proxy.conf | |
| server { | |
| listen 80; | |
| server_name $SUBSONIC_SERVER_DOMAIN; | |
| location / { | |
| proxy_pass http://127.0.0.1:4040; | |
| proxy_set_header Host \$http_host; | |
| proxy_set_header X-Real-IP \$remote_addr; | |
| proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; |