Jump to content

Hovt-rsk-uws22: Difference between revisions

From RiSKi
No edit summary
No edit summary
 
Line 13: Line 13:
   
   
  apt-get install curl git net-tools openssh-server screen unzip wget -y
  apt-get install curl git net-tools openssh-server screen unzip wget -y
Change the time zone
  America/Phoenix
# Create path for source code
Script path
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
  /home/rkeeling/webapps/acme/.bin
Network settings
Network settings
  IP 10.65.30.99
  IP 10.65.30.99
  MAC 08:00:27:01:62:65
  MAC 08:00:27:01:62:65

Latest revision as of 13:31, 1 September 2025

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