Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
  • Programming
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid

Multimedia

Convert MP4 to MP3

# convert video to audio
IFS=$(echo -en "\n\b")
for INPUT_FILE in $(ls *.mp4); do
    ffmpeg -i "${INPUT_FILE}" -vn -ar 44100 -ac 2 -b:a 128k "${INPUT_FILE//.mp4/.mp3}"
done

Snippets

# enable SPDIF
amixer set IEC958 100 unmute

# create caver
DIR=/media/Volume
IFS=$(echo -en "\n\b")

for i in $(find $DIR -name "*.avi"); do
	echo $i
	ffmpeg -y -itsoffset -60 -i $i -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 ${i//.avi/.jpg} 2&1> /dev/null
done

# cut part from a video
ffmpeg -ss 00:30:00 -t 00:10:00 -i file_in.avi file_out.avi

# split m4a to mp3 files
IFS=$(echo -en "\n\b")
for INPUT in $(ls *.m4a); do
    LENGTH=300
    for i in {0..150}; do
        START=$((i*LENGTH))
        ffmpeg -ss ${START} -t ${LENGTH} -i ${INPUT} -vn -c:a mp3 ${INPUT%.*}_$((i+1)).mp3
    done
done

# rip dvd audio to mp3
for((x=1; x<=18; x++)) do
	transcode -i /dev/dvd -x dvd -T ${x},1,1 -a 0 -y wav -m track${x}.wav
	lame --abr 320 track${x}.wav track${x}.mp3
	rm track${x}.wav
done

# extract audio from video file
sudo apt-get install -y libav-tools
avconv -i FILE_IN.mp4 -vn -c:a copy FILE_OUT.mp3

# convert flv to mpeg2
ffmpeg -i input.flv -target pal-dvd output.mpg


# stream with vlc 1.1
vlc Sintel.2010.2K.SURROUND.x264-VODO.mp4 --sout '#standard{access=http,mux=ts,dst=:9070}'

to play:
vlc http://STREAM_PC_IP:9070

Convert stream to DVD
http://wiki.ubuntuusers.de/DVD-Authoring

Install OpenTTD (Transport Tycoon Deluxe) under Ubuntu

Homepage
https://www.openttd.org/

Install from snap
https://snapcraft.io/install/openttd/ubuntu

sudo snap install openttd

Install from APT package
http://www.openttd.org/en/download-stable
[embed_url: https://raw.githubusercontent.com/panticz/installit/master/install.openttd.sh]

Install newest Version
wget https://raw.githubusercontent.com/panticz/installit/master/install.openttd.sh -O - | bash -s -- -n

Notes

# sudo apt-get install -y libsdl1.2debian

# pre configure
debconf-set-selections <<\EOF
openttd openttd/datafiles select
EOF

# install openttd
sudo apt-get install -y openttd timidity
wget http://www.tt-ms.de/downloads/ttdwin302011.rar -P /tmp
mkdir /tmp/ttd
unrar x /tmp/ttdwin302011.rar /tmp/ttd

# copy data
sudo cp /tmp/ttd/*.grf /tmp/ttd/*.cat /usr/share/games/openttd/data
sudo cp /tmp/ttd/gm/* /usr/share/games/openttd/gm

# clean up
rm /tmp/ttdwin302011.rar
rm -r /tmp/ttd

Links
http://wiki.ubuntuusers.de/Spiele/OpenTTD
http://www.tt-ms.de/downloads/

Install

Automatic installation scripts for Ubuntu / Linux
https://louwrentius.com/understanding-the-ubuntu-2004-lts-server-autoinstaller.html
https://github.com/panticz/installit

Manual install

URL=http://ftp.us.debian.org/debian/pool/main/t/terminator/terminator_2.1.3-1~bpo12+2_all.deb
wget ${URL} -P /tmp
sudo dpkg -i /tmp/terminator_*_all.deb

Run late_command script manually

wget -q --no-check-certificate https://raw.githubusercontent.com/panticz/preseed/master/late_command.sh -O - | sudo bash -s #00:11:22:33:44:55

Create pressed autoinstall CD

wget -q https://raw.githubusercontent.com/panticz/preseed/master/pxe/scripts/create.netinstall.ubuntu.cd.sh -O - | bash -

Post install second OS over KVM

sudo kvm -m 512 -hda /dev/sda -net nic,macaddr=$(LANG=en; ifconfig eth0 | grep "HWaddr" | tr -s " " | cut -d" " -f5) -net user -smp 2

Install default applications

# todo
# /tmp/debconf-answer.txt
# accept java licence
# sun-java6-bin shared/accepted-sun-dlj-v1-1    boolean true
apt-get -y install thunderbird vlc sun-java6-jre smbfs sun-java6-plugin bluefish putty tofrodos imagemagick p7zip-full smartmontools hwinfo lshw nfs-common rtorrent k9copy

gtk-recordmydesktop - Screencast creation for linux
unetbootin - create USB boot pen wirh different distributions

Packages

searchmonkey - powerful text searches on Linux using regular expressions
dosfstools - Utilities to create and check MS-DOS FAT filesystems
apt-get install gnome-do gnome-do-plugins
tofrodos - Converts DOS <-> Unix text files, alias tofromdos (dosfstools)
radiotray - Radio Tray is a simple streaming music player
apt-get install cclive - command line media download tool with low footprint (download YouTube videos)

Fonts

sudo apt-get install msttcorefonts
sudo apt-get install ttf-ubuntu-title
Ubuntu font directory:
/usr/share/fonts/truetype

Fix Java plugin in Hardy (only i386)

apt-get remove icedtea-gcjwebplugin
apt-get install -y sun-java6-plugin

Netboot install from harddisk

Ubuntu 23.04 Lunar

Release schedule
https://discourse.ubuntu.com/t/lunar-lobster-release-schedule/

Release notes / Known issues
https://discourse.ubuntu.com/t/lunar-lobster-release-notes/

Download
Releases: http://releases.ubuntu.com/23.04/
Legacy Desktop Installer: https://cdimage.ubuntu.com/releases/lunar/release/ubuntu-23.04-desktop-legacy-amd64.iso
Cloud image (minimal): https://cloud-images.ubuntu.com/daily/server/minimal/daily/lunar/current/lunar-minimal-cloudimg-amd64.img

Repository

echo "deb http://de.archive.ubuntu.com/ubuntu lunar main restricted universe multiverse" | \
    sudo tee /etc/apt/sources.list.d/ubuntu-lunar.list
echo "deb http://de.archive.ubuntu.com/ubuntu lunar-updates main restricted universe multiverse" | \
    sudo tee /etc/apt/sources.list.d/ubuntu-lunar-updates.list

Known issues / workarounds

# Disable application search
gsettings set org.gnome.desktop.search-providers disable-external true

# ZFS on Ubuntu 23.04
https://github.com/Sithuk/ubuntu-server-zfsbootmenu

# NetworkManager "Automatically connect with VPN" nested VPN issue
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/610#note_1805201

Schedule
https://discourse.ubuntu.com/t/lunar-lobster-release-schedule/

Ubuntu

Releases
https://wiki.ubuntu.com/Releases
https://endoflife.date/ubuntu

Daily (development release)
http://cdimage.ubuntu.com/daily-live/current/

Official Archive Mirrors for Ubuntu
https://launchpad.net/ubuntu/+archivemirrors
http://mirrors.ubuntu.com/

Build Image
https://canonical-subiquity.readthedocs-hosted.com/en/latest/howto/ubuntu-image-classic-examples.html

Docs
https://ubuntu.com/server/docs

Install Gnome Fallback (Classic)

wget https://raw.githubusercontent.com/panticz/installit/master/install.gnome-fallback.sh -O - | bash -

Ubuntu Apps Directory Online
https://apps.ubuntu.com/cat/

Switch back to Gnome

sudo /usr/lib/lightdm/lightdm-set-defaults -s gnome-fallback

Remove old kernel

apt-get remove linux-headers-3.2.0-40 linux-headers-3.2.0-40-generic linux-image-3.2.0-40-generic

Install new kernel

sudo apt-get -y install linux-generic
apt-get install -y --reinstall linux-image-generic linux-firmware linux-headers-generic

Allow root SSH login

sed -i 's|PermitRootLogin without-password|PermitRootLogin yes|g' /etc/ssh/sshd_config
echo "root:t00r" | chpasswd
service ssh restart

Enable WIFI

sudo rmmod iwl3945
sudo rfkill unblock all
sudo modprobe iwl3945
sudo rfkill list all

Nautilus menu: create new blank file

Pagination

  • Previous page
  • 5
ubuntu
Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung