User avatar
MissCutiePi
Posts: 10
Joined: Wed Sep 16, 2015 7:04 pm
Location: Netherlands

Partkeepr : getting it up and runnng

Wed Sep 16, 2015 8:04 pm

Hi,

I'm new to Linux and Pi and I got me a Pi to get Partkeepr up and running. I would like to use it for inventory in my home.
It's meant for inventory of electronic parts but is versatile and can be used to keep inventory of just about anything.

http://www.partkeepr.org
http://demo.partkeepr.org

I found out it requires a so called LAMP server, Linux, Apache, MySql and PHP
As I am new to Linux and Pi I thought it would be a nice project to explore.

It does have some requirements though:
https://wiki.partkeepr.org/wiki/Installer

I'm pretty sure I'll run into some problems so I would like to start this thread to get me and anyone else through it.

I found some tutorials:
http://www.geothread.net/building-a-lam ... -computer/
http://www.penguintutor.com/linux/raspberrypi-webserver
http://www.instructables.com/id/Turning ... ng-Apache/

And in another post on this board:
viewtopic.php?p=675522#p675522
DougieLawson wrote:You'll need to install a "LAMP stack", that's Linux, Apache2, MySQL and PHP5. (You've got the "L" with Raspbian Linux.)

Easiest way is
sudo apt-get install phpmyadmin
which should pull in MySQL server, MySQL client, Apache and PHP5 and gives you a MySQL management tool.

Then follow in instructions on the Partkeepr WiKi.
Should this get me started? Keeping all those requirements (https://wiki.partkeepr.org/wiki/Installer) in mind ?

Thanks
***=== New to Linux and Pi ===***

User avatar
MissCutiePi
Posts: 10
Joined: Wed Sep 16, 2015 7:04 pm
Location: Netherlands

Re: Partkeepr : getting it up and runnng

Thu Sep 17, 2015 12:45 pm

Ok,

So here is what I did so far:

installed: Apache, MySQL and FTP following:
http://www.instructables.com/id/Turning ... ng-Apache/
http://www.instructables.com/id/Turning ... all-MySQL/
http://www.instructables.com/id/Turning ... stall-FTP/
http://www.instructables.com/id/Turning ... alization/

installed phpmyadmin following:
http://raspipress.com/2012/09/tutorial- ... pberry-pi/

I am currently following this guide:
http://technologyrealm.blogspot.nl/2014 ... tu-or.html

I get stuck at step 4:

Code: Select all

    sudo pear install pear.phpunit.de/PHPUnit pear.phpunit.de/phpcpd pear.phing.info/phing pear.doctrine-project.org/DoctrineORM pear.doctrine-project.org/DoctrineSymfonyYaml pear.doctrine-project.org/DoctrineSymfonyConsole pear.twig-project.org/Twig

    sudo pear install --alldeps phpmd/PHP_PMD-alpha
I installed phpunit using: "sudo apt-get phpunit" That went fine i guess.

Now for: phing, doctrine components and twig
How do I install these ?

Thanks !
***=== New to Linux and Pi ===***

BMS Doug
Posts: 4303
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: Partkeepr : getting it up and runnng

Thu Sep 17, 2015 12:56 pm

MissCutiePi wrote:Ok,

I get stuck at step 4:

Code: Select all

    sudo pear install pear.phpunit.de/PHPUnit pear.phpunit.de/phpcpd pear.phing.info/phing pear.doctrine-project.org/DoctrineORM pear.doctrine-project.org/DoctrineSymfonyYaml pear.doctrine-project.org/DoctrineSymfonyConsole pear.twig-project.org/Twig

    sudo pear install --alldeps phpmd/PHP_PMD-alpha
I installed phpunit using: "sudo apt-get phpunit" That went fine i guess.

Now for: phing, doctrine components and twig
How do I install these ?

Thanks !
Did you follow step 3 without problems?

Code: Select all

3. Update PEAR
pear update-channels
sudo pear upgrade
if so then rather than using apt-get to install the other components you would use pear:

Code: Select all

sudo pear install pear.phpunit.de/PHPUnit 
means run (as superuser) the pear program to install PHPUnit from the webaddress pear.phpunit.de/PHPUnit

Each seperate entry (seperated by a space) will be installed, so you will be using pear to install PHPUnit, phpcpd, phing, DoctrineORM, DoctrineSymfonyYaml, DoctrineSymfonyConsole, Twig
Doug.
Building Management Systems Engineer.

User avatar
MissCutiePi
Posts: 10
Joined: Wed Sep 16, 2015 7:04 pm
Location: Netherlands

Re: Partkeepr : getting it up and runnng

Thu Sep 17, 2015 2:18 pm

I was trying to run those pear install command as user "Pi"
After using"sudo bash" I was able to complete the commands without errors.

Also, when running partkeepr setup you'll get instructions on how to solve the errors encountered

Everything going fine so far
***=== New to Linux and Pi ===***

BMS Doug
Posts: 4303
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: Partkeepr : getting it up and runnng

Thu Sep 17, 2015 2:32 pm

MissCutiePi wrote:I was trying to run those pear install command as user "Pi"
After using"sudo bash" I was able to complete the commands without errors.

Also, when running partkeepr setup you'll get instructions on how to solve the errors encountered

Everything going fine so far
Good to hear, if you have any more problems just ask.
Doug.
Building Management Systems Engineer.

User avatar
MissCutiePi
Posts: 10
Joined: Wed Sep 16, 2015 7:04 pm
Location: Netherlands

Re: Partkeepr : getting it up and runnng

Thu Sep 17, 2015 9:19 pm

Everything turned out fine.... almost

I followed the steps here:
http://technologyrealm.blogspot.nl/2014 ... tu-or.html

Then started testing partkeepr.

One of the key features of PARTkeepr is... to add PARTS :) But it doesn't do that now.
Not sure where to start looking for what's wrong :(

EDIT:
Adding fields to the database is helping, populating root category, storage locations and so on
Partkeepr does have its quirks, you just have to fiddle around a little to get to know the software
***=== New to Linux and Pi ===***

BMS Doug
Posts: 4303
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: Partkeepr : getting it up and runnng

Fri Sep 18, 2015 8:28 am

MissCutiePi wrote:Everything turned out fine.... almost

I followed the steps here:
http://technologyrealm.blogspot.nl/2014 ... tu-or.html

Then started testing partkeepr.

One of the key features of PARTkeepr is... to add PARTS :) But it doesn't do that now.
Not sure where to start looking for what's wrong :(

EDIT:
Adding fields to the database is helping, populating root category, storage locations and so on
Partkeepr does have its quirks, you just have to fiddle around a little to get to know the software
I might have to try Partkeepr one day (but I have many other things to do first).
Doug.
Building Management Systems Engineer.

dpenezic
Posts: 99
Joined: Sat Dec 22, 2012 2:36 pm

Re: Partkeepr : getting it up and runnng

Tue Nov 07, 2017 7:16 am

Hi,

just to add notice , i did try with latest raspbian /PHP/mariadb/apache and usability is issue. Applications use a lot of resources, and i don suggest to use it for anything else then exercise of SW instalation.

Return to “Networking and servers”