pod fixups and set dep version on "version"
This commit is contained in:
@@ -28,7 +28,7 @@ requires 'Socket6' => 0;
|
|||||||
requires 'Template' => 0;
|
requires 'Template' => 0;
|
||||||
requires 'YAML' => 0;
|
requires 'YAML' => 0;
|
||||||
requires 'namespace::clean' => 0;
|
requires 'namespace::clean' => 0;
|
||||||
requires 'version' => 0;
|
requires 'version' => 0.9901;
|
||||||
|
|
||||||
install_share 'share';
|
install_share 'share';
|
||||||
|
|
||||||
|
|||||||
@@ -30,11 +30,12 @@ App::Netdisco - An open source web-based network management tool.
|
|||||||
|
|
||||||
=head1 Introduction
|
=head1 Introduction
|
||||||
|
|
||||||
The contents of this distribution is the next major version of the Netdisco
|
The content of this distribution is the next major version of the Netdisco
|
||||||
network management tool. See L<http://netdisco.org/> for further information
|
network management tool. Pieces are still missing however, so if you're a new
|
||||||
on the project.
|
user please see L<http://netdisco.org/> for further information on the project
|
||||||
|
and how to download the current official release.
|
||||||
|
|
||||||
So far L<App::Netdisco> provides a web frontend and a backend daemon to handle
|
L<App::Netdisco> provides a web frontend and a backend daemon to handle
|
||||||
interactive requests such as changing port or device properties. There is not
|
interactive requests such as changing port or device properties. There is not
|
||||||
yet a device poller, so please still use the old Netdisco's discovery, arpnip,
|
yet a device poller, so please still use the old Netdisco's discovery, arpnip,
|
||||||
and macsuck.
|
and macsuck.
|
||||||
@@ -56,14 +57,16 @@ With those two installed, we can proceed...
|
|||||||
|
|
||||||
Create a user on your system called C<netdisco> if one does not already exist.
|
Create a user on your system called C<netdisco> if one does not already exist.
|
||||||
We'll install Netdisco and its dependencies into this user's home area, which
|
We'll install Netdisco and its dependencies into this user's home area, which
|
||||||
will take about 200MB including MIB files.
|
will take about 250MB including MIB files.
|
||||||
|
|
||||||
# useradd -m -p x -s /bin/bash nedisco
|
root:~# useradd -m -p x -s /bin/bash nedisco
|
||||||
|
|
||||||
Netdisco uses the PostgreSQL database server. Install PostgreSQL and then change
|
Netdisco uses the PostgreSQL database server. Install PostgreSQL and then change
|
||||||
to the PostgreSQL superuser (usually C<postgres>). Create a new database and
|
to the PostgreSQL superuser (usually C<postgres>). Create a new database and
|
||||||
PostgreSQL user for the Netdisco application:
|
PostgreSQL user for the Netdisco application:
|
||||||
|
|
||||||
|
root:~# su - postgres
|
||||||
|
|
||||||
postgres:~$ createuser -DRSP netdisco
|
postgres:~$ createuser -DRSP netdisco
|
||||||
Enter password for new role:
|
Enter password for new role:
|
||||||
Enter it again:
|
Enter it again:
|
||||||
@@ -84,12 +87,13 @@ install Netdisco and its dependencies into the C<netdisco> user's home area
|
|||||||
Link some of the newly installed apps into the C<netdisco> user's C<$PATH>,
|
Link some of the newly installed apps into the C<netdisco> user's C<$PATH>,
|
||||||
e.g. C<~netdisco/bin>:
|
e.g. C<~netdisco/bin>:
|
||||||
|
|
||||||
|
mkdir ~/bin
|
||||||
ln -s ~/perl5/bin/{localenv,netdisco-*} ~/bin/
|
ln -s ~/perl5/bin/{localenv,netdisco-*} ~/bin/
|
||||||
|
|
||||||
Test the installation by running the following command, which should only
|
Test the installation by running the following command, which should only
|
||||||
produce a status message (and throw up no errors):
|
produce a status message (and throw up no errors):
|
||||||
|
|
||||||
localenv netdisco-daemon status
|
~/bin/localenv netdisco-daemon status
|
||||||
|
|
||||||
=head1 Configuration
|
=head1 Configuration
|
||||||
|
|
||||||
@@ -113,7 +117,7 @@ release of Netdisco (1.x). You also need vendor MAC address prefixes (OUI
|
|||||||
data) and some MIBs if you want to run the daemon. The following script will
|
data) and some MIBs if you want to run the daemon. The following script will
|
||||||
take care of all this for you:
|
take care of all this for you:
|
||||||
|
|
||||||
DANCER_ENVDIR=~/environments localenv netdisco-deploy
|
DANCER_ENVDIR=~/environments ~/bin/localenv netdisco-deploy
|
||||||
|
|
||||||
If you don't want that level of automation, check out the database schema diff
|
If you don't want that level of automation, check out the database schema diff
|
||||||
from the current release of Netdisco, and apply it yourself:
|
from the current release of Netdisco, and apply it yourself:
|
||||||
@@ -124,14 +128,14 @@ from the current release of Netdisco, and apply it yourself:
|
|||||||
|
|
||||||
Run the following command to start the web server:
|
Run the following command to start the web server:
|
||||||
|
|
||||||
DANCER_ENVDIR=~/environments localenv plackup ~/bin/netdisco-web
|
DANCER_ENVDIR=~/environments ~/bin/localenv plackup ~/bin/netdisco-web
|
||||||
|
|
||||||
Other ways to run and host the web application can be found in the
|
Other ways to run and host the web application can be found in the
|
||||||
L<Dancer::Deployment> page. See also the L<plackup> documentation.
|
L<Dancer::Deployment> page. See also the L<plackup> documentation.
|
||||||
|
|
||||||
Run the following command to start the daemon:
|
Run the following command to start the daemon:
|
||||||
|
|
||||||
DANCER_ENVDIR=~/environments localenv netdisco-daemon start
|
DANCER_ENVDIR=~/environments ~/bin/localenv netdisco-daemon start
|
||||||
|
|
||||||
=head1 Tips and Tricks
|
=head1 Tips and Tricks
|
||||||
|
|
||||||
@@ -145,7 +149,7 @@ For SQL debugging try the following command:
|
|||||||
DANCER_ENVDIR=~/environments plackup ~/bin/netdisco-web
|
DANCER_ENVDIR=~/environments plackup ~/bin/netdisco-web
|
||||||
|
|
||||||
To run the job daemon in the foreground, start the C<netdisco-daemon-fg>
|
To run the job daemon in the foreground, start the C<netdisco-daemon-fg>
|
||||||
program instead of C<netdisco-daemon>.
|
program instead of C<plackup netdisco-daemon>.
|
||||||
|
|
||||||
=head1 Future Work
|
=head1 Future Work
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user