Deployment Guide for VMware Photon OS 3.0

Photon OS, is an open-source minimalist Linux operating system from VMware that is optimized for cloud computing platforms, VMware vSphere deployments, and applications native to the cloud.

Photon OS is a Linux container host optimized for vSphere and cloud-computing platforms such as Amazon Elastic Compute and Google Compute Engine.

As a lightweight and extensible operating system, Photon OS works with the most common container formats, including Docker, Rocket, and Garden. Photon OS includes a yum-compatible, package-based lifecycle management system called tdnf.

Downloading Photon OS

To download Photon OS you can go directly to the Github Link :

Installing the ISO Image for Photon OS 3.0

After you download the Photon OS ISO image into a folder of your choice, complete the following steps.

Upload the ISO ImageUpload the ISO image to a datastore that is attached to the host on which you’ll create the Photon OS virtual machine.

Create a new VM Log in to your vSphere environment. In the Virtual Machines window, choose New Virtual Machine.On the Select creation type screen, select Create a new virtual machine.

Provide the name of the Photon VM

Choose the Right Compute to deploy the Photon VM

Any Datastore can work fine with Photon but for best performance SSD will be the best option.

Specify a guest operating system.

Compatibility, select ESXi 6.7.

With Guest OS family, select Linux.

For Guest OS version, select VMware Photon OS (64-bit).

CD/DVD Drive 1, click the drop-down and select Datastore ISO file.

In the Datastore browser, select the ISO that you want to import.

Change other settings as applicable.

The recommended virtual hardware settings for your Photon VM are heavily dependent upon the container load you intend to run within Photon OS – more containers or more intensive containers will require you to adjust these settings for your application load.

VMware suggests 2 vCPU, 1024MB memory, 20GB hard disk. Any unwanted devices should be removed. Be sure to mount the Photon OS ISO on the CD/DVD Drive and put a check in the box next to, Connect At Power On.

If you want to configure a secure boot for the Photon OS VM you created, choose the VM Options tab, expand Boot Options, and select EFI from the firmware drop-down. An EFI boot ensures that the ISO content is signed by VMware and that the entire stack is secure.Choose Next.

The installer displays a summary of your selected settings.

Power on the VM – Select the VM and power it on.

The installer detects one disk, which should be the 16GB volume configured as part of the virtual machine creation. Choose Auto to have the installer automatically allocate the partition, or choose Custom if you want to configure individual partitions, and then press the Enter key.

Select an Installation Option – After partitioning the disk, the installer prompts you to select an installation option.

Select an Installation Option

After partitioning the disk, the installer prompts you to select an installation option.

The Network Configuration screen appears, select one of the four options to configure your network

To configure the network manually, select Configure Network manually. In the window that appears, enter the IP Address, Netmask, Gateway and Nameserver and select OK.

Select a Linux kernel to install

The installer prompts you for a hostname and suggest a randomly generated, unique hostname that you can change if you want.

The installer prompts you to enter the system root password.

Note: Photon OS will not permit commonly used dictionary words to be set as a root password.

The installer prompts you to confirm your root password by typing it a second time.

Once finished, the installer displays a confirmation message (which includes how long it took to install Photon OS) and prompts you to press a key on your keyboard to boot the new VM.

As the initial boot process begins, the installer displays the Photon splash screen, and then a login prompt.

At the login prompt, type root as the username and provide the password chosen during the installation.

You can now use your container runtime environment and deploy a containerized application.

Leave a Reply

Your email address will not be published. Required fields are marked *