I have been a hardcore CentOS user for many years now. I enjoyed its minimal install to create a light environment, intuitive installation process, and it’s package manager. Docker is the most popular container format today and provides developers and enthusiasts with an easy way to run workloads in containerized environments. I started using Docker in production at home for about a year now for services such as Plex Media Server, Web Server for this blog, ZNC, MineCraft, and MySQL to name a few. A Dockerfile is a set of instructions used to create a Docker image. I invested many hours creating perfect Dockerfiles using CentOS and Fedora to make deployments simple on any operating system. However, a personal revolution was brewing.
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
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.