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

Android

http://www.panticz.de/android

Fastboot

fastboot devices

fastboot getvar all

fastboot flash recovery recovery.img
fastboot flash boot_a twrp-3.3.0-2-tissot.img
fastboot boot twrp-3.3.0-2-tissot.img

#fastboot reboot recovery
fastboot reboot emergency

# fastboot flashing unlock
fastboot oem unlock

#fastboot erase data

TWRP
https://twrp.me/faq/openrecoveryscript.html

adb reboot recovery

adb shell twrp wipe data
adb shell twrp wipe cache
adb shell twrp wipe dalvik
#adb shell twrp wipe system

ADB
https://developer.mozilla.org/de/Firefox_OS/Debugging/Installing_ADB

#dep?# sudo add-apt-repository -y ppa:nilarimogard/webupd8
sudo apt-get install android-tools-adb android-tools-fastboot

adb shell COMMAND
adb pull PATH
adb push FILE PATH

adb reboot edl

Recovery
https://techrrival.com/flash-recovery-adb-fastboot/

adb devices
adb reboot bootloader
# or
adb reboot-bootloader

Siteload image

adb sideload lineage-17.1-20200914-UNOFFICIAL-m7.zip

# install sdk

sudo apt-get install -y sun-java6-jdk
wget http://dl.google.com/android/android-sdk_r08-linux_86.tgz -P /tmp/
tar xzf /tmp/android-sdk_r*-linux_86.tgz -C ~/
echo "export PATH=\${PATH}:${HOME}/android-sdk-linux_86/tools" >> ~/.bashrc

# copy file to android
adb push /home/user1234/file.txt /sdcard

# ADB: error: insufficient permissions for device
adb kill-server
sudo adb start-server
adb devices

Control android from Linux
https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md

Strato HiDrive under Ubuntu

# create OpenVPN tunel
wget http://www.strato-faq.de/download/OpenVPN_HiDrive_config.zip -P /tmp
unzip /tmp/OpenVPN_HiDrive_config.zip -d /tmp/

cd /tmp/OpenVPN_config/

sudo openvpn /tmp/OpenVPN_config/hidrive.strato.com.ovpn
# smb (works only with OpenVPN tunel)

smb://smb.hidrive.strato.com/root

# ssh

sftp://USER_NAME@sftp.hidrive.strato.com/

# rsync

rsync -avzre "ssh" LOCAL_DIR YOU_USER_NAME@rsync.hidrive.strato.com:/users/YOU_USER_NAME/

# webdav

Browser: http://USER_NAME.webdav.hidrive.strato.com
Nautilus: dav://USER_NAME.webdav.hidrive.strato.com

# OPTIONAL: upload your ssh key

ssh-keygen -t rsa
push 3x [ENTER]

Login on: https://www.hidrive.strato.com/
Einstellungen
Kontenverwaltung
click on your rollup
OpenSSH-Schlüssel
Durchsuchen
select your local file: ~/.ssh/id_rsa.pub
Hinzufügen
OK
now you can use sftp and rsync without password prompt

# LINKS

https://www.hidrive.strato.com/
http://www.strato-faq.de/artikel.html?id=2286
http://www.strato-faq.de/artikel.html?sessionID=dbab5d45cd5a44fc5b8d5fd6b47ea30f&id=2301
http://www.strato-faq.de/artikel.html?sessionID=dbab5d45cd5a44fc5b8d5fd6b47ea30f&id=2385

Dosbox under Ubuntu

# dosbox.conf

[autoexec]

mount c /media/programme

c:
cd DB
TDB.EXE
exit

# run

dosbox -conf ./dosbox.conf

--- dosbox.conf ---
[autoexec]

KEYB GR

mount f /media/programme

f:

cd prog1
go1.exe

go2.exe

exit
-----------------------

# LINKS

http://www.dosbox.com/wiki/MOUNT

Acrobat Reader

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.acroread.sh";

echo "wget $URL -O - | bash -";
echo "<div><pre>";
</pre></div>

$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);

echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

