码迷,mamicode.com
首页 > 系统相关 > 详细

flashcache 一键安装

时间:2015-05-18 18:53:03      阅读:190      评论:0      收藏:0      [点我收藏+]

标签:

    最近要用flashcache, 但是发现目前网上帖子介绍的两种安装方式不方便:

1. 通过源码编译,还得和kernel源码一起编译  

2. 通过yum,必须联网

所以把安装flashcache的rpm包单独拿出来,加了个简单的脚本,只要有这个压缩包,无需联网和编译即可安装flashcache。

压缩包见附件。


使用示例:

-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 一键安装

标签:

原文地址:http://blog.csdn.net/computerms/article/details/45825331

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!