GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  APP::NETDISCO::MANUAL::BSDINSTALL (3)

.ds Aq ’

NAME

App::Netdisco::Manual::BSDInstall - BSD Install Instructions

CONTENTS

Introduction

This document is compiled from suggestions and comments on the Netdisco mail lists. We’re grateful for the help, and if you have any additions please do let the project staff know.

Ports Installs

o Perl (if not already installed)
o p5-DBD-Pg (will also pull in postgresqlXX-client)
o postgresqlXX-server
o net-snmp (should install the Perl binding SNMP.pm)

Additional Steps

    Netdisco User



 pw useradd netdisco -N -m -s /bin/sh -w no



    PostgreSQL Setup



 /usr/local/etc/rc.d/postgresql initdb
 /usr/local/etc/rc.d/postgresql start



Make sure PostgreSQL starts at boot by adding the following to "/etc/rc.conf":



 postgresql_enable="YES"



When installing postgresqlXX-server port, it creates the pgsql user with "nologin" shell. As root, do vipw and change the shell to /bin/sh or whichever shell you want, so that you can do the createuser step from the main instructions.

pgtune doesn’t seem to work on NetBSD. This needs looking into. Nothing will break, but it just means the server probably isn’t tuned to your system’s hardware (RAM, etc).

Run Control Script



 # PROVIDE: netdiscoweb
 # REQUIRE: DAEMON
 # BEFORE:  LOGIN
 # KEYWORD: shutdown

 rcvar="netdisco_enable"



See also <https://www.freebsd.org/doc/en/books/porters-handbook/rc-scripts.html>

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 APP::NETDISCO::MANUAL::BSDINSTALL (3) 2015-01-01

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.