部署社交网站 (63)

php主机作为MFS的客户端,php主机需要另外安装两个重要软件mfsfuse

A.安装fuse

a.安装

[root@php ~]# yum -y install zlib-devel

[root@php ~]# tar xvf fuse-2.9.2.tar.gz

[root@php ~]# cd fuse-2.9.2/

[root@php fuse-2.9.2]# ./configure

[root@php fuse-2.9.2]#make &&make install

b.配置环境变量

[root@php fuse-2.9.2]#echo "export PKG_CONFIG_PATH=http://www.likecs.com/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH">>/etc/profile

[root@php fuse-2.9.2]#source /etc/profile

B.安装mfs

[root@php ]#cd

[root@php ]#useradd mfs -s /sbin/nologin

[root@php ]#tar xvf fuse-2.9.4.tar.gz

[root@php ]#cd mfs-1.6.27

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/zzsspy.html