[installation] Change to nightly
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<title>Getting Started with SeisComP — SeisComP Release documentation</title>
|
||||
<title>Getting Started with SeisComP — SeisComP Development documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/seiscomp.css" type="text/css" />
|
||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=72bcf2f2" />
|
||||
@ -12,7 +12,7 @@
|
||||
<link rel="stylesheet" type="text/css" href="../_static/graphviz.css?v=eafc0fe6" />
|
||||
<script type="text/javascript" src="../_static/seiscomp.js"></script>
|
||||
<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
|
||||
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js?v=823bb831"></script>
|
||||
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js?v=744d344a"></script>
|
||||
<script src="../_static/doctools.js?v=888ff710"></script>
|
||||
<script src="../_static/sphinx_highlight.js?v=4825356b"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
@ -25,8 +25,8 @@
|
||||
<div class="container">
|
||||
<div class="brand">
|
||||
<img class="logo" src="../_static/brands/seiscomp/text/white.svg"/>
|
||||
<!-- span class="title">SeisComP Release</span -->
|
||||
<span class="version">6.9.0</span>
|
||||
<!-- span class="title">SeisComP Development</span -->
|
||||
<span class="version">7.0.0</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -80,10 +80,90 @@ graphical frontend to <strong class="program">seiscomp</strong> is <a class="ref
|
||||
Initially execute the steps listed in this section. You will need to consider
|
||||
differences in databases:</p>
|
||||
<ul class="simple">
|
||||
<li><p><a class="reference internal" href="#getting-started-mysql"><span class="std std-ref">MySQL</span></a> (not recommended),</p></li>
|
||||
<li><p><a class="reference internal" href="#getting-started-mariadb"><span class="std std-ref">MariaDB</span></a>,</p></li>
|
||||
<li><p><a class="reference internal" href="#getting-started-postgresql"><span class="std std-ref">PostgreSQL</span></a>.</p></li>
|
||||
<li><p><a class="reference internal" href="#getting-started-postgresql"><span class="std std-ref">PostgreSQL</span></a>,</p></li>
|
||||
<li><p><a class="reference internal" href="#getting-started-sqlite3"><span class="std std-ref">SQLite3</span></a>,</p></li>
|
||||
<li><p><a class="reference internal" href="#getting-started-mysql"><span class="std std-ref">MySQL</span></a> (not recommended).</p></li>
|
||||
</ul>
|
||||
<section id="mariadb">
|
||||
<span id="getting-started-mariadb"></span><h3>MariaDB<a class="headerlink" href="#mariadb" title="Permalink to this heading">¶</a></h3>
|
||||
<p>The initial configuration by the <strong class="program">seiscomp</strong> script or the
|
||||
wizard of <a class="reference internal" href="../apps/scconfig.html#scconfig"><span class="std std-ref">scconfig</span></a> allows to create and configure the MySQL database
|
||||
for <cite>SeisComP</cite>.</p>
|
||||
<p>For setting up the database manually with MariaDB follow the instructions
|
||||
below.</p>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">Note</p>
|
||||
<p>With <strong>Ubuntu 16.04</strong> MariaDB has become the standard flavor of MySQL in
|
||||
Ubuntu and either MariaDB or MySQL can be installed. The implementation
|
||||
of MariaDB in Ubuntu requires additional steps. They must be taken
|
||||
<strong>before</strong> the initial configuration in order to allow <cite>SeisComP</cite> to make
|
||||
use of MariaDB. Previously, the <a class="reference internal" href="../apps/scconfig.html#scconfig"><span class="std std-ref">scconfig</span></a> wizard and
|
||||
<strong class="command">seiscomp setup</strong> could not be used to set up the MariaDB database.
|
||||
<strong>The option “Create database” had to be unchecked or answered with “no”</strong>.
|
||||
The issue is resolved in this release and both, <a class="reference internal" href="../apps/scconfig.html#scconfig"><span class="std std-ref">scconfig</span></a> wizard and
|
||||
<strong class="command">seiscomp setup</strong> are now fully capable of the required actions.</p>
|
||||
</div>
|
||||
<p>The full procedure to create the seiscomp database:</p>
|
||||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>user@host:~$<span class="w"> </span>sudo<span class="w"> </span>mysql<span class="w"> </span>-u<span class="w"> </span>root<span class="w"> </span>-p
|
||||
<span class="w"> </span>CREATE<span class="w"> </span>DATABASE<span class="w"> </span>seiscomp<span class="w"> </span>CHARACTER<span class="w"> </span>SET<span class="w"> </span>utf8mb4<span class="w"> </span>COLLATE<span class="w"> </span>utf8mb4_bin<span class="p">;</span>
|
||||
<span class="w"> </span>grant<span class="w"> </span>usage<span class="w"> </span>on<span class="w"> </span>seiscomp.*<span class="w"> </span>to<span class="w"> </span>sysop@localhost<span class="w"> </span>identified<span class="w"> </span>by<span class="w"> </span><span class="s1">'sysop'</span><span class="p">;</span>
|
||||
<span class="w"> </span>grant<span class="w"> </span>all<span class="w"> </span>privileges<span class="w"> </span>on<span class="w"> </span>seiscomp.*<span class="w"> </span>to<span class="w"> </span>sysop@localhost<span class="p">;</span>
|
||||
<span class="w"> </span>grant<span class="w"> </span>usage<span class="w"> </span>on<span class="w"> </span>seiscomp.*<span class="w"> </span>to<span class="w"> </span>sysop@<span class="s1">'%'</span><span class="w"> </span>identified<span class="w"> </span>by<span class="w"> </span><span class="s1">'sysop'</span><span class="p">;</span>
|
||||
<span class="w"> </span>grant<span class="w"> </span>all<span class="w"> </span>privileges<span class="w"> </span>on<span class="w"> </span>seiscomp.*<span class="w"> </span>to<span class="w"> </span>sysop@<span class="s1">'%'</span><span class="p">;</span>
|
||||
<span class="w"> </span>flush<span class="w"> </span>privileges<span class="p">;</span>
|
||||
<span class="w"> </span>quit
|
||||
|
||||
user@host:~$<span class="w"> </span>mysql<span class="w"> </span>-u<span class="w"> </span>sysop<span class="w"> </span>-p<span class="w"> </span>seiscomp<span class="w"> </span><<span class="w"> </span>~/seiscomp/share/db/mysql.sql
|
||||
</pre></div>
|
||||
</div>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">Note</p>
|
||||
<p>If character set ‘utf8mb4’ is not supported by your specific database server
|
||||
version then use the old ‘utf8’ format. The full statement looks as follows:
|
||||
<code class="code docutils literal notranslate"><span class="pre">CREATE</span> <span class="pre">DATABASE</span> <span class="pre">seiscomp</span> <span class="pre">CHARACTER</span> <span class="pre">SET</span> <span class="pre">utf8</span> <span class="pre">COLLATE</span> <span class="pre">utf8_bin</span></code>.</p>
|
||||
</div>
|
||||
</section>
|
||||
<section id="postgresql">
|
||||
<span id="getting-started-postgresql"></span><h3>PostgreSQL<a class="headerlink" href="#postgresql" title="Permalink to this heading">¶</a></h3>
|
||||
<p>The initial configuration allows configuring the PostgreSQL database parameters
|
||||
for <cite>SeisComP</cite>.
|
||||
It also allows <a class="reference internal" href="installation.html#database-configuration-postgresql"><span class="std std-ref">creating the database</span></a>
|
||||
and the database tables.</p>
|
||||
<p>For a manual setup of the PostgreSQL database first
|
||||
<a class="reference internal" href="installation.html#database-configuration-postgresql"><span class="std std-ref">setup the database server</span></a>. Thereafter
|
||||
create the user, the database and the tables.</p>
|
||||
<ol class="arabic">
|
||||
<li><p>Create the user and the database</p>
|
||||
<p><strong class="program">RHEL</strong>:</p>
|
||||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo@host:~$<span class="w"> </span>sudo<span class="w"> </span>su
|
||||
root@host:~$<span class="w"> </span>sudo<span class="w"> </span>-i<span class="w"> </span>-u<span class="w"> </span>postgres
|
||||
postgres@host:~$<span class="w"> </span>psql
|
||||
|
||||
<span class="w"> </span><span class="nv">postgres</span><span class="o">=</span><span class="c1"># create database seiscomp;</span>
|
||||
<span class="w"> </span><span class="nv">postgres</span><span class="o">=</span><span class="c1"># create user sysop with encrypted password 'sysop';</span>
|
||||
<span class="w"> </span><span class="nv">postgres</span><span class="o">=</span><span class="c1"># grant all privileges on database seiscomp to sysop;</span>
|
||||
<span class="w"> </span><span class="nv">postgres</span><span class="o">=</span><span class="c1"># alter database seiscomp owner to sysop;</span>
|
||||
<span class="w"> </span><span class="nv">postgres</span><span class="o">=</span><span class="c1"># exit</span>
|
||||
|
||||
root@host:~$<span class="w"> </span><span class="nb">exit</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</li>
|
||||
<li><p>Create the database tables</p>
|
||||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>user@host:~$<span class="w"> </span>psql<span class="w"> </span>-f<span class="w"> </span>~/seiscomp/share/db/postgres.sql<span class="w"> </span>-t<span class="w"> </span>seiscomp<span class="w"> </span>-U<span class="w"> </span>sysop
|
||||
</pre></div>
|
||||
</div>
|
||||
</li>
|
||||
</ol>
|
||||
<p>Continue with the <a class="reference internal" href="#getting-started-setup"><span class="std std-ref">general setup</span></a> considering the
|
||||
created database but you do not need to create the database again.</p>
|
||||
</section>
|
||||
<section id="sqlite3">
|
||||
<span id="getting-started-sqlite3"></span><h3>SQLite3<a class="headerlink" href="#sqlite3" title="Permalink to this heading">¶</a></h3>
|
||||
<p>Alternatively, a SQLite3 database can be used. The setup up is identical to the
|
||||
other databases and described in section <a class="reference internal" href="#getting-started-setup"><span class="std std-ref">General SeisComP Setup</span></a> .</p>
|
||||
</section>
|
||||
<section id="mysql">
|
||||
<span id="getting-started-mysql"></span><h3>MySQL<a class="headerlink" href="#mysql" title="Permalink to this heading">¶</a></h3>
|
||||
<p>The initial configuration by the <strong class="program">seiscomp</strong> script or the
|
||||
@ -108,81 +188,6 @@ to use a native password on the MySQL server.</p>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
<section id="mariadb">
|
||||
<span id="getting-started-mariadb"></span><h3>MariaDB<a class="headerlink" href="#mariadb" title="Permalink to this heading">¶</a></h3>
|
||||
<p>The initial configuration by the <strong class="program">seiscomp</strong> script or the
|
||||
wizard of <a class="reference internal" href="../apps/scconfig.html#scconfig"><span class="std std-ref">scconfig</span></a> allows to create and configure the MySQL database
|
||||
for <cite>SeisComP</cite>.</p>
|
||||
<p>For setting up the database manually with MariaDB follow the instructions
|
||||
below.</p>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">Note</p>
|
||||
<p>With <strong>Ubuntu 16.04</strong> MariaDB has become the standard flavor of MySQL in
|
||||
Ubuntu and either MariaDB or MySQL can be installed. The implementation
|
||||
of MariaDB in Ubuntu requires additional steps. They must be taken
|
||||
<strong>before</strong> the initial configuration in order to allow <cite>SeisComP</cite> to make
|
||||
use of MariaDB. Previously, the <a class="reference internal" href="../apps/scconfig.html#scconfig"><span class="std std-ref">scconfig</span></a> wizard and
|
||||
<strong class="command">seiscomp setup</strong> could not be used to set up the MariaDB database.
|
||||
<strong>The option “Create database” had to be unchecked or answered with “no”</strong>.
|
||||
The issue is resolved in this release and both, <a class="reference internal" href="../apps/scconfig.html#scconfig"><span class="std std-ref">scconfig</span></a> wizard and
|
||||
<strong class="command">seiscomp setup</strong> are now fully capable of the required actions.</p>
|
||||
</div>
|
||||
<p>The full procedure to create the seiscomp database:</p>
|
||||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>user@host:~$<span class="w"> </span>sudo<span class="w"> </span>mysql<span class="w"> </span>-u<span class="w"> </span>root<span class="w"> </span>-p
|
||||
<span class="w"> </span>CREATE<span class="w"> </span>DATABASE<span class="w"> </span>seiscomp<span class="w"> </span>CHARACTER<span class="w"> </span>SET<span class="w"> </span>utf8mb4<span class="p">;</span>
|
||||
<span class="w"> </span>grant<span class="w"> </span>usage<span class="w"> </span>on<span class="w"> </span>seiscomp.*<span class="w"> </span>to<span class="w"> </span>sysop@localhost<span class="w"> </span>identified<span class="w"> </span>by<span class="w"> </span><span class="s1">'sysop'</span><span class="p">;</span>
|
||||
<span class="w"> </span>grant<span class="w"> </span>all<span class="w"> </span>privileges<span class="w"> </span>on<span class="w"> </span>seiscomp.*<span class="w"> </span>to<span class="w"> </span>sysop@localhost<span class="p">;</span>
|
||||
<span class="w"> </span>grant<span class="w"> </span>usage<span class="w"> </span>on<span class="w"> </span>seiscomp.*<span class="w"> </span>to<span class="w"> </span>sysop@<span class="s1">'%'</span><span class="w"> </span>identified<span class="w"> </span>by<span class="w"> </span><span class="s1">'sysop'</span><span class="p">;</span>
|
||||
<span class="w"> </span>grant<span class="w"> </span>all<span class="w"> </span>privileges<span class="w"> </span>on<span class="w"> </span>seiscomp.*<span class="w"> </span>to<span class="w"> </span>sysop@<span class="s1">'%'</span><span class="p">;</span>
|
||||
<span class="w"> </span>flush<span class="w"> </span>privileges<span class="p">;</span>
|
||||
<span class="w"> </span>quit
|
||||
|
||||
user@host:~$<span class="w"> </span>mysql<span class="w"> </span>-u<span class="w"> </span>sysop<span class="w"> </span>-p<span class="w"> </span>seiscomp<span class="w"> </span><<span class="w"> </span>~/seiscomp/share/db/mysql.sql
|
||||
</pre></div>
|
||||
</div>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">Note</p>
|
||||
<p>If character set ‘utf8mb4’ is not supported by your specific database server
|
||||
version then use the old ‘utf8’ format. For historical reasons, SeisComP
|
||||
would use then the ‘utf8_bin’ collation. The full statement looks as
|
||||
follows: <code class="code docutils literal notranslate"><span class="pre">CREATE</span> <span class="pre">DATABASE</span> <span class="pre">seiscomp</span> <span class="pre">CHARACTER</span> <span class="pre">SET</span> <span class="pre">utf8</span> <span class="pre">COLLATE</span> <span class="pre">utf8_bin</span></code>.</p>
|
||||
</div>
|
||||
</section>
|
||||
<section id="postgresql">
|
||||
<span id="getting-started-postgresql"></span><h3>PostgreSQL<a class="headerlink" href="#postgresql" title="Permalink to this heading">¶</a></h3>
|
||||
<p>The initial configuration allows configuring the PostgreSQL database parameters
|
||||
for <cite>SeisComP</cite>.
|
||||
It also allows <a class="reference internal" href="installation.html#database-configuration-postgresql"><span class="std std-ref">creating the database</span></a>
|
||||
and the database tables.</p>
|
||||
<p>For a manual setup of the PostgreSQL database first <a class="reference internal" href="installation.html#database-configuration-postgresql"><span class="std std-ref">setup the database
|
||||
server</span></a>, then create the user, the database
|
||||
and the tables.</p>
|
||||
<ol class="arabic">
|
||||
<li><p>Create the user and the database</p>
|
||||
<p><strong class="program">CentOS</strong>:</p>
|
||||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo@host:~$<span class="w"> </span>sudo<span class="w"> </span>su
|
||||
root@host:~$<span class="w"> </span>sudo<span class="w"> </span>-i<span class="w"> </span>-u<span class="w"> </span>postgres
|
||||
postgres@host:~$<span class="w"> </span>psql
|
||||
|
||||
<span class="w"> </span><span class="nv">postgres</span><span class="o">=</span><span class="c1"># create database seiscomp;</span>
|
||||
<span class="w"> </span><span class="nv">postgres</span><span class="o">=</span><span class="c1"># create user sysop with encrypted password 'sysop';</span>
|
||||
<span class="w"> </span><span class="nv">postgres</span><span class="o">=</span><span class="c1"># grant all privileges on database seiscomp to sysop;</span>
|
||||
<span class="w"> </span><span class="nv">postgres</span><span class="o">=</span><span class="c1"># alter database seiscomp owner to sysop;</span>
|
||||
<span class="w"> </span><span class="nv">postgres</span><span class="o">=</span><span class="c1"># exit</span>
|
||||
|
||||
root@host:~$<span class="w"> </span><span class="nb">exit</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</li>
|
||||
<li><p>Create the database tables</p>
|
||||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>user@host:~$<span class="w"> </span>psql<span class="w"> </span>-f<span class="w"> </span>~/seiscomp/share/db/postgres.sql<span class="w"> </span>-t<span class="w"> </span>seiscomp<span class="w"> </span>-U<span class="w"> </span>sysop
|
||||
</pre></div>
|
||||
</div>
|
||||
</li>
|
||||
</ol>
|
||||
<p>Continue with the <a class="reference internal" href="#getting-started-setup"><span class="std std-ref">general setup</span></a> considering the
|
||||
created database but <strong>do not create the database again</strong>.</p>
|
||||
</section>
|
||||
</section>
|
||||
<section id="general-scname-setup">
|
||||
<span id="getting-started-setup"></span><h2>General <cite>SeisComP</cite> Setup<a class="headerlink" href="#general-scname-setup" title="Permalink to this heading">¶</a></h2>
|
||||
@ -233,21 +238,19 @@ is already available. The database is required to store inventory information
|
||||
as well as processing results. The database is the central storage for all
|
||||
trunk modules and the default request handler of Arclink.</p>
|
||||
<hr class="docutils" />
|
||||
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span> 0) mysql
|
||||
MySQL server.
|
||||
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Enable database storage. [yes]:
|
||||
0) mysql/mariadb
|
||||
MySQL/MariaDB server.
|
||||
1) postgresql
|
||||
PostgreSQL server. There is currently no support in setup to create the
|
||||
database for you. You have to setup the database and user accounts on
|
||||
your own. The database schema is installed under share/db/postgresql.sql.
|
||||
PostgresSQL server version 9 or later.
|
||||
2) sqlite3
|
||||
SQLite3 database.
|
||||
Database backend [0]:
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>If the database is enable the database backend can be selected. <cite>SeisComP</cite>
|
||||
supports two main backends: MySQL and PostgreSQL. Select the backend to be used
|
||||
here but be prepared that only for the MySQL backend the setup can help to
|
||||
create the database and tables for you. If you are using PostgreSQL you have
|
||||
to provide a working database with the correct schema. The schema files are
|
||||
part of the distribution and can be found in <code class="file docutils literal notranslate"><span class="pre">seiscomp/share/db/postgresql.sql</span></code>.</p>
|
||||
<p>If the database is enabled, the database backend can be selected. <cite>SeisComP</cite>
|
||||
supports three main backends: MariaDB/MySQL, PostgreSQL, and SQLite3. Select the
|
||||
backend to be used.</p>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">Note</p>
|
||||
<p>As of PostgreSQL version 9 the default output encoding has changed to hex.
|
||||
@ -261,13 +264,6 @@ following command.</p>
|
||||
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Create database [yes]:
|
||||
</pre></div>
|
||||
</div>
|
||||
<div class="admonition warning">
|
||||
<p class="admonition-title">Warning</p>
|
||||
<p>If MySQL is selected it is possible to let <strong class="command">seiscomp setup</strong> to create
|
||||
the database and all tables for you. Otherwise currently not and you need to set up the
|
||||
database manually following the <a class="reference internal" href="#getting-started-mysql"><span class="std std-ref">given instructions</span></a>.
|
||||
If the database has been created already, answer ‘no’ here.</p>
|
||||
</div>
|
||||
<hr class="docutils" />
|
||||
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>MYSQL root password (input not echoed) []:
|
||||
</pre></div>
|
||||
@ -308,11 +304,11 @@ Command? [P]:
|
||||
</div>
|
||||
</section>
|
||||
<section id="environment-variables">
|
||||
<h2>Environment variables<a class="headerlink" href="#environment-variables" title="Permalink to this heading">¶</a></h2>
|
||||
<span id="getting-started-variables"></span><h2>Environment variables<a class="headerlink" href="#environment-variables" title="Permalink to this heading">¶</a></h2>
|
||||
<p>Commands can be used along with the <strong class="program">seiscomp</strong> script located in <em>seiscomp/bin/seiscomp</em>.
|
||||
Read the section <a class="reference internal" href="management.html#sec-management-commands"><span class="std std-ref">seiscomp Commands</span></a> for more details on <strong class="program">seiscomp</strong>.
|
||||
E.g. <cite>SeisComP</cite> modules can be executed like</p>
|
||||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>user@host:~$ seiscomp/bin/seiscomp exec scrttv
|
||||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>user@host:~$<span class="w"> </span>seiscomp/bin/seiscomp<span class="w"> </span><span class="nb">exec</span><span class="w"> </span>scrttv
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>Calling <strong class="program">seiscomp</strong> with its full path, e.g.</p>
|
||||
@ -324,16 +320,16 @@ Providing the full path allows starting other <cite>SeisComP</cite> modules in a
|
||||
<cite>SeisComP</cite> environment. Thus, multiple SeisComP installations can be maintained
|
||||
and referred to on the same machine.</p>
|
||||
<p><strong class="program">seiscomp</strong> can also be used for printing the considered <cite>SeisComP</cite> environment</p>
|
||||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>user@host:~$ seiscomp/bin/seiscomp print env
|
||||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>user@host:~$<span class="w"> </span>seiscomp/bin/seiscomp<span class="w"> </span>print<span class="w"> </span>env
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>resulting in</p>
|
||||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">export</span> <span class="n">SEISCOMP_ROOT</span><span class="o">=</span><span class="s2">"/home/sysop/seiscomp"</span>
|
||||
<span class="n">export</span> <span class="n">PATH</span><span class="o">=</span><span class="s2">"/home/sysop/seiscomp/bin:$PATH"</span>
|
||||
<span class="n">export</span> <span class="n">LD_LIBRARY_PATH</span><span class="o">=</span><span class="s2">"/home/sysop/seiscomp/lib:$LD_LIBRARY_PATH"</span>
|
||||
<span class="n">export</span> <span class="n">PYTHONPATH</span><span class="o">=</span><span class="s2">"/home/sysop/seiscomp/lib/python:$PYTHONPATH"</span>
|
||||
<span class="n">export</span> <span class="n">MANPATH</span><span class="o">=</span><span class="s2">"/home/sysop/seiscomp/share/man:$MANPATH"</span>
|
||||
<span class="n">source</span> <span class="s2">"/home/sysop/seiscomp/share/shell-completion/seiscomp.bash"</span>
|
||||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span><span class="nb">export</span><span class="w"> </span><span class="nv">SEISCOMP_ROOT</span><span class="o">=</span><span class="s2">"/home/sysop/seiscomp"</span>
|
||||
<span class="nb">export</span><span class="w"> </span><span class="nv">PATH</span><span class="o">=</span><span class="s2">"/home/sysop/seiscomp/bin:</span><span class="nv">$PATH</span><span class="s2">"</span>
|
||||
<span class="nb">export</span><span class="w"> </span><span class="nv">LD_LIBRARY_PATH</span><span class="o">=</span><span class="s2">"/home/sysop/seiscomp/lib:</span><span class="nv">$LD_LIBRARY_PATH</span><span class="s2">"</span>
|
||||
<span class="nb">export</span><span class="w"> </span><span class="nv">PYTHONPATH</span><span class="o">=</span><span class="s2">"/home/sysop/seiscomp/lib/python:</span><span class="nv">$PYTHONPATH</span><span class="s2">"</span>
|
||||
<span class="nb">export</span><span class="w"> </span><span class="nv">MANPATH</span><span class="o">=</span><span class="s2">"/home/sysop/seiscomp/share/man:</span><span class="nv">$MANPATH</span><span class="s2">"</span>
|
||||
<span class="nb">source</span><span class="w"> </span><span class="s2">"/home/sysop/seiscomp/share/shell-completion/seiscomp.bash"</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>For convenience, the default <cite>SeisComP</cite> installation can be referred to, when defining
|
||||
@ -344,12 +340,12 @@ executed without the <strong class="program">seiscomp</strong> script.</p>
|
||||
<ol class="arabic">
|
||||
<li><p>Use the <strong class="program">seiscomp</strong> script itself to generate the parameters and write
|
||||
the parameters to <code class="file docutils literal notranslate"><span class="pre">~/.bashrc</span></code></p>
|
||||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>user@host:~$ seiscomp/bin/seiscomp print env >> ~/.bashrc
|
||||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>user@host:~$<span class="w"> </span>seiscomp/bin/seiscomp<span class="w"> </span>print<span class="w"> </span>env<span class="w"> </span>>><span class="w"> </span>~/.bashrc
|
||||
</pre></div>
|
||||
</div>
|
||||
</li>
|
||||
<li><p>Load the environment or log out and in again</p>
|
||||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>user@host:~$ source ~/.bashrc
|
||||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>user@host:~$<span class="w"> </span><span class="nb">source</span><span class="w"> </span>~/.bashrc
|
||||
</pre></div>
|
||||
</div>
|
||||
</li>
|
||||
@ -479,9 +475,10 @@ If everything is working, the analysis tools can be started, e.g. MapView.</p>
|
||||
<ul>
|
||||
<li><a class="reference internal" href="#">Getting Started with <cite>SeisComP</cite></a><ul>
|
||||
<li><a class="reference internal" href="#database-configuration">Database Configuration</a><ul>
|
||||
<li><a class="reference internal" href="#mysql">MySQL</a></li>
|
||||
<li><a class="reference internal" href="#mariadb">MariaDB</a></li>
|
||||
<li><a class="reference internal" href="#postgresql">PostgreSQL</a></li>
|
||||
<li><a class="reference internal" href="#sqlite3">SQLite3</a></li>
|
||||
<li><a class="reference internal" href="#mysql">MySQL</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="reference internal" href="#general-scname-setup">General <cite>SeisComP</cite> Setup</a></li>
|
||||
@ -524,7 +521,7 @@ If everything is working, the analysis tools can be started, e.g. MapView.</p>
|
||||
</a>
|
||||
<div class="stretched align-center fitted content">
|
||||
<div>
|
||||
Version <b>6.9.0</b> Release
|
||||
Version <b>7.0.0</b> Development
|
||||
</div>
|
||||
<div class="copyright">
|
||||
Copyright © gempa GmbH, GFZ Potsdam.
|
||||
|
||||
Reference in New Issue
Block a user