Source https://www.youtube.com/watch?v=dEAtD9PVr_Q
get Host Build a VM on Hetzner, Ubuntu 22.04
Patch Patch the Box
apt-get update apt-get --fix-broken install apt-get -y upgrade apt-get install lynx uptimed Kurl Small give a try with kurl. the Open Source Kubernetes Installer ;)
time curl https://kurl.sh/ccedeec |bash |tee -a install.md real 4m5.149s user 1m26.425s sys 0m22.249s Kurl Full same as small, but with most options enabled
curl https://kurl.sh/13609c3 | sudo bash Ressource Warning got a warning as i took a bit a small VM (CX21).
Running a WebApp in 5min ? ASP.NET Tutorial - Hello World in 5 minutes
in a Language you never touched before … ? a Microsoft App running on Linux running in Docker running on macOS … ?
Let’ give a try …
Fireup Ubuntu via Docker, do Port Forward docker run -it -p 5123:5123 --name dotnet-hello ubuntu:latest add basics apt-get update && apt-get -y upgrade && apt-get -y install wget add dotnet wget https://packages.
Assume you got a fresh Machine with DHCP …
Ubuntu with DHCP Config cat /etc/netplan/01-netcfg.yaml # This is the network config written by 'subiquity' network: ethernets: ens192: dhcp4: true version: 2 and you’d like to switch to Static IP, ask google how todo it an give try:
Static IP with Netplan # This is the network config written by 'subiquity' network: version: 2 ethernets: ens192: addresses: - 1.2.3.4/24 gateway4: 1.1.1.1 nameservers: addresses: - 8.
How to Kickstart a Ubuntu Installation … edit dhcpd.conf host ubuntu { hardware ethernet 4E:E5:80:xx:xx:xx; fixed-address x.x.x.x; filename "ubuntu/pxelinux.0"; next-server x.x.x.200; } restart dhcpd
prepare env on tftp server (x.x.x.200) mkdir -p /tftpboot/ubuntu/ cd /tftpboot/ubuntu/ ftp http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/installer-amd64/current/images/netboot/netboot.tar.gz tar xfz netboot.tar.gz kickstart cfg put the following file in a webroot available from the client machine
cat <<'EOF' > /var/www/htdocs/ks.cfg #Generated by Kickstart Configurator #platform=AMD64 or Intel EM64T #System language lang en_US #Language modules to install langsupport en_US #System keyboard keyboard ch #System mouse mouse #System timezone timezone Europe/Zurich #Root password (here 123456) rootpw --iscrypted $1$r6te7M.