Installing Nytrio on Debian


Prerequisites

To install Nytrio, one of these Debian or Raspbian versions are required (64-bit version are recommended)

  • Stretch
  • Jessie 8.0 (LTS) / Raspbian Jessie


Install Nytrio

You can install Nytrio in different ways, depending on your needs:
Most users set up Nytrio's repositories and install from them, for ease of installation and upgrade tasks. This is the recommended approach
Some users download the DEB package and install it manually and manage upgrades completely manually.
* Some users prefer to install Nytrio from most recent sources using the git repository


Install using the repository

Before you install Nytrio for the first time on a new host machine, you need to set up the Nytrio repository. Afterward, you can install, update, or downgrade Nytrio from the repository.

1 - Install required packages to set up the repository:

copy
apt-get install software-properties-common python-software-properties

2 - Add Nytrio's official GPG key:

copy
wget -qO- http://debian-ce.nytrio.com/gpg | apt-key add -

3 - Add Nytrio repository:

copy
add-apt-repository "deb http://debian-ce.nytrio.com jessie main"

4 - Update the apt package index:

copy
apt-get update

5 - Install the latest version of Nytrio:

copy
apt-get install nytrio

6 - Follow the installer instructions. At the end, the web interface should be accessible using http://SERVER/nytrio. The administrator credentials are admin/admin

Backup module configuration

1 - Install backuppc if not installed

copy
apt-get install backuppc

2 - Allow localhost access in /etc/apache2/conf-enabled/backuppc.conf. Apache snippet example:

copy
Order Deny,Allow
Deny from all
Allow from localhost

3 - Copy SSH keys to backuppc home directory:

copy
cp -f /root/.ssh/id_rsa* /var/lib/backuppc/.ssh
chown backuppc:backuppc /var/lib/backuppc/.ssh -R

4 - Add backuppc user to the nytrio group:

copy
adduser backuppc nytrio


Imaging module configuration

  • Install Nytrio imaging client package:

    apt-get install nytrio-imaging-client

  • In your DHCP server, configure these options:

    Boot server: [IP OF YOUR SERVER]
    Boot file: /grub/pxe_boot