zoukankan      html  css  js  c++  java
  • centos6.5安装配置fastdfs+nginx实现分布式图片服务器

    一、准备

    yum groupinstall -y "Development Tools"
    yum install -y wget libevent-devel pcre-devel zlib-devel

    wget https://fastdfs.googlecode.com/files/FastDFS_v4.06.tar.gz

    wget https://fastdfs.googlecode.com/files/fastdfs-nginx-module_v1.15.tar.gz

    wget http://nginx.org/download/nginx-1.9.9.tar.gz

    二、安装

    tar xvf FastDFS_v4.06.tar.gz

    cd FastDFS

    vi make.sh

    找到 #WITH_LINUX_SERVICE=1 去掉注释,并且设置TARGET_PREFIX=/usr/local/fastdfs

    ./make.sh

    ./make.sh install

    [root@centos1 FastDFS]# service fdfs_trackerd start
    file /usr/local/bin/fdfs_trackerd does not exist!

    [root@centos1 FastDFS]# find /usr -name fdfs_trackerd
    /usr/local/fastdfs/bin/fdfs_trackerd

    ln -s /usr/local/fastdfs/bin/fdfs_trackerd /usr/local/bin/fdfs_trackerd

    [root@centos1 FastDFS]# service fdfs_trackerd start

    [root@centos1 tools]# netstat -ntl
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State
    tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:22122 0.0.0.0:* LISTEN
    tcp 0 0 :::22 :::* LISTEN
    tcp 0 0 ::1:25 :::* LISTEN

  • 相关阅读:
    微服务治理istio
    基于Kubernetes构建Jenkins微服务发布平台
    gitlab
    微服务链路监控系统-Pinpoint
    Ceph Dashboard Promethus+Grafana监控
    kubernetes使用ceph存储
    ceph日常运维管理
    ceph-mimic版
    kubernetes集群网络
    Helm v3
  • 原文地址:https://www.cnblogs.com/jenqz/p/5057496.html
Copyright © 2011-2022 走看看