modify install.sh->awips_install.sh
This commit is contained in:
parent
ebf3759d72
commit
1cf9fdeb5a
6 changed files with 21 additions and 21 deletions
|
@ -2,7 +2,7 @@
|
|||
# about: AWIPS install manager
|
||||
# devorg: Unidata Program Center
|
||||
# author: <mjames@ucar.edu>
|
||||
# use: ./install.sh (--cave|--edex|--database|--ingest|--help)
|
||||
# use: ./awips_install.sh (--cave|--edex|--database|--ingest|--help)
|
||||
|
||||
dir="$( cd "$(dirname "$0")" ; pwd -P )"
|
||||
|
|
@ -9,8 +9,8 @@ RUN groupadd fxalpha && useradd -G fxalpha awips
|
|||
RUN yum install epel-release wget -y
|
||||
RUN yum clean all -y
|
||||
RUN wget -O /etc/yum.repos.d/awips2.repo https://www.unidata.ucar.edu/software/awips2/doc/el7-dev.repo
|
||||
RUN wget https://www.unidata.ucar.edu/software/awips2/install.sh
|
||||
RUN chmod +x install.sh
|
||||
RUN ./install.sh --ingest
|
||||
RUN wget https://www.unidata.ucar.edu/software/awips2/awips_install.sh
|
||||
RUN chmod +x awips_install.sh
|
||||
RUN ./awips_install.sh --ingest
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
|
|
|
@ -67,11 +67,11 @@ and after install
|
|||
|
||||
# Linux Download
|
||||
|
||||
For 64-bit RHEL/CentOS 6 and 7, download and run the script [install.sh --edex](https://www.unidata.ucar.edu/software/awips2/install.sh):
|
||||
For 64-bit RHEL/CentOS 6 and 7, download and run the script [awips_install.sh --edex](https://www.unidata.ucar.edu/software/awips2/awips_install.sh):
|
||||
|
||||
wget https://www.unidata.ucar.edu/software/awips2/install.sh
|
||||
chmod 755 ./install.sh
|
||||
sudo ./install.sh --edex
|
||||
wget https://www.unidata.ucar.edu/software/awips2/awips_install.sh
|
||||
chmod 755 ./awips_install.sh
|
||||
sudo ./awips_install.sh --edex
|
||||
|
||||
This will install to `/awips2/edex`, `/awips2/database/data` and other directories.
|
||||
|
||||
|
@ -83,7 +83,7 @@ This will install to `/awips2/edex`, `/awips2/database/data` and other directori
|
|||
|
||||
- Security Limits - **/etc/security/limits.conf**
|
||||
|
||||
Qpid is known to crash on systems without a high security limit for user processes and files. The file `/etc/security/limits.conf` defines the number of each for the awips user (This is automatically configured by the `install.sh --edex` script).
|
||||
Qpid is known to crash on systems without a high security limit for user processes and files. The file `/etc/security/limits.conf` defines the number of each for the awips user (This is automatically configured by the `awips_install.sh --edex` script).
|
||||
|
||||
awips soft nproc 65536
|
||||
awips soft nofile 65536
|
||||
|
@ -97,7 +97,7 @@ LDM config
|
|||
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 edex-cloud.westus.cloudapp.azure.com
|
||||
|
||||
|
||||
# What does `install.sh --edex` do?
|
||||
# What does `awips_install.sh --edex` do?
|
||||
|
||||
1. Downloads [https://www.unidata.ucar.edu/software/awips2/doc/awips2.repo](https://www.unidata.ucar.edu/software/awips2/doc/awips2.repo) to `/etc/yum.repos.d/awips2.repo`
|
||||
2. Runs `yum clean all`
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
## Linux
|
||||
| | |
|
||||
|:----------------------------------------:|:--|
|
||||
| <h1><i class="fa fa-linux"></i></h1> | <h4>[install.sh --cave <i class="fa fa-download"></i>](https://www.unidata.ucar.edu/software/awips2/install.sh) </h4> <p>For CentOS/Red Hat 6 and 7. Installs to /awips2/cave and writes files to ~/caveData.</p> <tt><code>chmod 755 install.sh<br>sudo ./install.sh --cave</code></tt><p>Run CAVE from the Linux Desktop menu Applications > Internet > AWIPS CAVE, or from the command line as simply `cave`.</p> <div class="admonition note"><p class="admonition-title">System Requirements</p><ul><li>x86_64 CentOS/RHEL 6 or 7</li><li>OpenGL 2.0 capable device</li><li>4GB RAM</li><li><a href="http://www.nvidia.com/Download/index.aspx?lang=en-us">Latest NVIDIA driver</a></li><li>approx. 2GB disk space for data caching (~/caveData)</li></ul></div><p>You can reset CAVE at any time by removing the **~/caveData** directory (on macOS **~/Library/caveData**) and reconnecting to an EDEX server. </p> |
|
||||
| <h1><i class="fa fa-linux"></i></h1> | <h4>[awips_install.sh --cave <i class="fa fa-download"></i>](https://www.unidata.ucar.edu/software/awips2/awips_install.sh) </h4> <p>For CentOS/Red Hat 6 and 7. Installs to /awips2/cave and writes files to ~/caveData.</p> <tt><code>chmod 755 awips_install.sh<br>sudo ./aiwps_install.sh --cave</code></tt><p>Run CAVE from the Linux Desktop menu Applications > Internet > AWIPS CAVE, or from the command line as simply `cave`.</p> <div class="admonition note"><p class="admonition-title">System Requirements</p><ul><li>x86_64 CentOS/RHEL 6 or 7</li><li>OpenGL 2.0 capable device</li><li>4GB RAM</li><li><a href="http://www.nvidia.com/Download/index.aspx?lang=en-us">Latest NVIDIA driver</a></li><li>approx. 2GB disk space for data caching (~/caveData)</li></ul></div><p>You can reset CAVE at any time by removing the **~/caveData** directory (on macOS **~/Library/caveData**) and reconnecting to an EDEX server. </p> |
|
||||
|
||||
## macOS
|
||||
| | |
|
||||
|
|
|
@ -99,11 +99,11 @@ In the [Azure portal](https://portal.azure.com):
|
|||
|
||||
13. Finally, install the EDEX server
|
||||
|
||||
`wget https://www.unidata.ucar.edu/software/awips2/install.sh`
|
||||
`wget https://www.unidata.ucar.edu/software/awips2/awips_install.sh`
|
||||
|
||||
`chmod 755 ./install.sh`
|
||||
`chmod 755 ./awips_install.sh`
|
||||
|
||||
`sudo ./install.sh --edex`
|
||||
`sudo ./awips_install.sh --edex`
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
| | |
|
||||
|:----------------------------------------:|:--|
|
||||
| <h1><i class="fa fa-linux"></i> Linux </h1> | <h4>[install.sh --edex <i class="fa fa-download"></i>](https://www.unidata.ucar.edu/software/awips2/install.sh) </h4> <p>Installs to /awips2/ directories.</p> <tt><code>chmod 755 install.sh<br>sudo ./install.sh --edex</code></tt><p>Start and Stop:</p><p><tt>edex start<br>edex stop</tt></p><div class="admonition note"><p class="admonition-title">System Requirements</p><ul><li>x86_64 CentOS/RHEL 6 or 7</li><li>16+ CPU cores (each CPU core is one more decoder which can run in parallel)</li><li>24GB RAM</li><li>700GB+ disk space</li><li>A **Solid State Drive (SSD)** is highly recommended</li></ul></div> <p>An **SSD** should be mounted either to `/awips2` (to contain the entire EDEX system) or to `/awips2/edex/data/hdf5` (to contain the large files in the decoded data store). EDEX can scale to any system by adjusting the incoming LDM data feeds or adjusting the resources (CPU threads) allocated to each data type.</p><p>**64-bit CentOS/RHEL 6 and 7** are the only supported operating systems for EDEX. You may have luck with Fedora Core 12 to 14 and Scientific Linux.</p><p>EDEX is not supported on Debian, Ubuntu, SUSE, Solaris, OS X, or Windows.</p> |
|
||||
| <h1><i class="fa fa-linux"></i> Linux </h1> | <h4>[aiwps_install.sh --edex <i class="fa fa-download"></i>](https://www.unidata.ucar.edu/software/awips2/awips_install.sh) </h4> <p>Installs to /awips2/ directories.</p> <tt><code>chmod 755 awips_install.sh<br>sudo ./awips_install.sh --edex</code></tt><p>Start and Stop:</p><p><tt>edex start<br>edex stop</tt></p><div class="admonition note"><p class="admonition-title">System Requirements</p><ul><li>x86_64 CentOS/RHEL 6 or 7</li><li>16+ CPU cores (each CPU core is one more decoder which can run in parallel)</li><li>24GB RAM</li><li>700GB+ disk space</li><li>A **Solid State Drive (SSD)** is highly recommended</li></ul></div> <p>An **SSD** should be mounted either to `/awips2` (to contain the entire EDEX system) or to `/awips2/edex/data/hdf5` (to contain the large files in the decoded data store). EDEX can scale to any system by adjusting the incoming LDM data feeds or adjusting the resources (CPU threads) allocated to each data type.</p><p>**64-bit CentOS/RHEL 6 and 7** are the only supported operating systems for EDEX. You may have luck with Fedora Core 12 to 14 and Scientific Linux.</p><p>EDEX is not supported on Debian, Ubuntu, SUSE, Solaris, OS X, or Windows.</p> |
|
||||
|
||||
> ### [Read More: Distributed EDEX, Installing Across Multiple Machines](/edex/distributed-computing/)
|
||||
|
||||
|
@ -27,15 +27,15 @@ All of these command should be run as **root**
|
|||
|
||||
### 2. Install EDEX
|
||||
>
|
||||
>Download and run [install.sh --edex <i class="fa fa-download"></i>](https://www.unidata.ucar.edu/software/awips2/install.sh)
|
||||
>Download and run [sudo ./awips_install.sh --edex <i class="fa fa-download"></i>](https://www.unidata.ucar.edu/software/awips2/awips_install.sh)
|
||||
>
|
||||
> wget https://www.unidata.ucar.edu/software/awips2/install.sh
|
||||
> chmod 755 install.sh
|
||||
> sudo ./install.sh --edex
|
||||
> wget https://www.unidata.ucar.edu/software/awips2/awips_install.sh
|
||||
> chmod 755 awips_install.sh
|
||||
> sudo ./awips_install.sh --edex
|
||||
>
|
||||
>
|
||||
>
|
||||
>!!! note "**install.sh --edex** will perform the following steps (it's always a good idea to review downloaded shell scripts):"
|
||||
>!!! note "**awips_install.sh --edex** will perform the following steps (it's always a good idea to review downloaded shell scripts):"
|
||||
>
|
||||
> 1. Saves the appropriate Yum repo file to `/etc/yum.repos.d/awips2.repo`
|
||||
> 2. Increases process and file limits for the the *awips* account in `/etc/security/limits.conf`
|
||||
|
@ -156,7 +156,7 @@ All of these command should be run as **root**
|
|||
|
||||
### /etc/security/limits.conf
|
||||
|
||||
**/etc/security/limits.conf** defines the number of user processes and files (this step is automatically performed by `install.sh --edex`). Without these definitions, Qpid is known to crash during periods of high ingest.
|
||||
**/etc/security/limits.conf** defines the number of user processes and files (this step is automatically performed by `./awips_install.sh --edex`). Without these definitions, Qpid is known to crash during periods of high ingest.
|
||||
|
||||
awips soft nproc 65536
|
||||
awips soft nofile 65536
|
||||
|
|
Loading…
Add table
Reference in a new issue