Tag Archives: ubuntu

How to disable dnsmasq on ubuntu based distribution

dnsmasq is a lightweight DNS, TFTP, PXE, router advertisement and DHCP server. It is intended to provide coupled DNS and DHCP service to a LAN. From time to time dnsmasq decided to resolve some hosts over a VPN tunnel to their external IP address instead the internal one. This was quite annoying… After digging a … Continue reading How to disable dnsmasq on ubuntu based distribution

How to enable syntax highlighting in less

I wanted to have syntax highlighting for a php file I was debugging. Source-highlight given a source file, produces a document with syntax highlighting. These are the output formats already supported: HTML XHTML LATEX MediaWiki (new) ODF (new) TEXINFO ANSI color escape sequences (you can use this feature with less) DocBook These are the input … Continue reading How to enable syntax highlighting in less

Migrate from SVN to GIT – step by step tutorial

Lately I faced a new challenge. To fully migrate our SVN environment to GIT. After reading a little bit on internet I come up with this plan: Deploy a GIT server Create a new bare repository Make a SVN Clone on a different machine Push it on GIT server Assumptions: SVN Repository:¬†https://192.168.0.5/svn/documentation GIT Server: 192.168.0.22 … Continue reading Migrate from SVN to GIT – step by step tutorial

How to install the same debian packages on another system

The approach is simple: generate a list of installed packages on Debian-based systems and install this list of packages on the new box. This approach is useful when you want to install the same packages on another fresh OS install for example. 1. To export the list of installed packages, proceed as follows: The file … Continue reading How to install the same debian packages on another system

Paravirtulization with Citrix XenServer 5.5 and Ubuntu 9.10

Few days ago I had a task to P2V an old Ubuntu 9.10 machine. The P2V process was very easy and went smooth. The challenge was how to get this VM paravirtualized. After reading on the net how others have done this and what problems they had, I managed to finish my task pretty quick. … Continue reading Paravirtulization with Citrix XenServer 5.5 and Ubuntu 9.10

How to migrate a single disk Linux System to software RAID1

This guide explains how to set up software RAID1 on an already running Linux (Ubuntu 12.10) system. The GRUB2 bootloader will be configured in such a way that the system will still be able to boot if one of the hard drives fails (no matter which one). Preliminary Note In this tutorial I am using … Continue reading How to migrate a single disk Linux System to software RAID1