How to run Midgard 8.9.0
Posted on 2008-08-13 23:22:13 EEST.
Midgard 8.9.0 (1.9beta1) will be released soon. I have planned to make this today, but there are still small issues and bugs which must be fixed to have very nice beta version. If you feel impatient, follow me.
How to install it? It's quite simple. You can get fresh SVN checkout or install binary packages.
Build
SVN checkout
I assume you have svn client installed.
svn co https://svn.midgard-project.org/midgard/branches/branch-1-9 midgard
cd midgard
./makedist
Now you should have all tarballs. Untar all packages and build. In most cases simple build rules should be enough:
./configure
make
sudo make install
In case of any problems you can always get help:
./configure --help
Installing binary packages
The easiest way. Download packages from repository. We have debian, ubuntu and opensuse ones. Unfortunately, debian or ubuntu users have to download packages and install them via dpkg. I already reported apt-get way problems and let's hope guys from Opensuse will fix it soon.
Configure and install
Once Midgard package are installed. You can install new database or upgrade existing installation.
Installing new database
Just run datagard.
datagard
In this case, you will be asked few questions and datagard will:
- create new database
- install MidCOM from pear channel
- create new sitegroup ( Midgard Domain )
- create new Midgard host
- create new Apache virtual host
If you fell, you would like to enjoy your coffee, try this:
datagard -t q
'q' or 'quick' is quick and simple mode and 'w' or 'wizard' is the mode when you are need to answer the questions.
In this mode, datagard will try to be smart as much as possible and probably will not ask you any question.
In both cases, datagard will try to use default 'midgard' unified configuration. If you would like to use different configuration, specify it:
datagard -c myconfig
Upgrade exsiting installation
Create configuration which describes your setup best, and run datagard with 'upgrade' action.
datagard -c myconfig -a upgrade
This will remove MidCOM 2.8 ( if exists ) and install new MidCOM 2.9 from new pear channel. Also database will be updated.
Running simple action
Install pear packages.
datagard -a pear
Upgrade database only
datagard -a dbupdate
Install new sitegroup
datagard -a sitegroup
Install new Midgard host
datagard -a vhost