Skip to content

Latest commit

 

History

History
62 lines (48 loc) · 1.01 KB

INSTALL.md

File metadata and controls

62 lines (48 loc) · 1.01 KB

Installation

Install required packages

sudo apt install flex bison git make gcc libnghttp2-dev libssl-dev

Clone the Git repositories

$ git clone https://github.com/clicon/cligen.git
$ git clone https://github.com/clicon/clixon.git
$ git clone https://github.com/clicon/clixon-controller.git
$ git clone https://github.com/clicon/clixon-pyapi.git

Build the components

Cligen:

cd cligen
./configure
make
sudo make install

Clixon:

# Add a new clicon user
sudo useradd -g clicon -m clicon

cd clixon
./configure
make
sudo make install

Clixon controller

cd clixon-controller
./configure
make
sudo make install

Clixon Python API

# Build and install the package
cd clixon-pyapi
./install.sh

Optional: SystemD service

# Copy clixon-controller.service
cp clixon-controller.service /etc/systemd/network/

# Enable and start the service
systemctl daemon-reload
systemctl enable clixon_controller
systemctl start clixon_controller