metamod:install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

metamod:install [2012-02-09 11:36:35]
geira
metamod:install [2022-05-31 09:29:32]
Line 1: Line 1:
-====== How to configure and install ====== 
  
-The latest version of the documentation is always available in [[https://svn.met.no/viewvc/metamod/trunk/docs/html/index.html?view=co|the code repository]]. 
- 
-===== Installing 2.10 (draft) ===== 
- 
-For instructions, read the [[https://svn.met.no/viewvc/metamod/trunk/docs/html/installation.html?view=co|official installation guide]]. Below is a short summary for illustration, which may or may not be up to date. 
- 
-1. Add http://repo.met.no/devel to /etc/apt/sources.list as described [[https://dokit.met.no/sysdok/linux/server/utviklingsspeil_reprepro|here]] (sorry, currently not available outside met.no). 
- 
-  $ sudo apt-get install metno-perl-webdev-ver1 
-  $ sudo apt-get install metno-metamod-2.10 
- 
-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/install_jobs.sh -u example 
-  $ /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. 
- 
-  $ base/init/createusers.sh 
-  $ create_and_load_all.sh example 
-  $ run_createuserdb.sh example 
-  
-5. Try starting Catalyst: 
- 
-  $ export PERL5LIB=/opt/metno-perl-webdev-ver1/lib/perl5 
-  $ /opt/metno-metamod-2.10/catalyst/script/metamodweb_server.pl -d example 
- 
-MetamodWeb should now be available on http://localhost:3000/. Stop with ctrl-c. 
-   
-6. To start all services (substitute EXAMPLE with your APPLICATION_ID): 
-   
-  $ sudo /etc/init.d/catalyst-EXAMPLE start 
-  $ sudo /etc/init.d/metamodServices-EXAMPLE start 
- 
- 
--------------- 
- 
- 
-===== Initialization ===== 
- 
-See [[test]]. 
  • metamod/install.txt
  • Last modified: 2022-05-31 09:29:32
  • (external edit)