代码拉取完成,页面将自动刷新
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 <[email protected]>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。