Tag Archives: linux

Raspberry Pi as a Stratum-1 NTP Server

This is something I found: http://www.satsignal.eu/ntp/Raspberry-Pi-NTP.html Essentially it requires pairing a Raspberry Pi with a NTPI Raspberry Pi GPS addon board On the software side of things you need rpi_gpio_ntp

Posted in IT development, Z1 | Tagged , , , , | Leave a comment

Resizing a Linux RAID

It is possible to migrate the whole array to larger drives (e.g. 250 GB to 1 TB) by replacing one by one. In the end the number of devices will be the same, the data will remain intact, and you … Continue reading

Posted in Linux, Z1 | Tagged , , , , | Leave a comment

DVD archiving

This is my simple procedure for backing up my DVD movies: Examine the DVD: dvdbackup -i /dev/sr0 -I Create a full backup: dvdbackup -i /dev/dvd -o ~ -M Creating an ISO: mkisofs -dvd-video -udf -o ~/dvd.iso ~/movie_name Testing the newly … Continue reading

Posted in IT Multimedia, Z1 | Tagged , , , | Leave a comment

wp-cron and cron

Normal WordPress operation has a cron like functionality that runs scheduled tasks as users visit the blog. It is possible to replace this with a standalone cron (like UNIX cron). To disable the “webcron” (i.e. trigerring tasks as URLs are … Continue reading

Posted in WordPress, Z1 | Tagged , , , , | Leave a comment

Using wget with given IP/vhost

This is one neat trick. For vhosts you can connect with an IP yet provide the right host name with the following: wget http://1.1.1.1/ –header ‘Host: www.example.com’

Posted in Web, Z1 | Tagged , , , | Leave a comment

UNIX find with dates

-atime/-ctime/-mtime the last time a files’s access time, file status and modification time, measured in days or minutes. Time interval in options -ctime, -mtime and -atime is an integer with optional sign. n: If the integer n does not have … Continue reading

Posted in Linux, Z1 | Tagged , , , | Leave a comment

Enable local file caching for NFS share on Linux

In Linux, there is a caching filesystem called FS-Cache which enables file caching for network file systems such as NFS. FS-Cache is built into the Linux kernel 2.6.30 and higher. In order for FS-Cache to operate, it needs cache back-end … Continue reading

Posted in Linux, Z1 | Tagged , , | Leave a comment

Backing up GMail

The other day I found Gmvault. Gmvault is an open source Gmail backup software written in Python. This article provides a good overview on how it works (found it better than the Gmvault documentation): How to back up and restore … Continue reading

Posted in Cloud Services, Z1 | Tagged , , , , | Leave a comment

SSH Tricks

Forcing either IPv4 or IPv6 This is for the scenario that you know which specific protocol works to reach a particular host. Usually good to eliminate the delay for SSH to figure out to switch IP protocols. For IPv4: ssh … Continue reading

Posted in Linux, Z1 | Tagged , , , | Leave a comment

Remote VirtualBox

RemoteBox is a Remote VirtualBox UI. It is similar phpVirtualBox in that allows to manage VirtualBox remotely (on a potentially headless server). They differ in their requirements: RemoteBox does not require much on the server, but you need to install … Continue reading

Posted in Linux, Z1 | Tagged , | Leave a comment