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 OpenElec PXE TFTP boot

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

echo "wget -q --no-check-certificate $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 "";

?>

Configuration

# create autostartfile

storage/00252233d9d1/.config/autostart.sh

# xbmc config

storage/00252233d9d1/.xbmc/userdata/guisettings.xml

# configure remote

storage/00252233d9d1/.xbmc/userdata/keymaps/Keymap.xml

# system lirc / keyboard config
/usr/share/xbmc/system

Links
http://openelec.tv/get-openelec

Linux Kernel benchmark results

Results extract
8x
real 0m22.993s
user 0m20.720s
sys 0m9.100s

2600
real 0m11.023s
user 0m10.773s
sys 0m1.548s

Quad-Core AMD Opteron(tm) Processor 2347 HE (4x)
real 0m31.517s
user 0m29.330s
sys 0m5.500s

Intel(R) Xeon(R) CPU E5-1650 0 @ 3.20GHz (12x)
real 0m11.230s
user 0m11.185s
sys 0m0.584s

2400 (amd64)
real 0m36.775s
user 0m29.718s
sys 0m3.376s

2400 (dom0)
real 0m39.682s
user 0m32.146s
sys 0m6.668s

2400 (domU)
real 0m39.397s
user 0m32.314s
sys 0m6.708s

2400 amd64 1core
real 15m40.146s
user 14m41.987s
sys 1m34.486s

2400 dom0 1 core
real 17m36.938s
user 15m8.849s
sys 3m16.648s

2400 amd64 2 core
real 8m9.580s
user 14m47.403s
sys 1m39.838s

2400 dom0 2 core
real 9m17.205s
user 15m19.617s
sys 3m25.037s

Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz (Dual socket 2x 12)
real 0m14.903s
user 0m14.877s
sys 0m0.932s

Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (extract)
real 0m10.711s
user 0m10.661s
sys 0m0.592s

Intel(R) Xeon(R) CPU E31275 @ 3.40GHz
real 0m10.531s
user 0m10.513s
sys 0m0.716s

Compile single core
8x
real 10m10.814s
user 8m30.330s
sys 1m3.050s

AMD Athlon(tm) X2 Dual Core Processor BE-2400 (2 core)
real 15m1.344s
user 13m23.778s
sys 1m25.857s

2600
real 6m49.296s
user 6m24.936s
sys 0m37.874s

Quad-Core AMD Opteron(tm) Processor 2347 HE (4x)
real 17m42.093s
user 15m15.260s
sys 1m43.370s

Intel(R) Xeon(R) CPU E5-1650 0 @ 3.20GHz (12x)
real 7m8.080s
user 6m1.343s
sys 0m43.571s

Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz (1x)
real 7m10.401s
user 6m3.999s
sys 0m47.039s

Intel(R) Xeon(R) CPU E5645 @ 2.40GHz (1x)
real 9m9.715s
user 7m43.290s
sys 0m39.340s

Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz (Dual socket 2x 12)
single
real 9m5.139s
user 7m50.973s
sys 0m53.519s

Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (single core)
real 6m45.798s
user 5m55.910s
sys 0m33.274s

Intel(R) Xeon(R) CPU E31275 @ 3.40GHz
real 6m31.963s
user 5m38.065s
sys 0m34.722s

Compile multicore
amd8x (8)
real 2m9.966s
user 13m56.180s
sys 1m14.190s

AMD Athlon(tm) X2 Dual Core Processor BE-2400 (2 core)
real 7m46.407s
user 13m20.810s
sys 1m25.769s

2600 (8)
real 1m32.145s
user 10m46.932s
sys 0m46.923s

Quad-Core AMD Opteron(tm) Processor 2347 HE (4x)
real 3m58.058s
user 13m2.270s
sys 1m10.470s

Intel(R) Xeon(R) CPU E5-1650 0 @ 3.20GHz (12x)
real 1m3.192s
user 10m16.151s
sys 0m43.691s

Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz (32x)
real 0m29.367s
user 10m38.836s
sys 0m51.827s

Intel(R) Xeon(R) CPU E5645 @ 2.40GHz (24x)
real 0m49.441s
user 14m2.550s
sys 1m3.300s

Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz (24x, dual socket 2x 12)
real 0m45.677s
user 13m38.707s
sys 1m5.080s

Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (multicore 8x)
real 1m27.512s
user 9m59.665s
sys 0m40.419s

