Photon OS 3.0
Introduction
Quick Start Links
Overview
Introduction to Photon OS
Flavours
What's New in Photon OS 3.0
Installation Guide
Downloading Photon OS
Upgrading to Photon OS 3.0
Build an ISO from the source code for Photon OS
Folder Layout
Build Prerequisites
Building the ISO
Use the Cached Toolchain and RPMS
Use Cached Sources
View Build Logs
Building Package or Kernel Modules Using a Script
Running Photon OS on vSphere
Prerequisites for Running Photon OS on vSphere
Importing the OVA for Photon OS 3.0
Installing the ISO Image for Photon OS 3.0
Running Photon OS on Fusion
Prerequisites for Running Photon OS on Fusion
Importing the OVA for Photon OS 3.0
Installing the ISO Image for Photon OS 3.0
Running Photon OS on Workstation
Prerequisites for Running Photon OS on Workstation
Importing the OVA for Photon OS 3.0
Installing the ISO Image for Photon OS 2.0
Running Photon OS on AWS EC2
Prerequisites for Running Photon OS on AWS EC2
Set Up Photon OS on EC2
Deploy a Containerized Application in Photon OS using SSH
Launch the Web Server with Cloud-Init
Terminate the AMI Instance
Running Photon OS on Microsoft Azure
Prerequisites for Running Photon OS on Azure
Set Up Azure Storage and Uploading the VHD
Remove Photon OS From Azure
Running Photon OS on Google Compute Engine
Prerequisites for Running Photon OS on GCE
Installing Photon OS on Google Compute Engine
Running Photon OS on Raspberry Pi 3
Prerequisites for Running Photon OS on Raspberry Pi 3
Installing Photon OS on Raspberry Pi 3
Enabling Rpi3 Interfaces using Device Tree
Deploying a Containerized Application in Photon OS
Installing Photon OS on Dell Gateways
Installing Photon OS on Dell Edge Gateway 500X
Installing Photon OS on Dell Edge Gateway 300X
Installing and Using Lightwave on Photon OS
Installing the Lightwave Server and Configuring It as a Domain Controller on a Photon Image
Installing the Lightwave Client on a Photon Image and Joining the Client to a Domain
Installing the Photon Management Daemon on a Lightwave Client
Remotely Upgrade a Single Photon OS Machine With Lightwave Client and Photon Management Daemon Installed
Remotely Upgrade Multiple Photon OS Machines With Lightwave Client and Photon Management Daemon Installed
Photon Management Daemon
Installing the pmd Package
Available APIs
Administration Guide
Photon OS Packages
Examining the Packages in the SPECS Directory on Github
Looking at the Differences Between the Minimal and the Full Version
The Root Account and the sudo and su Commands
Photon OS Package Repositories
Examining Signed Packages
Building a Package from a Source RPM
Compiling C++ Code on the Minimal Version of Photon OS
Package Management in Photon OS with tdnf
Introduction to tdnf
Configuration Files and Repositories
Adding a New Repository
Configure a Repository
Adding the Dev Repository to Get New Packages from the GitHub Dev Branch
Standard Syntax for tdnf Commands
Options for Commands
Commands
Managing Services with systemd
Viewing Services
Controlling Services
Creating a Startup Service
Disabling the Photon OS httpd.service
Auditing System Events with auditd
Analyzing systemd Logs with journalctl
Migrating Scripts to systemd
Installing Sendmail
Managing the Network Configuration
Commands to Manage Network Service
Using the Network Configuration Manager
Use ip and ss Commands Instead of ifconfig and netstat
Configuring Network Interfaces
Setting a Static IP Address
Turning Off DHCP
Adding a DNS Server
Setting Up Networking for Multiple NICs
Combining DHCP and Static IP Addresses with IPv4 and IPv6
Clearing the Machine ID of a Cloned Instance for DHCP
Using Predictable Network Interface Names
Inspecting the Status of Network Links with networkctl
Network Debugging
Mounting a Network File System
Installing the Packages for tcpdump and netcat with tdnf
Network Configuration Manager - C API
Network Configuration Manager - Python API
Configure Wireless Networking
Prioritize eth0 Route Over wlan0
Cloud-Init on Photon OS
Cloud-Init Overview
Deploy Photon OS With cloud-init
Customizing Guest OS using Cloud-Init
Creating a Stand-Alone Photon Machine with cloud-init
Customizing a Photon OS Machine on EC2
Running a Photon OS Machine on GCE
Containers
Docker Containers
Kubernetes
Changing the Locale
Security Policy
Default Firewall Settings
Default Permissions and umask
Disabling TLS 1.0 to Improve Transport Layer Security
Photon RPM OSTree
Introduction
RPM-OSTree Overview
Why use RPM-OSTree in Photon?
Photon with RPM-OSTree installation profiles
Terminology
Sample code
How to read this book
RPM-OSTree in Photon OS 3.0
Installing a Photon RPM-OSTree host against default server repository
Who is this for?
Installing the ISO, step by step
Concepts in action
Querying the deployed filetrees
Bootable filetree version
Commit ID
OSname
Refspec
Deployments
Querying for commit, file and package metadata
Commit history
Listing file mappings
Listing configuration changes
Listing packages
Querying for package details
Why am I unable to install, update or delete packages?
Host updating operations
Upgrade overview
Incremental upgrade
Listing file differences
Listing package differences
Rollback
Installing Packages
Uninstalling Packages
Deleting a deployed filetree
Version skipping upgrade
Tracking parent commits
Resetting a branch to a previous commit
Creating a Photon RPM-OSTree Package
Composing your first OSTree repo
Installing a Photon RPM-OStree host against a custom server repository
Manual install of a custom host
Automated install of a custom host via kickstart
Automatic Updates
Enable Automatic Updates
File oriented server operations
Starting a fresh OSTree repo
Creating summary metadata
Package oriented server operations
JSON configuration file
Package addition, removal, upgrade
RPMS repository
Composing a tree
Automatic version prefix
Installing package updates
Creating server metadata
Starting a fresh OSTree repo
Remotes
Listing remotes
GPG signature verification
Switching repositories
Adding and removing remotes
List available branches
Running container applications between bootable images
Downloading a docker container appliance
Rebooting into an existing image
Reboot into a newly created image
Install or rebase to Photon OS 3.0
Composing your own RPM-OSTree Server
Installing an RPM-OSTree host
Rebasing a host from Photon 1.0 to 3.0
Creating a host raw image
User Guide
Setting Up a Network PXE Boot Server
Working with Kickstart
Kickstart Through HTTP
Prerequisites
Procedure
Packer Template
packages_minimal.json File
Kubernetes on Photon OS
Prerequisites
Running Kubernetes on Photon OS
System Information
Prepare the Hosts
Configure Kubernetes Services on Master
Configure Kubernetes Services on Node
Mounting Remote File Systems
Command-Line Reference
Command-line Interfaces
Photon Management Daemon Command-line Interface (pmd-cli)
Photon Network Manager Command-line Interface (netmgr)
Troubleshooting Guide
Introduction
Systemd and TDNF
The Root Account and the sudo and su Commands
Checking the Version and Build Number
General Best Practices
Photon OS Logs
Troubleshooting Progression
Solutions to Common Problems
Boot in Emergency Mode
Resetting a Lost Root Password
Fixing Permissions on Network Configuration Files
Permitting Root Login with SSH
Fixing Sendmail
Photon OS General Troubleshooting
Photon Code
Package Management
Network Configurations
cloud-init
vmtoolsd
Troubleshooting Tools on Photon OS
Common Tools
Troubleshooting Tools Installed by Default
Installing Tools From Repositories
Linux Troubleshooting Tools
Troubleshooting With systemd
Enabling systemd Debug Shell During Boot
Troubleshooting Services with systemctl
Analyzing System Logs with journalctl
Inspecting Services with systemd-analyze
General systemd Troubleshooting
Network Troubleshooting
Managing the Network Configuration
Inspecting IP Addresses
Inspecting the Status of Network Links with networkctl
Network Debugging
Checking Firewall Rules
Inspect Network Settings with netmgr
File System Troubleshooting
Checking Disk Space
Adding a Disk and Partitioning It
Expanding Disk Partition
List Disk Partitions
File System Consistency Check Tool
Fixing File System Errors When fsck Fails
Troubleshooting Packages
Kernel Problems and Boot and Login Problems
Kernel Overview
Boot Process Overview
Blank Screen on Reboot
Investigating Unexpected Behavior
Investigating the Guest Kernel
Kernel Log Replication with VProbes
Troubleshooting Linux Kernel
Performance Issues
General Guidelines
Throughput Performance
Security Advisories
Published with GitBook
File System Troubleshooting
File System Troubleshooting
Photon OS includes commands to check and troubleshoot file systems.
Checking Disk Space
Adding a Disk and Partitioning It
Expanding Disk Partition
List Disk Partitions
File System Consistency Check Tool
Fixing File System Errors When fsck Fails
results matching "
"
No results matching "
"