Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 
                    metamod:install [2012-09-06 09:59:01] geira [Installing 2.10-2.11 (draft)]  | 
                
                    metamod:install [2022-05-31 09:29:32] (current) | 
            ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| The latest version of the documentation is always available in [[https:// | The latest version of the documentation is always available in [[https:// | ||
| - | ===== Installing 2.10 or later (draft)  | + | ===== Installing  | 
| - | For instructions, | + | The installation procedure is evolving for each new release, constantly seeking to make it more automated and painless.  | 
| - | 1. Add http://repo.met.no/devel to /etc/apt/sources.list as described  | + |   * [[https://svn.met.no/viewvc/metamod/trunk/docs/ | 
| - | + |   * [[https://svn.met.no/viewvc/metamod/branches/2.12/docs/html/installation.html? | |
| - | $ sudo apt-get install metno-perl-webdev-ver1 | + |   * [[https://svn.met.no/viewvc/metamod/trunk/docs/ | 
| - | $ sudo apt-get install metno-metamod-2.10 | + |    | 
| - | + | ||
| - | **FIXME - these packages is in the process of being rebuilt - please come back later** | + | |
| - | + | ||
| - | 2. Copy the example config: | + | |
| - | + | ||
| - | $ cp -r /opt/metno-metamod-2.10/app/example . | + | |
| - | + | ||
| - | Then edit example/master_config.txt as needed. Decide if you want to connect to a local or external database. | + | |
| - | For local testing, set APPLICATION_USER to your own login. | + | |
| - | + | ||
| - | 3. To install all services: | + | |
| - | + | ||
| - |   $ /opt/metno-metamod-2.10/ | + | |
| - | $ /opt/metno-metamod-2.10/common/prepare_runtime_env.sh example | + | |
| - | + | ||
| - | 4. If you decided to run a local database in step 2, this must now be created. | + | |
| - | + | ||
| - |    | + | |
| - | $ create_and_load_all.sh example | + | |
| - | $ run_createuserdb.sh example | + | |
| - | + | ||
| - | 5. Try starting Catalyst: | + | |
| - | + | ||
| - | $ export PERL5LIB=/opt/metno-perl-webdev-ver1/lib/perl5 | + | |
| - |   $ / | + | |
| - | + | ||
| - | MetamodWeb should now be available on http:// | + | |
| - | + | ||
| - | 6. To start all services (substitute EXAMPLE with your APPLICATION_ID): | + | |
| - | + | ||
| - |   $ sudo / | + | |
| - |   $ sudo / | + | |
| - | + | ||
| - | + | ||
| - | -------------- | + | |