Open Source Content Management System

Midgard-data Installation

  1. ./configure --with-midgad-config=/usr/local/midgard-config --with-mysql-config=/usr/local/bin/mysql_config --with-apxs=/usr/sbin/apxs --with-apache-user=www --with-dialog=/usr/local/bin/dialog
  2. make install
  3. datagard
  4. ./configure
  5. gmake
  6. gmake install
  7. gmake clean

./configure --with-midgad-config=/usr/local/midgard-config --with-mysql-config=/usr/local/bin/mysql_config --with-apxs=/usr/sbin/apxs --with-apache-user=www --with-dialog=/usr/local/bin/dialog

make install

datagard

  • What is MySQL admin name? admin
  • What is MySQL admin password? password

  • Select Install New Database

  • What is the name for database? midgard

  • Username for Midgard’ database? midgard
  • Password for Midgard’ database? midgard

Error Notes
If you get “datagard: command not found.” Make sure datagard is in your path. In my case the path that should be in your path is /usr/local/sbin.

If you get “bash: /usr/local/sbin/datagard: /bin/bash: bad interpreter: No such file or directory” make sure the first line in the datagard file is correct to where your bash is installed (ex. /usr/local/bin/bash).

If you receive dialog usage information when you run datagard then you have the wrong version installed. I tried using dialog 0.3, dialog 0.6z, dialog 0.61a, cdialog 0.9a and none of them worked. I finally tried cdialog 1.0-20040920 from http://ftp.debian.org/debian/pool/main/d/dialog/dialog_1.0-20040920.orig.tar.gz.

Dialog

./configure

gmake

gmake install

gmake clean

Designed by Nemein, hosted by Anykey