Пример #1
0
def install_avahi():
    """Installs avahi for mdns support"""
    apt_get("avahi-daemon")
    add_startup("avahi-daemon")
Пример #2
0
def install_dnsmasq():
    """Installs local dns server"""
    apt_get("dnsmasq")
    add_startup("dnsmasq")
Пример #3
0
def install_nginx(nginx_conf=None):
    """Installs nginx webserver."""
    apt_get("ngingx", "ppa:nginx/stable")
    add_startup("nginx")