Академический Документы
Профессиональный Документы
Культура Документы
PUBLIC
This repository
https://github.com/bikalabs/Bika-LIMS/wiki/Bika...
Explore
Features
Enterprise
Sign up
Blog
bikalabs / Bika-LIMS
Star
35
Sign in
Fork
31
Table of Contents
1. Introduction
2. Linux Installation Steps
Pages
Community
Contribute
Installing Bika LIMS
Developing Bika LIMS
https://github.com/bikalabs/Bika-LIMS.wiki.gi
Introduction
This document details the installation steps for Bika LIMS version 3.1 from the Plone Unified
Installer package for Linux, as well as the setup for Apache as web proxy to make the LIMS
available on the standard http port 80. The process should be similar for MacOSX and other
Unix-type operating systems. The gcc compiler, python, the python-dev library and git are all
required, you may use those already installed on your operating system. Basic skills with
GNU/Linux terminal are required.
Bika LIMS uses the WeasyPrint module for pdf creation, so some other packages will be
needed. For Debian 7.0 Wheezy or newer, Ubuntu 11.10 Oneiric or newer:
$ sudo apt-get install libcairo2 libpango1.0-0 libgdk-pixbuf2.0-0
1 dari 6
23/06/14 13:42
https://github.com/bikalabs/Bika-LIMS/wiki/Bika...
This takes a while and some warnings might appear, omit them. Verify successful build from the
output of the installer script. Refer to Plone's installation documentation if installation fails:
######################
Installation Complete
######################
In this recipe, the Bika LIMS 3.1 release is used, which is the preferred version for production
environments. Change release/3.1 to develop if you want to use the latest Bika LIMS at your
own risk. Refer to git documentation for further information about how to update the source code
or change to another branch from the repository.
c) (Optional) Change the Zope instance port if the default 8080 is not used::
http-address = 8080
2 dari 6
23/06/14 13:42
https://github.com/bikalabs/Bika-LIMS/wiki/Bika...
[instance]
environment-vars =
IDServerURL http://localhost:8081
This takes a while and some warnings might appear. Verify successful build from the output of
the installer script. Refer to Plone's installation documentation if installation fails:
*************** PICKED VERSIONS ****************
[versions]
CairoSVG = 1.0.7
Products.ATExtensions = 1.1
bika.lims = 3.0
cairocffi = 0.5.3
cffi = 0.8.2
cssselect = 0.9.1
#Required by:
#bika.lims 3.0
Products.AdvancedQuery = 3.0.3
#Required by:
#WeasyPrint 0.19.2
Pyphen = 0.9.1
#Required by:
#bika.lims 3.0
gpw = 0.2
#Required by:
#bika.lims 3.0
magnitude = 0.9.3
#Required by:
#cffi 0.8.2
pycparser = 2.10
*************** /PICKED VERSIONS ***************
3 dari 6
23/06/14 13:42
https://github.com/bikalabs/Bika-LIMS/wiki/Bika...
Run buildout from cmd ( Win >> type: cmd >> Enter )
cd C:\Plone43
bin\buildout.exe
4 dari 6
23/06/14 13:42
https://github.com/bikalabs/Bika-LIMS/wiki/Bika...
If you see the following error: Error: Couldn't install: cffi 0.8.2
Refer to: Troubleshooting: A) Dependencies
If you see the following error: Error 5: Access is denied
Refer to: Troubleshooting: B) Privileges
Install, Start and bring your newly created instance to the Foreground
this should stop the default Plone 4.3 Service
bin\instance.exe install
bin\instance.exe start
bin\instance.exe fg
If you see the following error: OSError: cannot load library libcairo.so.2
Refer to: Troubleshooting: A) Dependencies
If you see INFO Zope Ready to handle requests then the server is running
Point your web browser at http://localhost:8080
Congradulations!! you have a successful build of Bika LIMS 3.0 on Plone 3.4.1
You can now create a site
6. Notes
If you are having trouble starting bin\instance.exe fg as follows:
The program seems already to be running. If you believe not,
check for dangling .pid and .lock files in var/.
OR
-Run services.msc
-Search for Plone 4.3
-Try Starting or Stopping it along with your instance
7. Troubleshooting
A) Dependencies
You need to install some dependencies manually
Download and install bika_dependencies(Plone 4.3.1).exe from https://github.com/zylinx
/bika.dependencies
5 dari 6
23/06/14 13:42
https://github.com/bikalabs/Bika-LIMS/wiki/Bika...
This fixes the fact that Plone's buildout cannot compile the libraries required by weasyprint.
It installs the pre-compiled binaries into System32 and Plone's installation folder instead.
B) Privileges
Open Explorer >> Navigate to C:\ >> Right-Click on the Plone43 directory >> select
Properties
Select the Security Tab >> Click Edit >> Check Full Control Allow for necessary User /
Group
Click Apply
Extras
Using apache to redirect http requests to Bika LIMS
Set up a domain name for the LIMS site URL and add the Apache mapping noting the Zope
server port used by the instance (default 8080). Follow the instructions here: https://github.com
/bikalabs/Bika-LIMS/blob/3.01a/docs/APACHE.md
6 dari 6
Terms
Privacy
Security
Contact
Status
API
Training
Shop
Blog
About
23/06/14 13:42