the IT my bike and me…

is a PC with Single Core CPU sufficient in 2018?



RAM: 512MB DDR1 PC400

CPU: Socket 939 AMD Athlon 64 xxxx+

HD: Seagate 1TB




to be continued


getting started with Fedora 24


dnf upgrade
dnf install htop zsh vim chromium tmux python3
python3 -m pip install --upgrade pip
python3 -m pip install selenium bs4 demjson ipdb
unzip chrome*
mv chrome* /somewhere/in/PATH
PYTHONPATH="path to TestAutomation folder"
systemctl start sshd
systemctl enable sshd

CTRL + b ” = new horizontal pane
CTRL + b + % = new vertical pane
CTRL + b + left/right/up/down = set focus to different pane
CTRL + b C = new window
CTRL + b 0 = switch to window 1
CTRL + b n/p = switch to next/previous window





set-option -g mouse on

Installation of GlassFish under Debian Wheezy

It is always a good idea to check the manual.

1. Install Oracle Java 8

2. Download GlassFish Setup as zip

3. Copy the zip file to your Server. This can be done with WinSCP for example.
It is also possbile to directly download the file with wget <URL>.

4. For the extraction of the archive you will need the program unzip.
You can install it with the command apt-get install zip.

5. Extract the archive with unzip glassfish*.zip.

6. The default domain can be started from folder glassfish4/bin with ./asadmin start-domain.

7. Change the admin password ./asadmin change-admin-password (defaults are admin with no password).

8. Enable secure admin login ./asadmin –host localhost –port 4848 enable-secure-admin.

9. And restart the domain ./asadmin restart-domain.

10. Your GlassFish server can now be accessed through https://servername:4848 in your browser.

Thanks to Brandon Kearns for his Java EE and Glassfish video, which was an inspiration for this post.

Backup with dd over ssh

You can do something like this to Backup a complete harddisk.

dd if=/dev/sdb | gzip | ssh dd of=/backup/drive.img.gz

Android Apps

What’s on my Android phone:

Aix Weather:
Eye In Sky:
NFC ReTag FREE (2.5):
Podcast HD:
Pst! Klingelton Reaktivierer:
Strava Cycling:
Advanced Task Killer Free:
Amazon Kindle:
Dolphin Browser:
MX Player:
Pkt Auctions für eBay:
Taschen lampe:
TuneIn Radio:
VLC Direct Pro Free:

Chromium Extensions

Chromium Extensions

installed chromium extensions

How a proper fstab looks like

# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb1 during installation
UUID=6e8f8c45-ff42-4171-98bd-7961c34ce5a3 / jfs noatime,errors=remount-ro 0 1
# /home was on /dev/sda7 during installation
UUID=05ac5543-c3f8-44d7-9101-8c31fb5e24c0 /home ext4 noatime 0 2
# /usr was on /dev/sda6 during installation
UUID=9747db2b-cb9b-4ade-8e2c-bbb13fc1b4ab /usr jfs noatime 0 2
# /var was on /dev/sda5 during installation
UUID=f85b4589-2982-4268-a4e7-77ce74fb1dbf /var jfs noatime 0 2
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sda2 /mnt/win ntfs users 0 0
//server/Daten_Raid5 /mnt/daten_raid5 cifs credentials=/home/much/.smbcredentials,uid=1000,gid=1000 0 0
sshfs#root@VDR:/var/lib/video.00 /mnt/vdr fuse uid=1000,gid=1000,umask=0,allow_other,noauto 0 0


Looks like this when mounted:

Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf

/dev/disk/by-uuid/6e8f8c45-ff42-4171-98bd-7961c34ce5a3 7,5G 253M 7,2G 4% /
/dev/sda7 54G 1,2G 50G 3% /home
/dev/sda6 12G 3,5G 7,9G 31% /usr
/dev/sda5 9,9G 615M 9,3G 7% /var
/dev/sda2 857G 382G 475G 45% /mnt/win


After Debian Wheezy Installation (Desktop)

I recommend to do the following:

  • add your user to the sudo group with adduser username sudo – be sure to log your user out and in again, otherwise the changes do not take effect. From now on you can use sudo instead of logging in with user root each time.
  • add the following lines to your /etc/apt/sources.list to a) get firefox browser from the linux mint repository b) get the non-free repository, where firmware and other “bad”(actually necessary) things may be found

