How to install dhcp, dns, pxe on debian squeeze

Introduction This document describes how to install DHCP, DNS and PXE network services on a debian squeeze. For this tutorial I use a machine that has two network interfaces: eth0: 10.34.132.149/255.255.254.0 (WAN interface) eth1: 172.20.30.1/255.255.255.0 (LAN interface) To install a PXE server, you will need the following components: DHCP Server TFTP Server NFS/FTP/HTTPD server (to … Continue reading How to install dhcp, dns, pxe on debian squeeze

How to configure bind on CentOS 6.3

DNS stands for Domain Name System and is a a hierarchical distributed naming system for computers, services, or any resource connected to the Internet or a private network. In other words DNS translate human readable hostnames such as test.org into machine readable ip addresses such as 89.36.25.239. Preliminary notes – Server Name: ns.test.org – Server … Continue reading How to configure bind on CentOS 6.3

Entropy on linux

Introduction How to check entropy level: [codesyntax lang=”bash”] watch -n1 cat /proc/sys/kernel/random/entropy_avail [/codesyntax] If the value is to low (around 100) install haveged daemon How to install haveged on Linux Debian [codesyntax lang=”bash”] apt-get install haveged [/codesyntax] CentOS haveged daemon is available for CentOS via EPEL repository. First, we download and import the GPG keys … Continue reading Entropy on linux

How to install smartmontools on Citrix XenServer

Introduction Citrix XenServer 5.5, 5.6 and 6.0 are based on CentOS 5.4, but the smartmontools package is not available in the default Citrix repository, so it can’t be installed with yum install smartmontools (as it would be possible with any other CentOS distribution). Installation It is probably safest to use the same versions that were … Continue reading How to install smartmontools on Citrix XenServer

MDADM Cheat Sheet

Create a new RAID array Create (mdadm –create) is used to create a new array: [codesyntax lang=”bash”] mdadm –create –verbose /dev/md0 –level=1 –raid-devices=2 /dev/sda1 /dev/sdb2 [/codesyntax] or using the compact notation: [codesyntax lang=”bash”] mdadm -Cv /dev/md0 -l1 -n2 /dev/sd[ab]1 [/codesyntax] /etc/mdadm.conf /etc/mdadm.conf or /etc/mdadm/mdadm.conf (on debian) is the main configuration file for mdadm. After we … Continue reading MDADM Cheat Sheet

Create bitmaps for RAID device

It’s a good idea to create bitmaps for RAID device that are stored internally (storing bitmap files on other filesystems may result in serious problems). Bitmaps slightly impact throughput but significantly reduce the rebuilt time when the array fails. [codesyntax lang=”bash”] mdadm –grow /dev/mdX -b internal [/codesyntax]

How to transfer SMSs from Nokia E71 to Android

1. First of all install Nokia Ovi Suite version 2.1.1 (newer versions have a problem generating sqlite database) and sync messages. 2. Download and install Nokia2AndroidSMS. 3. Copy file C:\Documents and Settings\Administrator\AppData\Local\Nokia\Nokia Data Store\DataBase\MDataStore.db3 where you installed Nokia2AndroidSMS and press Convert. 4. A new file called sms_All Phones.xml will be generated. This file is supported … Continue reading How to transfer SMSs from Nokia E71 to Android

PXE boot/Kickstart CentOS 6.3 Install

A PXE install server allows your client computers to boot and install a Linux distribution over the network, without the need of burning Linux iso images, or human interaction. For this tutorial I use a machine that has two network interfaces: eth0: 10.34.132.149/255.255.254.0 (WAN interface) eth1: 172.20.30.1/255.255.255.0 (LAN interface) To install a PXE server, you … Continue reading PXE boot/Kickstart CentOS 6.3 Install