bc-web installation

Requirements

  • Java 8

Installation

  1. download bc-web distribution file;

root# cd /downloads-directory
root# wget http://beyondcron.com/downloads/bc-web_version_all.deb

root# cd /downloads-directory
root# wget http://beyondcron.com/downloads/bc-web_version-0.noarch.rpm

user% cd /downloads-directory
user% wget http://beyondcron.com/downloads/bc-web-version.zip

  1. install package and start daemon

If they do not already exist, installing this package will create the following:

  • operating system user bc-web to run bc-web;
  • directory /opt/bc-web containing this package;
  • configuration file /etc/default/bc-web;
  • log file /var/log/bc-web.log on initd systems;

It will also register and start bc-web as a service.

root# dpkg -i bc-web_version_all.deb

root# rpm -i bc-web_version-0.noarch.rpm

if the package cannot find a version of Java 8 already installed, the installation will fail.

Starting/stopping

On init systems, the bc-web service can be started and stopped using the service command. e.g.

root# service bc-web (start|stop)

On systemd systems, the bc-web service can be started and stopped using the systemctl command. e.g.

root# systemctl (start|stop) bc-web

Logging

On init systems, output is written to the file /var/log/bc-web.log.

On systemd systems, output is written to the systemd journal and can be viewed using journalctl. e.g.

root# journalctl -u bc-web

  1. move to the install directory

The distribution will will create the sub-directory bc-web.

user% cd /install-directory

  1. unzip distribution

user% unzip /downloads-directory/bc-web-version.zip

  1. confirm installation

user% ./bc-web/bin/bc-web —version

bc-web version

See also