之前在虚拟机上部署了3个节点的fastDfs,一个tracker,两个storage,java开发时,虚拟机在另外一台电脑上,用局域网的一台开发机连tracker地址一直连不上,虚拟机用nat模式,解决:改成桥接模式就Ok
分别改成对应ip
storage:
vi /etc/fdfs/storage.conf /etc/init.d/fdfs_storaged stop /etc/init.d/fdfs_storaged start
vi /etc/fdfs/mod_fastdfs.conf /usr/local/nginx/sbin/nginx-s reload
tracker:
vi /usr/local/nginx/conf/nginx.conf /usr/local/nginx/sbin/nginx-s reload