最近要用flashcache, 但是发现目前网上帖子介绍的两种安装方式不方便:
1. 通过源码编译,还得和kernel源码一起编译
2. 通过yum,必须联网
所以把安装flashcache的rpm包单独拿出来,加了个简单的脚本,只要有这个压缩包,无需联网和编译即可安装flashcache。
压缩包下载链接:
http://download.youkuaiyun.com/detail/computerms/8713313
使用示例:
-bash-4.1# tar xzvf install_flashcache.tar.gz
install_flashcache/
install_flashcache/install_flashcache.sh
install_flashcache/flashcache-utils-3.1.2-1.el6.elrepo.x86_64.rpm
install_flashcache/kmod-flashcache-3.1.2-1.el6.elrepo.x86_64.rpm
install_flashcache/uninstall.sh
-bash-4.1# cd install_flashcache
-bash-4.1# ll
total 108
-rw-r--r-- 1 root root 29140 May 18 16:48 flashcache-utils-3.1.2-1.el6.elrepo.x86_64.rpm
-rwxr-xr-x 1 root root 852 May 18 17:54 install_flashcache.sh
-rw-r--r-- 1 root root 68940 May 18 16:48 kmod-flashcache-3.1.2-1.el6.elrepo.x86_64.rpm
-rw-r--r-- 1 root root 180 May 18 17:52 uninstall.sh
-bash-4.1# sh install_flashcache.sh
Start installing flashcache-utils-3.1.2-1.el6.elrepo.x86_64.rpm ...
Install flashcache-utils-3.1.2-1.el6.elrepo.x86_64.rpm sucessfully!
Start installing kmod-flashcache-3.1.2-1.el6.elrepo.x86_64.rpm ...
Install kmod-flashcache-3.1.2-1.el6.elrepo.x86_64.rpm sucessfully!
tips:
1. redhat rpm源下载地址: 点击打开链接
http://elrepo.org/tiki/Download

本文提供了一种简便的Flashcache安装方法,无需源码编译或联网。通过提供的RPM包和简单脚本,可以在离线状态下快速完成Flashcache的安装。详细步骤包括下载压缩包和使用示例。
1162

被折叠的 条评论
为什么被折叠?



