diff options
author | Casey Deccio <casey@deccio.net> | 2016-10-28 21:46:30 +0300 |
---|---|---|
committer | Casey Deccio <casey@deccio.net> | 2016-10-28 21:46:30 +0300 |
commit | 49657a5e3c1f1110bfb5f21a19bd4a48574a42f6 (patch) | |
tree | d5fbc4bcd4ab2e1c326a7a6e09218d9bfad674d3 | |
parent | 6ca9a9d14b6f605213c8e3d04a035a545b80d384 (diff) |
Add RHEL6/RHEL7-specific installation intructionsv0.6.4
-rw-r--r-- | README.md | 45 |
1 files changed, 43 insertions, 2 deletions
@@ -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 |