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.

  • 相关阅读:
    Different ways how to escape an XML string in C#
    __VIEWSTATE
    Git for Computer Scientists
    关于SQL Server死锁
    20个开源项目托管站点
    Understanding Host Headers in IIS
    开发与研发:区别很大
    Linux 0.12 “轮子”任务调度图示
    RabbitMQ学习第二记:工作队列的两种分发方式,轮询分发(Roundrobin)和 公平分发(Fair dispatch)
    ResultSetMetaData中getColumnLabel和getColumnName的区别
  • 原文地址:https://www.cnblogs.com/gubook/p/5421365.html
Copyright © 2011-2022 走看看