#wiki:editMode=viewMod
ubuntu 20.04 LTS server live auf LENOVO Z70 teningen bokk (graficalModeGone)
installiert auf 256gb NVME SSD via einzigem USB3.0
Hardware Setup:
LENOVO_MT_80FG_BU_idea_FM_Lenovo Z70-80 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz 4GiB SODIMM DDR3 Synchronous 1600 MHz (0.6 ns) (second slot empty)
Storage ports: 1xUSB3.0
1x intern 2.5"SATA 1x DVD laufwerk Sata Adapter noch nicht getestet alternative testen ob booten mit usb3 hub möglich
drive test an usb3.0 "länglicher NVME-Adapter mit 256gbSSD" z70@zerver ~> sudo hdparm -tT /dev/sda (witch cache) /dev/sda: Timing cached reads: 11000 MB in 1.99 seconds = 5517.21 MB/sec Timing buffered disk reads: 1306 MB in 3.00 seconds = 435.33 MB/sec z70@zerver ~> sudo hdparm -tT --direct /dev/sda (without cache) /dev/sda: Timing O_DIRECT cached reads: 720 MB in 2.00 seconds = 359.33 MB/sec Timing O_DIRECT disk reads: 1184 MB in 3.00 seconds = 394.60 MB/sec
Software Setup:
ssh server user auth
docker runtime environment
name: z70 user: z70 pw: haexen?? am hwe hostname:zerver
DHCP
“apt install fish” fish als standart shell: “chsh -s `which fish`”
idle@:6W idle+hdd: 11W stress-ng+hdd: 22w -BildschirmHintergrundBeleuchtung 6Watt
https://linuxhint.com/useful_linux_stress_test_benchmark_cpu_perf/ “sysbench cpu –threads=2 run” “stress-ng –cpu 4 –all”
apt install net-tools (ifconfig)
https://askubuntu.com/questions/141866/keep-ubuntu-server-running-on-a-laptop-with-the-lid-closed To disable entering the sleep mode I had to edit the /etc/systemd/logind.conf file and modify the line: #HandleLidSwitch=suspend to HandleLidSwitch=ignore Additionally, ensure that the file also has this line: LidSwitchIgnoreInhibited=no Then restart the OS via: sudo service systemd-logind restart
add userer pi add user pi to sudo group “usermod -aG sudo username”
user z70 SUDO IOTstack https://sensorsiot.github.io/IOTstack/Getting-Started/
error: nodered var/lib ro nodered /dev/ACM serial ??? …