This is an old revision of the document!
Photon OS is an open source Linux container host optimized for cloud-native applications, cloud platforms, and VMware infrastructure.
Setup minimal installed profile of PhotonOS
OVA with virtual hardware v15 from https://github.com/vmware/photon/wiki/Downloading-Photon-OSCreate/Register VM:Deploy a virtual machine from an OVF or OVA fileTarget DatastorePower on automaticallyFinishHost > Manage > System > Autostart:EnableStart earlier and Start later to set the desired orderVirtual Machines on the sidebar and click on the current VMActions > Edit Settings:Add other device > NVMe controllerHard Disk 1 > Controller location > NVMe controller 0Edit SettingsSCSI controller 0Hardware Configuration > Network adapter 1) and desired hostname# Login with root details from the VM note # Follow instructions to set new password # Remove docker related packages if not needed to save space and faster updates tdnf erase containerd docker docker-cli docker-engine # Update packages: tdnf upgrade # Disable password expiry: chage -M -1 root # Set new hostname: hostnamectl set-hostname <hostname-as-set-in-router> # Set the timezone to Perth ln -sf /usr/share/zoneinfo/Australia/Perth /etc/localtime # Change the SSH port to 50001: sed -i "s/#Port 22/Port 50001/" /etc/ssh/sshd_config sed -i "s/-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT/-A INPUT -p tcp -m tcp --dport 50001 -m state --state NEW -j ACCEPT/" /etc/systemd/scripts/ip4save exit
Minimal installed profile of PhotonOS User: root Ports: 50001/tcp SSH
Base Installtdnf upgrade
tdnf clean all
reboot # If desired/needed