Tag Cloud
Currently Reading
Latest Book Reviews
- Rancher Deep Dive Posted on March 31, 2023
- Leveraging Kustomize for Kubernetes Manifests Posted on March 24, 2023
- Automating Workflows with GitHub Actions Posted on October 13, 2022
- Deep-Dive Terraform on Azure Posted on August 30, 2022
- Effective DevOps Posted on January 5, 2022 All Book Reviews
Latest Posts
- Finding the UUID of all the hard drives in use Posted on January 28, 2012
- Enabling NFTS read/write support on CentOS 5 Live CD Posted on January 24, 2012
- Changing your Linux system's mac address Posted on January 11, 2012
- Configuring Ubuntu server to automatically email package update notices Posted on January 7, 2012
- Compiling the Linux Kernel Posted on January 7, 2012
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
centos
ubuntu
]
January 24, 2012
Enabling NFTS read/write support on CentOS 5 Live CD
by Alpha01
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
yum install fuse ntfs-3g
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
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.
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 https://www.kernel.org.
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)
make
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
kernel
]