zoukankan      html  css  js  c++  java
  • centos7 vsftp xftp 解决无法显示远程文件夹,可登陆

    要同时关闭iptables ip6tables firewalld这些防火墙

    上传完文件再开启这些服务

    /bin/systemctl stop iptables

    /bin/systemctl stop ip6tables

    /bin/systemctl stop firewalld.service

    在centos7上面关闭防火墙,除了要关闭iptables,还要关闭firewalld

    [root@localhost share]# service iptables status

    Redirecting to /bin/systemctl status  iptables.service
    iptables.service
       Loaded: not-found (Reason: No such file or directory)
       Active: inactive (dead)

    [root@localhost share]# service ip6tables status
    Redirecting to /bin/systemctl status  ip6tables.service
    ip6tables.service
       Loaded: not-found (Reason: No such file or directory)
       Active: inactive (dead)

    [root@localhost share]# systemctl list-unit-files |grep ip
    ipsec.service                               disabled
    multipathd.service                          enabled 
    [root@localhost share]# service firewalld status
    Redirecting to /bin/systemctl status  firewalld.service
    firewalld.service - firewalld - dynamic firewall daemon
       Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
       Active: active (running) since 四 2014-12-25 14:13:05 CST; 1h 51min ago
     Main PID: 807 (firewalld)
       CGroup: /system.slice/firewalld.service
               └─807 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid

    12月 25 14:13:05 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
    [root@localhost share]# service firewalld stop
    Redirecting to /bin/systemctl stop  firewalld.service
    [root@localhost share]# systemctl status firewalld.service 
    firewalld.service - firewalld - dynamic firewall daemon
       Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
       Active: inactive (dead) since 四 2014-12-25 16:04:56 CST; 15s ago
      Process: 807 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=0/SUCCESS)
     Main PID: 807 (code=exited, status=0/SUCCESS)

    12月 25 14:13:05 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
    12月 25 16:04:55 localhost.localdomain systemd[1]: Stopping firewalld - dynamic firewall daemon...
    12月 25 16:04:56 localhost.localdomain systemd[1]: Stopped firewalld - dynamic firewall daemon.

  • 相关阅读:
    Java 原理性文章收录
    kafka connect userguide【confluence】
    curl 工具使用
    MySQL 数据类型
    Kafka Producer (0.10.0.0)原理
    Kafka Consumer 原理与实践
    java 泛型详解
    redis 高可用集群之水平扩展
    Redis 5.0.0 安装(集群)
    Apollo(阿波罗)架构深度剖析
  • 原文地址:https://www.cnblogs.com/gubook/p/5421365.html
Copyright © 2011-2022 走看看