# OPTIONAL:
sudo add-apt-repository "deb  http://archive.canonical.com/ubuntu $(lsb_release -sc) partner"
sudo apt-get -y install acroread-fonts

Install TeamViewer under Ubuntu

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.teamviewer.sh";

echo "wget $URL -O - | bash -";
echo "<div><pre>";
</pre></div>

$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);

echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

Install without daemon

wget https://download.teamviewer.com/download/linux/teamviewer_amd64.tar.xz -O /tmp/teamviewer_amd64.tar.xz
./tv-setup checklibs
sudo apt install -y libdbus-1-3 libqt5gui5 libqt5widgets5 libqt5qml5 libqt5quick5 libqt5webkit5 libqt5x11extras5 qml-module-qtquick2 qml-module-qtquick-controls qml-module-qtquick-dialogs qml-module-qtquick-window2 qml-module-qtquick-layouts

Ansible role
https://github.com/panticz/ansible/tree/master/roles/teamviewer/

Installation documentation
https://community.teamviewer.com/t5/Knowledge-Base/How-to-update-TeamViewer-on-Linux-via-repository/ta-p/30666

Restart daemon

sudo systemctl start teamviewerd.service

Documentation
$ teamviewer help
teamviewer Start TeamViewer user interface (if not running).
teamviewer help Print this help screen.
teamviewer version Print version information.
teamviewer info Print version, status, id.
teamviewer ziplog Create a zip containing all teamviewer logs (useful when contacting support).
teamviewer license [show|accept] Interactively agree or show/agree to End User License Agreement.
teamviewer setup Configure headless modes (non-gui/console)
teamviewer passwd [PASSWD] Set a password (useful when installing remote (ssh).
teamviewer daemon status Show current status of the TeamViewer daemon.
teamviewer daemon start Start TeamViewer daemon.
teamviewer daemon stop Stop TeamViewer daemon.
teamviewer daemon restart Stop/Start TeamViewer daemon.
teamviewer daemon disable Disable TeamViewer daemon - don't start daemon on system startup.
teamviewer daemon enable Enable TeamViewer daemon - start daemon on system startup (default).

Uninstall

Connect to MySQL DB

# ubuntu package
sudo apt-get install -y libmysql-java

path: /usr/share/java/mysql-connector-java.jar

# download
wget http://ftp.gwdg.de/pub/misc/mysql/Downloads/Connector-J/mysql-connector-java-5.1.12.tar.gz -P /tmp

# extract
tar xzf /tmp/mysql-connector-java-5.1.12.tar.gz -C /tmp/

# copy to your classpath
cp /tmp/mysql-connector-java-5.1.12/mysql-connector-java-5.1.12-bin.jar ~/NetBeansProjects/classpath/

# Netbeans
add Library / Jar File
select 
~/NetBeansProjects/classpath/mysql-connector-java-5.1.12-bin.jar

# create tatabase
create database java;
CREATE USER dbo_java IDENTIFIED BY 'java_test';
grant all on java.* to 'dbo_java'@'%' identified by "java_test"

# configure your mysql to allow acces from network
http://www.panticz.de/mysql


FIX missing driver
cp /usr/share/java/jtds-1.2.5.jar /var/lib/tomcat6/webapps/YOUR_APP/WEB-INF/lib/

Links
http://www.mysql.de/downloads/connector/j/
http://www.kitebird.com/articles/jdbc.html

Play BlueRay disc with Linux

Play BlueRay discs with Linux

# new 2
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential libc6-dev libssl-dev libgl1-mesa-dev libqt4-dev

cd /tmp

wget http://www.makemkv.com/download/makemkv_v1.6.3_bin.tar.gz
wget http://www.makemkv.com/download/makemkv_v1.6.3_oss.tar.gz
tar -xvf makemkv_v1.6.3_bin.tar.gz
tar -xvf makemkv_v1.6.3_oss.tar.gz

cd /tmp
cd makemkv_v1.6.3_oss

sudo make -f makefile.linux
sudo make -f makefile.linux install

cd /tmp
cd makemkv_v1.6.3_bin

sudo make -f makefile.linux
sudo make -f makefile.linux install
wget http://www.bultsblog.com/BluRay-plugin-v01a.zip
# new

http://code.google.com/p/swiss-army-knife/downloads/detail?name=makemkv-swiss-army-knife-32.tar.gz

# build makemkv
sudo apt-get install -y build-essential libc6-dev libssl-dev libgl1-mesa-dev libqt4-dev

cd /tmp

wget http://www.makemkv.com/download/makemkv_v1.5.6_beta_bin.tar.gz
wget http://www.makemkv.com/download/makemkv_v1.5.6_beta_oss.tar.gz
tar -xvf makemkv_v1.5.6_beta_bin.tar.gz
tar -xvf makemkv_v1.5.6_beta_oss.tar.gz

cd makemkv_v1.5.6_beta_oss

sudo make -f makefile.linux
sudo make -f makefile.linux install

cd ..
cd makemkv_v1.5.6_beta_bin

sudo make -f makefile.linux
sudo make -f makefile.linux install
# start stream

makemkvcon stream disc:0

# start play with XBMC / Boxee

http://YOUR_IP:8800/xbmcCmds/xbmcHttp?command=PlayFile(http://YOUR_IP:51000/stream/title0.m2ts)

Install docky, gnome-do, gnome-shell and zeitgeist

# install gnome-do
sudo add-apt-repository ppa:do-core/ppa
sudo apt-get update
sudo apt-get install gnome-do
# install zeitgeist
sudo add-apt-repository ppa:zeitgeist/ppa
sudo apt-get update
sudo aptitude install zeitgeist
# install gnome-shell
sudo add-apt-repository ppa:ricotz/testing
sudo apt-get install gnome-shell

gnome-shell --replace

# Links

http://wiki.go-docky.com/index.php?title=List_of_helpers
https://addons.mozilla.org/de/thunderbird/addon/72199 - Docky Unread Count (Thunderbird extension)

Skipfish

sudo apt-get install libidn11-dev libssl-dev
wget http://skipfish.googlecode.com/files/skipfish-1.29b.tgz -P /tmp
tar xzf /tmp/skipfish-1.29b.tgz -C /tmp
cd /tmp/skipfish
make
cp dictionaries/default.wl /tmp/skipfish/skipfish.wl
/tmp/skipfish/skipfish -o /tmp/x http://www.panticz.de

syslinux

echo 'APT::Cache-Limit "50331648";' >> /etc/apt/apt.conf

# add debian sid repository
cat < /etc/apt/sources.list.d/sid.list
deb http://ftp.de.debian.org/debian sid main
EOF
sudo apt-get update -qq

apt-get install -y --force-yes syslinux


rm /etc/apt/sources.list.d/sid.list
sudo apt-get update -qq

# on i386
wget http://ftp.de.debian.org/debian/pool/main/s/syslinux/syslinux-common_4.01+dfsg-1_all.deb -P /tmp

# on amd64
wget http://ftp.de.debian.org/debian/pool/main/s/syslinux/syslinux_3.86+dfsg-1_amd64.deb  -P /tmp

wget http://ftp.de.debian.org/debian/pool/main/s/syslinux/syslinux-common_4.01+dfsg-1_all.deb -P /tmp
dpkg -i /tmp/syslinux*.deb 

sudo install-mbr /dev/sdb


http://packages.debian.org/sid/i386/syslinux/download

mount /dev/sdb1 /mnt/
mkdir -p /mnt/boot/syslinux
syslinux -f -d /boot/syslinux /dev/sdb1
umount /mnt

Links
http://syslinux.zytor.com/wiki/index.php/SYSLINUX#Linux
http://packages.debian.org/sid/i386/syslinux/download

Pagination

  • First page
  • Previous page
  • …
  • Page 41
  • Page 42
  • Page 43
  • Page 44
  • Page 45
  • Page 46
  • Page 47
  • Page 48
  • Page 49
  • Next page
  • Last page
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