Scripting in Bash

Simple Ping Monitor – Windows

Just a simple script thrown together to record the time and date of an outage on a server using ping from a Windows machine. You can view the data in Excel from this script if you set excel to separate the file using carriage returns. @ECHO OFF echo Monitoring Server

Read more
All HowTo's

Configure NTP Client Gentoo

Just a quick reference for setting up your Gentoo server to get its time from an NTP server either local or on the Internet. Get NTP onto the machine emerge –ask -jv ntp Edit the NTP config vi /etc/ntp.conf Comment out the servers that you do not need and add

Read more
All HowTo's Linux Redhat, Fedora and CentOS Linux Ubuntu, Mint & Debian Linux Virtualization

Migrate a VirtualBox Disk Image (.vdi) to a QEMU Image (.img)

A very simple task with the correct tool, the tool in question is qemu-img. This tool is pulled in when you install QEMU on Gentoo,Redhat and Ubuntu however on Redhat and Ubuntu there is a separate package for it also. On Gentoo if you only wanted qemu-img and nothing else

Read more
All HowTo's

Resetting a forgotten Owncloud password

To reset a forgotten owncloud password (Including the admin account) you can do the following. As root on your server enter the following command replacing $USER with the username of the account sudo -u www-data php /var/www/html/owncloud/occ user:resetpassword $USER You will be prompted to enter a new password and then

Read more