-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from dotse/develop
Merge 1.1.1 to master
- Loading branch information
Showing
18 changed files
with
258 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
language: perl | ||
perl: | ||
- "5.24" | ||
- "5.22" | ||
- "5.20" | ||
- "5.18" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,67 @@ | ||
.git | ||
.gitignore | ||
.perltidyrc | ||
.perlcriticrc | ||
.travis.yml | ||
MYMETA.json | ||
MYMETA.yml | ||
^Makefile$ | ||
^blib | ||
.tar.gz$ | ||
.bak$ | ||
^\.perltidyrc$ | ||
^\.perlcriticrc$ | ||
^\.travis\.yml$ | ||
^MANIFEST\.SKIP$ | ||
|
||
\.tar\.gz$ | ||
\.bak$ | ||
\.po$ | ||
|
||
#!start included /usr/share/perl/5.20/ExtUtils/MANIFEST.SKIP | ||
# Avoid version control files. | ||
\bRCS\b | ||
\bCVS\b | ||
\bSCCS\b | ||
,v$ | ||
\B\.svn\b | ||
\B\.git\b | ||
\B\.gitignore\b | ||
\b_darcs\b | ||
\B\.cvsignore$ | ||
|
||
# Avoid VMS specific MakeMaker generated files | ||
\bDescrip.MMS$ | ||
\bDESCRIP.MMS$ | ||
\bdescrip.mms$ | ||
|
||
# Avoid Makemaker generated and utility files. | ||
\bMANIFEST\.bak | ||
\bMakefile$ | ||
\bblib/ | ||
\bMakeMaker-\d | ||
\bpm_to_blib\.ts$ | ||
\bpm_to_blib$ | ||
\bblibdirs\.ts$ # 6.18 through 6.25 generated this | ||
|
||
# Avoid Module::Build generated and utility files. | ||
\bBuild$ | ||
\b_build/ | ||
\bBuild.bat$ | ||
\bBuild.COM$ | ||
\bBUILD.COM$ | ||
\bbuild.com$ | ||
|
||
# Avoid temp and backup files. | ||
~$ | ||
\.old$ | ||
\#$ | ||
\b\.# | ||
\.bak$ | ||
\.tmp$ | ||
\.# | ||
\.rej$ | ||
|
||
# Avoid OS-specific files/dirs | ||
# Mac OSX metadata | ||
\B\.DS_Store | ||
# Mac OSX SMB mount metadata files | ||
\B\._ | ||
|
||
# Avoid Devel::Cover and Devel::CoverX::Covered files. | ||
\bcover_db\b | ||
\bcovered\b | ||
|
||
# Avoid MYMETA files | ||
^MYMETA\. | ||
#!end included /usr/share/perl/5.20/ExtUtils/MANIFEST.SKIP | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
# Installation | ||
|
||
## Overview | ||
|
||
This document describes prerequisites, installation and post-install sanity | ||
checking for Zonemaster::CLI. The final section wraps up with a few pointer to | ||
other interfaces to Zonemaster. For an overview of the Zonemaster product, | ||
please see the [main Zonemaster Repository]. | ||
|
||
|
||
## Prerequisites | ||
|
||
Before installing Zonemaster::CLI, you should [install Zonemaster::Engine][ | ||
Zonemaster::Engine installation]. | ||
|
||
> **Note:** [Zonemaster::Engine] and [Zonemaster::LDNS] are dependencies of | ||
> Zonemaster::CLI. Zonemaster::LDNS has a special installation requirement, | ||
> and Zonemaster::Engine has a list of dependencies that you may prefer to | ||
> install from your operating system distribution (rather than CPAN). | ||
> We recommend following the Zonemaster::Engine installation instruction. | ||
For details on supported versions of Perl and operating system for | ||
Zonemaster::CLI, see the [declaration of prerequisites]. | ||
|
||
|
||
## Installation | ||
|
||
This instruction covers the following operating systems: | ||
|
||
* [CentOS](#1-centos) | ||
* [Debian](#2-debian) | ||
* [FreeBSD](#3-freebsd) | ||
* [Ubuntu](#4-ubuntu) | ||
|
||
|
||
### 1. CentOS | ||
|
||
Install Zonemaster::CLI and dependencies: | ||
|
||
```sh | ||
sudo cpan -i Zonemaster::CLI | ||
``` | ||
|
||
|
||
### 2. Debian | ||
|
||
Install dependencies: | ||
|
||
```sh | ||
sudo apt-get install libmoosex-getopt-perl libtext-reflow-perl libmodule-install-perl | ||
``` | ||
|
||
Install Zonemaster::CLI: | ||
|
||
```sh | ||
sudo cpan -i Zonemaster::CLI | ||
``` | ||
|
||
|
||
### 3. FreeBSD | ||
|
||
Become root: | ||
|
||
```sh | ||
su -l | ||
``` | ||
|
||
Install dependencies available from binary packages: | ||
|
||
```sh | ||
pkg install p5-JSON-XS p5-Locale-libintl p5-MooseX-Getopt p5-Text-Reflow | ||
``` | ||
|
||
Install Zonemaster::CLI: | ||
|
||
```sh | ||
cpan -i Zonemaster::CLI | ||
``` | ||
|
||
|
||
### 4. Ubuntu | ||
|
||
Use the procedure for installation on [Debian](#2-debian). | ||
|
||
|
||
## Post-installation sanity check | ||
|
||
Run the zonemaster-cli command: | ||
|
||
```sh | ||
zonemaster-cli --test basic zonemaster.net | ||
``` | ||
|
||
The command is expected to take a few seconds and print some results about the delegation of zonemaster.net. | ||
|
||
|
||
## What to do next? | ||
|
||
* For a web GUI, follow the [Zonemaster::Backend][Zonemaster::Backend | ||
installation] and [Zonemaster::GUI installation] instructions. | ||
* For a [JSON-RPC][JSON-RPC API] frontend, follow the [Zonemaster::Backend | ||
installation] instruction. | ||
|
||
------- | ||
|
||
[Declaration of prerequisites]: https://github.com/dotse/zonemaster/blob/master/README.md#prerequisites | ||
[JSON-RPC API]: https://github.com/dotse/zonemaster-backend/blob/master/docs/API.md | ||
[Main Zonemaster repository]: https://github.com/dotse/zonemaster/blob/master/README.md | ||
[Zonemaster::Backend installation]: https://github.com/dotse/zonemaster-backend/blob/master/docs/Installation.md | ||
[Zonemaster::Engine installation]: https://github.com/dotse/zonemaster-engine/blob/master/docs/Installation.md | ||
[Zonemaster::Engine]: https://github.com/dotse/zonemaster-engine/blob/master/README.md | ||
[Zonemaster::GUI installation]: https://github.com/dotse/zonemaster-gui/blob/master/docs/Installation.md | ||
[Zonemaster::LDNS]: https://github.com/dotse/zonemaster-ldns/blob/master/README.md | ||
|
||
Copyright (c) 2013 - 2017, IIS (The Internet Foundation in Sweden) \ | ||
Copyright (c) 2013 - 2017, AFNIC \ | ||
Creative Commons Attribution 4.0 International License | ||
|
||
You should have received a copy of the license along with this | ||
work. If not, see <http://creativecommons.org/licenses/by/4.0/>. |
Oops, something went wrong.