Home Server Einrichten

Cups Print Server

Benötigte Pakete installieren

apt-get install cups hplip hpijs foomatic-filters-ppds cupsys-driver-gutenprint

Remote Admin einschalten:

sudo cupsctl --remote-admin

Automatisch im Netzwerk verfügbare Drucker hinzufügen/anzeigen

sudo cupsctl --remote-printers

Lokale Drucker freigeben

sudo cupsctl --share-printers

Alle Dienste auf einmal freischalten

sudo cupsctl --share-printers --remote-printers --remote-admin

AFP mit Verschlüsselung

Zeit Synchronisation

sudo apt-get install ntpd

Evtl. noch den Zeitserver in /etc/ntpd.conf wählen

etckeeper

Installation

sudo apt-get install etckeeper

Auf git umstellen

sudo etckeeper uninit

In der Datei /etc/etckeeper.conf

#VCS=bzr
VCS=git

Repository initialisieren

sudo etckeeper init
sudo etckeeper commit "Initial"

Evtl. remote festlegen und als Backup nach ausserhalb pushen.

KVM Virtual Environment

sudo apt-get install kvm libvirt-bin ubuntu-vm-builder bridge-utils

Bridging konfigurieren

Datei /etc/network/interfaces

# Für statische IP
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static
        address 192.168.0.10
        network 192.168.0.0
        netmask 255.255.255.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0

# Für dynamische IP
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto br0
iface br0 inet dhcp
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0

Netzwerk neu starten

sudo /etc/init.d/networking restart
/var/www/virtual/ben/wiki.firefly-it.de/data/pages/linux/software/server/homeserver.txt · Last modified: 2009/12/16 23:53 by zero
Back to top
CC Attribution-Noncommercial-Share Alike 3.0 Unported
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0