Ubuntu 15.04: Local Mirror for Offline Package Installation

What and Why

If you often install Ubuntu you will understand the benefits of a local Ubuntu repository. In the following I set up a mirror for Ubuntu Vivid 15.04 packages so that I can install on 64-bit and 32-bit PC's as well as Raspberry Pi. The mirror itself will reside on an Ubuntu 14.04 server and will update the mirror once a day, and I don't have to load the internet connection everytime I install a new OS or want a new package. 

Raspberry Pi: Share Ethernet Connection to Wifi Access Point

Raspberry Pi: Share Ethernet Connection to Wifi AP
This configuration assumes you will be connecting to the headless RPi via ssh over an ethernet connection. Let's say that the RPi's ethernet IP is 10.0.0.99, and the access point DHCP server will operate on 192.168.42.1

This procedure is based on an adafruit document and mixed with my own experience.

Povray: Installation and benchmark

Version 3.8.0 - Successful 2019-07-17

sudo apt-get update && sudo apt-get install g++ git cmake autoconf automake libsdl1.2-dev libboost-all-dev libboost-dev libboost-thread-dev zlib1g-dev libpng-dev libjpeg8-dev libz-dev libsdl-dev 
git clone -b release/v3.8.0 https://github.com/POV-Ray/povray.git 
cd povray/unix/ 
./prebuild.sh 
cd ..

[Static build:]

./configure \
COMPILED_BY="MichaelafSjaelland@gmail.com"   \
NON_REDISTRIBUTABLE_BUILD=yes   \
CLAGS="-O3 -Wall" CXXFLAGS="-O3 -Wall" \
LIBS="-lboost_system -lboost_thread -ldl -lmvec -lm"   \

Drupal 7: Move entire site to another host

STEP 1 of 2: EXPORT site

Assume you have a website at the excellent Pantheon (pantheon.io) and want to move it to Hostinger. (To move a site in the other direction, i.e. from Hostinger to Pantheon, have a look at this article instead). Assume also that your database name is MYDB, and your site is called MYSITE

1. Put the site into maintenence mode to stop traffic (database updates) to your site whilst moving:

Drupal 7: Theming with Omega4

Alfa Romeo Giulia GT 2000 Veloce is featured for the Drupal Theming with Omega4 without drush blog

Create a new theme called MYTHEME based on Omega4

This is the super-short version of how to get a Drupal theme up and running without benefit of drush. Whether you're a non-programmer or, like me, just don't have access to drush, you might find this relevant.

1. Copy Omega4's skeleton starter kit to the new site...

Tabula Smaragdina

Verum, sine mendacio, certum et verissimum:
Quod est inferius est sicut quod est superius, et quod est superius est sicut quod est inferius, ad perpetranda miracula rei unius.
Et sicut res omnes fuerunt ab uno, meditatione unius, sic omnes res natae ab hac una re, adaptatione.
Pater eius est Sol. Mater eius est Luna, portavit illud Ventus in ventre suo, nutrix eius terra est.
Pater omnis telesmi totius mundi est hic.
Virtus eius integra est si versa fuerit in terram.

Ubuntu 14.04 Server: Set up GNUMP server

NB! NB! NB! NB! NB! NB!
This article is undergoing a major re-write and testing. It is NOT consistent, coherent or correct!
Please do not use it yet!

Set up a GNUMP stack on Ubuntu Server 14.04: Galera, Nginx, Ubuntu, MariaDB, PHP

1. Set up nginx

Assuming web server IP is 10.42.0.75 and 3-node DB cluster is 10.42.0.62/63/64

First remove apache:

Fortune Favours the Boulder

Me on a rock

This first article features, appropriately, a picture of me.

This boulder is about half-way up Spitzkoppe in Namibia. I climbed this mountain in 1999, and this picture was captured with my very first digital camera, a Kodak DC-120.