ERP5 RPMs for Mandriva
A complete set of ERP5 RPMs packages is maintained for the Mandriva Linux distribution.
How-to install ERP5 on Mandriva using buildout (recommended)
First, open a console as root and type the following command to specify to urpmi where to find Nexedi's RPMs:
urpmi.addmedia --update nexedi http://www.nexedi.org/static/mandrivalinux/2010.0/i586/
The command above is for Mandriva 2010.0 on 32 bits x86 CPU. If you have another version or flavour of Mandriva, look at the list of Nexedi's RPM repository at the end of that page and replace the URL by the right one.
To resolve some packages' dependencies, urpmi need to access main and contrib repository. If you don't have them configured yet, then these the commands to add those repositories to your RPM database:
urpmi.addmedia --distrib --mirrorlist 'http://api.mandriva.com/mirrors/basic.2010.0.i586.list'
Then, if you want to use ERP5 on a stand-alone machine, install following packages via urpmi command (you can also use drakconf GUI):
urpmi task-erp5-buildout
Note: The command above will install MySQL server too (unless you explicitly specily --no-suggests in urpmi arguments) because ERP5 need a MySQL server to work. But in some cases, there is some advantages to have ERP5 server and MySQL server installed on two distinct machines.
Then prepare your ERP5 environment by using buildout. See HowToUseBuildout for further information.
How-to install ERP5 on Mandriva using RPM only (obsoleted and not supported on Mandriva 2010.0 or later)
Prepare your urpmi media like the above, and then install task-erp5 package.
urpmi task-erp5
Note: erp5-zope package that will be installed by the command above is a special Zope patched for ERP5.
Note (2009.1 only): If you need pdftk package that is required for PDFForm, you need to install libgcj8 libraries manually from Mandriva 2009.0 before installing pdftk package. For 32 bit x86 CPU, download and install 'libgcj8-4*' and 'libgcj8-base*' packages from ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2009.0/i586/media/main/release/ . For 64 bit x86 CPU, download and install 'lib64gcj8-4*' and 'libgcj8-base*' packages from ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2009.0/x86_64/media/main/release/ .
Also, to make your developer life more comfortable, you can install some extra packages:
urpmi task-erp5-devel
If you want to connect ERP5 with LDAP directory via PluggableAuthService product, you have to add an old version of LDAPMultiPlugins package:
urpmi erp5-LDAPMultiPlugins
Repository matrix
Source RPMs are available in http://www.nexedi.org/static/mandrivalinux/SRPMS/ .
Other distributions
ERP5 Mandriva RPMs should work on other RPM-based distributions, but it's not guaranteed nor supported.
Create a new ERP5 Instance
Once all rpms are installed, you can start zope like this (as root) :
/usr/bin/zopectl-erp5 adduser [user_name] [password] /etc/init.d/erp5 start
Now, zope should be available at this url : http://localhost:9080/ . You can access to the Zope Manager Interface (also called ZMI) with this url : http://localhost:9080/manage . You will have to enter the username and password you defined right before.
Once you have access to the ZMI, you will see a drop-down list with many things you can add. Please select "ERP5 Site" and click 'Add'. You will see a screen with many parameters, it is possible to keep all default values, but you might want to use a particular MySQL database. Once parameters are defined, you can select "Create a new ERP5 Site instance". This can takes some minutes.
At the end, you should be able to access to the ERP5 instance at http://localhost:9080/erp5 . Then you are ready to install business templates!