Månad: mars 2018

Web & Teknik

Manually add ssh keys to a lxd container

First create a file called authorized_keys in the your home directory on the LXD host with the keys you want to use in the container. While we are on the subject it might be a good time to upgrade your ssh keys to ssh-keygen -t ed25519 # vi authorized_keys Then use the following commands: lxc exec…
Läs mer

Mysql – MariaDB som root på Ubuntu 16.04

Den nya versionen av MariaDB på Ubuntu hanterar inloggning för root via en plugin. För att ändra det kör: UPDATE mysql.user SET plugin = ’mysql_native_password’, Password = PASSWORD(’MYREALPASSWORD’) WHERE User = ’root’; FLUSH PRIVILEGES;