文章目录
背景
直接一直没有写博客总结,就先写到一起吧,之后如果再用centos的话,就在单独分开
总结
install-fastDfs-ub16
#! /bin/sh
# https://github.com/happyfish100/fastdfs/wiki
cd /usr/local/src #切换到安装目录准备下载安装包
sudo rm -rf libfastcommon
#
sudo git clone https://github.com/happyfish100/libfastcommon.git --depth 1
cd libfastcommon/
sudo ./make.sh && sudo ./make.sh install #编译安装
# 安装libfatscommon
cd ../ #返回上一级目录
sudo git clone https://github.com/happyfish100/fastdfs.git --depth 1
cd fastdfs/
sudo ./make.sh && sudo ./make.sh install #编译安装
#配置文件准备
sudo cp /etc/fdfs/tracker.conf.sample /etc/fdfs/tracker.conf
sudo