linux

Example Netplan dual stack network configuration for Ubuntu 18.04

(08-15 example) srv01 ~ # cat /etc/netplan/01-netcfg.yaml # This file describes the network interfaces available on your system # For more information, see netplan(5). network: version: 2 renderer: networkd ethernets: ens160: addresses: [1.2.3.4/30, „2a02:708:xx:xx::2/64“] gateway4: 1.2.3.4 gateway6: 2a02:708:xx:xx::1 nameservers: addresses: [8.8.8.8, „2001:4860:4860::8888“] ens192: addresses: [192.168.0.10/24] to apply the settings, use netplan apply to list your

Example Netplan dual stack network configuration for Ubuntu 18.04 Read More »

DisplayLink-Driver / i-teck Docking Station Driver for Debian and Ubuntu

Long story short: https://raw.githubusercontent.com/AdnanHodzic/displaylink-debian/master/displaylink-debian.sh local mirror here (dated 2018/03/13) See it in Action: root@nb-fpanzer:~# ./displaylink-debian.sh ————————— displaylink-debian —————————- DisplayLink driver installer for Debian based Linux distributions: * Debian GNU/Linux * Ubuntu * Elementary OS * Linux Mint * Kali Linux * Deepin Options: [I]nstall [U]ninstall [R]e-install [Q]uit Select a key: [i/u/r/q]: I ——————————————————————- Checking dependencies

DisplayLink-Driver / i-teck Docking Station Driver for Debian and Ubuntu Read More »

Magento Database import: Errno 150

In case your Magento database import fails with errno 150, here’s a quick solution: Put the following statements on top of your import script: SET SQL_MODE=“NO_AUTO_VALUE_ON_ZERO“; SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT; SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS; SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION; SET NAMES utf8; SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE=’NO_AUTO_VALUE_ON_ZERO‘; SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0; Put the following statements at the end of your import script: SET SQL_MODE=@OLD_SQL_MODE;

Magento Database import: Errno 150 Read More »

Mit Linux und ffmpeg zu Youtube streamen

VBR=“3500k“ # bitrate FPS=“30″ # framerate KEYFRAMEINT=“40″ # keyframe interval QUAL=“medium“ # ffpmeg quality preset YOUTUBE_URL=“rtmp://a.rtmp.youtube.com/live2″ # youtube rtmp url KEY=“XXXX-XXXX-XXXX-XXXX“ sudo modprobe snd_aloop alsactl restore while true do ffmpeg -err_detect explode -thread_queue_size 16384 \ -f alsa -ac 2 -i pulse \ -f v4l2 -video_size 864×480 -thread_queue_size 16384 -i /dev/video1 -deinterlace \ \ -vcodec libx264

Mit Linux und ffmpeg zu Youtube streamen Read More »

Unable to negotiate with [IP] port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

If you ever encounter this error, add the line KexAlgorithms=+diffie-hellman-group1-sha1 at the end of your /etc/ssh/ssh_config file. Bonus: One-Liner for the impatient sudo echo „KexAlgorithms=+diffie-hellman-group1-sha1“ >> /etc/ssh/ssh_config  

Unable to negotiate with [IP] port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 Read More »

Windows USB-Installationsmedium unter Linux erstellen

Es gibt diverse halsbrecherische Methoden, um unter Linux einen USB-Stick (oder noch schlimmer: eine USB-Festplatte) so mit dem Windows 7/8 Installationsmedium zu beschreiben, dass das Gerät bootfähig wird und damit Windows auf einem beliebigen Gerät installiert werden kann. Der Königsweg war unetbootin 494, das auch NTFS formatierte MEdien anzeigen konnte. Das Problem ist, dassmoderne Distributionen die

Windows USB-Installationsmedium unter Linux erstellen Read More »

Fehler beim Plesk-Transfer von SuSE nach Ubuntu/Debian und andere

Der Fehler Fehler: launchpad error (Error code = 2): == STDERR ==================== Failed to execute scout. The return code is 9 The output on STDERR is Unable to determine block size in df output. First line looks like ‚Dateisystem 512‐Blöcke Benutzt Verfügbar Kapazit. Eingehängt auf ‚ at – line 560. ============================== lässt sich relativ simpel beheben.

Fehler beim Plesk-Transfer von SuSE nach Ubuntu/Debian und andere Read More »

Nach oben scrollen