[Howto] bond network cards in Debian Linux (LACP)
If you want to add a bonded interface in Debian Linux, you don’t need the package ifenslave anymore. You can create/modify/delete the bonded interface completly through sysfs. at first load the required bonding-driver into kernel: modprobe ‘bonding’ create a … Continued
[Howto] resize (extend) a Virtualbox vdi image
Use the following Virtualbox command in your shell: (you must specifiy the target size in MB, for example 200 GB = 200000) VBoxManage modifymedium image.vdi –resize 200000 tested with: Virtualbox Version 5.0.24_Debian
[Howto] convert with Virtualbox from vmdk to vdi
Use the following Virtualbox command in your shell: VBoxManage clonehd old-file.vmdk converted-file.vdi –format VDI tested with: Virtualbox Version 5.0.24_Debian
[Howto] add menu entry in lxpanel (LXDE Desktop)
every menu entry is a text file with the suffix “.desktop“ example.desktop [space_20] the menu entries are located in two different folders: for all users (global): /usr/share/applications (note: you need root-privileges to edit this folder) for local user (local): ~/.local/share/applications … Continued
[Howto] enable direct updates in wordpress (disable ftp updates)
If you want to update wordpress themes or plugins and you are automatically redirected to the ftp-download-page, you can manually force wordpress to go in maintenance-mode and to download and update directly. For this you have to put the following … Continued
[Howto] bash script for gcc command (with custom path to GTK+ header-files and libraries)
#!/bin/bash gcc main.c -o main -I/usr/include/gtk-3.0/ \ -I/usr/include/glib-2.0/ \ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ \ -I/usr/include/pango-1.0/ \ -I/usr/include/cairo/ \ -I/usr/include/gdk-pixbuf-2.0/ \ -I/usr/include/atk-1.0/ \ \ -L/usr/lib/x86_64-linux-gnu \ \ -lgtk-3 \ -lgobject-2.0
[Howto] send a syslog message manually
the following commands send a syslog-message to the syslog-daemon with the syslog-facility=auth and syslog-priority=info: #to localhost’s syslog-daemon logger -p auth.info <message> #to a remote syslog-daemon logger -h <IP> -P <Port> -p auth.info <message>
[Howto] WordPress error “Download failed. There are no HTTP transports available…”
If you try to update a plugin or theme in WordPress and you get the error message: “Download failed. There are no HTTP transports available which can complete the requested request” you have to enable/install the PHP-plugins curl and openssl. … Continued
[Test] ZFS scrub speed
System: Intel Avoton 2558 4-core CPU, 32 GB DDR3 ECC RAM, 6 disk RAID-Z2 (WD30EZRX) Info: Scrubbing-speed is not constant, it raises after some time. it begins with 29,7 MB/s after 4 hours the average scrubbing-speed is 131 MB/s after … Continued
[Howto] Flashing “LSI SAS 9210-8i IT-firmware” to “Lenovo EBG Express ServeRAID M1015”
Disclaimer: All liability is excluded. Be careful, you can brick your card. 1st step: delete the original firmware (Lenovo, IBM, …) download megarec.exe and sbrempty.bin copy both files on an DOS-bootable USB-stick and boot from it delete the oem … Continued