Kategorie: Linux

Remove netplan on Ubuntu 18.04

vi /etc/default/grub GRUB_CMDLINE_LINUX=”netcfg/do_not_use_netplan=true” update-grub Purge netplan apt purge netplan.io Remove files rm -rf /usr/share/netplan rm -rf /etc/netplan Install ifupdown apt install ifupdown Configure interfaces vi /etc/network/interfaces # This file describes

Weiterlesen

Boot Ubuntu workstation into text mode

Boot without X systemctl set-default multi-user.target reboot startx Boot with X systemctl set-default graphical.target reboot Display default target systemctl get-default Set VGA resolution vi /etc/default/grub #GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash vga=792″

Weiterlesen

Raspbian-Version ermitteln

Um zu überprüfen, welche Raspbian-Version auf dem Raspberry Pi installiert ist, wird der Befehl cat /etc/os-release benutzt. cat /etc/os-release PRETTY_NAME=”Raspbian GNU/Linux 9 (stretch)” NAME=”Raspbian GNU/Linux” VERSION_ID=”9″ VERSION=”9 (stretch)” ID=raspbian ID_LIKE=debian HOME_URL=”http://www.raspbian.org/” SUPPORT_URL=”http://www.raspbian.org/RaspbianForums”

Weiterlesen

Install unattended updates on Ubuntu

Update the system and install packages apt-get update && apt-get install unattended-upgrades Configure unattended upgrades dpkg-reconfigure -plow unattended-upgrades Replacing config file /etc/apt/apt.conf.d/20auto-upgrades with new version Configuration Unattended-Upgrade::Allowed-Origins { “${distro_id}:${distro_codename}”; “${distro_id}:${distro_codename}-security”;

Weiterlesen

Install CUDA 8

Minimum requirement: driver version 367 (for Kepler-, Maxwell- and newer GPUs). Download installer for Ubuntu https://developer.nvidia.com/cuda-downloads Install the packages dpkg -i cuda-repo-ubuntu1604-8-0-local_8.0.44-1_amd64.deb apt-get update Holen:1 file:/var/cuda-repo-8-0-local  InRelease Ign:1 file:/var/cuda-repo-8-0-local  InRelease

Weiterlesen