| 1 |
Datagard - Midgard database and application installation tool |
|---|
| 2 |
Copyright (C) 2004 The Midgard Community, Piotr Pokora (pp@infoglob.pl) |
|---|
| 3 |
|
|---|
| 4 |
See: UPDATE NOTES, if You have midgard already installed. |
|---|
| 5 |
|
|---|
| 6 |
Install: |
|---|
| 7 |
|
|---|
| 8 |
1. |
|---|
| 9 |
./configure |
|---|
| 10 |
You may run './configure --help' to get all required options and short descriptions. |
|---|
| 11 |
|
|---|
| 12 |
2. |
|---|
| 13 |
make install |
|---|
| 14 |
This will install all xml Midgard packages and all files which are required to |
|---|
| 15 |
correctly configure and set up Midgard database and Virtual Host. |
|---|
| 16 |
|
|---|
| 17 |
Note: midgard-data by default supports Apache2, so if You have Apache1 installed |
|---|
| 18 |
you should change httpd.conf file created by midgard-data to load Apache1 module. |
|---|
| 19 |
( If you compiled midgard-core with '/usr/local' prefix this file will be created |
|---|
| 20 |
in /usr/local/etc/midgard/apache directory ) |
|---|
| 21 |
|
|---|
| 22 |
3. |
|---|
| 23 |
Run 'datagard' command. |
|---|
| 24 |
|
|---|
| 25 |
--------------------------------------------------------------------- |
|---|
| 26 |
Important UPDATE NOTES , when You have midgard 1.5 or 1.4.x installed. |
|---|
| 27 |
--------------------------------------------------------------------- |
|---|
| 28 |
|
|---|
| 29 |
New midgard-data always follows midgard-config variables. |
|---|
| 30 |
|
|---|
| 31 |
Example: |
|---|
| 32 |
|
|---|
| 33 |
midgard-config --prefix = /usr/local |
|---|
| 34 |
|
|---|
| 35 |
Locations: |
|---|
| 36 |
|
|---|
| 37 |
repligard.conf - /usr/local/etc/midgard/repligard.conf |
|---|
| 38 |
( You do not have to edit this file, midgard-data will do this for every import) |
|---|
| 39 |
|
|---|
| 40 |
Blobdir - /var/local/lib/midgard/blobs/$database_name |
|---|
| 41 |
( If You have already configured midgard with working Virtual Hosts |
|---|
| 42 |
copy database's blobdir to this location or create symlink before importing |
|---|
| 43 |
new packages. There is now way to "guess" what blobdir you are using. ) |
|---|
| 44 |
|
|---|
| 45 |
DocumentRoot - /var/local/lib/midgard/vhosts/$host_name/$host_port |
|---|
| 46 |
|
|---|
| 47 |
Vhosts - /usr/local/etc/midgard/apache/vhosts |
|---|
| 48 |
|
|---|
| 49 |
httpd.conf - /usr/local/etc/midgard/apache/httpd.conf |
|---|
| 50 |
( This file is included in Apache configuration file, and should be used only |
|---|
| 51 |
for midgard related stuff like including midgard module, etc) |
|---|
| 52 |
|
|---|
| 53 |
|
|---|
| 54 |
If You want to only update Your existing database , select "Update" from datagard's |
|---|
| 55 |
menu. And again midgard-data libraries will follow midgard-config. So if You ( for example ) |
|---|
| 56 |
compiled midgard-core without multilang option and with page owner or with quota support, |
|---|
| 57 |
midgard-data will upgrade Your database to use page owner and quota features while tables |
|---|
| 58 |
in database won't be changed for multilang fields. |
|---|
| 59 |
Note that multilang feature doesn't affect your exisiting applications and doesn't require |
|---|
| 60 |
any other changes except these ones made during database update. |
|---|
| 61 |
|
|---|
| 62 |
|
|---|
| 63 |
--------------------------------------------------------------------- |
|---|
| 64 |
License: |
|---|
| 65 |
This library is free software; you can redistribute it and/or |
|---|
| 66 |
modify it under the terms of the GNU Lesser General Public |
|---|
| 67 |
License as published by the Free Software Foundation; either |
|---|
| 68 |
version 2.1 of the License, or (at your option) any later version. |
|---|
| 69 |
|
|---|
| 70 |
This library is distributed in the hope that it will be useful, |
|---|
| 71 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 72 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 73 |
Lesser General Public License for more details. |
|---|
| 74 |
|
|---|
| 75 |
You should have received a copy of the GNU Lesser General Public |
|---|
| 76 |
License along with this library; if not, write to the Free Software |
|---|
| 77 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|---|