File: README-CentOS6

package info (click to toggle)
flashcache 3.1.2%2Bgit20140801-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 800 kB
  • ctags: 892
  • sloc: ansic: 9,070; sh: 403; perl: 329; makefile: 200
file content (20 lines) | stat: -rw-r--r-- 1,113 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Vadim T (Percona) wrote an initial guide on getting flashcache building on CentOS, which was extremely helpful.

Based on that, I've modified the Makefiles to make building on CentOS as easy as possible. Here's the steps you'll
need to follow to build on CentOS:

 - Make sure you have the CentOS EPEL repo. (http://fedoraproject.org/wiki/EPEL)
 - Make sure you have the CentOS source repo. (http://mirror.centos.org/centos/$releasever/updates/SRPMS/)
 - Install prerequisite build packages:
   yum install dkms gcc make yum-utils kernel-devel
 - CentOS kernel-headers/devel packages don't include internal headers, we've got to configure the full source:
   yumdownloader --source kernel-`uname -r`
   sudo rpm -ivh kernel-`uname -r`.src.rpm
 - For CentOS6.x boot support:
   yum localinstall utils/dracut-flashcache-0.3-1.el6.noarch.rpm
   follow the instructions in doc/dracut-flashcache.txt later on if you want flashcache to accelerate your root device or lvm volumes
   skip the "Boot from Flashcache" part in README-DKMS

Now the updated Makefiles should work correctly.

Graeme Humphries <graeme@sudo.ca>