Intel(R) Xeon(R) CPU E31275 @ 3.40GHz (multicore 8x)
real 1m28.220s
user 10m1.358s
sys 0m40.291s

Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (2 core + HT) extract
real 0m15.271s
user 0m15.353s
sys 0m0.948sResults extract
8x
real 0m22.993s
user 0m20.720s
sys 0m9.100s

Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz (2x)
real 0m23.250s
user 0m20.697s
sys 0m2.840s

2600
real 0m11.023s
user 0m10.773s
sys 0m1.548s

Quad-Core AMD Opteron(tm) Processor 2347 HE (4x)
real 0m31.517s
user 0m29.330s
sys 0m5.500s

ESP32 / ESP8266

ESP32
https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32/esp32-devkitc/user_guide.html

ESP8266
https://esphome.io/components/esp8266/
https://lastminuteengineers.com/esp8266-pinout-reference/
https://lastminuteengineers.com/wemos-d1-mini-pinout-reference/

ESPHome
https://esphome.io/guides/installing_esphome/
https://esphome.io/components/wifi/#configuration-variables

sudo apt install -y python3.14-venv
python3 -m venv venv
source ~/venv/bin/activate

pip install esphome -U

Modbus

sudo usermod -a -G dialout $USER
# login

# flash over USB
esphome run sinilink-modbus.yaml  --device /dev/ttyUSB0

# flash over network
esphome run sinilink-modbus.yaml --device  192.168.178.23

Backup / read flash

esptool --chip esp8266 --port /dev/ttyUSB0 read_flash 0x00000 0x400000 firmware_dmp.bin

Restore / write flash

esptool.py --chip esp8266 --port /dev/ttyUSB0 write_flash 0x000000 firmware_dmp.bin

Magento: Vertical Category Navigation (RicoNeitzel_VertNav)

Fix VertNav Category selection
<?php
$URL="http://www.panticz.de/sites/default/files/magento/VertNav/VertNav_getCurrentCategory.diff";

echo "<div><pre>";
</pre></div>
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

remove duplicate base files

rm -r /var/www/app/design/frontend/base/default/template/vertnav/

Links
http://www.magentocommerce.com/magento-connect/vertical-navigation-with-css-classes.html - Download on Magento Connect
http://www.magentocommerce.com/boards/viewthread/244440/#t359105 - Bug report "Blocks HTML output cache error"

Instal twinkle

https://packages.ubuntu.com/search?keywords=twinkle

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

Links
https://bugs.launchpad.net/ubuntu/+source/twinkle/+bug/1297649

Install DLNA server under Debian / Ubuntu Linux (MiniDLNA)

# configure domU

[ -z $DOMAIN_NAME ] && DOMAIN_NAME=dlna
[ -z $DOMAIN_MAC ] && DOMAIN_MAC=00:d1:1a:00:00:00
[ -z $DOMAIN_RAM ] && DOMAIN_RAM=256Mb
[ -z $DOMAIN_HDD ] && DOMAIN_HDD=2Gb

# create domU

http://www.panticz.de/DomU-Debian-Sid

# add repository (squezze only)
if [ $(lsb_release -cs) == "squeeze" ]; then
echo "deb http://ftp.de.debian.org/debian sid main" > /etc/apt/sources.list.d/sid.list
apt-get update

fi

# install minidlna
apt-get install -y minidlna
# remove repository (squezze only)
if [ $(lsb_release -cs) == "squeeze" ]; then
rm /etc/apt/sources.list.d/sid.list
apt-get update

fi

# configure
sed -i 's|#friendly_name=|friendly_name=MiniDLNA|g' /etc/minidlna.conf
# rebuild database

/etc/init.d/minidlna stop
minidlna -f /etc/minidlna.conf -R -d
/etc/init.d/minidlna start

# restart

/etc/init.d/minidlna restart

# web interface

http://YOUR_SERVER_IP:8200/

# todo

diff /etc/minidlna.conf.conf /etc/minidlna.conf
14c14,16
media_dir=/opt
---
> #media_dir=/opt
> media_dir=V,/media/video
> media_dir=A,/media/music

# default media dir

/var/lib/minidlna

# enable debug
sed -i 's|#log_level=warn|log_level=debug|g' /etc/minidlna.conf
sed -i 's|DAEMON_ARGS="-f $CONFIGFILE -P $PIDFILE $DAEMON_OPTS"|DAEMON_ARGS="-d -f $CONFIGFILE -P $PIDFILE $DAEMON_OPTS"|g' /etc/init.d/minidlna
# Links

