From ba66666322f9c9a29a4afbfa30e3ed55a6a76d6b Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 16 May 2014 20:45:24 +0200 Subject: [PATCH] README: point to the website for install instructions --- README.md | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 883f2d8b..b3f5bdf9 100644 --- a/README.md +++ b/README.md @@ -34,33 +34,23 @@ The following OS are supported: Installation ------------ -To compile lldpd, use the following: +For general instructions +[see the website](http://vincentbernat.github.io/lldpd/installation.html). + +To compile lldpd from sources, use the following: ./configure make sudo make install -You need libevent that you can grab from http://libevent.org or -install from your package system (libevent-dev for Debian/Ubuntu and -libevent-devel for Redhat/Fedora/CentOS/SuSE). - -If your system does not have libevent, ./configure will use the -shipped copy and compile it statically. - -If it complains about a missing agent/struct.h, your installation of -Net-SNMP is incomplete. The easiest way to fix this is to provide an -empty struct.h: - - touch src/struct.h - lldpd uses privilege separation to increase its security. Two processes, one running as root and doing minimal stuff and the other running as an unprivileged user into a chroot doing most of the stuff, are cooperating. You need to create a user called `_lldpd` in a group `_lldpd` (this can be change with `./configure`). You also need to -create an empty directory `/var/run/lldpd` (it needs to be owned by -root, not `_lldpd`!). If you get fuzzy timestamps from syslog, copy -`/etc/locatime` into the chroot. +create an empty directory `/usr/local/var/run/lldpd` (it needs to be +owned by root, not `_lldpd`!). If you get fuzzy timestamps from +syslog, copy `/etc/locatime` into the chroot. `lldpcli` lets one query information collected through the command line. If you don't want to run it as root, just install it setuid or -- 2.39.5