Installation and configuration method of CentOS6.2 system fastdfs

Steps to install and configure FastDFS under centos6.2 system: 1: Install libevent (libevent-2.0.16-stable) ## Uninstall system comes with libevent rpm -qa | grep libevent rpm -e libevent* ## Install libevent for Trackerd and Storaged nodes cd /home/ylh wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz tar -zxvf libevent-2.0.16-stable.tar.gz cd libevent-2.0.16-stable make clean ./configure make && make install ##Create a soft link for libevent to the /lib library, 64-bit system corresponds to /lib64 ln -s /usr/local/lib/libevent* /lib/ ln -s /usr/local/lib/libevent* /lib64/ 2: Install FastDFS for the Trackerd node, and modify the configuration file /etc/fdfs/tracker.conf( If Trackerd needs to use the built-in web server, you need to modify the make file, enable WITH_HTTPD=1 and then compile) cd /home/ylh wget http://fastdfs.googlecode.com/files/FastDFS_v3.06.tar.gz tar -zxvf FastDFS_v3.06.tar.gz cd FastDFS_v3.06 ./make.sh ./make.sh install ##Create storage directory mkdir /home/ylh/fastdfs ##Modify the configuration file. vim /etc/fdfs/tracker.conf Save and exit after modification ## start trackerd /usr/local/bin/fdfs_trackerd /etc/fdfs/tracker.conf 3: Install FastDFS for the Storaged node, the Storaged node also needs libevent, see the first step for the installation steps cd /home/ylh wget http://fastdfs.googlecode.com/files/FastDFS_v3.06.tar.gz tar -zxvf FastDFS_v3.06.tar.gz cd FastDFS_v3.06 ./make.sh ./make.sh install 4: Install a web server for the Storaged node. The Storaged node can use nginx or apache to provide http download service. Here we choose nginx.…

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索