30.11.2020: Updated with the new patchseries and instructions for Windows
02.12.2020: Added tweaks
08.12.2020: Updated with patchseries v4
31.01.2020: Updated with patchseries v6
VMWare Fusion 13 is now released. Read Vagrant and VMWare Fusion 13 Player on Apple M1 Pro for the latest.
This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated
Infrastructure-as-Code is a principal that drives modern DevOps practice. I discuss the current state of Terraform and provide some basic guidelines/principles regarding how to structure it's usage for your project.
Mac OS X system settings
> Security & Privacy
> privacy
tab
Select Full Disk Access and click plus icon.
Add terminal in the list ( in my case iTerm)
Restart iTerm
Run command in iterm: $ cd /private/etc && sudo touch ./exports
Start virtual machine trough vargrant: Profit
--- | |
- hosts: all | |
tasks: | |
- name: Create a data container | |
docker_container: | |
name: my-test-container | |
image: python:2.7 | |
command: /bin/sleep 600 |
#!/bin/bash -x | |
mkdir test | |
cd test | |
curl https://raw.githubusercontent.com/ruzickap/packer-templates/master/http/windows-server-2016/Autounattend.xml | sed '/.*Microsoft-Windows-PnpCustomizationsWinPE.*/,/component>/d' > Autounattend.xml | |
wget -c https://raw.githubusercontent.com/ruzickap/packer-templates/master/scripts/win-common/fixnetwork.ps1 | |
test -f packer || ( wget https://releases.hashicorp.com/packer/1.2.0/packer_1.2.0_linux_amd64.zip && unzip packer_1.2.0_linux_amd64.zip && rm packer_1.2.0_linux_amd64.zip ) |
.PHONY: all plan apply destroy | |
all: help | |
# Add the following 'help' target to your Makefile | |
# And add help text after each target name starting with '\#\#' | |
help: ## Show this help | |
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' |
Let Tomcat is download and installed under /opt/tomcat
.
Also, let tomcat
be a non-provileged user under which the server will be running.
We assume that we keep server's binaries under /opt/tomcat
and we will create a server instance named foo
under /var/tomcat/
(carrying its own conf
, logs
, webapps
, work
, lib
directories).
See also https://dzone.com/articles/running-multiple-tomcat.
Create a template service unit file at /etc/systemd/system/[email protected]
:
var spreadsheet = SpreadsheetApp.getActiveSpreadsheet(); | |
var USERS_TABLE = spreadsheet.getSheets()[0]; | |
var IDEAS_TABLE = spreadsheet.getSheets()[1]; | |
var VOTES_TABLE = spreadsheet.getSheets()[2]; | |
function registerUser(user){ | |
var data = getTableData(USERS_TABLE); | |
xhost + ${hostname}
to allow connections to the macOS host *export HOSTNAME=`hostname`
* environment: