Ankündigung

Einklappen
Keine Ankündigung bisher.

Platzmangel auf dem Beaglebone (BBB)

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Platzmangel auf dem Beaglebone (BBB)

    Mir geht langsam der Platz auf dem eMMC (3.6 GB) des BBB aus (87% genutzt), das ist zwar nicht unbedingt ein Thema für dieses Forum, aber ich nutze den im Grunde nur für SHNG, die SV und etwas Kleinkram.

    Momentan ist Debian 10 (für den BBB) und das Cape von Robert installiert, auf dem aktuellen Stand und apt bereinigt. Die Liste der installierten Pakete ist endlos, das Meiste hört sich unverzichtbar an, aber ob das wirklich so ist?

    - Python 2.7 und 3.7 (SHNG benutzt 3.7)
    - Apache
    - PHP

    um nur mal die Kandidaten zu nennen, die ich auf Anhieb kenne.

    Wie finde ich raus, welche Pakete denn nun wirklich benutzt/benötigt werden? Die Logfiles habe ich schon ausgemistet. Ich könnte zwar auf eine SD statt des eMMC ausweichen, das ist der Lebensdauer selbiger aber nicht unbedingt zuträglich.

    Viele Grüße
    Andi

    #2
    Python 2.7 braucht mutmasslich das Linux System. PHP und Apache benötigst Du für die SmartVISU. Vielleicht solltest Du erstmal schauen wo wirklich der größte Batzen liegt.

    Für den Fall, das die git repositories von SHNG und/oder SmartVISU zuviel haben, kannst Du auch hier mal schauen: dort ist beschrieben wie man einen flachen Clone erzeugt. Ich weiß allerdings nicht, ob das Nebenwirkungen hat.

    Wenn das alles nicht passt, kannst Du natürlich .git auch löschen. Allerdings funktioniert dann git pull auch nicht mehr.

    Wenn es Dir hilft, kannst Du auch alle Verzeichnisse von Plugins löschen die Du nicht einsetzen willst, aber auch dann funktioniert git evtl. nicht mehr so wie gehabt.

    Ansonsten: logging ausschalten oder level erhöhen wo es geht und database_maxage konfigurieren. Ab und zu die Datenbank komprimieren wäre auch hilfreich.

    Kommentar


      #3
      Git macht schon einiges an Platz aus, die nicht benutzten Plugin-Verzeichnisse dürften sich hingegen kaum bemerkbar machen.

      DU kannst ja mal die Ausgabe von dpkg -l posten, dann schauen wir, was du sicher brauchst und was ggf. sicher nicht.

      Hast du eine Swap-Datei oder -partition eingerichtet?

      Und der "Verschleiß" ist bei eMMC und SD vergleichbar, da würde ich mir keinen Kopf machen. Aber SD-Karten werden auch nicht schneller sein als der eMMC.

      Kommentar


        #4
        Hat jetzt etwas gedauert. Swap habe ich nicht extra eingerichtet, direkt das Debian-Image für den BBB verwendet. Ich hatte mal gelesen, dass man das System eher vom eMMC laufen lassen soll. Wenn es im Grunde keinen Unterschied macht, ist mir die SD eigentlich sogar lieber. Die kann man leichter sichern, clonen, tauschen usw.

        ii adduser 3.118
        ii alsa-utils 1.1.8-2
        ii apache2 2.4.38-3+deb10u4
        ii apache2-bin 2.4.38-3+deb10u4
        ii apache2-data 2.4.38-3+deb10u4
        ii apache2-utils 2.4.38-3+deb10u4
        ii apt 1.8.2.2
        rc apt-show-versions 0.22.11
        ii apt-transport-https 1.8.2.2
        ii apt-utils 1.8.2.2
        ii attr 1:2.4.48-4
        ii autoconf 2.69-11
        ii automake 1:1.16.1-4
        ii autotools-dev 20180224.1
        ii avahi-daemon 0.7-4+b1
        ii avahi-utils 0.7-4+b1
        ii base-files 10.3+deb10u8
        ii base-passwd 3.5.46
        ii bash 5.0-4
        ii bash-completion 1:2.8-6
        ii bb-bbai-firmware 1.20201120.1-0~buster+20201120
        ii bb-cape-overlays 4.14.20210225.0-0~buster+20210225
        ii bb-customizations 1.20210225.0-0~buster+20210225
        ii bb-node-red-installer 1.2.9-0rcnee7~buster+20210223
        ii bb-usb-gadgets 1.20200504.0-0~buster+20200504
        ii bb-wl18xx-firmware 1.20200813.1-0~buster+20200813
        ii bc 1.07.1-2+b1
        ii bind9-host 1:9.11.5.P4+dfsg-5.1+deb10u3
        ii binutils 2.31.1-16
        ii binutils-arm-linux-gnueabihf 2.31.1-16
        ii binutils-common:armhf 2.31.1-16
        ii bluealsa 0.13~buster+20200131
        ii bluetooth 5.50-1.2~deb10u1
        ii bluez 5.50-1.2~deb10u1
        ii bone101 2.1.3-0rcnee13~buster+20200713
        ii bonescript 0.7.3-git20190822.0-0rcnee2~buster
        ii bsdmainutils 11.1.2+b1
        ii bsdutils 1:2.33.1-0.1
        ii btrfs-progs 4.20.1-2
        ii build-essential 12.6
        ii bzip2 1.0.6-9.2~deb10u1
        hi c9-core-installer 3.1.5000.git20181017.1-0rcnee3~bus
        ii ca-certificates 20200601~deb10u2
        ii can-utils 2018.02.0-1
        ii cifs-utils 2:6.8-2
        ii connman 1.36-2.1~deb10u1
        ii coreutils 8.30-3
        ii cpio 2.12+dfsg-9
        ii cpp 4:8.3.0-1
        ii cpp-8 8.3.0-6
        ii cpufrequtils 008-1.1
        ii crda 3.18-1
        ii cron 3.0pl1-134+deb10u1
        ii curl 7.64.0-4+deb10u1
        ii dash 0.5.10.2-5
        ii dbus 1.12.20-0+deb10u1
        ii debconf 1.5.71
        ii debconf-i18n 1.5.71
        ii debian-archive-keyring 2019.1
        ii debianutils 4.8.6.1
        ii device-tree-compiler 1.4.7-4
        ii dh-python 3.20190308
        ii dialog 1.3-20190211-1
        ii diffutils 1:3.7-3
        ii dirmngr 2.2.12-1+deb10u1
        ii distro-info-data 0.41+deb10u3
        ii dmidecode 3.2-1
        ii dmsetup 2:1.02.155-3
        ii dnsmasq 2.80-1+deb10u1
        ii dnsmasq-base 2.80-1+deb10u1
        ii doc-beaglebone-getting-started 1.20191031.0-0rcnee0~buster+201911
        ii dosfstools 4.1-2
        ii dpkg 1.19.7
        ii dpkg-dev 1.19.7
        ii e2fsprogs 1.44.5-1+deb10u3
        ii fake-hwclock 0.11
        ii fdisk 2.33.1-0.1
        ii file 1:5.35-4+deb10u2
        ii findutils 4.6.0+git+20190209-2
        ii firmware-atheros 20190717-2rcnee1~buster+20200305
        ii firmware-brcm80211 20190717-2rcnee1~buster+20200305
        ii firmware-iwlwifi 20190717-2rcnee1~buster+20200305
        ii firmware-libertas 20190717-2rcnee1~buster+20200305
        ii firmware-misc-nonfree 20190717-2rcnee1~buster+20200305
        ii firmware-realtek 20190717-2rcnee1~buster+20200305
        ii firmware-ti-connectivity 20190717-2rcnee1~buster+20200305
        ii firmware-zd1211 1:1.5-6
        ii fontconfig-config 2.13.1-2
        ii fonts-dejavu-core 2.37-1
        ii g++ 4:8.3.0-1
        ii g++-8 8.3.0-6
        ii gcc 4:8.3.0-1
        ii gcc-8 8.3.0-6
        ii gcc-8-base:armhf 8.3.0-6
        ii gdbm-l10n 1.18.1-4
        ii git 1:2.20.1-2+deb10u3
        ii git-man 1:2.20.1-2+deb10u3
        ii gnupg 2.2.12-1+deb10u1
        ii gnupg-l10n 2.2.12-1+deb10u1
        ii gnupg-utils 2.2.12-1+deb10u1
        ii gnupg1 1.4.23-1
        ii gnupg1-l10n 1.4.23-1
        ii gpg 2.2.12-1+deb10u1
        ii gpg-agent 2.2.12-1+deb10u1
        ii gpg-wks-client 2.2.12-1+deb10u1
        ii gpg-wks-server 2.2.12-1+deb10u1
        ii gpgconf 2.2.12-1+deb10u1
        ii gpgsm 2.2.12-1+deb10u1
        ii gpgv 2.2.12-1+deb10u1
        ii gpiod 1.4.1-2rcnee3~buster+20190906
        ii grep 3.3-1
        ii groff-base 1.22.4-3
        ii gzip 1.9-3
        ii haveged 1.9.1-7
        ii hexedit 1.4.2-5
        ii hostapd 2:2.7+git20190128+0c1e29f-6+deb10u
        ii hostname 3.21
        ii htop 2.2.0-1+b1
        ii i2c-tools 4.1-1
        ii ibverbs-providers:armhf 22.1-1
        ii ifupdown 0.8.35
        ii init 1.56+nmu1
        ii init-system-helpers 1.56+nmu1
        ii initramfs-tools 0.133+deb10u1
        ii initramfs-tools-core 0.133+deb10u1
        ii iperf 2.0.12+dfsg1-2
        ii iproute2 4.20.0-2+deb10u1
        ii iptables 1.8.2-4
        ii ipumm-dra7xx-installer 3.00.15.00-r3rcnee1~buster+2020042
        ii iputils-ping 3:20180629-2+deb10u1
        ii isc-dhcp-client 4.4.1-2
        ii isc-dhcp-common 4.4.1-2
        ii iw 5.0.1-1
        ii javascript-common 11
        ii klibc-utils 2.0.6-1
        ii kmod 26-1
        ii knxd 0.14.30-1
        ii knxd-tools 0.14.30-1
        ii less 487-0.1+b1
        ii libacl1:armhf 2.2.53-4
        ii libapache2-mod-php7.3 7.3.27-1~deb10u1
        ii libapparmor1:armhf 2.13.2-10
        ii libapr1:armhf 1.6.5-1+b1
        ii libaprutil1:armhf 1.6.1-4
        ii libaprutil1-dbd-sqlite3:armhf 1.6.1-4
        ii libaprutil1-ldap:armhf 1.6.1-4
        ii libapt-inst2.0:armhf 1.8.2.2
        ii libapt-pkg5.0:armhf 1.8.2.2
        ii libargon2-1:armhf 0~20171227-0.2
        ii libasan5:armhf 8.3.0-6
        ii libasound2:armhf 1.1.8-1
        ii libasound2-data 1.1.8-1
        ii libassuan0:armhf 2.5.2-1
        ii libatomic1:armhf 8.3.0-6
        ii libattr1:armhf 1:2.4.48-4
        ii libaudit-common 1:2.8.4-3
        ii libaudit1:armhf 1:2.8.4-3
        ii libauthen-pam-perl 0.16-3+b6
        ii libavahi-client3:armhf 0.7-4+b1
        ii libavahi-common-data:armhf 0.7-4+b1
        ii libavahi-common3:armhf 0.7-4+b1
        ii libavahi-core7:armhf 0.7-4+b1
        ii libawl-php 0.60-1+deb10u1
        ii libbind9-161:armhf 1:9.11.5.P4+dfsg-5.1+deb10u3
        ii libbinutils:armhf 2.31.1-16
        ii libblas3:armhf 3.8.0-2
        ii libblkid1:armhf 2.33.1-0.1
        ii libbluetooth3:armhf 5.50-1.2~deb10u1
        ii libboost-atomic1.67.0:armhf 1.67.0-13+deb10u1
        ii libboost-iostreams1.67.0:armhf 1.67.0-13+deb10u1
        ii libboost-regex1.67.0:armhf 1.67.0-13+deb10u1
        ii libboost-system1.67.0:armhf 1.67.0-13+deb10u1
        ii libboost-thread1.67.0:armhf 1.67.0-13+deb10u1
        ii libbrotli1:armhf 1.0.7-2+deb10u1
        ii libbsd0:armhf 0.9.1-2
        ii libbz2-1.0:armhf 1.0.6-9.2~deb10u1
        ii libc-ares2:armhf 1.14.0-1
        ii libc-bin 2.28-10
        ii libc-dev-bin 2.28-10
        ii libc-l10n 2.28-10
        ii libc6:armhf 2.28-10
        ii libc6-dev:armhf 2.28-10
        ii libcap-ng0:armhf 0.7.9-2
        ii libcap2:armhf 1:2.25-2
        ii libcap2-bin 1:2.25-2
        ii libcc1-0:armhf 8.3.0-6
        ii libcephfs2:armhf 12.2.11+dfsg1-2.1+b1
        ii libcom-err2:armhf 1.44.5-1+deb10u3
        ii libcpufreq0 008-1.1
        ii libcpupower1 4.19.171-2
        ii libcryptsetup12:armhf 2:2.1.0-5+deb10u2
        ii libcups2:armhf 2.2.10-6+deb10u4
        ii libcurl3-gnutls:armhf 7.64.0-4+deb10u1
        ii libcurl4:armhf 7.64.0-4+deb10u1
        ii libdaemon0:armhf 0.14-7
        ii libdb5.3:armhf 5.3.28+dfsg1-0.5
        ii libdbus-1-3:armhf 1.12.20-0+deb10u1
        ii libdbus-1-dev:armhf 1.12.20-0+deb10u1
        ii libdebconfclient0:armhf 0.249
        ii libdevmapper1.02.1:armhf 2:1.02.155-3
        ii libdns-export1104 1:9.11.5.P4+dfsg-5.1+deb10u3
        ii libdns1104:armhf 1:9.11.5.P4+dfsg-5.1+deb10u3
        ii libdpkg-perl 1.19.7
        ii libdw1:armhf 0.176-1.1
        ii libedit2:armhf 3.1-20181209-1
        ii libelf1:armhf 0.176-1.1
        ii liberror-perl 0.17027-2
        ii libestr0:armhf 0.1.10-2.1
        ii libev4:armhf 1:4.25-1
        ii libevent-2.1-6:armhf 2.1.8-stable-4
        ii libexpat1:armhf 2.2.6-2+deb10u1
        ii libexpat1-dev:armhf 2.2.6-2+deb10u1
        ii libext2fs2:armhf 1.44.5-1+deb10u3
        ii libfastjson4:armhf 0.99.8-2
        ii libfdisk1:armhf 2.33.1-0.1
        ii libffi6:armhf 3.2.1-9
        ii libfftw3-single3:armhf 3.3.8-2
        ii libfontconfig1:armhf 2.13.1-2
        ii libfreetype6:armhf 2.9.1-3+deb10u2
        ii libfstrm0:armhf 0.4.0-1
        ii libftdi1-2:armhf 1.4-1+b2
        ii libgcc-8-dev:armhf 8.3.0-6
        ii libgcc1:armhf 1:8.3.0-6
        ii libgcrypt20:armhf 1.8.4-5
        ii libgd3:armhf 2.2.5-5.2
        ii libgdbm-compat4:armhf 1.18.1-4
        ii libgdbm6:armhf 1.18.1-4
        ii libgeoip1:armhf 1.6.12-1
        ii libgfapi0:armhf 5.5-3
        ii libgfortran5:armhf 8.3.0-6
        ii libgfrpc0:armhf 5.5-3
        ii libgfxdr0:armhf 5.5-3
        ii libglib2.0-0:armhf 2.58.3-2+deb10u2
        ii libglusterfs0:armhf 5.5-3
        ii libgmp10:armhf 2:6.1.2+dfsg-4
        ii libgnutls30:armhf 3.6.7-4+deb10u6
        ii libgomp1:armhf 8.3.0-6
        ii libgpg-error0:armhf 1.35-1
        ii libgpgme11:armhf 1.12.0-6
        ii libgpiod2:armhf 1.4.1-2rcnee3~buster+20190906
        ii libgpm2:armhf 1.20.7-5
        ii libgssapi-krb5-2:armhf 1.17-3+deb10u1
        ii libhavege1:armhf 1.9.1-7
        ii libhogweed4:armhf 3.4.1-1
        ii libi2c0:armhf 4.1-1
        ii libibverbs1:armhf 22.1-1
        ii libicu63:armhf 63.1-6+deb10u1
        ii libidn11:armhf 1.33-2.2
        ii libidn2-0:armhf 2.0.5-1+deb10u1
        ii libiio-utils 0.19-1rcnee0~buster+20200303
        ii libiio0:armhf 0.19-1rcnee0~buster+20200303
        ii libinline-files-perl 0.68-1
        ii libio-pty-perl 1:1.08-1.1+b5
        ii libip4tc0:armhf 1.8.2-4
        ii libip6tc0:armhf 1.8.2-4
        ii libipc-run-perl 20180523.0-1
        ii libiptc0:armhf 1.8.2-4
        ii libisc-export1100:armhf 1:9.11.5.P4+dfsg-5.1+deb10u3
        ii libisc1100:armhf 1:9.11.5.P4+dfsg-5.1+deb10u3
        ii libisccc161:armhf 1:9.11.5.P4+dfsg-5.1+deb10u3
        ii libisccfg163:armhf 1:9.11.5.P4+dfsg-5.1+deb10u3
        ii libisl19:armhf 0.20-2
        ii libiw30:armhf 30~pre9-13
        ii libjansson4:armhf 2.12-1
        ii libjbig0:armhf 2.1-3.1+b2
        ii libjim0.77:armhf 0.77+dfsg0-3
        ii libjpeg62-turbo:armhf 1:1.5.2-2+deb10u1
        ii libjs-jquery 3.3.1~dfsg-3
        ii libjson-c3:armhf 0.12.1+ds-2+deb10u1
        ii libk5crypto3:armhf 1.17-3+deb10u1
        ii libkeyutils1:armhf 1.6-6
        ii libklibc:armhf 2.0.6-1
        ii libkmod2:armhf 26-1
        ii libkrb5-3:armhf 1.17-3+deb10u1
        ii libkrb5support0:armhf 1.17-3+deb10u1
        ii libksba8:armhf 1.3.5-2
        ii liblapack3:armhf 3.8.0-2
        ii libldap-2.4-2:armhf 2.4.47+dfsg-3+deb10u6
        ii libldap-common 2.4.47+dfsg-3+deb10u6
        ii libldb1:armhf 2:1.5.1+really1.4.6-3
        ii liblmdb0:armhf 0.9.22-1
        ii liblocale-gettext-perl 1.07-3+b4
        ii liblognorm5:armhf 2.0.5-1
        ii liblua5.2-0:armhf 5.2.4-1.1+b2
        ii liblwres161:armhf 1:9.11.5.P4+dfsg-5.1+deb10u3
        ii liblz4-1:armhf 1.8.3-1
        ii liblzma5:armhf 5.2.4-1
        ii liblzo2-2:armhf 2.10-0.1
        ii libmagic-mgc 1:5.35-4+deb10u2
        ii libmagic1:armhf 1:5.35-4+deb10u2
        ii libmnl0:armhf 1.0.4-2
        ii libmosquitto1:armhf 1.5.7-1+deb10u1
        ii libmount1:armhf 2.33.1-0.1
        ii libmpc3:armhf 1.1.0-1
        ii libmpdec2:armhf 2.4.2-2
        ii libmpfr6:armhf 4.0.2-1
        ii libncurses-dev:armhf 6.1+20181013-2+deb10u2
        ii libncurses5-dev:armhf 6.1+20181013-2+deb10u2
        ii libncurses6:armhf 6.1+20181013-2+deb10u2
        ii libncursesw6:armhf 6.1+20181013-2+deb10u2
        ii libnet-ssleay-perl 1.85-2+b1
        ii libnetfilter-conntrack3:armhf 1.0.7-1
        ii libnettle6:armhf 3.4.1-1
        ii libnewt0.52:armhf 0.52.20-8
        ii libnfnetlink0:armhf 1.0.1-3+b1
        ii libnftnl11:armhf 1.1.2-2
        ii libnghttp2-14:armhf 1.36.0-2+deb10u1
        ii libnl-3-200:armhf 3.4.0-1
        ii libnl-genl-3-200:armhf 3.4.0-1
        ii libnl-route-3-200:armhf 3.4.0-1
        ii libnode64:armhf 10.24.0~dfsg-1~deb10u1
        ii libnpth0:armhf 1.6-1
        ii libnspr4:armhf 2:4.20-1
        ii libnss-mdns:armhf 0.14.1-1
        ii libnss-systemd:armhf 241-7~deb10u6
        ii libnss3:armhf 2:3.42.1-1+deb10u3
        ii libow-3.2-3:armhf 3.2p3+dfsg1-2+deb10u1
        ii libp11-kit0:armhf 0.23.15-2+deb10u1
        ii libpam-modules:armhf 1.3.1-5
        ii libpam-modules-bin 1.3.1-5
        ii libpam-runtime 1.3.1-5
        ii libpam-systemd:armhf 241-7~deb10u6
        ii libpam0g:armhf 1.3.1-5
        ii libpcap0.8:armhf 1.8.1-6
        ii libpci3:armhf 1:3.5.2-1
        ii libpcre2-8-0:armhf 10.32-5
        ii libpcre3:armhf 2:8.39-12
        ii libpcsclite1:armhf 1.8.24-1
        ii libperl5.28:armhf 5.28.1-6+deb10u1
        ii libpipeline1:armhf 1.5.1-2
        ii libpng16-16:armhf 1.6.36-6
        ii libpopt0:armhf 1.16-12
        ii libprocps7:armhf 2:3.3.15-2
        ii libprotobuf-c1:armhf 1.3.1-1+b1
        ii libpruio-modules-4.19.94-ti-r42 1buster
        ii libpsl5:armhf 0.20.2-2
        ii libpython-dev:armhf 2.7.16-1
        ii libpython-stdlib:armhf 2.7.16-1
        ii libpython2-dev:armhf 2.7.16-1
        ii libpython2-stdlib:armhf 2.7.16-1
        ii libpython2.7:armhf 2.7.16-2+deb10u1
        ii libpython2.7-dev:armhf 2.7.16-2+deb10u1
        ii libpython2.7-minimal:armhf 2.7.16-2+deb10u1
        ii libpython2.7-stdlib:armhf 2.7.16-2+deb10u1
        ii libpython3-dev:armhf 3.7.3-1
        ii libpython3-stdlib:armhf 3.7.3-1
        ii libpython3.7:armhf 3.7.3-2+deb10u2
        ii libpython3.7-dev:armhf 3.7.3-2+deb10u2
        ii libpython3.7-minimal:armhf 3.7.3-2+deb10u2
        ii libpython3.7-stdlib:armhf 3.7.3-2+deb10u2
        ii librados2:armhf 12.2.11+dfsg1-2.1+b1
        ii libreadline7:armhf 7.0-5
        ii librobotcontrol 1.0.5-git20200715.0-0~buster+20200
        ii librtmp1:armhf 2.4+20151223.gitfa8646d.1-2
        ii libsamplerate0:armhf 0.1.9-2
        ii libsasl2-2:armhf 2.1.27+dfsg-1+deb10u1
        ii libsasl2-modules-db:armhf 2.1.27+dfsg-1+deb10u1
        ii libsbc1:armhf 1.4-1
        ii libseccomp2:armhf 2.3.3-4
        ii libselinux1:armhf 2.8-1+b1
        ii libsemanage-common 2.8-2
        ii libsemanage1:armhf 2.8-2
        ii libsepol1:armhf 2.8-1
        ii libserialport0:armhf 0.1.1-3
        ii libsigsegv2:armhf 2.12-2
        ii libslang2:armhf 2.3.2-2
        ii libsmartcols1:armhf 2.33.1-0.1
        ii libsodium23:armhf 1.0.17-1
        ii libsqlite3-0:armhf 3.27.2-3+deb10u1
        ii libss2:armhf 1.44.5-1+deb10u3
        ii libssh2-1:armhf 1.8.0-2.1
        ii libssl1.1:armhf 1.1.1d-0+deb10u5
        ii libstdc++-8-dev:armhf 8.3.0-6
        ii libstdc++6:armhf 8.3.0-6
        ii libsystemd0:armhf 241-7~deb10u6
        ii libtalloc2:armhf 2.1.14-2
        ii libtasn1-6:armhf 4.13-3
        ii libtdb1:armhf 1.3.16-2+b1
        ii libtevent0:armhf 0.9.37-1
        ii libtext-charwidth-perl 0.04-7.1+b1
        ii libtext-iconv-perl 1.7-5+b7
        ii libtext-wrapi18n-perl 0.06-7.1
        ii libtiff5:armhf 4.1.0+git191117-2~deb10u1
        ii libtinfo6:armhf 6.1+20181013-2+deb10u2
        ii libtirpc-common 1.1.4-0.4
        ii libtirpc3:armhf 1.1.4-0.4
        ii libtool 2.4.6-9
        ii libubsan1:armhf 8.3.0-6
        ii libuchardet0:armhf 0.0.6-3
        ii libudev1:armhf 241-7~deb10u6
        ii libunistring2:armhf 0.9.10-1
        ii libusb-1.0-0:armhf 2:1.0.22-2
        ii libusb-1.0-0-dev:armhf 2:1.0.22-2
        ii libutempter0:armhf 1.1.6-3
        ii libuuid1:armhf 2.33.1-0.1
        ii libuv1:armhf 1.24.1-1
        ii libv4l-0:armhf 1.16.3-3
        ii libv4l2rds0:armhf 1.16.3-3
        ii libv4lconvert0:armhf 1.16.3-3
        ii libwbclient0:armhf 2:4.9.5+dfsg-5+deb10u1
        ii libwebp6:armhf 0.6.1-2
        ii libwebsockets8:armhf 2.0.3-3
        ii libwrap0:armhf 7.6.q-28
        ii libx11-6:armhf 2:1.6.7-1+deb10u1
        ii libx11-data 2:1.6.7-1+deb10u1
        ii libxau6:armhf 1:1.0.8-1+b2
        ii libxcb1:armhf 1.13.1-2
        ii libxdmcp6:armhf 1:1.1.2-3
        ii libxext6:armhf 2:1.3.3-1+b2
        ii libxml2:armhf 2.9.4+dfsg1-7+deb10u1
        ii libxmuu1:armhf 2:1.1.2-2+b3
        ii libxpm4:armhf 1:3.5.12-1
        ii libxslt1.1:armhf 1.1.32-2.2~deb10u1
        ii libxtables12:armhf 1.8.2-4
        ii libzstd1:armhf 1.3.8+dfsg-3+deb10u2
        ii linux-base 4.6
        ii linux-cpupower 4.19.171-2
        ii linux-image-4.19.94-ti-r42 1buster
        ii linux-libc-dev:armhf 4.19.171-2
        ii locales 2.28-10
        ii login 1:4.5-1.1
        ii logrotate 3.14.0-4
        ii lsb-base 10.2019051400
        ii lsb-release 10.2019051400
        ii lsof 4.91+dfsg-1
        ii lzma 9.22-2.1
        ii lzop 1.03-4+b1
        ii m4 1.4.18-2
        ii make 4.2.1-1.2
        ii man-db 2.8.5-2
        ii manpages 4.16-2
        ii manpages-dev 4.16-2
        ii mawk 1.3.3-17+b3
        ii mime-support 3.62
        ii mjpg-streamer 0.0.0-git20200429.0-0~buster+20200
        ii moreutils 0.62-1
        ii mosquitto 1.5.7-1+deb10u1
        ii mosquitto-clients 1.5.7-1+deb10u1
        ii mount 2.33.1-0.1
        ii mysql-apt-config 0.8.13-1
        ii nano 3.2-3
        ii nano-tiny 3.2-3
        ii ncurses-base 6.1+20181013-2+deb10u2
        ii ncurses-bin 6.1+20181013-2+deb10u2
        ii net-tools 1.60+git20180626.aebd88e-1
        ii netbase 5.6
        ii nethogs 0.8.5-2+b1
        ii nodejs 10.24.0~dfsg-1~deb10u1
        ii nodejs-doc 10.24.0~dfsg-1~deb10u1
        rc npm 5.8.0+ds6-4rcnee0~buster+20191028
        ii openssh-client 1:7.9p1-10+deb10u2
        ii openssh-server 1:7.9p1-10+deb10u2
        ii openssh-sftp-server 1:7.9p1-10+deb10u2
        ii openssl 1.1.1d-0+deb10u5
        ii owfs-common 3.2p3+dfsg1-2+deb10u1
        ii owhttpd 3.2p3+dfsg1-2+deb10u1
        ii owserver 3.2p3+dfsg1-2+deb10u1
        ii passwd 1:4.5-1.1
        ii pastebinit 1.5.1-1
        ii patch 2.7.6-3+deb10u1
        ii perl 5.28.1-6+deb10u1
        ii perl-base 5.28.1-6+deb10u1
        ii perl-modules-5.28 5.28.1-6+deb10u1
        ii perl-openssl-defaults:armhf 3
        ii php 2:7.3+69
        ii php-common 2:69
        ii php-curl 2:7.3+69
        ii php-json 2:7.3+69
        ii php-mbstring 2:7.3+69
        ii php-xml 2:7.3+69
        ii php7.3 7.3.27-1~deb10u1
        ii php7.3-cli 7.3.27-1~deb10u1
        ii php7.3-common 7.3.27-1~deb10u1
        ii php7.3-curl 7.3.27-1~deb10u1
        ii php7.3-json 7.3.27-1~deb10u1
        ii php7.3-mbstring 7.3.27-1~deb10u1
        ii php7.3-opcache 7.3.27-1~deb10u1
        ii php7.3-readline 7.3.27-1~deb10u1
        ii php7.3-xml 7.3.27-1~deb10u1
        ii pinentry-curses 1.1.0-2
        ii pkg-config 0.29-6
        ii pps-tools 1.0.2-1
        ii procps 2:3.3.15-2
        ii pru-software-support-package 5.2.0-git20180711-0rcnee0~buster+2
        ii psmisc 23.2-1
        ii python 2.7.16-1
        ii python-crypto 2.6.1-9+b1
        ii python-dev 2.7.16-1
        ii python-dnspython 1.16.0-1
        ii python-gpg 1.12.0-6
        ii python-ldb 2:1.5.1+really1.4.6-3
        ii python-minimal 2.7.16-1
        ii python-pip-whl 18.1-5
        ii python-samba 2:4.9.5+dfsg-5+deb10u1
        ii python-smbus:armhf 4.1-1
        ii python-talloc:armhf 2.1.14-2
        ii python-tdb 1.3.16-2+b1
        ii python2 2.7.16-1
        ii python2-dev 2.7.16-1
        ii python2-minimal 2.7.16-1
        ii python2.7 2.7.16-2+deb10u1
        ii python2.7-dev 2.7.16-2+deb10u1
        ii python2.7-minimal 2.7.16-2+deb10u1
        ii python3 3.7.3-1
        ii python3-click 7.0-1
        ii python3-colorama 0.3.7-1
        ii python3-decorator 4.3.0-1.1
        ii python3-dev 3.7.3-1
        ii python3-distro 1.3.0-1
        ii python3-distutils 3.7.3-1
        ii python3-flask 1.0.2-3
        ii python3-itsdangerous 0.24+dfsg1-2
        ii python3-jinja2 2.10-2
        ii python3-lib2to3 3.7.3-1
        ii python3-libgpiod 1.4.1-2rcnee3~buster+20190906
        ii python3-markupsafe 1.1.0-1
        ii python3-minimal 3.7.3-1
        ii python3-numpy 1:1.16.2-1
        ii python3-pip 18.1-5
        ii python3-pkg-resources 40.8.0-1
        ii python3-scipy 1.1.0-7
        ii python3-setuptools 40.8.0-1
        ii python3-smbus:armhf 4.1-1
        ii python3-werkzeug 0.14.1+dfsg1-4+deb10u1
        ii python3.7 3.7.3-2+deb10u2
        ii python3.7-dev 3.7.3-2+deb10u2
        ii python3.7-minimal 3.7.3-2+deb10u2
        ii readline-common 7.0-5
        ii rfkill 2.33.1-0.1
        ii rsync 3.1.3-6
        ii rsyslog 8.1901.0-1
        ii rtl8723bu-modules-4.19.94-ti-r42 1buster
        ii rtl8821cu-modules-4.19.94-ti-r42 1buster
        ii samba 2:4.9.5+dfsg-5+deb10u1
        ii samba-common 2:4.9.5+dfsg-5+deb10u1
        ii samba-common-bin 2:4.9.5+dfsg-5+deb10u1
        ii samba-dsdb-modules:armhf 2:4.9.5+dfsg-5+deb10u1
        ii samba-libs:armhf 2:4.9.5+dfsg-5+deb10u1
        ii samba-vfs-modules:armhf 2:4.9.5+dfsg-5+deb10u1
        ii screen 4.6.2-3+deb10u1
        ii sed 4.7-1
        ii seeed-modules-4.19.94-ti-r42 1buster
        ii sensible-utils 0.0.12
        ii shared-mime-info 1.10-1
        ii socat 1.7.3.2-2
        ii ssl-cert 1.0.39
        ii strace 4.26-0.2
        ii sudo 1.8.27-1+deb10u3
        rc syncthing 1.4.2
        ii systemd 241-7~deb10u6
        ii systemd-sysv 241-7~deb10u6
        ii sysvinit-utils 2.93-8
        ii tar 1.30+dfsg-6
        ii tasksel 3.53
        ii tasksel-data 3.53
        ii tdb-tools 1.3.16-2+b1
        ii ti-cmem-4.16.00.00-modules-4.19.94-ti-r42 1buster
        ii ti-pru-cgt-installer 2.1.5-0rcnee4~buster+20200806
        ii tmux 2.8-3
        ii tzdata 2021a-0+deb10u1
        ii u-boot-tools 2019.01+dfsg-7
        ii ucf 3.0038+nmu1
        ii udev 241-7~deb10u6
        ii unzip 6.0-23+deb10u2
        ii usb-modeswitch 2.5.2+repack0-2
        ii usb-modeswitch-data 20170806-2
        ii usb.ids 2019.07.27-0+deb10u1
        ii usbutils 1:010-3
        ii util-linux 2.33.1-0.1
        ii v4l-utils 1.16.3-3
        rc vim 2:8.1.0875-5
        ii vim-common 2:8.1.0875-5
        ii vim-runtime 2:8.1.0875-5
        ii vim-tiny 2:8.1.0875-5
        ii vpdma-dra7xx-installer 03-2012-r1rcnee2~buster+20200424
        ii webmin 1.972
        ii wget 1.20.1-1.1
        ii whiptail 0.52.20-8
        ii wireless-regdb 2016.06.10-1
        ii wireless-tools 30~pre9-13
        ii wpasupplicant 2:2.7+git20190128+0c1e29f-6+deb10u
        ii xauth 1:1.0.10-1
        ii xxd 2:8.1.0875-5
        ii xz-utils 5.2.4-1
        ii zlib1g:armhf 1:1.2.11.dfsg-1

        Kommentar


          #5
          Was macht der BBB alles, also, welche DIenste soll er anbieten? Codeentwicklung / Kompilieren? Dateizugriff per Samba? Soundausgabe? Namesauflösung (DNS / Zeroconf)? Bluetooth? GnuPG? DHCP? WLAN-Accesspoint? Perl? Node (JS)?

          Für all diese Dienst ist die notwendige Software installiert; teilweise sehr großzügig (Entwicklung / Kompilierung z.B.). Je nachdem, was du davon brauchst oder willst, lässt sich da einiges abspecken. Und wenn die "richtigen" Pakete deinstalliert werden, dürften automatisch mitinstallierte Pakete auch noch rausfallen.

          Es ist eine anscheinend sehr umfangreiche Apache-Installation mit vielen Modulen und Erweiterungen drauf, auch nodejs. Ich weiß zB nicht, was du davon alles brauchst oder willst. Wenn es nur für SmartVISU ist und sonst nicht gebraucht wird, könnte eine "schmale" Installatino von Apache oder Nginx (ggf. sogar lighttpd?) ausreichen und im Vergleich zum jetzigen Setup einiges an Platz sparen.

          Wie administrierst du den BBB? Manuell per ssh? Webmin?

          "Wer" (also welches System) vergibt in deinem Netzwerk IP-Adressen, der DSL-Router? Ein anderes System? oder hast du statische Adressen (eher selten...)

          Kommentar


            #6
            Seine derzeitigen Aufgaben:

            - SHNG
            - SV
            - MQTT Broker
            - HTHeatpump (Heliotherm Abfrage mit Python)
            - Cape mit Gateway zu KNX, EnOcean

            Administration mit:

            - SSH
            - Webmin
            - Samba

            Node-Red wollte ich mal probieren, hab aber dann nicht weitergemacht. Mit Python wollte ich noch eine ODBC-Verbindung zu mySQL auf anderen Servern aufbauen, habe das aber noch nicht hinbekommen. Gerne würde ich noch den Solarlog meiner PV-Anlage ersetzen und das auch den BBB einsammeln lassen (RS485 -> TCP -> VCom), aber es müssen demnächst zwei Wechselrichter ersetzt werden, daher warte ich das noch ab.

            In der Regel feste IP, nur für WLAN Clients DHCP per Router
            Zuletzt geändert von awknx; 07.03.2021, 11:04.

            Kommentar


              #7
              Also, ich hab da mal drübergeschaut... die folgenden Pakete kannst du eigentlich problemlos löschen mit

              Code:
              apt-get remove paket1 paket2 paket3...
              Dabei werden die Konfigurationsdateien (erstmal) nicht gelöscht.

              Danach mit

              Code:
              apt-get autoremove
              alles entfernen, was nicht mehr gebraucht wird und vom System aufgrund von Abhängigkeiten automatisch mit installiert wurde.

              Falls du danach Probleme / Fehler feststellst, kannst du die Programme auch problemlos mit apt-get install ... wieder installieren. Da die Konfigurationen noch da sind, sollte es danach ohne Probleme weiter gehen.

              Wenn du sicher bist, dass du die Pakete nicht brauchst, kannst du auch Konfigurationen löschen mit

              Code:
              apt-get purge paket1 paket2 paket3...
              Also:

              Wenn du keine Sound-Ausgabe nutzt:
              • alsa-utils 1.1.8-2

              Wenn du nicht entwickelst / kompilierst:
              • autoconf 2.69-11
              • automake 1:1.16.1-4
              • autotools-dev 20180224.1
              • binutils 2.31.1-16
              • binutils-arm-linux-gnueabihf 2.31.1-16
              • binutils-common:armhf 2.31.1-16
              • build-essential 12.6
              • cpp 4:8.3.0-1
              • cpp-8 8.3.0-6
              • g++ 4:8.3.0-1
              • g++-8 8.3.0-6
              • gcc 4:8.3.0-1
              • gcc-8 8.3.0-6
              • gcc-8-base:armhf 8.3.0-6
              • gdbm-l10n 1.18.1-4

              Wenn du den BBB nicht als DNS-Server betreibst (macht normalerweise der Router - ich bin nicht sicher, ob Samba mittlerweile avahi braucht...):
              • avahi-daemon 0.7-4+b1
              • avahi-utils 0.7-4+b1
              • bind9-host 1:9.11.5.P4+dfsg-5.1+deb10u3
              • dnsmasq 2.80-1+deb10u1
              • dnsmasq-base 2.80-1+deb10u1

              Wenn du kein Bluetooth benutzt:
              • bluealsa 0.13~buster+20200131
              • bluetooth 5.50-1.2~deb10u1
              • bluez 5.50-1.2~deb10u1

              Wenn du kein WLAN auf dem BBB benutzt:
              • hostapd 2:2.7+git20190128+0c1e29f-6+deb10u
              • wireless-regdb 2016.06.10-1
              • wireless-tools 30~pre9-13
              • wpasupplicant 2:2.7+git20190128+0c1e29f-6+deb10u

              Wenn du (nur) ext3/4 als Dateisystem benutzt:
              • btrfs-progs 4.20.1-2
              • dosfstools 4.1-2

              Wenn du auf node verzichten kannst:
              • javascript-common 11
              • nodejs 10.24.0~dfsg-1~deb10u1
              • nodejs-doc 10.24.0~dfsg-1~deb10u1
              • rc npm 5.8.0+ds6-4rcnee0~buster+20191028

              Wenn du kein OneWire benutzt:
              • owfs-common 3.2p3+dfsg1-2+deb10u1
              • owhttpd 3.2p3+dfsg1-2+deb10u1
              • owserver 3.2p3+dfsg1-2+deb10u1

              Systemutilities, die du aller Wahrscheinlichkeit nach nicht brauchst:
              • tasksel 3.53
              • tasksel-data 3.53


              Ich habe jetzt nicht in die ganzen libxy-Einträge geschaut, zumal die meisten davon üblicherweise automatisch installiert werden als Abhängigkeit. Wenn du alles rausgeworfen hast, was du nicht mehr möchtest, kannst du die Abhängigkeiten automatisch deinstallieren (s.o.)

              Und wie gesagt - wenn nach Deinstallation etwas nicht mehr läuft, kannst du es analog wieder einspielen.

              Kommentar


                #8
                Ich sag jetzt erst ganz herzlichen Dank für deine umfangreiche und ausführliche Unterstützung und mache mich damit die kommenden Tage mal ans Ausmisten!

                Heute musste ich mal an die frische Luft :-)

                Viele Grüße
                Andi

                Kommentar


                  #9
                  Nahmd,

                  hab zwar noch keine Panik, bedanke mich als BBB User aber auch für die Hinweise!

                  Gruß Jürgen

                  Kommentar


                    #10
                    Ich würde als großen Platznutzer noch das database Plugin sehen. Meine Datenbank (in ../var/db) ist über 7 GByte groß.
                    Da könntest Du mit einem Tool, welches mit SQLite3 umgehen kann alte Datensätze löschen. Du musst anschließend noch einen Befehl an SQLite3 geben, um die Datenbank auch zu komprimieren. Sonst bleibt der Plattenplatz belegt und steht nur für neue Daten in der Datenbank zur verfügung.

                    WICHTIG: Bevor Du irgendwas mit der Datenbank machst, muss Du SmartHomeNG beenden.
                    Viele Grüße
                    Martin

                    There is no cloud. It's only someone else's computer.

                    Kommentar


                      #11
                      Sind bei mir nur 18 mb. Viel PLatz hat auch das Aufräumen noch nicht gebracht. Ich muss mal noch genauer nach den PLatzfressern suchen. Aber ich denke, ich wechsle wieder auf SD :-)

                      Kommentar


                        #12
                        du -scm /*

                        gibt dir den Platzbedarf für die Verzeichnisse auf der obersten Ebene. So kannst du dich dann weiter "durchhangeln"...

                        Kommentar


                          #13
                          Danke!

                          Kommentar

                          Lädt...
                          X