CentOS 6.2下fastDFS的完整安装和配置步骤

CentOS 6.2下fastDFS的完整安装和配置步骤

1:安装libevent(libevent-2.0.16-stable)##卸载系统自带libeventrpm -qa|grep libevent rpm -e libevent*##为Trackerd和Storaged节点节点安装libeventcd /home/ylhwget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gztar -zxvf libevent-2.0.16-stable.tar.gzcd libevent-2.0.16-stablemake clean./configuremake && make install##为libevent创建软链接到/lib库下,64位系统对应/lib64ln -s /usr/local/lib/libevent* /lib/ln -s /usr/local/lib/libevent* /lib64/2:为Trackerd节点安装FastDFS,并修改配置文件/etc/fdfs/tracker.conf( 如果Trackerd需要使用内置的web server,需要修改make文件,启用WITH_HTTPD=1再编译)cd /home/ylhwget tar -zxvf FastDFS_v3.06.tar.gzcd FastDFS_v3.06./make.sh./make.sh install##创建存储目录mkdir /home/ylh/fastdfs##修改配置文件. vim /etc/fdfs/tracker.conf 修改后保存退出##启动Trackerd/usr/local/bin/fdfs_trackerd /etc/fdfs/tracker.conf3:为Storaged节点安装FastDFS, Storaged节点也需要libevent,,安装步骤参见第一步cd /home/ylhwget tar -zxvf FastDFS_v3.06.tar.gzcd FastDFS_v3.06./make.sh./make.sh install

在向山靠近一点,才发现这座山,好象一位诗人遥望远方,

CentOS 6.2下fastDFS的完整安装和配置步骤

相关文章:

你感兴趣的文章:

标签云: