klg-php72-1.5_1.txz


Advertisement

Description

klg-php72 - PHP-based looking glass for Cisco, Juniper and Quagga/Zebra routers

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Latest amd64
Package filename klg-php72-1.5_1.txz
Package name klg-php72
Package version 1.5
Package release 1
Package architecture amd64
Package type txz
Category net-mgmt www
Homepage https://sourceforge.net/projects/klg/
License BSD3CLAUSE
Maintainer freebsd-ports@dan.me.uk
Download size 13.69 KB
Installed size 53.27 KB
klg is a looking glass written in PHP that can access and report
back routing information from Cisco, Juniper and Zebra/Quagga
routers. It can also lookup AS numbers to names via WHOIS interfaces,
and supports friendly BGP community names via MySQL database.
WWW: https://sourceforge.net/projects/klg/
Options:
- SSH2: on
=======================================================================
KLG is now installed.
If this is the first installation, you need to configure a few things first.
1. Create the MySQL database, a klg user, and initialise:
a) CREATE DATABASE klg;
b) CREATE USER 'klg'@'localhost' IDENTIFIED BY 'password';
GRANT ALL ON klg.* TO 'klg'@'localhost';
FLUSH PRIVILEGES;
c) import the schema:
mysql -u klg -p klg < /usr/local/share/klg/klg_schema.sql
2. Edit /usr/local/www/klg/klg/klg_config.php from the template klg_config.php.sample
You need to specify the MySQL details from above at the top of the file,
and details of your routers further down.  Follow the comments in the file.
You may wish to specify the timezone by adding a line similar to this:
date_default_timezone_set('Europe/London');
3. Edit /usr/local/www/klg/klg/klg_template.html from the template file to suit your
needs.  Items in this file are substituted upon execution so you can skin
your looking glass to your site.
4. Example Apache 2.4 configuration:
This assumes you have already configured Apache to serve .php documents.
Alias /klg "/usr/local/www/klg/klg/"
<Directory "/usr/local/www/klg/klg/">
Require all granted
AllowOverride None
Order Allow,deny
Allow from all
</Directory>
5. Access your new looking glass:
http://HOSTNAME/klg/klg.php
=======================================================================

Alternatives

Package Version Architecture Repository
klg-php72-1.5_1.txz 1.5 i386 FreeBSD Ports Quarterly
klg-php72-1.5_1.txz 1.5 amd64 FreeBSD Ports Quarterly
klg-php72-1.5_1.txz 1.5 i386 FreeBSD Ports Latest
klg-php72 - - -

Requires

Name Value
mysql56-client = 5.6.43
php72 = 7.2.17_2
php72-mysqli = 7.2.17_2
php72-pecl-ssh2 = 1.1.2
php72-sockets = 7.2.17_2
php72-xml = 7.2.17_2

Download

Type URL
Mirror pkg.freebsd.org
Binary Package klg-php72-1.5_1.txz
Source Package net-mgmt/klg

Install Howto

Install klg-php72 txz package:

# pkg install klg-php72

See Also

Package Description
klg-php73-1.5_1.txz PHP-based looking glass for Cisco, Juniper and Quagga/Zebra routers
klg-php74-1.5_1.txz PHP-based looking glass for Cisco, Juniper and Quagga/Zebra routers
klickety-19.08.1.txz Tetris themed solitaire
klines-19.08.1.txz Tactical game
klish-2.1.4.txz Klish - Kommand Line Interface Shell
klog-0.9.8.1.txz Simple Qt-based amateur radio logger
klondike-1.9_4.txz Solitaire game for X11
kludge3d-20040822_14.txz Simple 3D editor
km-libreoffice-6.3.2.txz km language pack for libreoffice
kmag-19.08.1.txz KDE Screen magnifier
kmahjongg-19.08.1.txz Mahjongg Solitaire
kmbox-19.08.1.txz KDE library for accessing mail storages in MBox format
kmfl-european-latin-1.6_1.txz Paneuropean Latin KMFL keyboard covering 120 languages
kmfl-khmer-1.0.txz KMFL SCIM IMEngine keyboard for Khmer language
kmfl-sil-ezra-2.4_5.txz KMFL keyboard for Unicode Biblical Hebrew
Advertisement
Advertisement