This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@grass-desktop:/home/grass/test/Automatic-greenkeeper-assistant# gst-launch-1.0 -e nvarguscamerasrc num-buffers="20" sensor-id="0" ! "video/x-raw(memory:NVMM),width=4032,height=3040,framerate="2"/1" ! nvjpegenc ! multifilesink location=%03d_rpi_v3_imx477_cam$SENSOR_ID.jpeg > debug.txt | |
0:00:00.000236046 22673 0x5582724800 INFO GST_INIT gst.c:586:init_pre: Initializing GStreamer Core Library version 1.14.5 | |
0:00:00.000342975 22673 0x5582724800 INFO GST_INIT gst.c:587:init_pre: Using library installed in /usr/lib/aarch64-linux-gnu | |
0:00:00.000393289 22673 0x5582724800 INFO GST_INIT gst.c:607:init_pre: Linux grass-desktop 4.9.201-tegra #1 SMP PREEMPT Sat May 8 01:13:10 UTC 2021 aarch64 | |
0:00:00.000672252 22673 0x5582724800 DEBUG GST_MEMORY gstallocator.c:593:_priv_gst_allocator_initialize: memory alignment: 7 | |
0:00:00.001076218 22673 0x5582724800 DEBUG GST_MEMORY gstallocator.c:569:gst_allocator_sysmem_init: init allocator 0x558272d840 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [[ $(whoami) == root ]]; then | |
curl -sSl https://raw.githubusercontent.com/virtualhere/script/main/install_server | bash | |
else | |
curl -sSl https://raw.githubusercontent.com/virtualhere/script/main/install_server | sudo bash | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run all of this as root | |
zpool create -f flash mirror /dev/sdb /dev/sdc | |
zfs create flash/docker | |
zfs set compression=on flash/docker | |
zfs set sync=standard flash/docker | |
zfs create flash/postgres | |
zfs set recordsize=8K flash/postgres | |
zfs set compression=lz4 flash/postgres | |
zfs set primarycache=all flash/postgres |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In /etc/dhcp/dhclient.conf: | |
Add send dhcp-client-identifier = hardware; | |
See https://serverfault.com/questions/1102403/debian-11-no-longer-automatically-receiving-static-dhcp-ip-address-dhclient-mus/1106187#1106187?newreg=d620caeb3077480a858e0b61d369f21e |