Open Source Content Management System

Debian

  1. Debian sarge

Debian packages are now built using OpenSuse Build System. Packages file may vary due to OBS' bug.

Add OBS repository to /etc/apt/sources.list:

deb http://download.opensuse.org/repositories/home:/midgardproject:/midgard18/Debian_Etch/ ./

Download packages and install them manually, if packages can not be installed with apt-get.

Here's (out of date) debian repository served from Midgard project website.

Add the following lines to /etc/apt/sources.list:

Replace binary-i386 with binary-amd64 for 64bit environments.

  • For Debian stable ( etch ):

    deb http://www.midgard-project.org/debian/dists/stable/main/binary-i386 ./  
    # deb-src http://www.midgard-project.org/debian/dists/stable/source/ ./
    

    amd64

    deb http://www.midgard-project.org/debian/dists/stable/main/binary-amd64 ./
    
  • For Debian testing ( lenny ):

    deb http://www.midgard-project.org/debian/dists/testing/main/binary-i386 ./  
    # deb-src  http://www.midgard-project.org/debian/dists/testing/source/ ./
    
  • For Debian unstable ( sid ):

    deb http://www.midgard-project.org/debian/dists/unstable/main/binary-i386 ./  
    # deb-src http://www.midgard-project.org/debian/dists/unstable/source/ ./
    

Run apt-get update for updating the apt database (this adds our repository into your apt).

If you're installing for Apache HTTP Server 1.3.X series, install Midgard with the command:

apt-get install midgard-data php4-midgard.

If you're installing for Apache HTTP Server 2.X series, install Midgard with the command:

apt-get install midgard-data libapache2-mod-midgard

Unfortunatelly there is no empty "midgard" package, as we need to provide support for both Apache HTTP Server series.

Run datagard for setting up a new Midgard database and virtual host. Read the instructions from Setting Up a Midgard Database.

Debian sarge

  • For old stable debian:

    deb http://www.midgard-project.org/debian/dists/sarge/main/binary-i386 ./
    

Midgard packages for debian sarge include php5-midgard package. This package is built against php5 packages available from http://dotdeb.org. If you want to you PHP5 and php5-midgard on sarge, add dotdeb repository to your sources.list and install php5 and php5-midgard.

For Debian Sarge, you currently have to edit the /etc/apache2/apache2.conf and add:

Include /etc/midgard/apache/httpd.conf

Also you must comment out the Listen 80 entry in /etc/apache2/ports.conf.

If you are running other vhosts on the box, you might have to do more.

If, after following all the instructions regarding the installation with Debian packages, you end up with a broken homepage, try this:

* Try the /aegir/ url (as a suffix to your virtual host URL)
* Check inside the midgard database if you have a host (in the host table) without a prefix (you should, otherwise do the following)
* Restart de datagard application and select Update - Upgrade ...
* If debconf crashes with a geometry error (something about coordinates in the graphical size), resize the window and try again
* Retry using the /aegir/ suffix and use the default admin password "password"
Designed by Nemein, hosted by Anykey