Sanitarium by Zac Dreyer

Archive for the ‘Linux’ Category

Quick and easy way to install LAMP on Ubuntu 13.10

Monday, February 10th, 2014

LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform that uses Linux as operating system, Apache as the Web server, MySQL as the relational database management system and PHP as the object-oriented scripting language. This guide will help you get it installed pretty quickly on Ubuntu 13.10, it may work on […]

How to get Wine, Windows MySQL Connector/ODBC and Ubuntu 13.10 to all be friends

Monday, February 10th, 2014

I recently had the pleasure of trying to get these three to be friends in order to get a Windows database driven app to function correctly. After much research and loads of trial and error, I finally realized that 90% of the posts out there were useless as they all pointed you in the direction […]

XenServer: Export / Import a VM

Monday, November 25th, 2013

This is mirror of a post I used to reference often until the site went down. The original article was, and hopefully will be again, available at: — I have recently started working with Citrix XenServer a fair bit and had to figure out how to move a bunch of VM’s from 1 Xen […]

How to install and configure a file server using CentOS 6.4, Samba and external drives

Friday, August 2nd, 2013

I am going to assume a few things here, firstly that you have a functioning and network ready CentOS 6.4 server. Secondly that you have a basic understanding of Linux commands and the Linux file structure. If you do not have either you might want to reach that point before continuing with this tutorial. Server […]

How To reset the root password in XenServer versions 5.0 and later

Monday, March 4th, 2013

I recently had an issue where a USB drive attached to Xen Server incorrectly disconnected so the server was throwing disk check failure and requesting I enter maintenance mode to resolve. The root password was obviously required to enter maintenance mode. For some or other reason XEN Server root password had been lost or did […]

Delete multiple remote files and directories via ftp

Friday, December 28th, 2012

Having to delete multiple files or directories on a remote server via shell ftp can be a tad annoying. delete [filename] and rmdir [directory] is just going to get a tad much, specifically when you have you have files within directories and sub-directories. The solution to this one is finding a way to recursively delete […]

CentOS: yum “Couldn’t resolve host ‘'”

Sunday, December 9th, 2012

I ran into an interesting issue with my fresh CentOS 6.3 install and yum. After configuring my eth0 I could ping any URL but when trying to run a yum update I get the following: [root@hellrider ~]# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist error was […]