General file permissions for ssh.
chmod 700 ~/.ssh
chmod 600 ~/.ssh/id_rsa
chmod 644 ~/.ssh/id_rsa.pub
chmod 644 ~/.ssh/authorized_keys
chmod 644 ~/.ssh/known_hosts
package main | |
import "fmt" | |
// Constant definitions | |
const MaxUint = ^uint(0) | |
const MinUint = 0 | |
const MaxInt = int(^uint(0) >> 1) | |
const MinInt = -MaxInt - 1 |
General file permissions for ssh.
chmod 700 ~/.ssh
chmod 600 ~/.ssh/id_rsa
chmod 644 ~/.ssh/id_rsa.pub
chmod 644 ~/.ssh/authorized_keys
chmod 644 ~/.ssh/known_hosts
In order to avoid performance issues for other operations (e.g. upgrades or backups) slow down raid 1 synch by lowering its max speed to zero. This might especially be useful after a fresh install when the system performs slow for a few hours, but still some final work needs to be done (e.g. create user accounts and software installation/configuration).
First check the current value of /proc/sys/dev/raid/speed_limit_max:
# cat /proc/sys/dev/raid/speed_limit_max
200000
Next, set /proc/sys/dev/raid/speed_limit_max to 0:
echo 0 > /proc/sys/dev/raid/speed_limit_max
lxc exec <container> -- dpkg-reconfigure locales
lxc exec <container> -- sudo dpkg-reconfigure tzdata
lxc config set <container> environment.LC_ALL de_CH.UTF-8
Die Benutzung der Maus mit PuTTY funktioniert in VIM 8.0 (ab Ubuntu 17.04) nicht mehr wie bisher. Dies macht sich insbesondere beim Insert mit der rechten Maus-Taste bemerkbar. Zur Abhilfe in ~/.vimrc folgende Zeile setzen:
set mouse=
Default ist set mouse=a
.
#!/bin/bash | |
# | |
# NGINX/PHP7 Installer für Raspbian Stretch | |
# Voraussetzungen: | |
# 1) Fertig konfigurierte Neuinstallation von Raspbian Stretch Version April 2018. | |
# 2) Ausführung des Scripts durch den User pi. | |
# 3) Wo http://raspberrypi erwähnt wird, gilt das nur, wenn der Raspberry Pi unter diesem Namen im Netzwerk ereichbar ist. | |
# | |
#--------------------- | |
# System aktualisieren |
Bei den IPv6 Einstellungen in der Internet-Box von Swisscom gibt es folgende Firewall-Stufen die eingestellt werden können: Deaktiviert, Standard, Strikt und Benutzerdefiniert.
Falls die IPv6 Firewall-Stufe "Standard" aktiviert ist, wird der IPv6 Datenverkehr in beide Richtungen (ankommend und abgehend) zugelassen. Falls die IPv6 Firewall-Stufe "Strikt" aktiviert ist, darf der IPv6 Datenverkehr nur in abgehender Richtung initiert werden. Davon ausgenommen ist jeweils eine Gruppe von Standardprotokollen.
Leider gibt es keinen Hinweis darauf, welches Standard-Protokolle ausgenommen sind. In der Wissensdatenbank im Swisscom Kundenforum habe ich eine offizielle Liste gefunden.
Es gibt zwei Kategorien: Einerseits die „LAN-Protokolle“, also Protokolle, welche typischerweise nur innerhalb desselben lokalen Netzes verwendet werden, aber nicht über das Internet. Diese Protokolle werden von der Firewall standardmässig in beide Richtungen, eingehend
Notes for building Bullet-physics engine libraries for static linking into libBulletSim for Raspberry Pi 3. | |
libBulletSim is contained in git://opensimulator.org/git/opensim-libs | |
Still working on this: | |
1) sudo apt install libgl1-mesa-dev | |
2) download and unpack bullet3-2.86.1 | |
3) cd bullet3-2.86.1 | |
4) mkdir bullet-build | |
5) cd bullet-build |
Basic Install Ubuntu 18.04 Dev Server VM (from minimal installation)
sudo apt update
sudo apt upgrade
sudo apt install ssh vim mtr-tiny dnsutils net-tools traceroute git gawk zip unzip tmux build-essential
This list might include packages that are already installed in the Distribution.
Enable Hardware Enablement Stack (HWE) to allow kernel upgrades.