00:
english input
ssh to server, do NOT use console (cursor will disappear)
ssh-keygen on powershell copy to freebsd-vm
pc:
exam image: download from internet or usb
boot with exam image
console:
root login password: rootroot
enable internet
add user called mary and group is wheel
add package sudo
pc:
ssh to freebsd-vm as user mary without password
can mary sudo?
dns config /etc/resolv.conf updated
mary can ssh to netcup without password
swapinfo to add swap
UserDNS no
apache24
ServerName localhost:80
prove port 80 is listen
install php module (version 82)
sudo pkg search mod_php
DirectoryIndex + index.php
test php module
also cat /usr/local/etc/apache24/modules.d/README_modules.d
touch /usr/local/etc/apache24/modules.d/080_mod_php.conf
SetHandler application/x-httpd-php
SetHandler application/x-httpd-php-source
sudo vi /usr/local/www/apache24/data/index.php
mkdir ~/public_html
john> vi ~/public_html/index.html