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

Install Wine

Install
https://gitlab.winehq.org/wine/wine/-/wikis/Debian-Ubuntu

sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/plucky/winehq-plucky.sources
sudo dpkg --add-architecture i386
wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -
sudo apt update
sudo apt install --install-recommends winehq-staging

[embed_url: https://raw.githubusercontent.com/panticz/installit/master/install.wine.sh]

winetricks

sudo apt-get install -y winetricks
#sudo winetricks --self-update

# winetricks BASH completion
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.bash-completion -O- | sudo tee /etc/bash_completion.d/winetricks
source /etc/bash_completion.d/winetricks

Downgrade to Wine 1.2.x (64 bit)

sudo apt-get remove wine1.4
cd /tmp
wget http://ie.archive.ubuntu.com/ubuntu/pool/universe/w/wine1.2/wine1.2_1.2.3-0ubuntu1_amd64.deb
wget http://ie.archive.ubuntu.com/ubuntu/pool/universe/n/nss-mdns/lib32nss-mdns_0.10-3.1ubuntu1_amd64.deb
sudo dpkg -i wine1.2_1.2.3-0ubuntu1_amd64.deb lib32nss-mdns_0.10-3.1ubuntu1_amd64.deb
wine --version

OPTIONAL: fake ie6 installation

wget kegel.com/wine/winetricks -P /tmp; sh /tmp/winetricks fakeie6

Snap package
https://snapcraft.io/wine-platform-6-stable

Debug

wine --version

Compile wine (deprected)

Auto update Ubuntu PXE files

Update script
[embed_url: https://raw.githubusercontent.com/panticz/preseed/master/pxe/scripts/update.ubuntu.pxe.files.sh]

Create cronjob
[embed_url: https://raw.githubusercontent.com/panticz/preseed/master/pxe/scripts/update.ubuntu.pxe.files.cronjob]

Configure PXE
wget https://installit.googlecode.com/hg/preseed/preseed.precise.i386.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.precise.i386.conf
wget https://installit.googlecode.com/hg/preseed/preseed.precise.amd64.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.precise.amd64.conf
wget https://installit.googlecode.com/hg/preseed/preseed.quantal.i386.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.quantal.i386.conf
wget https://installit.googlecode.com/hg/preseed/preseed.quantal.amd64.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.quantal.amd64.conf

vi /var/lib/tftpboot/default
MENU SEPARATOR
MENU BEGIN
MENU TITLE + Preseed
    MENU INCLUDE pxelinux.cfg/preseed.oneiric.i386.conf
    MENU INCLUDE pxelinux.cfg/preseed.oneiric.amd64.conf
    MENU INCLUDE pxelinux.cfg/preseed.precise.i386.conf
    MENU INCLUDE pxelinux.cfg/preseed.precise.amd64.conf
    MENU INCLUDE pxelinux.cfg/preseed.quantal.i386.conf
    MENU INCLUDE pxelinux.cfg/preseed.quantal.amd64.conf

    MENU SEPARATOR
    LABEL Back
    MENU EXIT
MENU END

apt / dpkg

# Add repository
sudo apt-add-repository universe

# APT download only
apt-get upgrade -y --download-only

# include kept back packages
apt -o APT::Get::Always-Include-Phased-Updates=true upgrade -y

# run update
export DEBIAN_FRONTEND=noninteractive
LANG=en_US.UTF-8 sudo apt-get update -y && sudo apt-get dist-upgrade -y && sudo apt-get autoremove -y && sudo apt-get clean -y

# Add backports repository
sudo add-apt-repository  "deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-backports main restricted universe multiverse"

# install all phased updates
sudo apt -o APT::Get::Always-Include-Phased-Updates=true upgrade

# allow unauthenticated repository
apt-get update --allow-unauthenticated

# list updatable packages
apt list --upgradable

# view avaiable package version
apt-cache show wget
apt-cache madison wget

# install specific version
apt-get install package name=version
apt-get install wget=1.6

# install from specific repository
apt-get install -t squeeze-backports wget

# view available versions
apt-cache policy chromium-browser

# autoupdate
http://www.panticz.de/debian-ubuntu-automatic-upgrades

# download package
apt-get download

# list deb package dependency
dpkg -I 

# test DIRECT download package by apt
#Acquire::HTTP::Proxy::packages.gitlab.com "DIRECT";
#Acquire::HTTP::Proxy::packages-gitlab-com.s3.amazonaws.com "DIRECT";
#Acquire::https::Proxy "false";
Acquire::http::Proxy {
    packages.gitlab.com DIRECT;
    *.amazonaws.com DIRECT;
};

# use apt proxy
APT_PROXIES=$(apt-config shell \
http_proxy Acquire::http::Proxy \
https_proxy Acquire::https::Proxy \
ftp_proxy Acquire::ftp::Proxy \
dl_direct Acquire::http::Proxy::download.oracle.com \
)

echo 'Acquire::HTTP::Proxy::packages.gitlab.com "DIRECT";' > /etc/apt/apt.conf.d/99_gitlab

Acquire::http::Proxy {
    packages.gitlab.com DIRECT;
};

# list keys
apt-key list

# test
# lxc enable apt proxy?
eval $(apt-config shell MIRROR Acquire::http::Proxy)

apt-cache showpkg  libapache2-mod-php5

# install package from older distro
apt-get install -t etch -y libdb4.4

Install lastest stable Thunderbird

Installation
[embed_url: https://raw.githubusercontent.com/panticz/installit/master/install.thunderbird.sh]

Releases
https://archive.mozilla.org/pub/thunderbird/releases/
#https://www.thunderbird.net/en-US/thunderbird/releases/

Extensions

mv /usr/lib/thunderbird.old/extensions/* /usr/lib/extensions/

german language
https://addons.thunderbird.net/de/thunderbird/addon/deutsch-de-language-pack-thund/
http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/3.1/linux-i686/xpi/de.xpi

Filter
~/.thunderbird/*.default/ImapMail/*/msgFilterRules.dat

Lightning (calender support)

apt-get install xul-ext-lightning

module name: {e2fda1a4-762b-4020-b5ad-a41df1933103}
https://addons.mozilla.org/de/thunderbird/addon/lightning/versions/
http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b2rc3/linux-i686/lightning.xpi

# lighting on 64 bit

https://help.ubuntu.com/community/ThunderbirdLightning

wget http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b2rc3/contrib/linux-x86_64/lightning.xpi

command line arguments
http://kb.mozillazine.org/Command_line_arguments_%28Thunderbird%29

# shortcuts

https://www.thunderbird-mail.de/wiki/Kurzbefehle

### OLD

# german speel check

https://addons.mozilla.org/de/thunderbird/addon/9361

# Lightning for Thunderbird 3

http://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/linux-xpi/
http://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/latest-comm-1.9.1/linux-xpi/lightning.xpi
https://addons.mozilla.org/de/thunderbird/downloads/file/75390/xpi/lightning-1.0b1-tb+sm-linux.xpi?src=addondetail

Preseed Debian / Ubuntu installation

Pressed on GitHub
https://github.com/panticz/preseed

pressed install under kvm

wget https://raw.githubusercontent.com/panticz/preseed/master/pxe/scripts/create.netinstall.ubuntu.cd.sh -O - | bash -
wget -q http://dl.panticz.de/preseed/UbuntuNetInstall.iso -O /tmp/UbuntuNetInstall.iso

kvm -m 512 -hda /dev/sda -cdrom /tmp/UbuntuNetInstall.iso -boot d

Install UPnP server
http://dl.dropbox.com/u/4170695/preseed/preseed.upnp.seed

Preseed auto RAID1 LVM
https://raw.githubusercontent.com/panticz/preseed/master/raid1lvm.seed

pressed autoinstall

wget https://raw.githubusercontent.com/panticz/preseed/master/late_command.sh -O - | bash -

tasksel tasksel/first multiselect standard

cat /usr/share/tasksel/ubuntu-tasks.desc | grep Task

Examples
d-i mirror/suite string unstable
d-i mirror/suite string lucid
d-i user-setup/encrypt-home boolean false
disk-detect disk-detect/iscsi/enable boolean false
d-i user-setup/allow-password-weak boolean true

##d-i base-installer/kernel/override-image string linux-server

# Kernel to install:
# Choices: linux-386,linux-server,linux-virtual,linux-generic,linux-image-386, none

bootstrap-base base-installer/kernel/image select linux-server

DataLogic QuickScan QS6500 with Ubuntu as USB Keyboard

download configuration codes
# https://easeofaccess.scanning.datalogic.com/public/marketlit/Send.aspx?file=R44-2816A
https://www.bedienungsanleitu.ng/datalogic/quickscan-qs6500/spezifikationen

reset to factory default (Page 3)
scan: Return handheld to factory defaults

configure as USB Keyboard

Interface Selection (Page 30 / 33)
scan: START
scan: USB Keyboard
scan: END

OPTIONAL, configure Keyboard Layout (Page 53 / 54)

scan: START
scan: Germany
scan: END

OPTIONAL, enable Interleaved 2 of 5 - continued (for DHL package barcodes)
Interface Selection (Page 169)

scan: START
scan: Enable Interleaved 2 of 5
scan: END

Links
https://help.ubuntu.com/community/BarcodeReaders
http://www.tec-it.com/online-demos/tbarcode/barcode-generator.aspx - barcode online generator
http://www.barcode-soft.com/de-de/online-barcode-generator.aspx - barcode online generator
http://www.codecheck.info/
http://barcode4j.sourceforge.net/ - free barcode generator library for Java

Install Fax client for Hylafax (YajHFC)

[embed_url: https://raw.githubusercontent.com/panticz/installit/master/install.yajhfc.sh]

OPTIONAL, set evince as default fax viewer

sed -i 's|gnome-open|evince|g' ~/.yajhfc/settings

Links
http://www.yajhfc.de/
http://wiki.xtronics.com/index.php/Faxfrontend
http://www.yajhfc.de/downloads/deb-packages
http://developer.berlios.de/forum/forum.php?forum_id=34299

Ubuntu 24.04 Noble Numbat LTS

ReleaseNotes / Known issues
https://wiki.ubuntu.com/NobleNumbat/ReleaseNotes

Download
Releases: http://releases.ubuntu.com/24.04/
Torrent: http://releases.ubuntu.com/24.04/ubuntu-24.04-desktop-amd64.iso.torrent
Cloud image (minimal): https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img

Repository

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

sudo apt update

Install python2 under Ubuntu 24.04

sudo apt install zlib1g-dev
wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz
tar xzf Python-2.7.18.tgz
cd Python-2.7.18
sudo ./configure --enable-optimizations
sudo make altinstall
sudo ln -s /usr/local/bin/python2.7 /usr/bin/python2

Workaround

Gedit / Pluma text editor

# Gnome gedit2 add regex replace support
wget http://vaem.googlecode.com/files/gedit2_regex_replace_plugin.tar.gz -P /tmp
tar -xzf /tmp/gedit2_regex_replace_plugin.tar.gz -C /home/$USER/.gnome2/gedit/plugins/

# add YAML syntax support
wget -q http://dl.panticz.de/pluma/yaml.lang -O /tmp/yaml.lang
sudo cp /tmp/yaml.lang /usr/share/gtksourceview-2.0/language-specs/yaml.lang
sudo cp /tmp/yaml.lang /usr/share/gtksourceview-3.0/language-specs/yaml.lang

# Configure pluma
gsettings set org.mate.pluma editor-font "Ubuntu Mono 13"
gsettings set org.mate.pluma display-line-numbers true
gsettings set org.mate.pluma bracket-matching true
gsettings set org.mate.pluma insert-spaces true
gsettings set org.mate.pluma active-plugins "['docinfo', 'snippets', 'sort', 'filebrowser', 'changecase', 'quickopen', 'spell', 'time', 'modelines']"

/org/mate/pluma/active-plugins
  ['spell', 'modelines', 'sort', 'docinfo', 'trailsave', 'filebrowser', '', '']

# Configure Pluima as default text editor
# ~/.local/share/applications/mimeapps.list
[Default Applications]
text/plain=pluma.desktop

Huawei UMTS USB Stick

Mobile Connect Settings (under Mac OS X)

Profile Name: t-mobile
Access Point Name: internet.t-mobile
Telephone Number: *99***1#
Account Name: t-mobile
Password: tm
Authentication: CHAP

NetzClub APN

pinternet.interkom.de

disable pin on sim card

sudo mmcli -i 0 --disable-pin --pin=
#sudo apt-get install gsm-utils
#sudo gsmctl -d /dev/ttyACM0 -o unlock sc all YOUR_PIN_NUMBER

Links
http://blog.surgeons.org.uk/2008/02/three-cheers-for-vodafone.html
http://www.draisberghof.de/usb_modeswitch/
http://umtsmon.sourceforge.net/
http://www.bloggen.bwadewitz.eu/?p=95
http://www.dc-files.com - firmware

Pagination

  • Previous page
  • 4
  • Next page
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