Difference between revisions of "stoney backup: Server set-up"

From stoney cloud
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Overview)
(Emerge)
Line 23: Line 23:
 
  emerge --ask --verbose --getbinpkg --usepkg  rsnapshot
 
  emerge --ask --verbose --getbinpkg --usepkg  rsnapshot
  
= Software Configuration
+
= Software Configuration =
 +
 
 
== OpenLDAP ==
 
== OpenLDAP ==
 
  /etc/openldap/ldap.conf
 
  /etc/openldap/ldap.conf

Revision as of 15:00, 26 July 2013

Abstract

This document describes server setup for the stoney cloud (Online) Backup service, built upon the Gentoo Linux distribution.

Overview

After working through this documentation, you will be able to set up and configure your own (Online) Backup service server.

Software Installation

Requirements

A working stoney cloud installation.

USE-Flages

For a full OpenLDAP directory installation:

echo "net-nds/openldap overlays perl sasl" >> /etc/portage/package.use

For a minimal OpenLDAP directory installation (just the necessary tools):

echo "sys-auth/nss-pam-ldapd sasl" >> /etc/portage/package.use
echo "sys-auth/nss-pam-ldapd ~amd64" >> /etc/portage/package.keywords
echo "net-nds/openldap ~amd64" >> /etc/portage/package.keywords

Emerge

emerge --ask --verbose --getbinpkg --usepkg nss-pam-ldapd
emerge --ask --verbose --getbinpkg --usepkg  rsnapshot

Software Configuration

OpenLDAP

/etc/openldap/ldap.conf

nss-pam-ldapd

/etc/nslcd.conf
/etc/nsswitch.conf

rsnapshot

/etc/...

Links

  • OpenLDAP, an open source implementation of the Lightweight Directory Access Protocol.
  • nss-pam-ldapd, a Name Service Switch (NSS) module that allows your LDAP server to provide user account, group, host name, alias, netgroup, and basically any other information that you would normally get from /etc flat files or NIS.
  • rsnapshot, a remote filesystem snapshot utility, based on rsync.