一、安装环境: 在CentOS7上使用Docker安装FastDFS(分布式文件系统)。
二、准备环境:
1、关于CentOS7上Docker的安装可以参考: https://blog.csdn.net/qq_43602335/article/details/100928144
2、关闭防火墙
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# vi /etc/sysconfig/selinux
找到SELINUX=enforcing把enforcing修改成disabled
3、重启
[root@localhost ~]reboot
三、进行安装:
1、查询FastDFS镜像文件
[root@localhost ~]# docker search fastdfs
2、下载镜像
[root@localhost ~]# docker pull season/fastdfs
3、启动tracker服务器。trac