http://wiki.ubuntuusers.de/MiniDLNA
http://zeldor.biz/2012/01/dlna-minidlna-on-debian/ - DLNA – miniDLNA on Debian

Auto install Xen Dom0 server with RAID1 and LVM2 under Debian Squezze

# get Debain boot files for PXE

http://www.panticz.de/Debian

# PXE net boot file

http://installit.googlecode.com/hg/preseed/debian-preseed.seed

# 1th stage

http://www.panticz.de/pxe/preseed/xen.seed

# 2th stage

http://www.panticz.de/pxe/preseed/rc.local

# 3th stage

http://www.panticz.de/pxe/preseed/late_command.txt

# configure locale (broken)

http://installit.googlecode.com/hg/scripts/fix.locale.sh

# install xen

http://code.google.com/p/installit/source/browse/install.xen.sh

Create Boot CD
http://www.panticz.de/Ubuntu_customized_preseed_NetBoot_CD

AX88772A Fast Ethernet USB Adapter

Set fixed ethernet device

cat <> /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ATTR{address}=="00:11:22:33:44:55",KERNEL=="eth*", NAME="eth1"

EOF

Configure IP

cat <> /etc/network/interfaces

auto eth1
iface eth1 inet dhcp
EOF

lsusb
...
Bus 002 Device 003: ID 0b95:772a ASIX Electronics Corp. AX88772A Fast Ethernet
...

lsmod | grep asix
asix 27650 0
usbnet 31879 1 asix

Perfomance

scp root@srv:/media/ubuntu-13.04-desktop-amd64.iso /tmp/

ubuntu-13.04-desktop-amd64.iso 100% 785MB 9.9MB/s 01:19

XEN: Install Hypervisor (Dom0) under Debian

Install
[embed_url: "https://raw.githubusercontent.com/panticz/installit/master/install.xen.sh"]

Enable XL toolstacks

sed -i 's|TOOLSTACK=|TOOLSTACK=xl|g' /etc/default/xen

configure perfomance
http://wiki.xen.org/wiki/Credit_Scheduler
xm sched-credit
xm sched-credit -d www -w 512

# OPTIONAL: sync time
apt-get install -y ntpdate

ntpdate ntp.ubuntu.com
hwclock --systohc

rm /etc/cron.daily/ntpdate
# updae bootstrap

http://www.panticz.de/update_debootstrap

# manually update xen-create-image
wget http://ftp.de.debian.org/debian/pool/main/x/xen-tools/xen-tools_4.3.1-1_all.deb -O /tmp/xen-tools_4.3.1-1_all.deb
dpkg -x /tmp/xen-tools_4.3.1-1_all.deb /tmp/
mv /usr/bin/xen-create-image /usr/bin/xen-create-image.org
cp /tmp/usr/bin/xen-create-image /usr/bin/xen-create-image
# OPTIONAL: enable ip forward in dom0
cp /etc/sysctl.conf /etc/sysctl.conf.org
sed -i 's|#net.ipv4.ip_forward=1|net.ipv4.ip_forward=1|g' /etc/sysctl.conf
# OPTIONAL: PCI delegation

http://www.panticz.de/xen_pci_delegation

# reboot

reboot

# Ubuntu Xen Dom0
apt-get install -y xen-hypervisor-4.2-amd64 xen-tools
# LINKS

http://wiki.debian.org/Xen
http://wiki.xensource.com/xenwiki/XenBestPractices
http://www.panticz.de/configure_network_bridge
http://www.panticz.de/update_debootstrap
http://www.chrisk.de/blog/2008/12/how-to-run-xen-in-ubuntu-intrepid-without-compiling-a-kernel-by-yourself/
http://wiki.debian.org/Xen
https://help.ubuntu.com/community/Xen

Autostart script from USB device with Udev

Create Udev rule
[embed_url: http://dl.panticz.de/udev/autorun/70-persistent-usb_autorun.rules]

Create autorun wrapper
[embed_url: http://dl.panticz.de/udev/autorun/usb_autorun.sh]

Create autorun.sh script on your USB device (example)
[embed_url: http://dl.panticz.de/udev/autorun/autorun.sh]

Pagination

  • First page
  • Previous page
  • …
  • Page 34
  • Page 35
  • Page 36
  • Page 37
  • Page 38
  • Page 39
  • Page 40
  • Page 41
  • Page 42
  • …
  • 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