Install Chocolatey

The Chocolatey home page is at https://chocolatey.org/ Install Chocolatey Navigate to the Chocolatey website at https://chocolatey.org/ and follow the latest instructions. At the time of writing the instructions were Using the Command prompt Open a command prompt as Administrator, Install Chocolatey with the command @”%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe” -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command “iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1’))” && SET “PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin” Using …

The instance ID ‘…’ does not exist

When you launch an EC2 instance in AWS and the Chef script is trying to set tags on the instance you may get the error message: The instance ID ‘…’ does not exist It can happen when you launch the instance in one AWS account, and the tagging script tries to find the instance in another …

Determine the Windows PowerShell version

To reliably display the version of the Windows PowerShell engine Open a PowerShell command window, Execute the command, $PSVersionTable.PSVersion PS C:\WINDOWS\system32> $PSVersionTable.PSVersion Major Minor Build   Revision —–   —–   ——-  ——- 5       1        16299  64 If no value is displayed, the version is 1.0, as it does not have the referenced …

How to create a Docker repository in Artifactory

Artifactory supports multiple repository types, Docker is one of them. To create a new Docker repository in Artifactory Set the Custom Base URL of the Artifactory server From the Artifactory documentation at https://www.jfrog.com/confluence/display/RTF/Configuring+NGINX “When using an HTTP proxy, the links produced by Artifactory, as well as certain redirects contain the wrong port and use the http instead …

How to transfer an Atlassian Confluence wiki space to another server

Confluence is one of the most popular Wikis with a great user interface. To export and transfer an Atlassian Confluence wiki to another server Log into the Atlassian Confluence wiki as an administrator, In the lower left corner click the gear icon and select Content Tools, On the Export tab select the XML radio button …

Atom text editor configuration

Configure Atom Turn off auto-indent on paste to stop Atom reformatting your code. In the Atom menu select Preferences On the left side select Editor Uncheck Auto Indent On Paste Check Show Indent Guide Set Tab Type to soft to place 2 spaces when you press the tab key Atom language packs Atom language packs help you with code completion. Install language packs In the Atom …

Deploy a WAR file of a Java web application on the Apache Tomcat web server

There are two ways to deploy a WAR file of a Java web application on the Apache Tomcat web server Using the command line Copy the WAR file into the webapps folder of the Tomcat installation directory, Make sure the CATALINA_HOME environment variable points to the Tomcat directory (not the bin subdirectry) Open a Terminal window or …

Tomcat web server configuration

When you install the Apache Tomcat web server there are some configuration settings you need to make to be able to administer and use it. Administrator user accounts When you install the Apache Tomcat web server there is no admin user account specified, so nobody can log into the admin web user interface. To add …

Enable PowerShell execution in Windows

The default settings of Windows disable the PowerShell script execution. This protects your computer in case a malicious PowerShell script would try to make changes on your machine. The same settings prevent you from executing your own automation scripts too. When we try to execute a PowerShell script we get the error message File ….ps1 …

The specified Security Group and Parameter Group are not set in the RDS instance

If the Terraform apply execution times out during the RDS instance creation, the specified Security Group and Parameter Group is not set in the RDS instance. The solution is to set the timeout in the aws_db_instance resource. When a multi-az RDS instance is launched from a snapshot, the process can take more than 55 minutes. The default …