# fuer firefox

deb debian import

# non-free

deb wheezy main contrib non-free

deb-src wheezy main contrib non-free

  • install some useful things with apt-get update && apt-get install htop powertop smartmontools zsh vim mplayer moc vlc xine-ui firefox chromium-browser 
  • if you want the original Adobe Flash player sudo apt-get install flashplugin-nonfree
  • of course (*sigh*) you have to install something extra if you want to mount an ordinary SMB-Share 😦   apt-get install cifs-utils (usage:sudo mount -t cifs //serveraddress/sharename /your/desination_path -o user=username)
  • it is also possible to use sshfs to access files on other linux machines on your network: install with apt-get install sshfs and add your user to fuse group: /usr/sbin/adduser username fuse
    or you can do it like this (german)
  • if you want to change your default shell to zsh use command chsh (without parameters) for this – you will be prompted for the root password and the path to the shell you wish to use – in my case /usr/bin/zsh after this is done close your terminal and reopen it – zsh should then be started automactically
  • for my laptop (Samsung Chronos 700Z3C) it was also necessary to install additional firmware for my wifi-card with apt-get install firmware-iwlwifi
  • now you can tune your Gnome 3 Desktop – go to to customize it. I use: Alternate Tab, Axe Menu, Battery remaining time and percentage, Coverflow Alt-Tab, Frippery Shut Down Menu, Places Status Indicator, Recent Items, Status Area Horizontal Spacing. (I killed the Bluetooth icon through a config file)

Server Project

I am planning to re-use my old PC rig as a server system with the following tasks/services:

  • fileserver (Raid 5 with 3 HDs / Samba / NFS v4)
  • virtualization server (Xen through XCP)
  • wake on LAN feature
  • vnstat
  • music playing daemon MPD (DomU)
  • ownCloud (DomU)

Installation (29.03.2013):

  • debian-wheezy-DI-rc1-amd64-netinst.iso
  • Raid 5 – 640GB with 3x 320GB partitions as jfs – mountpoint /srv/raid5
  • 76GB / as jfs and 4GB swap
  • Additional software: SSH Server / File Server / System Tools
  • apt-get install htop vim vnstat ntp ntpdate lm-sensors hddtemp
  • Install the Dom0 via XCP (apt-get install xcp)
  • Add your user with smbpasswd -a <USERNAME> before starting samba

Update (05.04.2013):

  • Upgraded the machine to 4GB of Ram
  • No Errors found on a full Memtest86 check

Update (06.04.2013):

  • Upgraded the machine to 6GB of Ram (yeah again +2GB…)
  • Bios Upgrade(v1.0 ->v1.8) via DOS-Bootstick
  • disabled open-iscsi service “update-rc.d open-iscsi disable”
  • added “dhclient xenbr0” to /etc/init.d/rc.local
  • /etc/network/interfaces must look like this for dhcp to work:

auto lo xenbr0

iface lo inet loopback

iface xenbr0 inet dhcp

bridge_ports eth0

Update (07.04.2013):

  • Although I applied this to my Win7 Notebook, performance through Samba still sucks (19MB/s; smbd goes to 100% CPU)
  • this mess could be resolved with 2 optimizations: 1) set “debug level = 0” (was on “5”)  2) add “SO_RCVBUF” and “SO_SNDBUF” socket options

workgroup = LAN
server string = Matthias’ Server
security = user
encrypt passwords = Yes
guest account = nobody
socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
disable netbios = yes
wins support = no
log file = /var/log/samba/%m.log
max log size = 500
debug level = 0

Update (13.04.2013):

Update (21.04.2013):

Update (29.04.2013):

  • resized the VDI of my Debian Wheezy DomU to 40GB with the help of this reference

(had to start and stop the VM before, otherwise it didn’t work)


  • activate Option LAN Boot Rom in Bios

Update (25.01.2014):

Illumos (OpenIndiana)

What to do after a fresh installation of Illumos:

  • if pfexec (tool similar to sudo) does not work out of the box:                        usermod -P "Primary Administrator" <username>
  • install gcc via the Illumos Package Manager
  • don’t search for locateslocate should already be installed