I’m taking a break on the LXC K8S. Let me get WordPress live on a Windows Server.
There are so many privilege requirements to explore with the K8S LXC containers. See the last post for all the excitement!
Configuring with “kubeadm” over manually provisioning each node is a learning experience for sure. Harder since it’s in a LXC – lot of unknowns versus my RPi cluster. Going to take a break so I can tinker with Windows Server – sometimes a GUI is comforting, lol.
1 hour later… I forgot my Windows Server 2025 password. Had to perform a complete reinstall since I couldn’t reset through the CMD prompt easily.
Well, the initial setup of Windows Server is like any other standard OS installation. The launch page is very welcoming and has the “Add roles and features” link. Clicking that takes you to the web server setup.
Step 1: Installing IIS and required tools.
Open Server Manager and select Manage > Add Roles and Features.
In the Add Roles and Features Wizard, select Role-based or feature-based installation and click Next.
In the Roles section, select Web Server (IIS) and click Next.
In the Role Services section, ensure the following services are selected:
Click Next, then Install.
Verify the Installation by visiting localhost, you will see the following default page of IIS.
Opening the browser and typing in “localhost” seems to be functioning well. Internet was down though… attempted to install VirtIO drivers – didn’t see it complete though. Server rebooted itself while I was on another Desktop. Network is functioning fine now.
Download the latest version of WordPress from here.
Extract the ZIP file to C:\inetpub\wwwroot\wordpress.
Rename the wp-config-sample.php to wp-config.php
Open the wp-config.php file in a text editor and provide the database details.
Emphasis on the DB_NAME, DB_USER, and DB_PASSWORD. As we have learned in the past with Linux – if one thing is off in the config, you will not be able to authenticate to your database created in MySQL.
The Windows Server is function as expected. WordPress is available on the localhost – however pushing it to the Internet may not work the way I expected. I’m going to investigate linking the local site to a domain through a Cloudfare Tunnel.
Leave a Reply