Anecdotes from a Linux Systems Administrator. /root

Home About Books Blog Portfolio Archive

Tag Cloud

Currently Reading

MCA Microsoft Certified Associate Azure Administrator Study Guide: Exam AZ-104
MCA Microsoft Certified Associate Azure Administrator Study Guide: Exam AZ-104
308 / 435 Pages

Latest Book Reviews

Latest Posts

January 28, 2012

Finding the UUID of all the hard drives in use

by Alpha01

[root@rubyninja bash]# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Dec 18 22:08 413d5856-7133-4101-b770-28fed3c1ab33 -> ../../sda1
Tags: [ centos ubuntu ]
January 24, 2012

Enabling NFTS read/write support on CentOS 5 Live CD

by Alpha01

rpm -Uvh
yum install fuse ntfs-3g
Tags: [ centos ]
January 11, 2012

Changing your Linux system's mac address

by Alpha01

ifconfig eth0 down hw ether 00:00:00:00:00:01
ifconfig eth0 up
Tags: [ networking security ]
January 7, 2012

Configuring Ubuntu server to automatically email package update notices

by Alpha01

Apticron will give you the ability to automatically email information about any packages on a Ubuntu system that needs to be updated.

Installing it and configuring it, is dead simply that even my six year old nephew can do it.

sudo apt-get install apticron

Now simply update the /etc/apticron/apticron.conf config with your email address. By default the cron entry gets added to run every day, /etc/cron.daily/apticron.

Unlike Red Hat’s yum-updatesd utility, the apticron also includes a summary information about the package’s update changes.

Tags: [ ubuntu ]
January 7, 2012

Compiling the Linux Kernel

by Alpha01

A snob Linux elitist would say, “You can’t call yourself a serious GNU/Linux user if you have never successfully compiled the Linux kernel at least once in your life.”

The following were the steps I made to compile the Linux kernel over 4 years ago (I just happened to find my reference text file that I saved, buried within my home directory).

1). Download kernel source code from

2). Extract kernel source.

3). Update EXTRAVERSION variable on Makefile.

4). (Only do steps 4 if a previous kernel compilation was made within this source tree) make mrproper (goes through the source tree and cleans out temp files)

make mrproper
make clean

5). make menuconfig (actual configuration of the kernel compilation. Creates .config file)

make menuconfig

6). make (performs the actual compilation. creates bzimage file. makes the modules)


7). make modules_install (install modules into /lib/modules)

make modules_install

8). make install (will automatically copy the kernel and initrd file to /boot and modify the boot loader config file)

make install

Reference one liner

make clean dep bzImage modules install modules_install
Tags: [ kernel ]