flashcache 一键安装

来源:互联网 发布:wind数据库官网 编辑:程序博客网 时间:2024/06/05 14:09

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

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

2. 通过yum,必须联网

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

压缩包下载链接:

点击打开链接

http://download.csdn.net/detail/computerms/8713313


使用示例:

-bash-4.1# tar xzvf install_flashcache.tar.gz install_flashcache/install_flashcache/install_flashcache.shinstall_flashcache/flashcache-utils-3.1.2-1.el6.elrepo.x86_64.rpminstall_flashcache/kmod-flashcache-3.1.2-1.el6.elrepo.x86_64.rpminstall_flashcache/uninstall.sh
-bash-4.1# cd install_flashcache-bash-4.1# lltotal 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

0 2
原创粉丝点击