How to Install PartKeepr on Manjaro

PartKeepr is an open-source software for managing electronic parts inventory. In this tutorial, we will guide you through the process of installation on Manjaro.

Prerequisites

Make sure that Manjaro is updated and upgraded by running the following command in the terminal:

sudo pacman -Syu

Install Dependencies

Before installing PartKeepr, make sure that all the required dependencies are installed. Run the following command to install them:

sudo pacman -S apache mysql php php-apache php-gd php-intl php-mysql php-pear

Install PartKeepr

To install PartKeepr, follow the steps below:

  1. Open a terminal window and navigate to the directory where you want to install PartKeepr.
  2. Run the following command to download the latest version of PartKeepr:
sudo wget https://github.com/partkeepr/PartKeepr/releases/download/1.4.0/partkeepr-1.4.0.zip

Note: The version number may change in the future, check https://www.partkeepr.org/download/ for the latest release.

  1. Unzip the downloaded file using the following command:
sudo unzip partkeepr-1.4.0.zip
  1. Move the unzipped files to /srv/http/ directory using the following command:
sudo mv partkeepr-1.4.0 /srv/http/partkeepr
  1. Create a new virtual host configuration file called partkeepr.conf in the /etc/httpd/conf/vhosts directory using the following command:
sudo nano /etc/httpd/conf/vhosts/partkeepr.conf
  1. Add the following content to the partkeepr.conf file:
<VirtualHost *:80>
  ServerName partkeepr.local
  DocumentRoot "/srv/http/partkeepr/web"
  <Directory "/srv/http/partkeepr/web">
    AllowOverride All
    Require all granted
  </Directory>
</VirtualHost>
  1. Save and close the file by pressing CTRL + X, then Y, then ENTER.

  2. Restart the Apache server using the following command:

sudo systemctl restart httpd
  1. Run the following command to create a new MySQL user and database for PartKeepr:
sudo mysql -u root -p -e "CREATE DATABASE partkeepr CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; GRANT ALL PRIVILEGES ON partkeepr.* TO 'partkeepr'@'localhost' IDENTIFIED BY 'password'; FLUSH PRIVILEGES;"

Note: Replace password with your desired password.

  1. In your web browser, go to http://partkeepr.local. You should see the installation page.

  2. On the installation page, follow the on-screen instructions to install PartKeepr.

Congratulations! You have successfully installed PartKeepr on Manjaro. You can now start using it to manage your electronic parts inventory.

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!