Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dnsviz/dnsviz.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasey Deccio <casey@deccio.net>2016-10-28 21:46:30 +0300
committerCasey Deccio <casey@deccio.net>2016-10-28 21:46:30 +0300
commit49657a5e3c1f1110bfb5f21a19bd4a48574a42f6 (patch)
treed5fbc4bcd4ab2e1c326a7a6e09218d9bfad674d3
parent6ca9a9d14b6f605213c8e3d04a035a545b80d384 (diff)
Add RHEL6/RHEL7-specific installation intructionsv0.6.4
-rw-r--r--README.md45
1 files changed, 43 insertions, 2 deletions
diff --git a/README.md b/README.md
index 4501a46..be2da8b 100644
--- a/README.md
+++ b/README.md
@@ -59,9 +59,9 @@ powers the Web-based analysis available at http://dnsviz.net/
case, and `named(8)` does not need to be running.
-### Build and Install
+### Generic Build and Install
-A typical build and install is performed with the following commands:
+A generic build and install is performed with the following commands:
```
$ python setup.py build
@@ -75,6 +75,47 @@ $ python setup.py --help
```
+### RPM Build and Install (RHEL6 or RHEL7)
+
+Install pygraphviz and M2Crypto, after installing their build dependencies.
+```
+$ sudo yum install python-setuptools gcc python-devel graphviz-devel openssl-devel
+$ sudo easy_install pbr
+$ sudo easy_install m2crypto pygraphviz
+```
+
+(RHEL6 only) Install the EPEL repository, and the necessary python libraries
+from that repository.
+```
+$ sudo yum install epel-release
+$ sudo yum install python-importlib python-ordereddict
+```
+
+Install dnspython.
+```
+$ sudo yum install python-dns
+```
+
+Install rpm-build tools to build the RPM.
+```
+$ sudo yum install rpm-build
+```
+
+Download the latest DNSViz release (denoted ${VERS}), extract the files, and
+build using custom install script (to handle man pages).
+```
+$ curl -L -O https://github.com/dnsviz/dnsviz/archive/v${VERS}.tar.gz
+$ tar -zxvf v${VERS}.tar.gz
+$ cd dnsviz-${VERS}/
+$ python setup.py bdist_rpm --install-script contrib/rpm-install.sh --distribution-name el${RHEL_VERS}
+```
+
+Install the newly created RPM file.
+```
+$ sudo rpm -iv dist/dnsviz-${VERS}-1.noarch.rpm
+```
+
+
## Usage
DNSViz is invoked using the `dnsviz` command-line utility. `dnsviz` itself