2 Star 0 Fork 0

mirrors_facebook/flashcache

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README-CentOS6 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
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]>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_facebook/flashcache.git
[email protected]:mirrors_facebook/flashcache.git
mirrors_facebook
flashcache
flashcache
master

搜索帮助