# Offline Installations and Upgrades

For customers that have an appliance behind a firewall/proxy that does not allow downloads from our Amazon download site, you can add the supplemental package to add the needed packages the standard Morpheus installer would have downloaded.

## Offline Installation Requirements

- NTP should be correctly configured and the server is able to connect to the NTP server in the ntp.conf file
- The OS package repositories should be configured to use local LAN repository servers or the server should be able to receive packages from the configured repositories
- The standard Morpheus and supplemental packages must be downloaded from another system and transferred to the Morpheus Appliance server
- The supplemental package is additive, the full installer is also required

NOTE

The supplemental package is linked 1-to-1 to the appliance release. For example the supplemental package for 4.2.1-1 should be used with the appliance package 4.2.1-1

## Offline Install

## Ubuntu/Debian

### Procedure

1. Download both the regular Morpheus Appliance package and the Supplemental packages on to the appliance server: 

   ```
   ```
   wget http://example_url/morpheus-appliance_version_amd64.deb  
   wget http://example_url/morpheus-appliance-supplemental_version_all.deb
   ```
   ```
2. Install the both the Appliance package AND the Supplemental package. 

   ```
   ```
   sudo dpkg -i morpheus-appliance_version_amd64.deb  
   sudo dpkg -i morpheus-appliance-supplemental_version_all.deb
   ```
   ```
3. Set the Morpheus UI appliance url (if needed, hostname will be automatically set). 

   ```
   ```
   # edit appliance_url to resolvable url (if not configured correctly by default)  
   sudo vi /etc/morpheus/morpheus.rb
   ```
   ```
4. Reconfigure the appliance to install required packages 

   ```
   ```
   sudo morpheus-ctl reconfigure
   ```
   ```

### Results

The Chef run should complete successfully. There is a small pause when Chef runs the resource remote\_file[package\_name] action create while Chef verifies the checksum. After the reconfigure is complete, the morpheus-ui will start and be up in a few minutes.

NOTE

Tail the morpheus log file located at /var/log/morpheus/morpheus-ui/current with the command `morpheus-ctl tail morpheus-ui` and look for the Morpheus ascii logo to know when the morpheus-ui is up.

## CentOS/RHEL

### Procedure

1. Download both the regular Morpheus Appliance package and the matching Supplemental package on to the Appliance server: 

   ```
   ```
   wget http://example_url/morpheus-appliance_package_url.noarch.rpm  
   wget http://example_url/morpheus-appliance_package_supplemental_url.noarch.rpm
   ```
   ```
2. Install the both the Appliance package AND the Supplemental package. 

   ```
   ```
   sudo rpm -i morpheus-appliance_package_url.noarch.rpm  
   sudo rpm -i morpheus-appliance_package_supplemental_url.noarch.rpm
   ```
   ```
3. Set the Morpheus UI appliance url (if needed, hostname will be automatically set). 

   ```
   ```
   #Edit appliance_url to resolvable url (if not configured correctly by default)  
   sudo vi /etc/morpheus/morpheus.rb
   ```
   ```
4. Reconfigure the appliance to install required packages 

   ```
   ```
   sudo morpheus-ctl reconfigure
   ```
   ```

### Results

The Chef run should complete successfully. There is a small pause when Chef runs the resource remote\_file[package\_name] action create while Chef verifies the checksum. After the reconfigure is complete, the morpheus-ui will start and be up in a few minutes.

NOTE

Tail the morpheus-ui log file with `morpheus-ctl tail morpheus-ui` and look for the Morpheus ascii logo to know when the morpheus-ui is up.
