I do not like Oracle but I am very much a fan of ZFS. So for anyone wanting to download this ebook without having to register with Oracle.

 

With ever more demand for storage it is inevitable that servers at some point will need additional storage devices. This is even more the case with virtual machines, as they tend to be deployed with far less initial storage space than contemparery physical drives are capable of.

edit; this article is for all intents and purposes outdated.

Last week I found out, during updating linux hosts, that Google has essentially stop supporting CentOS 6 and earlier for the Chrome webbrowser. There will probably be some reason for doing this. I'm not going to debate it, its their decision. The nice thing about open source though, is that people can (try to) adapt code so it will work.

the error you get when you run yum update is;

Error: Package: google-chrome-stable-28.0.1500.52-207119.x86_64 (google-chrome) 
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)


Here's the instructions I found to replace Chrome with Chromium and to keep using the same (essentially) browser, and keeping it up to date.

Remove Chrome first;

yum remove google-chrome-stable-* -y

 

and Google's repo;

rm -rf /etc/yum.repos.d/google-chrome.repo

 

Now create a new repo file with your preferred editor

vi /etc/yum.repos.d/chromium-el6.repo

 

and add the following lines

[chromium-el6] 
name=CentOS-$releasever - Chromium EL6 
baseurl=http://people.centos.org/hughesjr/chromium/6/$basearch/ 
gpgcheck=1 
enabled=1 
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-Testing-6

 

then just install chromium

yum install chromium -y

 

 

Starting somewhere in 2006 I've rented a 1U rackspace from TransIP. They were the cheapest colocation company in the Netherlands I could find then, and they still are. Costs have risen in the mean time though, mostly because of power usage. When I started, the server was an old Dell PowerEdge with 2 Pentium III's at 800Mhz, 1GB ECC RAM (4 x 256MB sdram) and 2 15GB 10k SCSI disks. I installed the then latest Fedora Core 4 on it. Since then I've hosted various websites and email domains on it, when in 2009 2 memory modules went dead. I started thinking about replacing it. One of the things that bugged me was that it was virtualy impossible to upgrade the OS without extensive downtime and/or long hours at the datacenter. In the mean time, by the end of 2010, I had gained more experience at virtualisation, especialy bare metal hypervisors. The PowerEdge's hardware however was nowhere near capable of running ESXi 4.1, which was the hypervisor I chose to work with. So I set out to find some hardware somewhat compatible of running ESXi.

There are a couple of options for ZFS on Linux. The user space option, ZFS-fuse, and the kernel mode option, ZFS on Linux. Here we will describe installing the kernel mode ZFS on Linux.
 
I’m starting with a base install of CentOS 6.3 so the first we need is the Development tools so we can compile the source RPMs.
 
yum groupinstall “Development Tools”
 
Next we’ll install some additional dependencies
yum install rpm-build kernel-devel zlib-devel libuuid-devel libblkid-devel libselinux-devel e2fsprogs-devel parted lsscsi
Download the latest from zfsonlinux
wget https://github.com/downloads/zfsonlinux/zfs/zfs-0.6.0-rc12.src.rpm
wget https://github.com/downloads/zfsonlinux/zfs/zfs-modules-0.6.0-rc12.src.rpm
wget https://github.com/downloads/zfsonlinux/spl/spl-0.6.0-rc12.src.rpm
wget https://github.com/downloads/zfsonlinux/spl/spl-modules-0.6.0-rc12.src.rpm
Build the SPL RPMs
rpmbuild –rebuild spl-modules-0.6.0-rc12.src.rpm
rpmbuild –rebuild spl-0.6.0-rc12.src.rpm
Building the ZFS RPMs has a dependency on the SPLs so we install them first
yum install rpmbuild/RPMS/x86_64/spl*.rpm
Now we can build the ZFS RPMs
rpmbuild –rebuild zfs-modules-0.6.0-rc12.src.rpm
rpmbuild –rebuild zfs-0.6.0-rc12.src.rpm
Install the ZFS RPMs
yum install rpmbuild/RPMS/x86_64/zfs*.rpm
On my install, a new kernel was installed as a dependency so a reboot is needed
reboot
otherwise you could just do
modprobe zfs
Verify ZFS is installed
lsmod | grep zfs
Design by JoomlaSaver