User Tools

Site Tools


installation

This is an old revision of the document!


Installation & Upgrade

Debian

Following commands must be executed by root.

Installation

This works for Debian Lenny/Squeeze/Testing/Unstable.

  1. Add our key:
    wget https://apt-repo.bijk.com/archive-key.asc -O - | apt-key add -
  2. Add our repository:
    echo "deb http://apt-repo.bijk.com/debian stable main" >>/etc/apt/sources.list
  3. Update package DB:
    aptitude update
  4. Install bijk-node:
    aptitude install bijk-node

Upgrade

  1. Update package DB:
    aptitude update
  2. Upgrade bijk-node:
    aptitude install bijk-node

Ubuntu

Note that if have an older Ubuntu you need to enable multiverse repository. See Adding Repositories in Ubuntu.

Installation

  1. Add our key:
    wget http://apt.bijk.com/archive-key.asc  -O - | sudo apt-key add -
  2. Add our repository:
    echo 'deb http://apt.bijk.com/ubuntu stable main' | sudo tee -a /etc/apt/sources.list
  3. Update package DB:
    sudo aptitude update
  4. Install bijk-node:
    sudo aptitude install bijk-node

Upgrade

  1. Update package DB:
    sudo aptitude update
  2. Upgrade bijk-node:
    sudo aptitude install bijk-node

RedHat/CentOS/Fedora

Following commands must be executed by root.

Installation

  1. Add our repository:
    wget -O /etc/yum.repos.d/bijk.repo http://yum.bijk.com/bijk.repo
  2. Install bijk-node:
    yum install bijk-node

Upgrade

  1. Upgrade bijk-node:
    yum install bijk-node

cPanel

Following commands must be executed by root.

Installation

  1. Go to home directory:
    cd ~
  2. Obtain installation script:
    wget http://www.bijk.com/pkg/bijk-cpanel.sh
  3. Execute installation script:
    sh ./bijk-cpanel.sh

Upgrade

  1. Go to home directory:
    cd ~
  2. Execute installation script:
    sh ./bijk-cpanel.sh

Installing from source

You need to have CPAN and standard build tools (gcc, make, …). CPAN is distributed with Perl itself. You need to install rrdtool first. If you're installing on Debian based distribution or Gentoo, installation script will try to install it by default. Otherwise you need install it manually.

Easy way

  1. Obtain installation script:
    wget http://www.bijk.com/pkg/bijk-latest.sh
  2. Execute installation script:
    sh ./bijk-latest.sh

Hard way

  1. Install dependencies from CPAN:
    cpan Log::Log4perl Net::Server Net::CIDR IO::Interface YAML::XS Module::Build
  2. Obtain bijk-node sources. You can either get tarball or clone git repository.
  3. Install bijk-node:
    cd bijk-node_<TAB> # replace tab with correct version (you can see it when unpacking in previous step)
    # cd bijk-node # if you have cloned git repository
    perl Build.PL # here you'll see some warnings, you can safely ignore it
    ./Build install
  4. Run bijk-node:
    /usr/local/sbin/bijk-node
installation.1502091330.txt.gz · Last modified: 2017/08/07 09:35 by woky