This is an old revision of the document!


Recipe for Lighting Server

VM - 15 GB HDD, 1024 MB RAM, 1 socket/2 cores

  • base netinst install of stretch (64-bit) - deselect everything from tasksel
    • hostname lighting – domain ds.mcp.lcl
    • auto-partition (single partition)
  • > /etc/motd
  • apt-get --no-install-recommends install aptitude
  • aptitude install ssh (deselect xauth)
  • aptitude install screen rsync psmisc file patch ethtool strace tcpdump vim less
  • aptitude --without-recommends install dnsutils
  • adduser tdobes adm
  • adduser tdobes systemd-journal
  • aptitude install dbus (no longer required because ssh pulls in libpam-systemd, which requires dbus)
  • mkdir -p /etc/systemd/system/getty\@tty1.service.d
    echo '[Service]' > /etc/systemd/system/getty\@tty1.service.d/noclear.conf
    echo 'TTYVTDisallocate=no' >> /etc/systemd/system/getty\@tty1.service.d/noclear.conf
  • systemctl mask keyboard-setup.service
    systemctl mask console-setup.service
    systemctl mask rc-local.service
  • echo >> /etc/network/interfaces
    echo '# lighting network' >> /etc/network/interfaces
    echo 'allow-hotplug ens19' >> /etc/network/interfaces
    echo 'iface ens19 inet static' >> /etc/network/interfaces
    echo $'\taddress 192.168.23.20' >> /etc/network/interfaces
    echo $'\tnetmask 255.255.255.0' >> /etc/network/interfaces
    ifup ens19
  • aptitude install ola
  • aptitude install python ola-python
  • aptitude install mosquitto-clients
  • wget http://ftp.us.debian.org/debian/pool/main/m/mosquitto/python-mosquitto_1.3.4-2_all.deb
    dpkg -i python-mosquitto_1.3.4-2_all.deb
computer/lighting_server.1490652642.txt.gz · Last modified: 2017/03/27 17:10 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS