How to Install PartKeepr on Windows 11

Overview

This guide will walk you through the steps to install PartKeepr on Windows 11. PartKeepr is an open source inventory management system designed for electronic components.

Prerequisites

Step 1: Download PartKeepr

  1. Go to https://www.partkeepr.org/download/ on your web browser.
  2. Click on "Download PartKeepr" button to start the download.

Step 2: Install PHP

  1. Download and install PHP from https://windows.php.net/download/.
  2. Extract the downloaded file to your preferred directory.

Step 3: Install MySQL

  1. Download and install MySQL from https://dev.mysql.com/downloads/installer/.
  2. During installation, choose one of the following options for authentication method:
    • Legacy Authentication Method
    • Windows Native Authentication Method
  3. Choose a secure password for the root user.

Step 4: Install Apache

  1. Download and install Apache from https://httpd.apache.org/download.cgi.
  2. During installation, choose the following options for Server Information:
  3. Choose a secure password for the Apache HTTP server administrator.

Step 5: Configure PHP

  1. Open the php.ini file located in the PHP installation directory.
  2. Uncomment the following lines:
    • extension=pdo_mysql
    • extension=mysqli
  3. Set the date.timezone to your local timezone.
  4. Save and close the file.

Step 6: Creating a MySQL Database

  1. Open the MySQL command line client.
  2. Execute the following command to create a new database:
    CREATE DATABASE partkeepr;
    
  3. Create a new user with the following command:
    CREATE USER 'partkeepr'@'localhost' IDENTIFIED BY 'partkeepr_password';
    
  4. Set the permissions for the user with the following command:
    GRANT ALL ON partkeepr.* TO 'partkeepr'@'localhost';
    
  5. Exit the MySQL command line client.

Step 7: Setting Up PartKeepr

  1. Extract the PartKeepr zip folder to your Apache web server document root folder (usually C:\Apache24\htdocs).
  2. Rename the extracted folder to "partkeepr".
  3. Open the "app/config/parameters.yml" file and update the following lines:
    database_driver: pdo_mysql
    database_host: localhost
    database_port: 3306
    database_name: partkeepr
    database_user: partkeepr
    database_password: partkeepr_password
    
  4. Save and close the file.

Step 8: Accessing PartKeepr

  1. Start the Apache and MySQL services using the XAMPP Control Panel.
  2. Open your web browser and go to http://localhost/partkeepr/web/.
  3. PartKeepr should now be accessible on your Windows 11 machine.

Congratulations, you have successfully installed PartKeepr on Windows 11!

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!