Currently browsing tag

linux

Encrypt files using GPG, seahorse and nautilus

What this how-to covers: Setting up seahorse/nautilus integration Generating a GPG key using a terminal Using the key with nautilus-seahorse plugin to encrypt/decrypt files What this how-to does not cover: Everything else, including: What is PGP,GPG,RSA and how does it work? If you are not familiar with these topics or …

Resize VirtualBox Disk (.vdi)

  Anpassung im Host-System Um die virtuelle Festplatte einer virtuellen Maschine zu vergrößern braucht es nur einen Befehl: (Für Linux-Hosts) VBoxManage modifyhd YOUR_HARD_DISK.vdi –resize SIZE_IN_MB daher um “ubuntu.vdi” auf 100GB zu vergrößern: VBoxManage modifyhd ubuntu.vdi –resize 102400 weil 1GB=1024MB   Anpassung im Guest-System Danach muss allerdings im Gast-System (wenn Linux) …

Network RAID with DRBD on Ubuntu

In this tutorial i will show you how to setup drbd on two Ubuntu machines. I used Ubuntu 12.04 and VirtualBox for this. first, make sure that the two machines can resolve the hostnames. You can do that by either using DNS or the “/etc/hosts” file. Server 1&2 “/etc/hosts”: 127.0.0.1 …

Linux UART With Perl

Thats a small program i wrote for debugging. Probably its useful for some of you too. Its the first version and only sends data from keyboard input. Interface and baudrate can be set in the file. Code: uart.txt (save as uart.pl and make executable) Please note that it needs root …