This tutorial goes through how to install openssl 1.1.1 on CentOS 7, since the yum repo only installs up to openssl 1.0.
Upgrade the system
yum -y update
| NOTE: Copied as-is from "Linux Expert" forum in linkedin - https://www.linkedin.com/feed/update/urn:li:activity:7031604358630805504?utm_source=share&utm_medium=member_desktop | |
| Not entirely tested from my end. | |
| ``` | |
| #!/bin/bash | |
| # Update the package repository | |
| apt-get update -y | |
| # Install and configure the firewall (ufw) | |
| apt-get install -y ufw | 
| #requires -Version 3.0 -Modules Dism | |
| <# | |
| .SYNOPSIS | |
| Disables SMB1 | |
| .DESCRIPTION | |
| This script disables SMB1. If Windows 10 or greater it will use the PowerShell cmdlet to disable SMB1 with no restart, if the OS is | |
| less than Windows 10 - such as Windows 7 it will set the services to be disabled manually. Needs to be run as Administrator. | |
| Main script hosted on the following repository: https://github.com/lukemurraynz/PowerOfTheShell/blob/master/Other/Disable-SMB1.ps1 | 
| function Send-SlackMessage { | |
| # Add the "Incoming WebHooks" integration to get started: https://slack.com/apps/A0F7XDUAZ-incoming-webhooks | |
| param ( | |
| [Parameter(Mandatory=$true, Position=0)]$Text, | |
| $Url="https://hooks.slack.com/services/xxxxx", #Put your URL here so you don't have to specify it every time. | |
| # Parameters below are optional and will fall back to the default setting for the webhook. | |
| $Username, # Username to send from. | |
| $Channel, # Channel to post message. Can be in the format "@username" or "#channel" | |
| $Emoji, # Example: ":bangbang:". | |
| $IconUrl # Url for an icon to use. | 
| # Powershell script to trigger a Team City build from Octopus Deploy, and wait for it to be finished | |
| # Use case for this is running an automated script (such as test scripts) from Team City as part of | |
| # a deployment, and holding the deployment until the script has finished | |
| # teamcity-host teamcity host url | |
| # teamcity-username teamcity api username | |
| # teamcity-password teamcity api password | |
| # teamcity-build-configuration-id teamcity build configuration | |
| # teamcity-changeset (optional) changeset to build from - NOTE: this is a VCS changeset | 
| #requires -Version 3.0 | |
| <# | |
| .SYNOPSIS | |
| My Veeam Report is a flexible reporting script for Veeam Backup and | |
| Replication. | |
| .DESCRIPTION | |
| My Veeam Report is a flexible reporting script for Veeam Backup and | |
| Replication. This report can be customized to report on Backup, Replication, | 
| # Disable extraneous services on Server 2016 Desktop Experience | |
| # https://blogs.technet.microsoft.com/secguide/2017/05/29/guidance-on-disabling-system-services-on-windows-server-2016-with-desktop-experience/ | |
| Configuration DisablingServicesOnServer2016wDE | |
| { | |
| param( | |
| [String]$ComputerName = "localhost", | |
| [ValidateSet('ShouldBeDisabledOnly','ShouldBeDisabledAndDefaultOnly','OKToDisable','OKToDisablePrinter','OKToDisableDC')] | |
| [String]$Level = 'OKToDisable' | |
| ) | 
| <# | |
| .SYNOPSIS | |
| Disables services not required in Windows Server 2016. | |
| .DESCRIPTION | |
| Disables services not required to increase security of the system. | |
| .PARAMETER ComputerName | 
| Puts on glasses: | |
| (•_•) | |
| ( •_•)>⌐■-■ | |
| (⌐■_■) | |
| Takes off glasses ("mother of god..."): | |
| (⌐■_■) | |
| ( •_•)>⌐■-■ | 
| #Requires -Version 4.0 | |
| [CmdletBinding()] | |
| Param( | |
| [switch]$OnlineInstall = $false | |
| ) | |
| <# | |
| .NOTES |