I found it very hard to find a guide to properly disable the nouveau driver so I can install the Nvidia driver on Fedora 20. This should help simplify the installation.
1. Install the kernel-devel and development packages for your running kernel.
yum -y install kernel-devel-`uname -r` kernel-headers-`uname -r`
yum groups mark-install “Development Tools”
yum groups install “Development Tools”
2. Blacklist the nouveau driver. This needs to be done to properly load the Nvidia driver. First, the module must be blacklisted on the system. The final step is to remove the nouveau driver from the kernel ram disk image.
echo “blacklist nouveau” >> /usr/lib/modprobe.d/dist-blacklist.conf
dracut -f -o nouveau
3. Boot into runlevel 3 with “nomodeset” on the kernel line in grub.cfg or add it to the kernel line in the grub boot menu. If you do not do this, you will see a black screen when you reboot.
4. Run the Nvidia installer
I felt like getting back into trying the latest kernel and wrote this article on how to compile the latest
Linux kernel from kernel.org. This was done on a machine running Fedora 20.
1. Download the sources from kernel.org
# wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.tar.xz
Continue reading Compiling the latest Linux kernel
This tutorial will show you how to configure an email server with SSL on EC2. Once setup, you can use your EC2 server as a Email relay.
I finally got OpenStack installed correctly after struggling with their documentation and the guides online. I wanted to share these steps with the everyone to ease the pain.
1. Install Epel Repo
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
Continue reading Installing OpenStack on CentOS
I purchased a new server and have been struggling with IO performance on a RAID 1 setup. I first tried RAID 5 but it was horrible. Through all my struggles, I found a few kernel and filesystem tunables that helped me out.
The virtual machines improved also. They were barely usable.
Filesystem Tweaks: /etc/fstab
Change your mount options to:
Linux Kernel tunables:
sysctl -w vm.swappiness=0
sysctl -w vm.dirty_background_ratio=5
sysctl -w vm.dirty_ratio=5
sysctl -w vm.vfs_cache_pressure=200
The dirty tunables controls the portion of memory that the kernel will store pages in. I decreased the value to 5 so that I will have more memory free. The cache_pressure tunable tells the kernel how to quickly free up the cache.
I use both Arch and CentOS in my environment so I made this easy tutorial that will show you how to setup a NIS client/server on Arch Linux and CentOS.
*NIS Clients will not need ypserv*
# pacman -S ypbind-mt yp-tools ypserv autofs
# yum -y install ypbind rpcbind ypserv autofs
First, select the virtual machine that you want to clone.
[root@redhat ~]# ls /etc/libvirt/qemu/*.xml
/etc/libvirt/qemu/cp1.xml /etc/libvirt/qemu/vcs5_sol_n1.xml /etc/libvirt/qemu/vcs6_lin_vvr_n3.xml
/etc/libvirt/qemu/rhel6.xml /etc/libvirt/qemu/vcs6_lin_vvr_n1.xml /etc/libvirt/qemu/vcs6_sol_n1.xml
Continue reading How to clone a KVM virtual machine on Linux
This guide describes basic to advanced use of Linux LVM.
Continue reading Basic Linux LVM
This is a guide on how to gather a crash dump on RHEL systems.
First, install the following packages:
Moved the site because the drupal database kept getting corrupted during upgrades. I like this much better.