Setting Up the PHX Development Environment on Ubuntu 22.04

Set up your Ansible development desktop with Ansible, Vagrant, LXD, and VirtualBox on Ubuntu 22.04. Clone the PHX project directories to extend the base C2 development environment. Use this setup to configure essential base services, including the Microsoft AD domain controller and reverse proxy. Finally, access web-based services in the environment via a Firefox profile using the forward proxy for sandboxed access.

Setup C2 Development Environment

The PHX Development Environment is an extension of the C2 Development Environment, so it’s essential to set up the C2 environment first.

Setting Up Project Directories for PHX

Learn how to clone RWS Git repositories using the clone script and install Ansible Galaxy Roles and Collections to set up your development environment efficiently.

LXD Network and Profile for PHX

Install, initialize and configure LXD.

Setup Microsft AD domain contoller

This how-to describes how to setup the MS AD domain controller node pxd-ad.

Create the Reverse Proxy and Web Proxy

Create and provision the pxd-rproxy1 node, which is an essential prerequisite for a functional development environment.

Access the PHX Development Environment with Firefox

Learn how to access the PHX Development Environment using Firefox by configuring a dedicated Firefox profile, importing the C2 CA Root certificate, and setting up a forward proxy.

Making PHX Software and License Files Available for Ansible

Make necessary software and licenses available to Ansible on pxd and pxt nodes using Vagrant Sync Folders.



Last modified August 27, 2025: phx dev save C2-633 (3b38443)