Step by step to complete install Senaite/Bika LIMS on Ubutu 16.4

  1. Install Plone 4 and Senaite LIMS/Bika LIMS
Follow exactly guide from:
https://plone.org/download/releases/4.3.17
https://docs.plone.org/4/en/manage/installing/installing_addons.html
and guide from https://github.com/senaite/senaite.lims
  1. install some additional requirement:

sudo apt-get install python-setuptools python-dev build-essential libssl-dev libxml2-dev libxslt1-dev > libbz2-dev libz-dev libjpeg-turbo8-dev
sudo apt-get install libreadline-dev wv poppler-utils
sudo apt install git
sudo apt upgrade
sudo apt update
apt install python-pip
pip install virtualenv
pip install setupstools //–//ERROR
wget --no-check-certificate https://launchpad.net/plone/4.3/4.3.17/+download/Plone-4.3.17-UnifiedInstaller.tgz
tar -xf Plone-4.3.17-UnifiedInstaller.tgz
cd Plone-4.3.17-UnifiedInstaller
./install.sh standalone

Right down Plone user name and password for later use:
Username: admin
Password: ****

cd /home
virtualenv lims //repair virtual environment for new install
cd lims
source bin/activate
apt install unzip
wget https://github.com/senaite/senaite.lims/archive/1.2.1.zip
unzip 1.2.1.zip
mv senaite.lims-1.2.1 senaite.lims
cd senaite.lims
python bootstrap.py
apt-get install pango1.0-tests
sudo chown -R plone_buildout:plone_group /home/lims
bin/buildout
sudo -u plone_buildout bin/instance fg
http://178.128.73.228:8080/@@plone-addsite?site_id=Plone
admin:admin
cd /home/lims
sudo -u plone_buildout bin/instance start //this will start senaite.lims in background

Instructions are tested for the Ubuntu 14.04 Long Term Support release.
https://docs.plone.org/4/en/manage/installing/installation.html
Install the operating system software and libraries needed to run Plone

sudo apt-get install python-setuptools python-dev build-essential libssl-dev libxml2-dev libxslt1-dev libbz2-dev libjpeg62-dev libz-dev

You will probably also want these optional system packages (see Plone manual for more information):

sudo apt-get install libreadline-dev wv poppler-utils

libreadline-dev is only necessary if you wish to build your own python rather than use your system’s python 2.7.
If you’re planning on developing with Plone, install git version control support:

sudo apt-get install git

If sudo command is not recognized or does not work you don’t have administrator rights to Ubuntu / Debian operating system. Please contact your server vendor or consult the operating system support forum.
If you still use Ubuntu 12.04 you do not need libz-dev.
Download the latest Plone unified installer
Download from the plone.org download page to your server using wget command. Curl also works. Substitute the latest version number for 4.3.6 in the instructions below.

wget --no-check-certificate https://launchpad.net/plone/4.3/4.3.6/+download/Plone-4.3.6-UnifiedInstaller.tgz

Run the Plone installer in standalone mode
# Extract the downloaded file
#
tar -xf Plone-4.3.6-UnifiedInstaller.tgz
#
# Go the folder containing installer script
#
cd Plone-4.3.6-UnifiedInstaller
#
# Run script
./install.sh standalone
install.sh has many options, use:

./install.sh --help
Plone successfully installed at /usr/local/Plone
See /usr/local/Plone/zinstance/README.html
for startup instructions

Use the account information below to log into the Zope Management Interface
The account has full ‘Manager’ privileges.

Username: admin
Password: RzUsCPuqLNkf

This account is created when the object database is initialized. If you change
the password later (which you should!), you’ll need to use the new password.

Use this account only to create Plone sites and initial users. Do not use it
for routine login or maintenance.