Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merkliste: Erweiterungen fürs Image #555

Closed
1 of 5 tasks
andig opened this issue Jan 13, 2017 · 8 comments
Closed
1 of 5 tasks

Merkliste: Erweiterungen fürs Image #555

andig opened this issue Jan 13, 2017 · 8 comments

Comments

@andig
Copy link
Contributor

andig commented Jan 13, 2017

  • VZ Ordner von /var/www nach /home/pi verschieben -> kein sudo mehr für viele Befehle notwendig
  • PPM Middleware installieren
  • Pushserver installieren
  • logrotated für vzlogger einrichten
  • composer unter /usr/local/bin installieren
@frankrichter
Copy link
Contributor

aus ML: /tmp als tmpfs sorgt wegen fixer Größe der Ramdisk für Probleme, wenn OS oder Anwendungen dort große Dateien zwischenlagern wollen. Besser /tmp auf SD belassen und Ramdisk-Lösung für /var/log integrieren: https://github.com/azlux/log2ram

@frankrichter
Copy link
Contributor

Hier schon mal ein auf dem aktuellen Image getestetes Config-File für logrotate:

pi@raspberrypi:~ $ cat /etc/logrotate.d/vzlogger
/var/log/vzlogger.log {
        rotate 1
        size=100k
        copytruncate
        missingok
        notifempty
}

Wichtig ist copytruncate, weil die Datei sonst erst gelöscht und dann neu erstellt wird. Damit kommt vzlogger nicht klar.
rotate 0 geht natürlich auch, dann wird die alte Datei nicht rotiert sondern gleich gelöscht.

@J-A-U
Copy link
Collaborator

J-A-U commented Oct 2, 2017

•VZ Ordner von /var/www nach /home/pi verschieben -> kein sudo mehr für viele Befehle notwendig

Check: #636

@christian-weiss
Copy link
Contributor

It looks link this ticket is a memo than a ticket.

Would be nice if you can slit it into separate tickets:

  • install.sh related (the stuff to avoid sudo is done, i think)
  • docker image related (file an issue in: https://github.com/volkszaehler/docker)
  • sd card related (raspbian; readme: installation recommendations)

@J-A-U
Copy link
Collaborator

J-A-U commented Dec 21, 2017

It looks link this ticket is a memo than a ticket.

Yes, it is.

Would be nice if you can slit it into separate tickets:

I prefer to keep the rpi-image related stuff tight together (kinda memo ;) ).
wiki.volkszaehler.org/development/rpi-image ?

(the stuff to avoid sudo is done, i think)

Yes.

docker image related

This is not about docker. If there are similarities, they are not intended.

@J-A-U
Copy link
Collaborator

J-A-U commented Dec 31, 2017

Ins Wiki übernommen. https://wiki.volkszaehler.org/howto/building_raspberry_pi_image_for_vz
Sollen wir hier zu machen?

@andig
Copy link
Contributor Author

andig commented Dec 31, 2017

Ich würds offen lassen bis wir ein entsprechendes Image haben? Zumindest mir liegt GH näher als das Wiki.

@andig
Copy link
Contributor Author

andig commented Mar 21, 2019

Currently discussed on dev ml for vz 2.0, closing here.

@andig andig closed this as completed Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants