Jump to content

Hovt-rsk-uws22

From RiSKi

Home Office Virtual Template - RSK - Ubuntu Web Server 22

This is the base virtual machine template from which all others are duplicated.

The idea is to save time from frequent builds (testing or production) with minimal setup and up-to-date security patches.

installtemp

#!/bin/bash

# Virtual server template setup. Any package needed
# for all future clones should be installed here.

apt-get install curl git net-tools openssh-server screen unzip wget -y

# Create path for source code

mkdir /home/rkeeling/webapps
# The following will only be needed once, the install scripts will do the
# work later
scp -r rkeeling@10.65.30.3:/home/rkeeling/RSK\\\ Solutions/VSCode/acme /home/rkeeling/webapps

Change the time zone to Phoenix which does not have daylight savings

sudo timedatectl set-timezone America/Phoenix

Which can be verified with

sudo timeddatectl status

Script path to add to visudo

/home/rkeeling/webapps/acme/.bin

Network settings

IP 10.65.30.99
MAC 08:00:27:01:62:65