A Journey of a Thousand Miles Begins with a Single Step

Switching remote git repositories from HTTPS to SSH

If you access the git repository via HTTPS you have to provide each time authentication data. Switching to SSH is more convenient and secure. After adding your public SSH key to the repository in GitHub (or any other) you can access the repository with SSH. To switch your local git repository:

Read more

Unknown host accessing Atlassian Stash

Atlassian Stash default server setting for SSH is port 7999. If you switch the git repository to SSH access, your client may reject the SSH connection.

Read more

Create SSH keys with PuTTYgen

If you are “forced” to use Windows, Putty provides with PuTTYgen the possibility to create SSH keys. It can also convert existing keys from OpenSSH. The keys will be available to the Putty ssh agent - pageant.

Read more

Push existing code to remote git repository

For the situation you have created a remote (master) repository on GitHub, BitBucket or OpenHub.

Read more

Setup WLAN for Raspberry Pi

This post explains how to setup a WiFi (WPA prototcol) connection on Raspbian. You will need an USB WiFi dongle attached to the Raspberry Pi.

Read more

Setup file-server for Windows

We enable the Raspberry Pi as file server for Windows. To achieve that we need to install Samba. Samba allows windows clients to access the Raspberry Pis attached storage devices. All commands need root privileges, if you are working as user gain privileges by adding sudo before each command.

Read more

Setup torrent server with Web Interface for Raspberry Pi

Using Raspberry Pi is a comfortable and cheap way to run a private NAS server. Besides FTP support, this article demonstrates how to run a torrent application on Raspberry Pi. We have no X-Server support, so a web user interface is needed. I choose deluge, an open source bit-torrent client, that provides a web gui. Above picture shows using the web ui deluge to download the current stable release of Debian Jessie.

Read more

Enable swap for Raspberry Pi

When you migrate your root to an external usb hdd, the next step is to enable swap.

Read more

Use external hard-drive as root filesystem for Raspberry Pi

My intention is to run a web and file server with Raspberry Pi (rpi). The micro SD-card is unfit by its capacity and lifetime (write cycles). To avoid that the primary SD-card will wear out too fast, we have to extend the storage. Raspberry Pi offers the capability to connect to further external storage over USB. I assume to keep costs low, they offer only USB 2.0 instead of USB 3.0. Since I have a two old external USB 2.5 HDD and an USB 2.0 Hub it fits perfectly the purpose. The USB hub has a separate power supply and powers the external hdd. The hdd are connected with the rpi over the hub. As side note, you could also use a USB 3.0 external HDD, but it will operate with USB 2.0 speed.

Read more