T-NODE is a host with Teuton installed. T-NODE monitors one or severals S-NODE hosts.
- Install Ruby on your system.
gem install teuton
NOTE:
- Show current version:
teuton version.- Install a specific version:
gem install teuton -v VERSION. Available versions (rubygems.org/gems/teuton).- Update:
gem update teuton.- Uninstall:
gem uninstall teuton.
Sometimes we don't find teuton command (OpenSUSE distro, for example), so try this:
Option A:
ruby -v, display your current ruby version. Suppose it is "2.5".- Run
teuton.ruby2.5, instead ofteuton.
Option B:
find /usr/lib64/ruby -name teuton, to find absolute path to teuton command.sudo ln -s /PATH/TO/bin/teuton /usr/local/bin/teuton, to create symbolic link to teuton command.
If you don't know how to install Ruby on your system, execute this script to run automatical installation for your OS.
Run this command as root user:
wget -qO- https://raw.githubusercontent.com/teuton-software/teuton/master/install/linux/t-node_install.sh | bashRequirements:
- Windows 7+ / Windows Server 2003+
- PowerShell v2+
Run this command on PowerShell (PS) as Administrator user:
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/teuton-software/teuton/master/install/windows/t-node_install.ps1'))Run this command as admin user (member of admin group):
curl -sL https://raw.githubusercontent.com/teuton-software/teuton/master/install/mac/t-node_install.sh | bashChoose this way if you plan to install Teuton into virtual machines or containers, and you are familiar with Vagrant and Docker technologies.
- First, install
VagrantandVirtualBoxon your host. - Create directory for vagrant project. For example,
mkdir teuton-vagrant. - Move into that directory:
cd teuton-vagrant. - Choose and download Vagrantfile.
- Run
vagrant upto create your Virtual Machine.
First:
- Install
dockeron your host.
Second, choose:
- Pulling docker image from remote or
- Rebuild local docker image.
Run this command to pull dvarrui/teuton image from Docker Hub and create "teuton" container:
docker run --name teuton -v /home/teuton -i -t dvarrui/teuton /bin/bash
- Create Dockerfile like this:
FROM debian:latest
MAINTAINER teuton 2.1
RUN apt-get update
RUN apt-get install -y apt-utils
RUN apt-get install -y vim tree
RUN apt-get install -y ruby
RUN gem install teuton
RUN mkdir /home/teuton
EXPOSE 80
WORKDIR /home/teuton
CMD ["/bin/bash"]
- Build local docker image dvarrui/teuton with
docker build -t dvarrui/teuton . - Create teuton container with
docker run --name teuton -v /home/teuton -i -t dvarrui/teuton /bin/bash.
Notice
/home/teutonfolder is persistent volume.
If you want to install Teuton by your own, or there are not installation scripts for your OS, and you don't want to use Vagrant then... here you have information how to install all the required packages for Teuton.
Manual installation:
- Git installation
- Install Git.
- Run
git --versionto show current version
- Ruby installation
- Install ruby.
- Run
ruby -vto show current version (2.1.3p242+)
- Rake installation
- Run
gem install rake, then rake --versionto show current version (10.4.2+).
- Run
- Download this project
- (a)
git clone https://github.com/dvarrui/teuton.gitor - (b) Download and unzip file.
- (a)
- Move into Teuton folder
- Run
cd teuton
- Run
- Gems installation.
rake install, to install required gems.
- Only for developers
- Run
rake devel:debianor rake devel:opensuse, install gem for developers.
- Run
- Final check
rake