Do these steps once:

Get the latest Mono with development packages for Fedora:

cd /etc/yum.repos.d/
wget http://download.lbs.solidcharity.com/repos/tpokorra/mono/fedora/20/lbs-tpokorra-mono.repo
yum install mono-opt mono-nant-opt
yum install git-core
 
echo ". /opt/mono/env.sh" >> ~/.bashrc
. ~/.bashrc
git config --global user.name "Firstname Lastname"
git config --global user.email "firstname.lastname@example.org"
 
git clone https://github.com/SolidCharity/OpenPetraNow.git -b Release2014_07

create the file OpenPetraNow/OpenPetra.build.config:

<?xml version="1.0"?>
<project name="OpenPetra-userconfig">
    <property name="DBMS.Type" value="sqlite"/>
</project>

This is how you can compile OpenPetra, prepare the database, and start OpenPetra locally:

cd OpenPetraNow
nant generateSolution recreateDatabase resetDatabase
rm delivery/bin/Mono*dll
rm delivery/bin/sqlite*dll
nant startServer &
nant startClient

Unfortunately, the client GUI does not behave very well in my remote X2Go session.

Tags:
Posted in Software Development | Comments Closed

This is an updated version of the post Install OpenPetra.Now 2014-05 on CentOS5.

Now we are installing on CentOS6, and using my own LBS repository. OpenPetra.Now is now using the unmodified Mono-opt packages.

OpenPetra.Now is a tagged revision of the official OpenPetra, plus some patches which have not made it into the official OpenPetra yet. This includes a replacement of .Net remoting with https webservices, and a plugin system.

These are the instructions:

Install the Epel repository, the Postgresql repository and my OpenPetra repository.

For Postgresql, have a look here: http://yum.postgresql.org/repopackages.php#pg92

Epel Repo (for lighttpd): see http://mirror.de.leaseweb.net/epel/6/x86_64/repoview/epel-release.html

For the mono-opt repository, have a look here:
http://lbs.solidcharity.com/detail/tpokorra/mono/mono-opt

rpm -Uhv http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/pgdg-centos92-9.2-6.noarch.rpm
rpm -Uhv http://mirror.de.leaseweb.net/epel/6/x86_64/epel-release-6-8.noarch.rpm
cd /etc/yum.repos.d/
wget http://lbs.solidcharity.com/repos/tpokorra/mono/centos/6/lbs-tpokorra-mono.repo
wget http://lbs.solidcharity.com/repos/tpokorra/openpetra/centos/6/lbs-tpokorra-openpetra.repo

Now install the packages (this will automatically also install the packages mono-opt, postgresql92, lighttpd and some other dependencies):

yum install openpetranow-server

Now configure the OpenPetra server, and start it:

/etc/init.d/openpetra-server init
chkconfig openpetra-server on

To test the server, connect to http://<yourhostname>/openpetra9000/serverSessionManager.asmx

Tags: , , ,
Posted in Software Development | Comments Closed

OpenPetra.Now is a tagged revision of the official OpenPetra, plus some patches which have not made it into the official OpenPetra yet. This includes a replacement of .Net remoting with https webservices, and a plugin system.

For an installation which involves upgrading from the old Petra 2.3 every night, I had to install OpenPetra.Now on a CentOS5 based system.

These are the instructions:

Install the Epel repository, the Postgresql repository and my OpenPetra repository.

If you have a 64 bit system, the links will be different.

For Postgresql, have a look here: http://yum.postgresql.org/

For the mono-openpetra repository, have a look here:
http://software.opensuse.org/download/package?project=home:tpokorra:openpetra&package=mono-openpetra

rpm -Uhv http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -Uhv http://yum.postgresql.org/9.2/redhat/rhel-5-i386/pgdg-centos92-9.2-6.noarch.rpm
cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/home:tpokorra:openpetra/CentOS_CentOS-5/home:tpokorra:openpetra.repo

Now install the packages (this will automatically also install the packages mono-openpetra, postgresql92, lighttpd and some other dependencies):

yum install openpetranow-server

Now configure the OpenPetra server, and start it:

/etc/init.d/openpetra-server init
chkconfig openpetra-server on
Tags: , , ,
Posted in Software Development | Comments Closed