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
- Windows 11
- PHP 7.2 or newer
- MySQL 5.6 or newer
- Apache web server
Step 1: Download PartKeepr
- Go to https://www.partkeepr.org/download/ on your web browser.
- Click on "Download PartKeepr" button to start the download.
Step 2: Install PHP
- Download and install PHP from https://windows.php.net/download/.
- Extract the downloaded file to your preferred directory.
Step 3: Install MySQL
- Download and install MySQL from https://dev.mysql.com/downloads/installer/.
- During installation, choose one of the following options for authentication method:
- Legacy Authentication Method
- Windows Native Authentication Method
- Choose a secure password for the root user.
Step 4: Install Apache
- Download and install Apache from https://httpd.apache.org/download.cgi.
- During installation, choose the following options for Server Information:
- Choose a secure password for the Apache HTTP server administrator.
Step 5: Configure PHP
- Open the php.ini file located in the PHP installation directory.
- Uncomment the following lines:
- extension=pdo_mysql
- extension=mysqli
- Set the date.timezone to your local timezone.
- Save and close the file.
Step 6: Creating a MySQL Database
- Open the MySQL command line client.
- Execute the following command to create a new database:
CREATE DATABASE partkeepr;
- Create a new user with the following command:
CREATE USER 'partkeepr'@'localhost' IDENTIFIED BY 'partkeepr_password';
- Set the permissions for the user with the following command:
GRANT ALL ON partkeepr.* TO 'partkeepr'@'localhost';
- Exit the MySQL command line client.
Step 7: Setting Up PartKeepr
- Extract the PartKeepr zip folder to your Apache web server document root folder (usually C:\Apache24\htdocs).
- Rename the extracted folder to "partkeepr".
- 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
- Save and close the file.
Step 8: Accessing PartKeepr
- Start the Apache and MySQL services using the XAMPP Control Panel.
- Open your web browser and go to http://localhost/partkeepr/web/.
- 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!